google-cloud-dataform 0.11.1__tar.gz → 0.11.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google_cloud_dataform-0.11.1/google_cloud_dataform.egg-info → google_cloud_dataform-0.11.2}/PKG-INFO +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.11.2/google/cloud/dataform_v1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/async_client.py +11 -6
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/client.py +31 -6
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/types/dataform.py +47 -23
- {google_cloud_dataform-0.11.1/google/cloud/dataform_v1 → google_cloud_dataform-0.11.2/google/cloud/dataform_v1beta1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2/google_cloud_dataform.egg-info}/PKG-INFO +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1/test_dataform.py +102 -67
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/LICENSE +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/MANIFEST.in +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/README.rst +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/base.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/rest.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/types/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/client.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/types/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/types/dataform.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/requires.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/top_level.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/setup.cfg +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/setup.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +0 -0
|
@@ -104,6 +104,10 @@ class DataformAsyncClient:
|
|
|
104
104
|
)
|
|
105
105
|
folder_path = staticmethod(DataformClient.folder_path)
|
|
106
106
|
parse_folder_path = staticmethod(DataformClient.parse_folder_path)
|
|
107
|
+
git_repository_link_path = staticmethod(DataformClient.git_repository_link_path)
|
|
108
|
+
parse_git_repository_link_path = staticmethod(
|
|
109
|
+
DataformClient.parse_git_repository_link_path
|
|
110
|
+
)
|
|
107
111
|
notebook_runtime_template_path = staticmethod(
|
|
108
112
|
DataformClient.notebook_runtime_template_path
|
|
109
113
|
)
|
|
@@ -996,8 +1000,9 @@ class DataformAsyncClient:
|
|
|
996
1000
|
request (Optional[Union[google.cloud.dataform_v1.types.QueryTeamFolderContentsRequest, dict]]):
|
|
997
1001
|
The request object. ``QueryTeamFolderContents`` request message.
|
|
998
1002
|
team_folder (:class:`str`):
|
|
999
|
-
Required.
|
|
1000
|
-
|
|
1003
|
+
Required. Resource name of the TeamFolder to list
|
|
1004
|
+
contents for. Format:
|
|
1005
|
+
``projects/*/locations/*/teamFolders/*``.
|
|
1001
1006
|
|
|
1002
1007
|
This corresponds to the ``team_folder`` field
|
|
1003
1008
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -1832,8 +1837,8 @@ class DataformAsyncClient:
|
|
|
1832
1837
|
request (Optional[Union[google.cloud.dataform_v1.types.QueryFolderContentsRequest, dict]]):
|
|
1833
1838
|
The request object. ``QueryFolderContents`` request message.
|
|
1834
1839
|
folder (:class:`str`):
|
|
1835
|
-
Required.
|
|
1836
|
-
Format: projects/*/locations/*/folders/\*
|
|
1840
|
+
Required. Resource name of the Folder to list contents
|
|
1841
|
+
for. Format: projects/*/locations/*/folders/\*
|
|
1837
1842
|
|
|
1838
1843
|
This corresponds to the ``folder`` field
|
|
1839
1844
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -1959,8 +1964,8 @@ class DataformAsyncClient:
|
|
|
1959
1964
|
request (Optional[Union[google.cloud.dataform_v1.types.QueryUserRootContentsRequest, dict]]):
|
|
1960
1965
|
The request object. ``QueryUserRootContents`` request message.
|
|
1961
1966
|
location (:class:`str`):
|
|
1962
|
-
Required. Location of the user root folder
|
|
1963
|
-
contents
|
|
1967
|
+
Required. Location of the user root folder to list
|
|
1968
|
+
contents for. Format: projects/*/locations/*
|
|
1964
1969
|
|
|
1965
1970
|
This corresponds to the ``location`` field
|
|
1966
1971
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -358,6 +358,30 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
358
358
|
)
|
|
359
359
|
return m.groupdict() if m else {}
|
|
360
360
|
|
|
361
|
+
@staticmethod
|
|
362
|
+
def git_repository_link_path(
|
|
363
|
+
project: str,
|
|
364
|
+
location: str,
|
|
365
|
+
connection: str,
|
|
366
|
+
git_repository_link: str,
|
|
367
|
+
) -> str:
|
|
368
|
+
"""Returns a fully-qualified git_repository_link string."""
|
|
369
|
+
return "projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}".format(
|
|
370
|
+
project=project,
|
|
371
|
+
location=location,
|
|
372
|
+
connection=connection,
|
|
373
|
+
git_repository_link=git_repository_link,
|
|
374
|
+
)
|
|
375
|
+
|
|
376
|
+
@staticmethod
|
|
377
|
+
def parse_git_repository_link_path(path: str) -> Dict[str, str]:
|
|
378
|
+
"""Parses a git_repository_link path into its component segments."""
|
|
379
|
+
m = re.match(
|
|
380
|
+
r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/connections/(?P<connection>.+?)/gitRepositoryLinks/(?P<git_repository_link>.+?)$",
|
|
381
|
+
path,
|
|
382
|
+
)
|
|
383
|
+
return m.groupdict() if m else {}
|
|
384
|
+
|
|
361
385
|
@staticmethod
|
|
362
386
|
def notebook_runtime_template_path(
|
|
363
387
|
project: str,
|
|
@@ -1667,8 +1691,9 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
1667
1691
|
request (Union[google.cloud.dataform_v1.types.QueryTeamFolderContentsRequest, dict]):
|
|
1668
1692
|
The request object. ``QueryTeamFolderContents`` request message.
|
|
1669
1693
|
team_folder (str):
|
|
1670
|
-
Required.
|
|
1671
|
-
|
|
1694
|
+
Required. Resource name of the TeamFolder to list
|
|
1695
|
+
contents for. Format:
|
|
1696
|
+
``projects/*/locations/*/teamFolders/*``.
|
|
1672
1697
|
|
|
1673
1698
|
This corresponds to the ``team_folder`` field
|
|
1674
1699
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -2485,8 +2510,8 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
2485
2510
|
request (Union[google.cloud.dataform_v1.types.QueryFolderContentsRequest, dict]):
|
|
2486
2511
|
The request object. ``QueryFolderContents`` request message.
|
|
2487
2512
|
folder (str):
|
|
2488
|
-
Required.
|
|
2489
|
-
Format: projects/*/locations/*/folders/\*
|
|
2513
|
+
Required. Resource name of the Folder to list contents
|
|
2514
|
+
for. Format: projects/*/locations/*/folders/\*
|
|
2490
2515
|
|
|
2491
2516
|
This corresponds to the ``folder`` field
|
|
2492
2517
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -2609,8 +2634,8 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
2609
2634
|
request (Union[google.cloud.dataform_v1.types.QueryUserRootContentsRequest, dict]):
|
|
2610
2635
|
The request object. ``QueryUserRootContents`` request message.
|
|
2611
2636
|
location (str):
|
|
2612
|
-
Required. Location of the user root folder
|
|
2613
|
-
contents
|
|
2637
|
+
Required. Location of the user root folder to list
|
|
2638
|
+
contents for. Format: projects/*/locations/*
|
|
2614
2639
|
|
|
2615
2640
|
This corresponds to the ``location`` field
|
|
2616
2641
|
on the ``request`` instance; if ``request`` is provided, this
|
|
@@ -172,7 +172,7 @@ class DirectoryContentsView(proto.Enum):
|
|
|
172
172
|
|
|
173
173
|
Values:
|
|
174
174
|
DIRECTORY_CONTENTS_VIEW_UNSPECIFIED (0):
|
|
175
|
-
The default
|
|
175
|
+
The default unset value. Defaults to
|
|
176
176
|
DIRECTORY_CONTENTS_VIEW_BASIC.
|
|
177
177
|
DIRECTORY_CONTENTS_VIEW_BASIC (1):
|
|
178
178
|
Includes only the file or directory name.
|
|
@@ -284,12 +284,18 @@ class Repository(proto.Message):
|
|
|
284
284
|
class GitRemoteSettings(proto.Message):
|
|
285
285
|
r"""Controls Git remote configuration for a repository.
|
|
286
286
|
|
|
287
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
288
|
+
|
|
287
289
|
Attributes:
|
|
288
290
|
url (str):
|
|
289
291
|
Required. The Git remote's URL.
|
|
290
292
|
default_branch (str):
|
|
291
|
-
|
|
292
|
-
|
|
293
|
+
Optional. The Git remote's default branch name. If not set,
|
|
294
|
+
``main`` will be used.
|
|
295
|
+
effective_default_branch (str):
|
|
296
|
+
Output only. The Git remote's effective default branch name.
|
|
297
|
+
This is the default branch name of the Git remote if it is
|
|
298
|
+
set, otherwise it is ``main``.
|
|
293
299
|
authentication_token_secret_version (str):
|
|
294
300
|
Optional. The name of the Secret Manager secret version to
|
|
295
301
|
use as an authentication token for Git operations. Must be
|
|
@@ -297,6 +303,12 @@ class Repository(proto.Message):
|
|
|
297
303
|
ssh_authentication_config (google.cloud.dataform_v1.types.Repository.GitRemoteSettings.SshAuthenticationConfig):
|
|
298
304
|
Optional. Authentication fields for remote
|
|
299
305
|
uris using SSH protocol.
|
|
306
|
+
git_repository_link (str):
|
|
307
|
+
Optional. Resource name for the ``GitRepositoryLink`` used
|
|
308
|
+
for machine credentials. Must be in the format
|
|
309
|
+
``projects/*/locations/*/connections/*/gitRepositoryLinks/*``
|
|
310
|
+
|
|
311
|
+
This field is a member of `oneof`_ ``_git_repository_link``.
|
|
300
312
|
token_status (google.cloud.dataform_v1.types.Repository.GitRemoteSettings.TokenStatus):
|
|
301
313
|
Output only. Deprecated: The field does not
|
|
302
314
|
contain any token status information.
|
|
@@ -355,6 +367,10 @@ class Repository(proto.Message):
|
|
|
355
367
|
proto.STRING,
|
|
356
368
|
number=2,
|
|
357
369
|
)
|
|
370
|
+
effective_default_branch: str = proto.Field(
|
|
371
|
+
proto.STRING,
|
|
372
|
+
number=9,
|
|
373
|
+
)
|
|
358
374
|
authentication_token_secret_version: str = proto.Field(
|
|
359
375
|
proto.STRING,
|
|
360
376
|
number=3,
|
|
@@ -364,6 +380,11 @@ class Repository(proto.Message):
|
|
|
364
380
|
number=5,
|
|
365
381
|
message="Repository.GitRemoteSettings.SshAuthenticationConfig",
|
|
366
382
|
)
|
|
383
|
+
git_repository_link: str = proto.Field(
|
|
384
|
+
proto.STRING,
|
|
385
|
+
number=7,
|
|
386
|
+
optional=True,
|
|
387
|
+
)
|
|
367
388
|
token_status: "Repository.GitRemoteSettings.TokenStatus" = proto.Field(
|
|
368
389
|
proto.ENUM,
|
|
369
390
|
number=4,
|
|
@@ -1740,11 +1761,15 @@ class DirectoryEntry(proto.Message):
|
|
|
1740
1761
|
|
|
1741
1762
|
Attributes:
|
|
1742
1763
|
file (str):
|
|
1743
|
-
A file in the directory.
|
|
1764
|
+
A file in the directory. The path is returned
|
|
1765
|
+
including the full folder structure from the
|
|
1766
|
+
root.
|
|
1744
1767
|
|
|
1745
1768
|
This field is a member of `oneof`_ ``entry``.
|
|
1746
1769
|
directory (str):
|
|
1747
|
-
A child directory in the directory.
|
|
1770
|
+
A child directory in the directory. The path
|
|
1771
|
+
is returned including the full folder structure
|
|
1772
|
+
from the root.
|
|
1748
1773
|
|
|
1749
1774
|
This field is a member of `oneof`_ ``entry``.
|
|
1750
1775
|
metadata (google.cloud.dataform_v1.types.FilesystemEntryMetadata):
|
|
@@ -4511,11 +4536,11 @@ class WorkflowInvocationAction(proto.Message):
|
|
|
4511
4536
|
Output only. The code contents of a Notebook
|
|
4512
4537
|
to be run.
|
|
4513
4538
|
job_id (str):
|
|
4514
|
-
Output only. The ID of the
|
|
4515
|
-
executed the notebook in
|
|
4516
|
-
ID used for the outputs
|
|
4517
|
-
Storage buckets. Only
|
|
4518
|
-
started to run.
|
|
4539
|
+
Output only. The ID of the Gemini Enterprise
|
|
4540
|
+
Agent Platform job that executed the notebook in
|
|
4541
|
+
contents and also the ID used for the outputs
|
|
4542
|
+
created in Google Cloud Storage buckets. Only
|
|
4543
|
+
set once the job has started to run.
|
|
4519
4544
|
"""
|
|
4520
4545
|
|
|
4521
4546
|
contents: str = proto.Field(
|
|
@@ -4909,9 +4934,8 @@ class Folder(proto.Message):
|
|
|
4909
4934
|
name. This should take the format:
|
|
4910
4935
|
projects/{project}/locations/{location}/folders/{folder},
|
|
4911
4936
|
projects/{project}/locations/{location}/teamFolders/{teamFolder},
|
|
4912
|
-
or just
|
|
4913
|
-
|
|
4914
|
-
updated through MoveFolder.
|
|
4937
|
+
or just "" if this is a root Folder. This field
|
|
4938
|
+
can only be updated through MoveFolder.
|
|
4915
4939
|
team_folder_name (str):
|
|
4916
4940
|
Output only. The resource name of the
|
|
4917
4941
|
TeamFolder that this Folder is associated with.
|
|
@@ -5216,8 +5240,8 @@ class QueryFolderContentsRequest(proto.Message):
|
|
|
5216
5240
|
|
|
5217
5241
|
Attributes:
|
|
5218
5242
|
folder (str):
|
|
5219
|
-
Required.
|
|
5220
|
-
projects/*/locations/*/folders/\*
|
|
5243
|
+
Required. Resource name of the Folder to list contents for.
|
|
5244
|
+
Format: projects/*/locations/*/folders/\*
|
|
5221
5245
|
page_size (int):
|
|
5222
5246
|
Optional. Maximum number of paths to return.
|
|
5223
5247
|
The server may return fewer items than
|
|
@@ -5338,8 +5362,8 @@ class QueryUserRootContentsRequest(proto.Message):
|
|
|
5338
5362
|
|
|
5339
5363
|
Attributes:
|
|
5340
5364
|
location (str):
|
|
5341
|
-
Required. Location of the user root folder
|
|
5342
|
-
|
|
5365
|
+
Required. Location of the user root folder to list contents
|
|
5366
|
+
for. Format: projects/*/locations/*
|
|
5343
5367
|
page_size (int):
|
|
5344
5368
|
Optional. Maximum number of paths to return.
|
|
5345
5369
|
The server may return fewer items than
|
|
@@ -5599,8 +5623,8 @@ class QueryTeamFolderContentsRequest(proto.Message):
|
|
|
5599
5623
|
|
|
5600
5624
|
Attributes:
|
|
5601
5625
|
team_folder (str):
|
|
5602
|
-
Required.
|
|
5603
|
-
Format: ``projects/*/locations/*/teamFolders/*``.
|
|
5626
|
+
Required. Resource name of the TeamFolder to list contents
|
|
5627
|
+
for. Format: ``projects/*/locations/*/teamFolders/*``.
|
|
5604
5628
|
page_size (int):
|
|
5605
5629
|
Optional. Maximum number of paths to return.
|
|
5606
5630
|
The server may return fewer items than
|
|
@@ -5724,10 +5748,10 @@ class SearchTeamFoldersRequest(proto.Message):
|
|
|
5724
5748
|
Required. Location in which to query TeamFolders. Format:
|
|
5725
5749
|
``projects/*/locations/*``.
|
|
5726
5750
|
page_size (int):
|
|
5727
|
-
Optional. Maximum number of TeamFolders to
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5751
|
+
Optional. Maximum number of ``TeamFolders`` to return. The
|
|
5752
|
+
server may return fewer items than requested. If
|
|
5753
|
+
unspecified, the server will pick a default of ``page_size``
|
|
5754
|
+
= 50.
|
|
5731
5755
|
page_token (str):
|
|
5732
5756
|
Optional. Page token received from a previous
|
|
5733
5757
|
``SearchTeamFolders`` call. Provide this to retrieve the
|
|
@@ -46844,11 +46844,13 @@ def test_create_repository_rest_call_success(request_type):
|
|
|
46844
46844
|
"git_remote_settings": {
|
|
46845
46845
|
"url": "url_value",
|
|
46846
46846
|
"default_branch": "default_branch_value",
|
|
46847
|
+
"effective_default_branch": "effective_default_branch_value",
|
|
46847
46848
|
"authentication_token_secret_version": "authentication_token_secret_version_value",
|
|
46848
46849
|
"ssh_authentication_config": {
|
|
46849
46850
|
"user_private_key_secret_version": "user_private_key_secret_version_value",
|
|
46850
46851
|
"host_public_key": "host_public_key_value",
|
|
46851
46852
|
},
|
|
46853
|
+
"git_repository_link": "git_repository_link_value",
|
|
46852
46854
|
"token_status": 1,
|
|
46853
46855
|
},
|
|
46854
46856
|
"npmrc_environment_variables_secret_version": "npmrc_environment_variables_secret_version_value",
|
|
@@ -47095,11 +47097,13 @@ def test_update_repository_rest_call_success(request_type):
|
|
|
47095
47097
|
"git_remote_settings": {
|
|
47096
47098
|
"url": "url_value",
|
|
47097
47099
|
"default_branch": "default_branch_value",
|
|
47100
|
+
"effective_default_branch": "effective_default_branch_value",
|
|
47098
47101
|
"authentication_token_secret_version": "authentication_token_secret_version_value",
|
|
47099
47102
|
"ssh_authentication_config": {
|
|
47100
47103
|
"user_private_key_secret_version": "user_private_key_secret_version_value",
|
|
47101
47104
|
"host_public_key": "host_public_key_value",
|
|
47102
47105
|
},
|
|
47106
|
+
"git_repository_link": "git_repository_link_value",
|
|
47103
47107
|
"token_status": 1,
|
|
47104
47108
|
},
|
|
47105
47109
|
"npmrc_environment_variables_secret_version": "npmrc_environment_variables_secret_version_value",
|
|
@@ -57967,10 +57971,41 @@ def test_parse_folder_path():
|
|
|
57967
57971
|
assert expected == actual
|
|
57968
57972
|
|
|
57969
57973
|
|
|
57970
|
-
def
|
|
57974
|
+
def test_git_repository_link_path():
|
|
57971
57975
|
project = "squid"
|
|
57972
57976
|
location = "clam"
|
|
57973
|
-
|
|
57977
|
+
connection = "whelk"
|
|
57978
|
+
git_repository_link = "octopus"
|
|
57979
|
+
expected = "projects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}".format(
|
|
57980
|
+
project=project,
|
|
57981
|
+
location=location,
|
|
57982
|
+
connection=connection,
|
|
57983
|
+
git_repository_link=git_repository_link,
|
|
57984
|
+
)
|
|
57985
|
+
actual = DataformClient.git_repository_link_path(
|
|
57986
|
+
project, location, connection, git_repository_link
|
|
57987
|
+
)
|
|
57988
|
+
assert expected == actual
|
|
57989
|
+
|
|
57990
|
+
|
|
57991
|
+
def test_parse_git_repository_link_path():
|
|
57992
|
+
expected = {
|
|
57993
|
+
"project": "oyster",
|
|
57994
|
+
"location": "nudibranch",
|
|
57995
|
+
"connection": "cuttlefish",
|
|
57996
|
+
"git_repository_link": "mussel",
|
|
57997
|
+
}
|
|
57998
|
+
path = DataformClient.git_repository_link_path(**expected)
|
|
57999
|
+
|
|
58000
|
+
# Check that the path construction is reversible.
|
|
58001
|
+
actual = DataformClient.parse_git_repository_link_path(path)
|
|
58002
|
+
assert expected == actual
|
|
58003
|
+
|
|
58004
|
+
|
|
58005
|
+
def test_notebook_runtime_template_path():
|
|
58006
|
+
project = "winkle"
|
|
58007
|
+
location = "nautilus"
|
|
58008
|
+
notebook_runtime_template = "scallop"
|
|
57974
58009
|
expected = "projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}".format(
|
|
57975
58010
|
project=project,
|
|
57976
58011
|
location=location,
|
|
@@ -57984,9 +58019,9 @@ def test_notebook_runtime_template_path():
|
|
|
57984
58019
|
|
|
57985
58020
|
def test_parse_notebook_runtime_template_path():
|
|
57986
58021
|
expected = {
|
|
57987
|
-
"project": "
|
|
57988
|
-
"location": "
|
|
57989
|
-
"notebook_runtime_template": "
|
|
58022
|
+
"project": "abalone",
|
|
58023
|
+
"location": "squid",
|
|
58024
|
+
"notebook_runtime_template": "clam",
|
|
57990
58025
|
}
|
|
57991
58026
|
path = DataformClient.notebook_runtime_template_path(**expected)
|
|
57992
58027
|
|
|
@@ -57996,10 +58031,10 @@ def test_parse_notebook_runtime_template_path():
|
|
|
57996
58031
|
|
|
57997
58032
|
|
|
57998
58033
|
def test_release_config_path():
|
|
57999
|
-
project = "
|
|
58000
|
-
location = "
|
|
58001
|
-
repository = "
|
|
58002
|
-
release_config = "
|
|
58034
|
+
project = "whelk"
|
|
58035
|
+
location = "octopus"
|
|
58036
|
+
repository = "oyster"
|
|
58037
|
+
release_config = "nudibranch"
|
|
58003
58038
|
expected = "projects/{project}/locations/{location}/repositories/{repository}/releaseConfigs/{release_config}".format(
|
|
58004
58039
|
project=project,
|
|
58005
58040
|
location=location,
|
|
@@ -58014,10 +58049,10 @@ def test_release_config_path():
|
|
|
58014
58049
|
|
|
58015
58050
|
def test_parse_release_config_path():
|
|
58016
58051
|
expected = {
|
|
58017
|
-
"project": "
|
|
58018
|
-
"location": "
|
|
58019
|
-
"repository": "
|
|
58020
|
-
"release_config": "
|
|
58052
|
+
"project": "cuttlefish",
|
|
58053
|
+
"location": "mussel",
|
|
58054
|
+
"repository": "winkle",
|
|
58055
|
+
"release_config": "nautilus",
|
|
58021
58056
|
}
|
|
58022
58057
|
path = DataformClient.release_config_path(**expected)
|
|
58023
58058
|
|
|
@@ -58027,9 +58062,9 @@ def test_parse_release_config_path():
|
|
|
58027
58062
|
|
|
58028
58063
|
|
|
58029
58064
|
def test_repository_path():
|
|
58030
|
-
project = "
|
|
58031
|
-
location = "
|
|
58032
|
-
repository = "
|
|
58065
|
+
project = "scallop"
|
|
58066
|
+
location = "abalone"
|
|
58067
|
+
repository = "squid"
|
|
58033
58068
|
expected = (
|
|
58034
58069
|
"projects/{project}/locations/{location}/repositories/{repository}".format(
|
|
58035
58070
|
project=project,
|
|
@@ -58043,9 +58078,9 @@ def test_repository_path():
|
|
|
58043
58078
|
|
|
58044
58079
|
def test_parse_repository_path():
|
|
58045
58080
|
expected = {
|
|
58046
|
-
"project": "
|
|
58047
|
-
"location": "
|
|
58048
|
-
"repository": "
|
|
58081
|
+
"project": "clam",
|
|
58082
|
+
"location": "whelk",
|
|
58083
|
+
"repository": "octopus",
|
|
58049
58084
|
}
|
|
58050
58085
|
path = DataformClient.repository_path(**expected)
|
|
58051
58086
|
|
|
@@ -58055,9 +58090,9 @@ def test_parse_repository_path():
|
|
|
58055
58090
|
|
|
58056
58091
|
|
|
58057
58092
|
def test_secret_version_path():
|
|
58058
|
-
project = "
|
|
58059
|
-
secret = "
|
|
58060
|
-
version = "
|
|
58093
|
+
project = "oyster"
|
|
58094
|
+
secret = "nudibranch"
|
|
58095
|
+
version = "cuttlefish"
|
|
58061
58096
|
expected = "projects/{project}/secrets/{secret}/versions/{version}".format(
|
|
58062
58097
|
project=project,
|
|
58063
58098
|
secret=secret,
|
|
@@ -58069,9 +58104,9 @@ def test_secret_version_path():
|
|
|
58069
58104
|
|
|
58070
58105
|
def test_parse_secret_version_path():
|
|
58071
58106
|
expected = {
|
|
58072
|
-
"project": "
|
|
58073
|
-
"secret": "
|
|
58074
|
-
"version": "
|
|
58107
|
+
"project": "mussel",
|
|
58108
|
+
"secret": "winkle",
|
|
58109
|
+
"version": "nautilus",
|
|
58075
58110
|
}
|
|
58076
58111
|
path = DataformClient.secret_version_path(**expected)
|
|
58077
58112
|
|
|
@@ -58081,9 +58116,9 @@ def test_parse_secret_version_path():
|
|
|
58081
58116
|
|
|
58082
58117
|
|
|
58083
58118
|
def test_team_folder_path():
|
|
58084
|
-
project = "
|
|
58085
|
-
location = "
|
|
58086
|
-
team_folder = "
|
|
58119
|
+
project = "scallop"
|
|
58120
|
+
location = "abalone"
|
|
58121
|
+
team_folder = "squid"
|
|
58087
58122
|
expected = (
|
|
58088
58123
|
"projects/{project}/locations/{location}/teamFolders/{team_folder}".format(
|
|
58089
58124
|
project=project,
|
|
@@ -58097,9 +58132,9 @@ def test_team_folder_path():
|
|
|
58097
58132
|
|
|
58098
58133
|
def test_parse_team_folder_path():
|
|
58099
58134
|
expected = {
|
|
58100
|
-
"project": "
|
|
58101
|
-
"location": "
|
|
58102
|
-
"team_folder": "
|
|
58135
|
+
"project": "clam",
|
|
58136
|
+
"location": "whelk",
|
|
58137
|
+
"team_folder": "octopus",
|
|
58103
58138
|
}
|
|
58104
58139
|
path = DataformClient.team_folder_path(**expected)
|
|
58105
58140
|
|
|
@@ -58109,10 +58144,10 @@ def test_parse_team_folder_path():
|
|
|
58109
58144
|
|
|
58110
58145
|
|
|
58111
58146
|
def test_workflow_config_path():
|
|
58112
|
-
project = "
|
|
58113
|
-
location = "
|
|
58114
|
-
repository = "
|
|
58115
|
-
workflow_config = "
|
|
58147
|
+
project = "oyster"
|
|
58148
|
+
location = "nudibranch"
|
|
58149
|
+
repository = "cuttlefish"
|
|
58150
|
+
workflow_config = "mussel"
|
|
58116
58151
|
expected = "projects/{project}/locations/{location}/repositories/{repository}/workflowConfigs/{workflow_config}".format(
|
|
58117
58152
|
project=project,
|
|
58118
58153
|
location=location,
|
|
@@ -58127,10 +58162,10 @@ def test_workflow_config_path():
|
|
|
58127
58162
|
|
|
58128
58163
|
def test_parse_workflow_config_path():
|
|
58129
58164
|
expected = {
|
|
58130
|
-
"project": "
|
|
58131
|
-
"location": "
|
|
58132
|
-
"repository": "
|
|
58133
|
-
"workflow_config": "
|
|
58165
|
+
"project": "winkle",
|
|
58166
|
+
"location": "nautilus",
|
|
58167
|
+
"repository": "scallop",
|
|
58168
|
+
"workflow_config": "abalone",
|
|
58134
58169
|
}
|
|
58135
58170
|
path = DataformClient.workflow_config_path(**expected)
|
|
58136
58171
|
|
|
@@ -58140,10 +58175,10 @@ def test_parse_workflow_config_path():
|
|
|
58140
58175
|
|
|
58141
58176
|
|
|
58142
58177
|
def test_workflow_invocation_path():
|
|
58143
|
-
project = "
|
|
58144
|
-
location = "
|
|
58145
|
-
repository = "
|
|
58146
|
-
workflow_invocation = "
|
|
58178
|
+
project = "squid"
|
|
58179
|
+
location = "clam"
|
|
58180
|
+
repository = "whelk"
|
|
58181
|
+
workflow_invocation = "octopus"
|
|
58147
58182
|
expected = "projects/{project}/locations/{location}/repositories/{repository}/workflowInvocations/{workflow_invocation}".format(
|
|
58148
58183
|
project=project,
|
|
58149
58184
|
location=location,
|
|
@@ -58158,10 +58193,10 @@ def test_workflow_invocation_path():
|
|
|
58158
58193
|
|
|
58159
58194
|
def test_parse_workflow_invocation_path():
|
|
58160
58195
|
expected = {
|
|
58161
|
-
"project": "
|
|
58162
|
-
"location": "
|
|
58163
|
-
"repository": "
|
|
58164
|
-
"workflow_invocation": "
|
|
58196
|
+
"project": "oyster",
|
|
58197
|
+
"location": "nudibranch",
|
|
58198
|
+
"repository": "cuttlefish",
|
|
58199
|
+
"workflow_invocation": "mussel",
|
|
58165
58200
|
}
|
|
58166
58201
|
path = DataformClient.workflow_invocation_path(**expected)
|
|
58167
58202
|
|
|
@@ -58171,10 +58206,10 @@ def test_parse_workflow_invocation_path():
|
|
|
58171
58206
|
|
|
58172
58207
|
|
|
58173
58208
|
def test_workspace_path():
|
|
58174
|
-
project = "
|
|
58175
|
-
location = "
|
|
58176
|
-
repository = "
|
|
58177
|
-
workspace = "
|
|
58209
|
+
project = "winkle"
|
|
58210
|
+
location = "nautilus"
|
|
58211
|
+
repository = "scallop"
|
|
58212
|
+
workspace = "abalone"
|
|
58178
58213
|
expected = "projects/{project}/locations/{location}/repositories/{repository}/workspaces/{workspace}".format(
|
|
58179
58214
|
project=project,
|
|
58180
58215
|
location=location,
|
|
@@ -58187,10 +58222,10 @@ def test_workspace_path():
|
|
|
58187
58222
|
|
|
58188
58223
|
def test_parse_workspace_path():
|
|
58189
58224
|
expected = {
|
|
58190
|
-
"project": "
|
|
58191
|
-
"location": "
|
|
58192
|
-
"repository": "
|
|
58193
|
-
"workspace": "
|
|
58225
|
+
"project": "squid",
|
|
58226
|
+
"location": "clam",
|
|
58227
|
+
"repository": "whelk",
|
|
58228
|
+
"workspace": "octopus",
|
|
58194
58229
|
}
|
|
58195
58230
|
path = DataformClient.workspace_path(**expected)
|
|
58196
58231
|
|
|
@@ -58200,7 +58235,7 @@ def test_parse_workspace_path():
|
|
|
58200
58235
|
|
|
58201
58236
|
|
|
58202
58237
|
def test_common_billing_account_path():
|
|
58203
|
-
billing_account = "
|
|
58238
|
+
billing_account = "oyster"
|
|
58204
58239
|
expected = "billingAccounts/{billing_account}".format(
|
|
58205
58240
|
billing_account=billing_account,
|
|
58206
58241
|
)
|
|
@@ -58210,7 +58245,7 @@ def test_common_billing_account_path():
|
|
|
58210
58245
|
|
|
58211
58246
|
def test_parse_common_billing_account_path():
|
|
58212
58247
|
expected = {
|
|
58213
|
-
"billing_account": "
|
|
58248
|
+
"billing_account": "nudibranch",
|
|
58214
58249
|
}
|
|
58215
58250
|
path = DataformClient.common_billing_account_path(**expected)
|
|
58216
58251
|
|
|
@@ -58220,7 +58255,7 @@ def test_parse_common_billing_account_path():
|
|
|
58220
58255
|
|
|
58221
58256
|
|
|
58222
58257
|
def test_common_folder_path():
|
|
58223
|
-
folder = "
|
|
58258
|
+
folder = "cuttlefish"
|
|
58224
58259
|
expected = "folders/{folder}".format(
|
|
58225
58260
|
folder=folder,
|
|
58226
58261
|
)
|
|
@@ -58230,7 +58265,7 @@ def test_common_folder_path():
|
|
|
58230
58265
|
|
|
58231
58266
|
def test_parse_common_folder_path():
|
|
58232
58267
|
expected = {
|
|
58233
|
-
"folder": "
|
|
58268
|
+
"folder": "mussel",
|
|
58234
58269
|
}
|
|
58235
58270
|
path = DataformClient.common_folder_path(**expected)
|
|
58236
58271
|
|
|
@@ -58240,7 +58275,7 @@ def test_parse_common_folder_path():
|
|
|
58240
58275
|
|
|
58241
58276
|
|
|
58242
58277
|
def test_common_organization_path():
|
|
58243
|
-
organization = "
|
|
58278
|
+
organization = "winkle"
|
|
58244
58279
|
expected = "organizations/{organization}".format(
|
|
58245
58280
|
organization=organization,
|
|
58246
58281
|
)
|
|
@@ -58250,7 +58285,7 @@ def test_common_organization_path():
|
|
|
58250
58285
|
|
|
58251
58286
|
def test_parse_common_organization_path():
|
|
58252
58287
|
expected = {
|
|
58253
|
-
"organization": "
|
|
58288
|
+
"organization": "nautilus",
|
|
58254
58289
|
}
|
|
58255
58290
|
path = DataformClient.common_organization_path(**expected)
|
|
58256
58291
|
|
|
@@ -58260,7 +58295,7 @@ def test_parse_common_organization_path():
|
|
|
58260
58295
|
|
|
58261
58296
|
|
|
58262
58297
|
def test_common_project_path():
|
|
58263
|
-
project = "
|
|
58298
|
+
project = "scallop"
|
|
58264
58299
|
expected = "projects/{project}".format(
|
|
58265
58300
|
project=project,
|
|
58266
58301
|
)
|
|
@@ -58270,7 +58305,7 @@ def test_common_project_path():
|
|
|
58270
58305
|
|
|
58271
58306
|
def test_parse_common_project_path():
|
|
58272
58307
|
expected = {
|
|
58273
|
-
"project": "
|
|
58308
|
+
"project": "abalone",
|
|
58274
58309
|
}
|
|
58275
58310
|
path = DataformClient.common_project_path(**expected)
|
|
58276
58311
|
|
|
@@ -58280,8 +58315,8 @@ def test_parse_common_project_path():
|
|
|
58280
58315
|
|
|
58281
58316
|
|
|
58282
58317
|
def test_common_location_path():
|
|
58283
|
-
project = "
|
|
58284
|
-
location = "
|
|
58318
|
+
project = "squid"
|
|
58319
|
+
location = "clam"
|
|
58285
58320
|
expected = "projects/{project}/locations/{location}".format(
|
|
58286
58321
|
project=project,
|
|
58287
58322
|
location=location,
|
|
@@ -58292,8 +58327,8 @@ def test_common_location_path():
|
|
|
58292
58327
|
|
|
58293
58328
|
def test_parse_common_location_path():
|
|
58294
58329
|
expected = {
|
|
58295
|
-
"project": "
|
|
58296
|
-
"location": "
|
|
58330
|
+
"project": "whelk",
|
|
58331
|
+
"location": "octopus",
|
|
58297
58332
|
}
|
|
58298
58333
|
path = DataformClient.common_location_path(**expected)
|
|
58299
58334
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform/__init__.py
RENAMED
|
File without changes
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform/py.typed
RENAMED
|
File without changes
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|