Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ class DataformAsyncClient:
parse_crypto_key_version_path = staticmethod(
DataformClient.parse_crypto_key_version_path
)
notebook_runtime_template_path = staticmethod(
DataformClient.notebook_runtime_template_path
)
parse_notebook_runtime_template_path = staticmethod(
DataformClient.parse_notebook_runtime_template_path
)
release_config_path = staticmethod(DataformClient.release_config_path)
parse_release_config_path = staticmethod(DataformClient.parse_release_config_path)
repository_path = staticmethod(DataformClient.repository_path)
Expand Down Expand Up @@ -323,6 +329,10 @@ async def list_repositories(
) -> pagers.ListRepositoriesAsyncPager:
r"""Lists Repositories in a given project and location.

**Note:** *This method can return repositories not shown in
the*\ `Dataform
UI <https://console.cloud.google.com/bigquery/dataform>`__.

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
Expand Down Expand Up @@ -685,13 +695,11 @@ async def update_repository(
) -> dataform.Repository:
r"""Updates a single Repository.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -3780,13 +3788,11 @@ async def update_release_config(
) -> dataform.ReleaseConfig:
r"""Updates a single ReleaseConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -4844,13 +4850,11 @@ async def update_workflow_config(
) -> dataform.WorkflowConfig:
r"""Updates a single WorkflowConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -5827,13 +5831,11 @@ async def update_config(
) -> dataform.Config:
r"""Update default config for a given project and location.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,28 @@ def parse_crypto_key_version_path(path: str) -> Dict[str, str]:
)
return m.groupdict() if m else {}

@staticmethod
def notebook_runtime_template_path(
project: str,
location: str,
notebook_runtime_template: str,
) -> str:
"""Returns a fully-qualified notebook_runtime_template string."""
return "projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}".format(
project=project,
location=location,
notebook_runtime_template=notebook_runtime_template,
)

@staticmethod
def parse_notebook_runtime_template_path(path: str) -> Dict[str, str]:
"""Parses a notebook_runtime_template path into its component segments."""
m = re.match(
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/notebookRuntimeTemplates/(?P<notebook_runtime_template>.+?)$",
path,
)
return m.groupdict() if m else {}

@staticmethod
def release_config_path(
project: str,
Expand Down Expand Up @@ -938,6 +960,10 @@ def list_repositories(
) -> pagers.ListRepositoriesPager:
r"""Lists Repositories in a given project and location.

**Note:** *This method can return repositories not shown in
the*\ `Dataform
UI <https://console.cloud.google.com/bigquery/dataform>`__.

.. code-block:: python

# This snippet has been automatically generated and should be regarded as a
Expand Down Expand Up @@ -1291,13 +1317,11 @@ def update_repository(
) -> dataform.Repository:
r"""Updates a single Repository.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -4319,13 +4343,11 @@ def update_release_config(
) -> dataform.ReleaseConfig:
r"""Updates a single ReleaseConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -5361,13 +5383,11 @@ def update_workflow_config(
) -> dataform.WorkflowConfig:
r"""Updates a single WorkflowConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down Expand Up @@ -6329,13 +6349,11 @@ def update_config(
) -> dataform.Config:
r"""Update default config for a given project and location.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

.. code-block:: python

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ def list_repositories(

Lists Repositories in a given project and location.

**Note:** *This method can return repositories not shown in
the*\ `Dataform
UI <https://console.cloud.google.com/bigquery/dataform>`__.

Returns:
Callable[[~.ListRepositoriesRequest],
~.ListRepositoriesResponse]:
Expand Down Expand Up @@ -413,13 +417,11 @@ def update_repository(

Updates a single Repository.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateRepositoryRequest],
Expand Down Expand Up @@ -1306,13 +1308,11 @@ def update_release_config(

Updates a single ReleaseConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateReleaseConfigRequest],
Expand Down Expand Up @@ -1563,13 +1563,11 @@ def update_workflow_config(

Updates a single WorkflowConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateWorkflowConfigRequest],
Expand Down Expand Up @@ -1826,13 +1824,11 @@ def update_config(

Update default config for a given project and location.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateConfigRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ def list_repositories(

Lists Repositories in a given project and location.

**Note:** *This method can return repositories not shown in
the*\ `Dataform
UI <https://console.cloud.google.com/bigquery/dataform>`__.

Returns:
Callable[[~.ListRepositoriesRequest],
Awaitable[~.ListRepositoriesResponse]]:
Expand Down Expand Up @@ -421,13 +425,11 @@ def update_repository(

Updates a single Repository.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateRepositoryRequest],
Expand Down Expand Up @@ -1343,13 +1345,11 @@ def update_release_config(

Updates a single ReleaseConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateReleaseConfigRequest],
Expand Down Expand Up @@ -1609,13 +1609,11 @@ def update_workflow_config(

Updates a single WorkflowConfig.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateWorkflowConfigRequest],
Expand Down Expand Up @@ -1879,13 +1877,11 @@ def update_config(

Update default config for a given project and location.

**Note:** *This method does not fully implement*, (see
`AIP/134 <https://google.aip.dev/134>`__, in particular:

- The wildcard entry (**\***) is treated as a bad request
- When the **field_mask** is omitted, instead of only updating
the set fields, the request is treated as a full update on
all modifiable fields
**Note:** *This method does not fully
implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
wildcard entry (*) is treated as a bad request, and when the
``field_mask`` is omitted, the request is treated as a full
update on all modifiable fields.*

Returns:
Callable[[~.UpdateConfigRequest],
Expand Down
Loading
Loading