google-cloud-dataform 0.11.0__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.0/google_cloud_dataform.egg-info → google_cloud_dataform-0.11.2}/PKG-INFO +5 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform/__init__.py +16 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/__init__.py +4 -4
- {google_cloud_dataform-0.11.0/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.11.2/google/cloud/dataform_v1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/async_client.py +11 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/client.py +31 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/types/dataform.py +47 -23
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/__init__.py +20 -4
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/gapic_metadata.json +45 -0
- {google_cloud_dataform-0.11.0/google/cloud/dataform_v1 → google_cloud_dataform-0.11.2/google/cloud/dataform_v1beta1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +457 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/client.py +470 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +42 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +86 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +106 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +772 -111
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +171 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/types/__init__.py +16 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/types/dataform.py +367 -25
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2/google_cloud_dataform.egg-info}/PKG-INFO +5 -6
- google_cloud_dataform-0.11.2/google_cloud_dataform.egg-info/requires.txt +9 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/setup.py +8 -6
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1/test_dataform.py +102 -67
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +2328 -67
- google_cloud_dataform-0.11.0/google_cloud_dataform.egg-info/requires.txt +0 -12
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/LICENSE +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/MANIFEST.in +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/README.rst +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform/py.typed +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/py.typed +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/base.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/rest.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/types/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/py.typed +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google_cloud_dataform.egg-info/top_level.txt +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/setup.cfg +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: google-cloud-dataform
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.2
|
|
4
4
|
Summary: Google Cloud Dataform API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-dataform
|
|
6
6
|
Author: Google LLC
|
|
@@ -21,14 +21,13 @@ Classifier: Operating System :: OS Independent
|
|
|
21
21
|
Classifier: Topic :: Internet
|
|
22
22
|
Requires-Python: >=3.10
|
|
23
23
|
License-File: LICENSE
|
|
24
|
-
Requires-Dist: google-api-core[grpc]<3.0.0,>=2.
|
|
24
|
+
Requires-Dist: google-api-core[grpc]<3.0.0,>=2.24.2
|
|
25
25
|
Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
|
|
26
26
|
Requires-Dist: grpcio<2.0.0,>=1.59.0
|
|
27
27
|
Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
|
|
28
|
-
Requires-Dist: proto-plus<2.0.0,>=1.
|
|
29
|
-
Requires-Dist:
|
|
30
|
-
Requires-Dist:
|
|
31
|
-
Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.14.0
|
|
28
|
+
Requires-Dist: proto-plus<2.0.0,>=1.26.1
|
|
29
|
+
Requires-Dist: protobuf<8.0.0,>=6.33.5
|
|
30
|
+
Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.14.2
|
|
32
31
|
Dynamic: author
|
|
33
32
|
Dynamic: author-email
|
|
34
33
|
Dynamic: classifier
|
{google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform/__init__.py
RENAMED
|
@@ -48,12 +48,19 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
48
48
|
CreateWorkspaceRequest,
|
|
49
49
|
DataEncryptionState,
|
|
50
50
|
DeleteFolderRequest,
|
|
51
|
+
DeleteFolderTreeMetadata,
|
|
52
|
+
DeleteFolderTreeRequest,
|
|
51
53
|
DeleteReleaseConfigRequest,
|
|
54
|
+
DeleteRepositoryLongRunningMetadata,
|
|
55
|
+
DeleteRepositoryLongRunningRequest,
|
|
56
|
+
DeleteRepositoryLongRunningResponse,
|
|
52
57
|
DeleteRepositoryRequest,
|
|
53
58
|
DeleteTeamFolderRequest,
|
|
59
|
+
DeleteTeamFolderTreeRequest,
|
|
54
60
|
DeleteWorkflowConfigRequest,
|
|
55
61
|
DeleteWorkflowInvocationRequest,
|
|
56
62
|
DeleteWorkspaceRequest,
|
|
63
|
+
DirectoryContentsView,
|
|
57
64
|
DirectoryEntry,
|
|
58
65
|
DirectorySearchResult,
|
|
59
66
|
FetchFileDiffRequest,
|
|
@@ -67,6 +74,7 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
67
74
|
FetchRepositoryHistoryRequest,
|
|
68
75
|
FetchRepositoryHistoryResponse,
|
|
69
76
|
FileSearchResult,
|
|
77
|
+
FilesystemEntryMetadata,
|
|
70
78
|
Folder,
|
|
71
79
|
GetCompilationResultRequest,
|
|
72
80
|
GetConfigRequest,
|
|
@@ -184,9 +192,15 @@ __all__ = (
|
|
|
184
192
|
"CreateWorkspaceRequest",
|
|
185
193
|
"DataEncryptionState",
|
|
186
194
|
"DeleteFolderRequest",
|
|
195
|
+
"DeleteFolderTreeMetadata",
|
|
196
|
+
"DeleteFolderTreeRequest",
|
|
187
197
|
"DeleteReleaseConfigRequest",
|
|
198
|
+
"DeleteRepositoryLongRunningMetadata",
|
|
199
|
+
"DeleteRepositoryLongRunningRequest",
|
|
200
|
+
"DeleteRepositoryLongRunningResponse",
|
|
188
201
|
"DeleteRepositoryRequest",
|
|
189
202
|
"DeleteTeamFolderRequest",
|
|
203
|
+
"DeleteTeamFolderTreeRequest",
|
|
190
204
|
"DeleteWorkflowConfigRequest",
|
|
191
205
|
"DeleteWorkflowInvocationRequest",
|
|
192
206
|
"DeleteWorkspaceRequest",
|
|
@@ -203,6 +217,7 @@ __all__ = (
|
|
|
203
217
|
"FetchRepositoryHistoryRequest",
|
|
204
218
|
"FetchRepositoryHistoryResponse",
|
|
205
219
|
"FileSearchResult",
|
|
220
|
+
"FilesystemEntryMetadata",
|
|
206
221
|
"Folder",
|
|
207
222
|
"GetCompilationResultRequest",
|
|
208
223
|
"GetConfigRequest",
|
|
@@ -290,4 +305,5 @@ __all__ = (
|
|
|
290
305
|
"Workspace",
|
|
291
306
|
"WriteFileRequest",
|
|
292
307
|
"WriteFileResponse",
|
|
308
|
+
"DirectoryContentsView",
|
|
293
309
|
)
|
{google_cloud_dataform-0.11.0 → google_cloud_dataform-0.11.2}/google/cloud/dataform_v1/__init__.py
RENAMED
|
@@ -188,7 +188,7 @@ else: # pragma: NO COVER
|
|
|
188
188
|
|
|
189
189
|
def parse_version_to_tuple(version_string: str):
|
|
190
190
|
"""Safely converts a semantic version string to a comparable tuple of integers.
|
|
191
|
-
Example: "
|
|
191
|
+
Example: "6.33.5" -> (6, 33, 5)
|
|
192
192
|
Ignores non-numeric parts and handles common version formats.
|
|
193
193
|
Args:
|
|
194
194
|
version_string: Version string in the format "x.y.z" or "x.y.z<suffix>"
|
|
@@ -217,9 +217,9 @@ else: # pragma: NO COVER
|
|
|
217
217
|
return (None, "--")
|
|
218
218
|
|
|
219
219
|
_dependency_package = "google.protobuf"
|
|
220
|
-
_next_supported_version = "
|
|
221
|
-
_next_supported_version_tuple = (
|
|
222
|
-
_recommendation = " (we recommend
|
|
220
|
+
_next_supported_version = "6.33.5"
|
|
221
|
+
_next_supported_version_tuple = (6, 33, 5)
|
|
222
|
+
_recommendation = " (we recommend 7.x)"
|
|
223
223
|
(_version_used, _version_used_string) = _get_version(_dependency_package)
|
|
224
224
|
if _version_used and _version_used < _next_supported_version_tuple:
|
|
225
225
|
warnings.warn(
|
|
@@ -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
|
|
@@ -50,12 +50,19 @@ from .types.dataform import (
|
|
|
50
50
|
CreateWorkspaceRequest,
|
|
51
51
|
DataEncryptionState,
|
|
52
52
|
DeleteFolderRequest,
|
|
53
|
+
DeleteFolderTreeMetadata,
|
|
54
|
+
DeleteFolderTreeRequest,
|
|
53
55
|
DeleteReleaseConfigRequest,
|
|
56
|
+
DeleteRepositoryLongRunningMetadata,
|
|
57
|
+
DeleteRepositoryLongRunningRequest,
|
|
58
|
+
DeleteRepositoryLongRunningResponse,
|
|
54
59
|
DeleteRepositoryRequest,
|
|
55
60
|
DeleteTeamFolderRequest,
|
|
61
|
+
DeleteTeamFolderTreeRequest,
|
|
56
62
|
DeleteWorkflowConfigRequest,
|
|
57
63
|
DeleteWorkflowInvocationRequest,
|
|
58
64
|
DeleteWorkspaceRequest,
|
|
65
|
+
DirectoryContentsView,
|
|
59
66
|
DirectoryEntry,
|
|
60
67
|
DirectorySearchResult,
|
|
61
68
|
FetchFileDiffRequest,
|
|
@@ -69,6 +76,7 @@ from .types.dataform import (
|
|
|
69
76
|
FetchRepositoryHistoryRequest,
|
|
70
77
|
FetchRepositoryHistoryResponse,
|
|
71
78
|
FileSearchResult,
|
|
79
|
+
FilesystemEntryMetadata,
|
|
72
80
|
Folder,
|
|
73
81
|
GetCompilationResultRequest,
|
|
74
82
|
GetConfigRequest,
|
|
@@ -183,7 +191,7 @@ else: # pragma: NO COVER
|
|
|
183
191
|
|
|
184
192
|
def parse_version_to_tuple(version_string: str):
|
|
185
193
|
"""Safely converts a semantic version string to a comparable tuple of integers.
|
|
186
|
-
Example: "
|
|
194
|
+
Example: "6.33.5" -> (6, 33, 5)
|
|
187
195
|
Ignores non-numeric parts and handles common version formats.
|
|
188
196
|
Args:
|
|
189
197
|
version_string: Version string in the format "x.y.z" or "x.y.z<suffix>"
|
|
@@ -212,9 +220,9 @@ else: # pragma: NO COVER
|
|
|
212
220
|
return (None, "--")
|
|
213
221
|
|
|
214
222
|
_dependency_package = "google.protobuf"
|
|
215
|
-
_next_supported_version = "
|
|
216
|
-
_next_supported_version_tuple = (
|
|
217
|
-
_recommendation = " (we recommend
|
|
223
|
+
_next_supported_version = "6.33.5"
|
|
224
|
+
_next_supported_version_tuple = (6, 33, 5)
|
|
225
|
+
_recommendation = " (we recommend 7.x)"
|
|
218
226
|
(_version_used, _version_used_string) = _get_version(_dependency_package)
|
|
219
227
|
if _version_used and _version_used < _next_supported_version_tuple:
|
|
220
228
|
warnings.warn(
|
|
@@ -269,12 +277,19 @@ __all__ = (
|
|
|
269
277
|
"DataEncryptionState",
|
|
270
278
|
"DataformClient",
|
|
271
279
|
"DeleteFolderRequest",
|
|
280
|
+
"DeleteFolderTreeMetadata",
|
|
281
|
+
"DeleteFolderTreeRequest",
|
|
272
282
|
"DeleteReleaseConfigRequest",
|
|
283
|
+
"DeleteRepositoryLongRunningMetadata",
|
|
284
|
+
"DeleteRepositoryLongRunningRequest",
|
|
285
|
+
"DeleteRepositoryLongRunningResponse",
|
|
273
286
|
"DeleteRepositoryRequest",
|
|
274
287
|
"DeleteTeamFolderRequest",
|
|
288
|
+
"DeleteTeamFolderTreeRequest",
|
|
275
289
|
"DeleteWorkflowConfigRequest",
|
|
276
290
|
"DeleteWorkflowInvocationRequest",
|
|
277
291
|
"DeleteWorkspaceRequest",
|
|
292
|
+
"DirectoryContentsView",
|
|
278
293
|
"DirectoryEntry",
|
|
279
294
|
"DirectorySearchResult",
|
|
280
295
|
"FetchFileDiffRequest",
|
|
@@ -288,6 +303,7 @@ __all__ = (
|
|
|
288
303
|
"FetchRepositoryHistoryRequest",
|
|
289
304
|
"FetchRepositoryHistoryResponse",
|
|
290
305
|
"FileSearchResult",
|
|
306
|
+
"FilesystemEntryMetadata",
|
|
291
307
|
"Folder",
|
|
292
308
|
"GetCompilationResultRequest",
|
|
293
309
|
"GetConfigRequest",
|
|
@@ -75,6 +75,11 @@
|
|
|
75
75
|
"delete_folder"
|
|
76
76
|
]
|
|
77
77
|
},
|
|
78
|
+
"DeleteFolderTree": {
|
|
79
|
+
"methods": [
|
|
80
|
+
"delete_folder_tree"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
78
83
|
"DeleteReleaseConfig": {
|
|
79
84
|
"methods": [
|
|
80
85
|
"delete_release_config"
|
|
@@ -85,11 +90,21 @@
|
|
|
85
90
|
"delete_repository"
|
|
86
91
|
]
|
|
87
92
|
},
|
|
93
|
+
"DeleteRepositoryLongRunning": {
|
|
94
|
+
"methods": [
|
|
95
|
+
"delete_repository_long_running"
|
|
96
|
+
]
|
|
97
|
+
},
|
|
88
98
|
"DeleteTeamFolder": {
|
|
89
99
|
"methods": [
|
|
90
100
|
"delete_team_folder"
|
|
91
101
|
]
|
|
92
102
|
},
|
|
103
|
+
"DeleteTeamFolderTree": {
|
|
104
|
+
"methods": [
|
|
105
|
+
"delete_team_folder_tree"
|
|
106
|
+
]
|
|
107
|
+
},
|
|
93
108
|
"DeleteWorkflowConfig": {
|
|
94
109
|
"methods": [
|
|
95
110
|
"delete_workflow_config"
|
|
@@ -435,6 +450,11 @@
|
|
|
435
450
|
"delete_folder"
|
|
436
451
|
]
|
|
437
452
|
},
|
|
453
|
+
"DeleteFolderTree": {
|
|
454
|
+
"methods": [
|
|
455
|
+
"delete_folder_tree"
|
|
456
|
+
]
|
|
457
|
+
},
|
|
438
458
|
"DeleteReleaseConfig": {
|
|
439
459
|
"methods": [
|
|
440
460
|
"delete_release_config"
|
|
@@ -445,11 +465,21 @@
|
|
|
445
465
|
"delete_repository"
|
|
446
466
|
]
|
|
447
467
|
},
|
|
468
|
+
"DeleteRepositoryLongRunning": {
|
|
469
|
+
"methods": [
|
|
470
|
+
"delete_repository_long_running"
|
|
471
|
+
]
|
|
472
|
+
},
|
|
448
473
|
"DeleteTeamFolder": {
|
|
449
474
|
"methods": [
|
|
450
475
|
"delete_team_folder"
|
|
451
476
|
]
|
|
452
477
|
},
|
|
478
|
+
"DeleteTeamFolderTree": {
|
|
479
|
+
"methods": [
|
|
480
|
+
"delete_team_folder_tree"
|
|
481
|
+
]
|
|
482
|
+
},
|
|
453
483
|
"DeleteWorkflowConfig": {
|
|
454
484
|
"methods": [
|
|
455
485
|
"delete_workflow_config"
|
|
@@ -795,6 +825,11 @@
|
|
|
795
825
|
"delete_folder"
|
|
796
826
|
]
|
|
797
827
|
},
|
|
828
|
+
"DeleteFolderTree": {
|
|
829
|
+
"methods": [
|
|
830
|
+
"delete_folder_tree"
|
|
831
|
+
]
|
|
832
|
+
},
|
|
798
833
|
"DeleteReleaseConfig": {
|
|
799
834
|
"methods": [
|
|
800
835
|
"delete_release_config"
|
|
@@ -805,11 +840,21 @@
|
|
|
805
840
|
"delete_repository"
|
|
806
841
|
]
|
|
807
842
|
},
|
|
843
|
+
"DeleteRepositoryLongRunning": {
|
|
844
|
+
"methods": [
|
|
845
|
+
"delete_repository_long_running"
|
|
846
|
+
]
|
|
847
|
+
},
|
|
808
848
|
"DeleteTeamFolder": {
|
|
809
849
|
"methods": [
|
|
810
850
|
"delete_team_folder"
|
|
811
851
|
]
|
|
812
852
|
},
|
|
853
|
+
"DeleteTeamFolderTree": {
|
|
854
|
+
"methods": [
|
|
855
|
+
"delete_team_folder_tree"
|
|
856
|
+
]
|
|
857
|
+
},
|
|
813
858
|
"DeleteWorkflowConfig": {
|
|
814
859
|
"methods": [
|
|
815
860
|
"delete_workflow_config"
|