google-cloud-dataform 0.11.1__tar.gz → 0.11.3__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.3}/PKG-INFO +2 -2
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform/__init__.py +34 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/__init__.py +18 -0
- {google_cloud_dataform-0.11.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.11.3/google/cloud/dataform_v1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/async_client.py +12 -9
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/client.py +32 -9
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/base.py +1 -3
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/rest.py +1 -2
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/types/__init__.py +6 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/types/dataform.py +215 -29
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/__init__.py +46 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/gapic_metadata.json +75 -0
- {google_cloud_dataform-0.11.1/google/cloud/dataform_v1 → google_cloud_dataform-0.11.3/google/cloud/dataform_v1beta1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +427 -3
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/client.py +421 -3
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +156 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +80 -3
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +140 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +170 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +1084 -67
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +265 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/types/__init__.py +34 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/types/dataform.py +667 -6
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3/google_cloud_dataform.egg-info}/PKG-INFO +2 -2
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/requires.txt +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/setup.py +1 -1
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1/test_dataform.py +267 -69
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +16385 -12934
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/LICENSE +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/MANIFEST.in +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/README.rst +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/py.typed +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/top_level.txt +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/setup.cfg +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/unit/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/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.3
|
|
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,7 +21,7 @@ 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.25.0
|
|
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"
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform/__init__.py
RENAMED
|
@@ -23,8 +23,10 @@ from google.cloud.dataform_v1beta1.services.dataform.async_client import (
|
|
|
23
23
|
)
|
|
24
24
|
from google.cloud.dataform_v1beta1.services.dataform.client import DataformClient
|
|
25
25
|
from google.cloud.dataform_v1beta1.types.dataform import (
|
|
26
|
+
BranchMetadata,
|
|
26
27
|
CancelWorkflowInvocationRequest,
|
|
27
28
|
CancelWorkflowInvocationResponse,
|
|
29
|
+
CheckoutWorkspaceBranchRequest,
|
|
28
30
|
CodeCompilationConfig,
|
|
29
31
|
CommitAuthor,
|
|
30
32
|
CommitLogEntry,
|
|
@@ -47,6 +49,8 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
47
49
|
CreateWorkflowInvocationRequest,
|
|
48
50
|
CreateWorkspaceRequest,
|
|
49
51
|
DataEncryptionState,
|
|
52
|
+
DeleteBranchRequest,
|
|
53
|
+
DeleteBranchResponse,
|
|
50
54
|
DeleteFolderRequest,
|
|
51
55
|
DeleteFolderTreeMetadata,
|
|
52
56
|
DeleteFolderTreeRequest,
|
|
@@ -63,6 +67,8 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
63
67
|
DirectoryContentsView,
|
|
64
68
|
DirectoryEntry,
|
|
65
69
|
DirectorySearchResult,
|
|
70
|
+
FetchCurrentWorkspaceBranchRequest,
|
|
71
|
+
FetchCurrentWorkspaceBranchResponse,
|
|
66
72
|
FetchFileDiffRequest,
|
|
67
73
|
FetchFileDiffResponse,
|
|
68
74
|
FetchFileGitStatusesRequest,
|
|
@@ -73,9 +79,13 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
73
79
|
FetchRemoteBranchesResponse,
|
|
74
80
|
FetchRepositoryHistoryRequest,
|
|
75
81
|
FetchRepositoryHistoryResponse,
|
|
82
|
+
FetchWorkspaceBranchesRequest,
|
|
83
|
+
FetchWorkspaceBranchesResponse,
|
|
76
84
|
FileSearchResult,
|
|
77
85
|
FilesystemEntryMetadata,
|
|
78
86
|
Folder,
|
|
87
|
+
GcsRepositorySnapshotDestination,
|
|
88
|
+
GcsRepositorySnapshotMetadata,
|
|
79
89
|
GetCompilationResultRequest,
|
|
80
90
|
GetConfigRequest,
|
|
81
91
|
GetFolderRequest,
|
|
@@ -111,6 +121,7 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
111
121
|
MoveRepositoryMetadata,
|
|
112
122
|
MoveRepositoryRequest,
|
|
113
123
|
NotebookRuntimeOptions,
|
|
124
|
+
PipelineConfig,
|
|
114
125
|
PrivateResourceMetadata,
|
|
115
126
|
PullGitCommitsRequest,
|
|
116
127
|
PullGitCommitsResponse,
|
|
@@ -148,8 +159,12 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
148
159
|
SearchResult,
|
|
149
160
|
SearchTeamFoldersRequest,
|
|
150
161
|
SearchTeamFoldersResponse,
|
|
162
|
+
SyncWorkspaceRefsRequest,
|
|
163
|
+
SyncWorkspaceRefsResponse,
|
|
164
|
+
TableUpdateTrigger,
|
|
151
165
|
Target,
|
|
152
166
|
TeamFolder,
|
|
167
|
+
TriggerEvaluationRecord,
|
|
153
168
|
UpdateConfigRequest,
|
|
154
169
|
UpdateFolderRequest,
|
|
155
170
|
UpdateReleaseConfigRequest,
|
|
@@ -159,6 +174,8 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
159
174
|
WorkflowConfig,
|
|
160
175
|
WorkflowInvocation,
|
|
161
176
|
WorkflowInvocationAction,
|
|
177
|
+
WorkflowTrigger,
|
|
178
|
+
WorkflowTriggerConfig,
|
|
162
179
|
Workspace,
|
|
163
180
|
WriteFileRequest,
|
|
164
181
|
WriteFileResponse,
|
|
@@ -167,8 +184,10 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
167
184
|
__all__ = (
|
|
168
185
|
"DataformClient",
|
|
169
186
|
"DataformAsyncClient",
|
|
187
|
+
"BranchMetadata",
|
|
170
188
|
"CancelWorkflowInvocationRequest",
|
|
171
189
|
"CancelWorkflowInvocationResponse",
|
|
190
|
+
"CheckoutWorkspaceBranchRequest",
|
|
172
191
|
"CodeCompilationConfig",
|
|
173
192
|
"CommitAuthor",
|
|
174
193
|
"CommitLogEntry",
|
|
@@ -191,6 +210,8 @@ __all__ = (
|
|
|
191
210
|
"CreateWorkflowInvocationRequest",
|
|
192
211
|
"CreateWorkspaceRequest",
|
|
193
212
|
"DataEncryptionState",
|
|
213
|
+
"DeleteBranchRequest",
|
|
214
|
+
"DeleteBranchResponse",
|
|
194
215
|
"DeleteFolderRequest",
|
|
195
216
|
"DeleteFolderTreeMetadata",
|
|
196
217
|
"DeleteFolderTreeRequest",
|
|
@@ -206,6 +227,8 @@ __all__ = (
|
|
|
206
227
|
"DeleteWorkspaceRequest",
|
|
207
228
|
"DirectoryEntry",
|
|
208
229
|
"DirectorySearchResult",
|
|
230
|
+
"FetchCurrentWorkspaceBranchRequest",
|
|
231
|
+
"FetchCurrentWorkspaceBranchResponse",
|
|
209
232
|
"FetchFileDiffRequest",
|
|
210
233
|
"FetchFileDiffResponse",
|
|
211
234
|
"FetchFileGitStatusesRequest",
|
|
@@ -216,9 +239,13 @@ __all__ = (
|
|
|
216
239
|
"FetchRemoteBranchesResponse",
|
|
217
240
|
"FetchRepositoryHistoryRequest",
|
|
218
241
|
"FetchRepositoryHistoryResponse",
|
|
242
|
+
"FetchWorkspaceBranchesRequest",
|
|
243
|
+
"FetchWorkspaceBranchesResponse",
|
|
219
244
|
"FileSearchResult",
|
|
220
245
|
"FilesystemEntryMetadata",
|
|
221
246
|
"Folder",
|
|
247
|
+
"GcsRepositorySnapshotDestination",
|
|
248
|
+
"GcsRepositorySnapshotMetadata",
|
|
222
249
|
"GetCompilationResultRequest",
|
|
223
250
|
"GetConfigRequest",
|
|
224
251
|
"GetFolderRequest",
|
|
@@ -254,6 +281,7 @@ __all__ = (
|
|
|
254
281
|
"MoveRepositoryMetadata",
|
|
255
282
|
"MoveRepositoryRequest",
|
|
256
283
|
"NotebookRuntimeOptions",
|
|
284
|
+
"PipelineConfig",
|
|
257
285
|
"PrivateResourceMetadata",
|
|
258
286
|
"PullGitCommitsRequest",
|
|
259
287
|
"PullGitCommitsResponse",
|
|
@@ -291,8 +319,12 @@ __all__ = (
|
|
|
291
319
|
"SearchResult",
|
|
292
320
|
"SearchTeamFoldersRequest",
|
|
293
321
|
"SearchTeamFoldersResponse",
|
|
322
|
+
"SyncWorkspaceRefsRequest",
|
|
323
|
+
"SyncWorkspaceRefsResponse",
|
|
324
|
+
"TableUpdateTrigger",
|
|
294
325
|
"Target",
|
|
295
326
|
"TeamFolder",
|
|
327
|
+
"TriggerEvaluationRecord",
|
|
296
328
|
"UpdateConfigRequest",
|
|
297
329
|
"UpdateFolderRequest",
|
|
298
330
|
"UpdateReleaseConfigRequest",
|
|
@@ -302,6 +334,8 @@ __all__ = (
|
|
|
302
334
|
"WorkflowConfig",
|
|
303
335
|
"WorkflowInvocation",
|
|
304
336
|
"WorkflowInvocationAction",
|
|
337
|
+
"WorkflowTrigger",
|
|
338
|
+
"WorkflowTriggerConfig",
|
|
305
339
|
"Workspace",
|
|
306
340
|
"WriteFileRequest",
|
|
307
341
|
"WriteFileResponse",
|
{google_cloud_dataform-0.11.1 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/__init__.py
RENAMED
|
@@ -23,6 +23,18 @@ __version__ = package_version.__version__
|
|
|
23
23
|
|
|
24
24
|
from importlib import metadata
|
|
25
25
|
|
|
26
|
+
# PEP 0810: Explicit Lazy Imports
|
|
27
|
+
# Python 3.15+ natively intercepts and defers these imports.
|
|
28
|
+
# Developers can disable this behavior and force eager imports.
|
|
29
|
+
# For more information, see:
|
|
30
|
+
# https://docs.python.org/3.15/library/sys.html#sys.set_lazy_imports_filter
|
|
31
|
+
# Older Python versions safely ignore this variable.
|
|
32
|
+
__lazy_modules__ = {
|
|
33
|
+
"google.cloud.dataform_v1.services.dataform",
|
|
34
|
+
"google.cloud.dataform_v1.types.dataform",
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
26
38
|
from .services.dataform import DataformAsyncClient, DataformClient
|
|
27
39
|
from .types.dataform import (
|
|
28
40
|
CancelWorkflowInvocationRequest,
|
|
@@ -75,6 +87,8 @@ from .types.dataform import (
|
|
|
75
87
|
FileSearchResult,
|
|
76
88
|
FilesystemEntryMetadata,
|
|
77
89
|
Folder,
|
|
90
|
+
GcsRepositorySnapshotDestination,
|
|
91
|
+
GcsRepositorySnapshotMetadata,
|
|
78
92
|
GetCompilationResultRequest,
|
|
79
93
|
GetConfigRequest,
|
|
80
94
|
GetFolderRequest,
|
|
@@ -110,6 +124,7 @@ from .types.dataform import (
|
|
|
110
124
|
MoveRepositoryMetadata,
|
|
111
125
|
MoveRepositoryRequest,
|
|
112
126
|
NotebookRuntimeOptions,
|
|
127
|
+
PipelineConfig,
|
|
113
128
|
PrivateResourceMetadata,
|
|
114
129
|
PullGitCommitsRequest,
|
|
115
130
|
PullGitCommitsResponse,
|
|
@@ -299,6 +314,8 @@ __all__ = (
|
|
|
299
314
|
"FileSearchResult",
|
|
300
315
|
"FilesystemEntryMetadata",
|
|
301
316
|
"Folder",
|
|
317
|
+
"GcsRepositorySnapshotDestination",
|
|
318
|
+
"GcsRepositorySnapshotMetadata",
|
|
302
319
|
"GetCompilationResultRequest",
|
|
303
320
|
"GetConfigRequest",
|
|
304
321
|
"GetFolderRequest",
|
|
@@ -334,6 +351,7 @@ __all__ = (
|
|
|
334
351
|
"MoveRepositoryMetadata",
|
|
335
352
|
"MoveRepositoryRequest",
|
|
336
353
|
"NotebookRuntimeOptions",
|
|
354
|
+
"PipelineConfig",
|
|
337
355
|
"PrivateResourceMetadata",
|
|
338
356
|
"PullGitCommitsRequest",
|
|
339
357
|
"PullGitCommitsResponse",
|
|
@@ -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
|
|
@@ -8677,9 +8682,7 @@ class DataformAsyncClient:
|
|
|
8677
8682
|
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
8678
8683
|
gapic_version=package_version.__version__
|
|
8679
8684
|
)
|
|
8680
|
-
|
|
8681
|
-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
|
|
8682
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
8685
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
8683
8686
|
|
|
8684
8687
|
|
|
8685
8688
|
__all__ = ("DataformAsyncClient",)
|
|
@@ -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
|
|
@@ -9224,8 +9249,6 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
9224
9249
|
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
9225
9250
|
gapic_version=package_version.__version__
|
|
9226
9251
|
)
|
|
9227
|
-
|
|
9228
|
-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
|
|
9229
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
9252
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
9230
9253
|
|
|
9231
9254
|
__all__ = ("DataformClient",)
|
|
@@ -40,9 +40,7 @@ from google.cloud.dataform_v1.types import dataform
|
|
|
40
40
|
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
41
41
|
gapic_version=package_version.__version__
|
|
42
42
|
)
|
|
43
|
-
|
|
44
|
-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
|
|
45
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
43
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
46
44
|
|
|
47
45
|
|
|
48
46
|
class DataformTransport(abc.ABC):
|
|
@@ -62,8 +62,7 @@ DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
|
62
62
|
rest_version=f"requests@{requests_version}",
|
|
63
63
|
)
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
65
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
67
66
|
|
|
68
67
|
|
|
69
68
|
class DataformRestInterceptor:
|
|
@@ -64,6 +64,8 @@ from .dataform import (
|
|
|
64
64
|
FileSearchResult,
|
|
65
65
|
FilesystemEntryMetadata,
|
|
66
66
|
Folder,
|
|
67
|
+
GcsRepositorySnapshotDestination,
|
|
68
|
+
GcsRepositorySnapshotMetadata,
|
|
67
69
|
GetCompilationResultRequest,
|
|
68
70
|
GetConfigRequest,
|
|
69
71
|
GetFolderRequest,
|
|
@@ -99,6 +101,7 @@ from .dataform import (
|
|
|
99
101
|
MoveRepositoryMetadata,
|
|
100
102
|
MoveRepositoryRequest,
|
|
101
103
|
NotebookRuntimeOptions,
|
|
104
|
+
PipelineConfig,
|
|
102
105
|
PrivateResourceMetadata,
|
|
103
106
|
PullGitCommitsRequest,
|
|
104
107
|
PullGitCommitsResponse,
|
|
@@ -202,6 +205,8 @@ __all__ = (
|
|
|
202
205
|
"FileSearchResult",
|
|
203
206
|
"FilesystemEntryMetadata",
|
|
204
207
|
"Folder",
|
|
208
|
+
"GcsRepositorySnapshotDestination",
|
|
209
|
+
"GcsRepositorySnapshotMetadata",
|
|
205
210
|
"GetCompilationResultRequest",
|
|
206
211
|
"GetConfigRequest",
|
|
207
212
|
"GetFolderRequest",
|
|
@@ -237,6 +242,7 @@ __all__ = (
|
|
|
237
242
|
"MoveRepositoryMetadata",
|
|
238
243
|
"MoveRepositoryRequest",
|
|
239
244
|
"NotebookRuntimeOptions",
|
|
245
|
+
"PipelineConfig",
|
|
240
246
|
"PrivateResourceMetadata",
|
|
241
247
|
"PullGitCommitsRequest",
|
|
242
248
|
"PullGitCommitsResponse",
|