google-cloud-dataform 0.11.2__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.2/google_cloud_dataform.egg-info → google_cloud_dataform-0.11.3}/PKG-INFO +2 -2
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform/__init__.py +34 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/__init__.py +18 -0
- {google_cloud_dataform-0.11.2/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.11.3/google/cloud/dataform_v1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/async_client.py +1 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/client.py +1 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/base.py +1 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/rest.py +1 -2
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/types/__init__.py +6 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/types/dataform.py +168 -6
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/__init__.py +46 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/gapic_metadata.json +75 -0
- {google_cloud_dataform-0.11.2/google/cloud/dataform_v1 → google_cloud_dataform-0.11.3/google/cloud/dataform_v1beta1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +427 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/client.py +421 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +156 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +80 -3
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +140 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +170 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +1084 -67
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +265 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/types/__init__.py +34 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/types/dataform.py +667 -6
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3/google_cloud_dataform.egg-info}/PKG-INFO +2 -2
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/requires.txt +1 -1
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/setup.py +1 -1
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1/test_dataform.py +165 -2
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +16385 -12934
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/LICENSE +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/MANIFEST.in +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/README.rst +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform/py.typed +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/py.typed +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/py.typed +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/google_cloud_dataform.egg-info/top_level.txt +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/setup.cfg +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/unit/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → google_cloud_dataform-0.11.3}/tests/unit/gapic/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.11.2 → 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.2 → 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.2 → 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",
|
|
@@ -8682,9 +8682,7 @@ class DataformAsyncClient:
|
|
|
8682
8682
|
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
8683
8683
|
gapic_version=package_version.__version__
|
|
8684
8684
|
)
|
|
8685
|
-
|
|
8686
|
-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
|
|
8687
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
8685
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
8688
8686
|
|
|
8689
8687
|
|
|
8690
8688
|
__all__ = ("DataformAsyncClient",)
|
|
@@ -9249,8 +9249,6 @@ class DataformClient(metaclass=DataformClientMeta):
|
|
|
9249
9249
|
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
|
|
9250
9250
|
gapic_version=package_version.__version__
|
|
9251
9251
|
)
|
|
9252
|
-
|
|
9253
|
-
if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
|
|
9254
|
-
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
9252
|
+
DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
|
|
9255
9253
|
|
|
9256
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",
|
|
@@ -106,7 +106,10 @@ __protobuf__ = proto.module(
|
|
|
106
106
|
"DeleteReleaseConfigRequest",
|
|
107
107
|
"CompilationResult",
|
|
108
108
|
"CodeCompilationConfig",
|
|
109
|
+
"GcsRepositorySnapshotMetadata",
|
|
110
|
+
"GcsRepositorySnapshotDestination",
|
|
109
111
|
"NotebookRuntimeOptions",
|
|
112
|
+
"PipelineConfig",
|
|
110
113
|
"ListCompilationResultsRequest",
|
|
111
114
|
"ListCompilationResultsResponse",
|
|
112
115
|
"GetCompilationResultRequest",
|
|
@@ -2171,12 +2174,21 @@ class InstallNpmPackagesRequest(proto.Message):
|
|
|
2171
2174
|
Attributes:
|
|
2172
2175
|
workspace (str):
|
|
2173
2176
|
Required. The workspace's name.
|
|
2177
|
+
pipeline_config (google.cloud.dataform_v1.types.PipelineConfig):
|
|
2178
|
+
Optional. The pipeline options which defines
|
|
2179
|
+
the pipeline type and path within the Git
|
|
2180
|
+
repository.
|
|
2174
2181
|
"""
|
|
2175
2182
|
|
|
2176
2183
|
workspace: str = proto.Field(
|
|
2177
2184
|
proto.STRING,
|
|
2178
2185
|
number=1,
|
|
2179
2186
|
)
|
|
2187
|
+
pipeline_config: "PipelineConfig" = proto.Field(
|
|
2188
|
+
proto.MESSAGE,
|
|
2189
|
+
number=3,
|
|
2190
|
+
message="PipelineConfig",
|
|
2191
|
+
)
|
|
2180
2192
|
|
|
2181
2193
|
|
|
2182
2194
|
class InstallNpmPackagesResponse(proto.Message):
|
|
@@ -2209,9 +2221,9 @@ class ReleaseConfig(proto.Message):
|
|
|
2209
2221
|
time_zone (str):
|
|
2210
2222
|
Optional. Specifies the time zone to be used when
|
|
2211
2223
|
interpreting cron_schedule. Must be a time zone name from
|
|
2212
|
-
the time zone
|
|
2213
|
-
|
|
2214
|
-
If left unspecified, the default is UTC
|
|
2224
|
+
the `time zone
|
|
2225
|
+
database <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>`__.
|
|
2226
|
+
If left unspecified, the default is ``UTC``.
|
|
2215
2227
|
recent_scheduled_release_records (MutableSequence[google.cloud.dataform_v1.types.ReleaseConfig.ScheduledReleaseRecord]):
|
|
2216
2228
|
Output only. Records of the 10 most recent scheduled release
|
|
2217
2229
|
attempts, ordered in descending order of ``release_time``.
|
|
@@ -2546,6 +2558,9 @@ class CompilationResult(proto.Message):
|
|
|
2546
2558
|
Output only. Metadata indicating whether this resource is
|
|
2547
2559
|
user-scoped. ``CompilationResult`` resource is
|
|
2548
2560
|
``user_scoped`` only if it is sourced from a workspace.
|
|
2561
|
+
gcs_repository_snapshot_metadata (google.cloud.dataform_v1.types.GcsRepositorySnapshotMetadata):
|
|
2562
|
+
Output only. Metadata about the repository
|
|
2563
|
+
snapshot used by scheduled notebooks.
|
|
2549
2564
|
"""
|
|
2550
2565
|
|
|
2551
2566
|
class CompilationError(proto.Message):
|
|
@@ -2641,11 +2656,18 @@ class CompilationResult(proto.Message):
|
|
|
2641
2656
|
number=12,
|
|
2642
2657
|
message="PrivateResourceMetadata",
|
|
2643
2658
|
)
|
|
2659
|
+
gcs_repository_snapshot_metadata: "GcsRepositorySnapshotMetadata" = proto.Field(
|
|
2660
|
+
proto.MESSAGE,
|
|
2661
|
+
number=13,
|
|
2662
|
+
message="GcsRepositorySnapshotMetadata",
|
|
2663
|
+
)
|
|
2644
2664
|
|
|
2645
2665
|
|
|
2646
2666
|
class CodeCompilationConfig(proto.Message):
|
|
2647
2667
|
r"""Configures various aspects of Dataform code compilation.
|
|
2648
2668
|
|
|
2669
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
2670
|
+
|
|
2649
2671
|
Attributes:
|
|
2650
2672
|
default_database (str):
|
|
2651
2673
|
Optional. The default database (Google Cloud
|
|
@@ -2681,6 +2703,16 @@ class CodeCompilationConfig(proto.Message):
|
|
|
2681
2703
|
default_notebook_runtime_options (google.cloud.dataform_v1.types.NotebookRuntimeOptions):
|
|
2682
2704
|
Optional. The default notebook runtime
|
|
2683
2705
|
options.
|
|
2706
|
+
pipeline_config (google.cloud.dataform_v1.types.PipelineConfig):
|
|
2707
|
+
Optional. The pipeline options which defines
|
|
2708
|
+
the pipeline type and path within the Git
|
|
2709
|
+
repository.
|
|
2710
|
+
lineage_enabled (bool):
|
|
2711
|
+
Output only. Whether OpenLineage events are emitted for
|
|
2712
|
+
actions in this workflow. Reflects the ``lineage.enabled``
|
|
2713
|
+
setting from ``workflow_settings.yaml``.
|
|
2714
|
+
|
|
2715
|
+
This field is a member of `oneof`_ ``_lineage_enabled``.
|
|
2684
2716
|
"""
|
|
2685
2717
|
|
|
2686
2718
|
default_database: str = proto.Field(
|
|
@@ -2725,6 +2757,62 @@ class CodeCompilationConfig(proto.Message):
|
|
|
2725
2757
|
number=9,
|
|
2726
2758
|
message="NotebookRuntimeOptions",
|
|
2727
2759
|
)
|
|
2760
|
+
pipeline_config: "PipelineConfig" = proto.Field(
|
|
2761
|
+
proto.MESSAGE,
|
|
2762
|
+
number=12,
|
|
2763
|
+
message="PipelineConfig",
|
|
2764
|
+
)
|
|
2765
|
+
lineage_enabled: bool = proto.Field(
|
|
2766
|
+
proto.BOOL,
|
|
2767
|
+
number=14,
|
|
2768
|
+
optional=True,
|
|
2769
|
+
)
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
class GcsRepositorySnapshotMetadata(proto.Message):
|
|
2773
|
+
r"""Metadata about a repository snapshot stored in Google Cloud
|
|
2774
|
+
Storage.
|
|
2775
|
+
|
|
2776
|
+
Attributes:
|
|
2777
|
+
repository_snapshot_uri (str):
|
|
2778
|
+
Output only. The Google Cloud Storage URI of
|
|
2779
|
+
the repository snapshot.
|
|
2780
|
+
crc32c_checksum (str):
|
|
2781
|
+
Output only. The crc32c checksum of the
|
|
2782
|
+
repository snapshot, big-endian base64 encoded.
|
|
2783
|
+
generation (int):
|
|
2784
|
+
Output only. The generation number of the
|
|
2785
|
+
Cloud Storage object. See
|
|
2786
|
+
https://cloud.google.com/storage/docs/metadata#generation-number.
|
|
2787
|
+
"""
|
|
2788
|
+
|
|
2789
|
+
repository_snapshot_uri: str = proto.Field(
|
|
2790
|
+
proto.STRING,
|
|
2791
|
+
number=1,
|
|
2792
|
+
)
|
|
2793
|
+
crc32c_checksum: str = proto.Field(
|
|
2794
|
+
proto.STRING,
|
|
2795
|
+
number=2,
|
|
2796
|
+
)
|
|
2797
|
+
generation: int = proto.Field(
|
|
2798
|
+
proto.INT64,
|
|
2799
|
+
number=3,
|
|
2800
|
+
)
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
class GcsRepositorySnapshotDestination(proto.Message):
|
|
2804
|
+
r"""Configures the destination for a repository snapshot.
|
|
2805
|
+
|
|
2806
|
+
Attributes:
|
|
2807
|
+
repository_snapshot_uri (str):
|
|
2808
|
+
Optional. The Google Cloud Storage destination to upload the
|
|
2809
|
+
repository snapshot to. Format: ``gs://bucket-name/path/``.
|
|
2810
|
+
"""
|
|
2811
|
+
|
|
2812
|
+
repository_snapshot_uri: str = proto.Field(
|
|
2813
|
+
proto.STRING,
|
|
2814
|
+
number=1,
|
|
2815
|
+
)
|
|
2728
2816
|
|
|
2729
2817
|
|
|
2730
2818
|
class NotebookRuntimeOptions(proto.Message):
|
|
@@ -2738,6 +2826,12 @@ class NotebookRuntimeOptions(proto.Message):
|
|
|
2738
2826
|
result to. Format: ``gs://bucket-name``.
|
|
2739
2827
|
|
|
2740
2828
|
This field is a member of `oneof`_ ``execution_sink``.
|
|
2829
|
+
gcs_repository_snapshot_destination (google.cloud.dataform_v1.types.GcsRepositorySnapshotDestination):
|
|
2830
|
+
Optional. The Google Cloud Storage destination to upload the
|
|
2831
|
+
snapshot to. For empty URI it defaults to the provided
|
|
2832
|
+
gcs_output_bucket. Format: ``gs://bucket-name/path/``.
|
|
2833
|
+
|
|
2834
|
+
This field is a member of `oneof`_ ``repository_snapshot_storage``.
|
|
2741
2835
|
ai_platform_notebook_runtime_template (str):
|
|
2742
2836
|
Optional. The resource name of the [Colab runtime template]
|
|
2743
2837
|
(https://cloud.google.com/colab/docs/runtimes), from which a
|
|
@@ -2751,12 +2845,64 @@ class NotebookRuntimeOptions(proto.Message):
|
|
|
2751
2845
|
number=1,
|
|
2752
2846
|
oneof="execution_sink",
|
|
2753
2847
|
)
|
|
2848
|
+
gcs_repository_snapshot_destination: "GcsRepositorySnapshotDestination" = (
|
|
2849
|
+
proto.Field(
|
|
2850
|
+
proto.MESSAGE,
|
|
2851
|
+
number=3,
|
|
2852
|
+
oneof="repository_snapshot_storage",
|
|
2853
|
+
message="GcsRepositorySnapshotDestination",
|
|
2854
|
+
)
|
|
2855
|
+
)
|
|
2754
2856
|
ai_platform_notebook_runtime_template: str = proto.Field(
|
|
2755
2857
|
proto.STRING,
|
|
2756
2858
|
number=2,
|
|
2757
2859
|
)
|
|
2758
2860
|
|
|
2759
2861
|
|
|
2862
|
+
class PipelineConfig(proto.Message):
|
|
2863
|
+
r"""Defines the pipeline type and path within the Git repository.
|
|
2864
|
+
|
|
2865
|
+
Attributes:
|
|
2866
|
+
pipeline_type (google.cloud.dataform_v1.types.PipelineConfig.PipelineType):
|
|
2867
|
+
Required. The type of the pipeline.
|
|
2868
|
+
path (str):
|
|
2869
|
+
Required. The relative path within the Git repository where
|
|
2870
|
+
the pipeline is defined. For example, for a Dataform
|
|
2871
|
+
pipeline, it is a path to the folder where
|
|
2872
|
+
``workflow_settings.yaml`` or ``dataform.json`` is located.
|
|
2873
|
+
"""
|
|
2874
|
+
|
|
2875
|
+
class PipelineType(proto.Enum):
|
|
2876
|
+
r"""The type of the pipeline. This may be extended in the future.
|
|
2877
|
+
In case of UNSPECIFIED, the error will be thrown.
|
|
2878
|
+
|
|
2879
|
+
Values:
|
|
2880
|
+
PIPELINE_TYPE_UNSPECIFIED (0):
|
|
2881
|
+
Default value. This value is unused.
|
|
2882
|
+
DATAFORM (1):
|
|
2883
|
+
Regular Dataform pipeline.
|
|
2884
|
+
SQL (3):
|
|
2885
|
+
SQL single file asset.
|
|
2886
|
+
NOTEBOOK (4):
|
|
2887
|
+
Notebook single file asset.
|
|
2888
|
+
"""
|
|
2889
|
+
|
|
2890
|
+
PIPELINE_TYPE_UNSPECIFIED = 0
|
|
2891
|
+
DATAFORM = 1
|
|
2892
|
+
SQL = 3
|
|
2893
|
+
NOTEBOOK = 4
|
|
2894
|
+
|
|
2895
|
+
pipeline_type: PipelineType = proto.Field(
|
|
2896
|
+
proto.ENUM,
|
|
2897
|
+
number=1,
|
|
2898
|
+
enum=PipelineType,
|
|
2899
|
+
)
|
|
2900
|
+
path: str = proto.Field(
|
|
2901
|
+
proto.STRING,
|
|
2902
|
+
number=2,
|
|
2903
|
+
)
|
|
2904
|
+
|
|
2905
|
+
|
|
2760
2906
|
class ListCompilationResultsRequest(proto.Message):
|
|
2761
2907
|
r"""``ListCompilationResults`` request message.
|
|
2762
2908
|
|
|
@@ -3762,9 +3908,9 @@ class WorkflowConfig(proto.Message):
|
|
|
3762
3908
|
time_zone (str):
|
|
3763
3909
|
Optional. Specifies the time zone to be used when
|
|
3764
3910
|
interpreting cron_schedule. Must be a time zone name from
|
|
3765
|
-
the time zone
|
|
3766
|
-
|
|
3767
|
-
If left unspecified, the default is UTC
|
|
3911
|
+
the `time zone
|
|
3912
|
+
database <https://en.wikipedia.org/wiki/List_of_tz_database_time_zones>`__.
|
|
3913
|
+
If left unspecified, the default is ``UTC``.
|
|
3768
3914
|
recent_scheduled_execution_records (MutableSequence[google.cloud.dataform_v1.types.WorkflowConfig.ScheduledExecutionRecord]):
|
|
3769
3915
|
Output only. Records of the 10 most recent scheduled
|
|
3770
3916
|
execution attempts, ordered in descending order of
|
|
@@ -4180,6 +4326,10 @@ class WorkflowInvocation(proto.Message):
|
|
|
4180
4326
|
user-scoped. ``WorkflowInvocation`` resource is
|
|
4181
4327
|
``user_scoped`` only if it is sourced from a compilation
|
|
4182
4328
|
result and the compilation result is user-scoped.
|
|
4329
|
+
pipeline_config (google.cloud.dataform_v1.types.PipelineConfig):
|
|
4330
|
+
Output only. The pipeline options which
|
|
4331
|
+
defines the pipeline type and path within the
|
|
4332
|
+
Git repository.
|
|
4183
4333
|
"""
|
|
4184
4334
|
|
|
4185
4335
|
class State(proto.Enum):
|
|
@@ -4259,6 +4409,11 @@ class WorkflowInvocation(proto.Message):
|
|
|
4259
4409
|
number=10,
|
|
4260
4410
|
message="PrivateResourceMetadata",
|
|
4261
4411
|
)
|
|
4412
|
+
pipeline_config: "PipelineConfig" = proto.Field(
|
|
4413
|
+
proto.MESSAGE,
|
|
4414
|
+
number=11,
|
|
4415
|
+
message="PipelineConfig",
|
|
4416
|
+
)
|
|
4262
4417
|
|
|
4263
4418
|
|
|
4264
4419
|
class ListWorkflowInvocationsRequest(proto.Message):
|
|
@@ -4541,6 +4696,9 @@ class WorkflowInvocationAction(proto.Message):
|
|
|
4541
4696
|
contents and also the ID used for the outputs
|
|
4542
4697
|
created in Google Cloud Storage buckets. Only
|
|
4543
4698
|
set once the job has started to run.
|
|
4699
|
+
file_path (str):
|
|
4700
|
+
Output only. The path to the notebook file in
|
|
4701
|
+
the repository.
|
|
4544
4702
|
"""
|
|
4545
4703
|
|
|
4546
4704
|
contents: str = proto.Field(
|
|
@@ -4551,6 +4709,10 @@ class WorkflowInvocationAction(proto.Message):
|
|
|
4551
4709
|
proto.STRING,
|
|
4552
4710
|
number=2,
|
|
4553
4711
|
)
|
|
4712
|
+
file_path: str = proto.Field(
|
|
4713
|
+
proto.STRING,
|
|
4714
|
+
number=3,
|
|
4715
|
+
)
|
|
4554
4716
|
|
|
4555
4717
|
class DataPreparationAction(proto.Message):
|
|
4556
4718
|
r"""Represents a workflow action that will run a Data
|