google-cloud-dataform 0.8.0__tar.gz → 0.9.0__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.8.0/google_cloud_dataform.egg-info → google_cloud_dataform-0.9.0}/PKG-INFO +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform/__init__.py +46 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform/gapic_version.py +1 -1
- {google_cloud_dataform-0.8.0/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.9.0/google/cloud/dataform_v1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/async_client.py +3 -3
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/client.py +3 -3
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/base.py +8 -5
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/rest.py +6 -6
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/types/dataform.py +4 -4
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/__init__.py +46 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/gapic_metadata.json +255 -0
- {google_cloud_dataform-0.8.0/google/cloud/dataform_v1 → google_cloud_dataform-0.9.0/google/cloud/dataform_v1beta1}/gapic_version.py +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +3857 -1884
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/client.py +2976 -1003
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +642 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +287 -16
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +548 -65
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +662 -82
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +5514 -1668
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +1086 -157
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/types/__init__.py +46 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/types/dataform.py +1212 -8
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0/google_cloud_dataform.egg-info}/PKG-INFO +1 -1
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/gapic/dataform_v1/test_dataform.py +5 -5
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +28205 -14452
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/LICENSE +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/MANIFEST.in +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/README.rst +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform/py.typed +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/py.typed +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/pagers.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1/types/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/py.typed +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google_cloud_dataform.egg-info/requires.txt +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google_cloud_dataform.egg-info/top_level.txt +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/setup.cfg +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/setup.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/gapic/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/gapic/dataform_v1/__init__.py +0 -0
- {google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -0
{google_cloud_dataform-0.8.0 → google_cloud_dataform-0.9.0}/google/cloud/dataform/__init__.py
RENAMED
|
@@ -39,14 +39,18 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
39
39
|
ComputeRepositoryAccessTokenStatusResponse,
|
|
40
40
|
Config,
|
|
41
41
|
CreateCompilationResultRequest,
|
|
42
|
+
CreateFolderRequest,
|
|
42
43
|
CreateReleaseConfigRequest,
|
|
43
44
|
CreateRepositoryRequest,
|
|
45
|
+
CreateTeamFolderRequest,
|
|
44
46
|
CreateWorkflowConfigRequest,
|
|
45
47
|
CreateWorkflowInvocationRequest,
|
|
46
48
|
CreateWorkspaceRequest,
|
|
47
49
|
DataEncryptionState,
|
|
50
|
+
DeleteFolderRequest,
|
|
48
51
|
DeleteReleaseConfigRequest,
|
|
49
52
|
DeleteRepositoryRequest,
|
|
53
|
+
DeleteTeamFolderRequest,
|
|
50
54
|
DeleteWorkflowConfigRequest,
|
|
51
55
|
DeleteWorkflowInvocationRequest,
|
|
52
56
|
DeleteWorkspaceRequest,
|
|
@@ -63,10 +67,13 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
63
67
|
FetchRepositoryHistoryRequest,
|
|
64
68
|
FetchRepositoryHistoryResponse,
|
|
65
69
|
FileSearchResult,
|
|
70
|
+
Folder,
|
|
66
71
|
GetCompilationResultRequest,
|
|
67
72
|
GetConfigRequest,
|
|
73
|
+
GetFolderRequest,
|
|
68
74
|
GetReleaseConfigRequest,
|
|
69
75
|
GetRepositoryRequest,
|
|
76
|
+
GetTeamFolderRequest,
|
|
70
77
|
GetWorkflowConfigRequest,
|
|
71
78
|
GetWorkflowInvocationRequest,
|
|
72
79
|
GetWorkspaceRequest,
|
|
@@ -91,7 +98,12 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
91
98
|
MoveDirectoryResponse,
|
|
92
99
|
MoveFileRequest,
|
|
93
100
|
MoveFileResponse,
|
|
101
|
+
MoveFolderMetadata,
|
|
102
|
+
MoveFolderRequest,
|
|
103
|
+
MoveRepositoryMetadata,
|
|
104
|
+
MoveRepositoryRequest,
|
|
94
105
|
NotebookRuntimeOptions,
|
|
106
|
+
PrivateResourceMetadata,
|
|
95
107
|
PullGitCommitsRequest,
|
|
96
108
|
PullGitCommitsResponse,
|
|
97
109
|
PushGitCommitsRequest,
|
|
@@ -100,8 +112,14 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
100
112
|
QueryCompilationResultActionsResponse,
|
|
101
113
|
QueryDirectoryContentsRequest,
|
|
102
114
|
QueryDirectoryContentsResponse,
|
|
115
|
+
QueryFolderContentsRequest,
|
|
116
|
+
QueryFolderContentsResponse,
|
|
103
117
|
QueryRepositoryDirectoryContentsRequest,
|
|
104
118
|
QueryRepositoryDirectoryContentsResponse,
|
|
119
|
+
QueryTeamFolderContentsRequest,
|
|
120
|
+
QueryTeamFolderContentsResponse,
|
|
121
|
+
QueryUserRootContentsRequest,
|
|
122
|
+
QueryUserRootContentsResponse,
|
|
105
123
|
QueryWorkflowInvocationActionsRequest,
|
|
106
124
|
QueryWorkflowInvocationActionsResponse,
|
|
107
125
|
ReadFileRequest,
|
|
@@ -120,10 +138,15 @@ from google.cloud.dataform_v1beta1.types.dataform import (
|
|
|
120
138
|
SearchFilesRequest,
|
|
121
139
|
SearchFilesResponse,
|
|
122
140
|
SearchResult,
|
|
141
|
+
SearchTeamFoldersRequest,
|
|
142
|
+
SearchTeamFoldersResponse,
|
|
123
143
|
Target,
|
|
144
|
+
TeamFolder,
|
|
124
145
|
UpdateConfigRequest,
|
|
146
|
+
UpdateFolderRequest,
|
|
125
147
|
UpdateReleaseConfigRequest,
|
|
126
148
|
UpdateRepositoryRequest,
|
|
149
|
+
UpdateTeamFolderRequest,
|
|
127
150
|
UpdateWorkflowConfigRequest,
|
|
128
151
|
WorkflowConfig,
|
|
129
152
|
WorkflowInvocation,
|
|
@@ -152,14 +175,18 @@ __all__ = (
|
|
|
152
175
|
"ComputeRepositoryAccessTokenStatusResponse",
|
|
153
176
|
"Config",
|
|
154
177
|
"CreateCompilationResultRequest",
|
|
178
|
+
"CreateFolderRequest",
|
|
155
179
|
"CreateReleaseConfigRequest",
|
|
156
180
|
"CreateRepositoryRequest",
|
|
181
|
+
"CreateTeamFolderRequest",
|
|
157
182
|
"CreateWorkflowConfigRequest",
|
|
158
183
|
"CreateWorkflowInvocationRequest",
|
|
159
184
|
"CreateWorkspaceRequest",
|
|
160
185
|
"DataEncryptionState",
|
|
186
|
+
"DeleteFolderRequest",
|
|
161
187
|
"DeleteReleaseConfigRequest",
|
|
162
188
|
"DeleteRepositoryRequest",
|
|
189
|
+
"DeleteTeamFolderRequest",
|
|
163
190
|
"DeleteWorkflowConfigRequest",
|
|
164
191
|
"DeleteWorkflowInvocationRequest",
|
|
165
192
|
"DeleteWorkspaceRequest",
|
|
@@ -176,10 +203,13 @@ __all__ = (
|
|
|
176
203
|
"FetchRepositoryHistoryRequest",
|
|
177
204
|
"FetchRepositoryHistoryResponse",
|
|
178
205
|
"FileSearchResult",
|
|
206
|
+
"Folder",
|
|
179
207
|
"GetCompilationResultRequest",
|
|
180
208
|
"GetConfigRequest",
|
|
209
|
+
"GetFolderRequest",
|
|
181
210
|
"GetReleaseConfigRequest",
|
|
182
211
|
"GetRepositoryRequest",
|
|
212
|
+
"GetTeamFolderRequest",
|
|
183
213
|
"GetWorkflowConfigRequest",
|
|
184
214
|
"GetWorkflowInvocationRequest",
|
|
185
215
|
"GetWorkspaceRequest",
|
|
@@ -204,7 +234,12 @@ __all__ = (
|
|
|
204
234
|
"MoveDirectoryResponse",
|
|
205
235
|
"MoveFileRequest",
|
|
206
236
|
"MoveFileResponse",
|
|
237
|
+
"MoveFolderMetadata",
|
|
238
|
+
"MoveFolderRequest",
|
|
239
|
+
"MoveRepositoryMetadata",
|
|
240
|
+
"MoveRepositoryRequest",
|
|
207
241
|
"NotebookRuntimeOptions",
|
|
242
|
+
"PrivateResourceMetadata",
|
|
208
243
|
"PullGitCommitsRequest",
|
|
209
244
|
"PullGitCommitsResponse",
|
|
210
245
|
"PushGitCommitsRequest",
|
|
@@ -213,8 +248,14 @@ __all__ = (
|
|
|
213
248
|
"QueryCompilationResultActionsResponse",
|
|
214
249
|
"QueryDirectoryContentsRequest",
|
|
215
250
|
"QueryDirectoryContentsResponse",
|
|
251
|
+
"QueryFolderContentsRequest",
|
|
252
|
+
"QueryFolderContentsResponse",
|
|
216
253
|
"QueryRepositoryDirectoryContentsRequest",
|
|
217
254
|
"QueryRepositoryDirectoryContentsResponse",
|
|
255
|
+
"QueryTeamFolderContentsRequest",
|
|
256
|
+
"QueryTeamFolderContentsResponse",
|
|
257
|
+
"QueryUserRootContentsRequest",
|
|
258
|
+
"QueryUserRootContentsResponse",
|
|
218
259
|
"QueryWorkflowInvocationActionsRequest",
|
|
219
260
|
"QueryWorkflowInvocationActionsResponse",
|
|
220
261
|
"ReadFileRequest",
|
|
@@ -233,10 +274,15 @@ __all__ = (
|
|
|
233
274
|
"SearchFilesRequest",
|
|
234
275
|
"SearchFilesResponse",
|
|
235
276
|
"SearchResult",
|
|
277
|
+
"SearchTeamFoldersRequest",
|
|
278
|
+
"SearchTeamFoldersResponse",
|
|
236
279
|
"Target",
|
|
280
|
+
"TeamFolder",
|
|
237
281
|
"UpdateConfigRequest",
|
|
282
|
+
"UpdateFolderRequest",
|
|
238
283
|
"UpdateReleaseConfigRequest",
|
|
239
284
|
"UpdateRepositoryRequest",
|
|
285
|
+
"UpdateTeamFolderRequest",
|
|
240
286
|
"UpdateWorkflowConfigRequest",
|
|
241
287
|
"WorkflowConfig",
|
|
242
288
|
"WorkflowInvocation",
|
|
@@ -47,9 +47,9 @@ except AttributeError: # pragma: NO COVER
|
|
|
47
47
|
from google.cloud.location import locations_pb2 # type: ignore
|
|
48
48
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
49
49
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
|
|
51
|
+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
|
|
52
|
+
import google.type.interval_pb2 as interval_pb2 # type: ignore
|
|
53
53
|
|
|
54
54
|
from google.cloud.dataform_v1.services.dataform import pagers
|
|
55
55
|
from google.cloud.dataform_v1.types import dataform
|
|
@@ -64,9 +64,9 @@ _LOGGER = std_logging.getLogger(__name__)
|
|
|
64
64
|
from google.cloud.location import locations_pb2 # type: ignore
|
|
65
65
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
66
66
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
|
|
68
|
+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
|
|
69
|
+
import google.type.interval_pb2 as interval_pb2 # type: ignore
|
|
70
70
|
|
|
71
71
|
from google.cloud.dataform_v1.services.dataform import pagers
|
|
72
72
|
from google.cloud.dataform_v1.types import dataform
|
|
@@ -27,7 +27,7 @@ from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
|
27
27
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
28
28
|
from google.oauth2 import service_account # type: ignore
|
|
29
29
|
import google.protobuf
|
|
30
|
-
|
|
30
|
+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
|
|
31
31
|
|
|
32
32
|
from google.cloud.dataform_v1 import gapic_version as package_version
|
|
33
33
|
from google.cloud.dataform_v1.types import dataform
|
|
@@ -89,8 +89,6 @@ class DataformTransport(abc.ABC):
|
|
|
89
89
|
be used for service account credentials.
|
|
90
90
|
"""
|
|
91
91
|
|
|
92
|
-
scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
|
|
93
|
-
|
|
94
92
|
# Save the scopes.
|
|
95
93
|
self._scopes = scopes
|
|
96
94
|
if not hasattr(self, "_ignore_credentials"):
|
|
@@ -105,11 +103,16 @@ class DataformTransport(abc.ABC):
|
|
|
105
103
|
|
|
106
104
|
if credentials_file is not None:
|
|
107
105
|
credentials, _ = google.auth.load_credentials_from_file(
|
|
108
|
-
credentials_file,
|
|
106
|
+
credentials_file,
|
|
107
|
+
scopes=scopes,
|
|
108
|
+
quota_project_id=quota_project_id,
|
|
109
|
+
default_scopes=self.AUTH_SCOPES,
|
|
109
110
|
)
|
|
110
111
|
elif credentials is None and not self._ignore_credentials:
|
|
111
112
|
credentials, _ = google.auth.default(
|
|
112
|
-
|
|
113
|
+
scopes=scopes,
|
|
114
|
+
quota_project_id=quota_project_id,
|
|
115
|
+
default_scopes=self.AUTH_SCOPES,
|
|
113
116
|
)
|
|
114
117
|
# Don't apply audience if the credentials file passed from user.
|
|
115
118
|
if hasattr(credentials, "with_gdch_audience"):
|
|
@@ -26,7 +26,7 @@ from google.auth.transport.grpc import SslCredentials # type: ignore
|
|
|
26
26
|
from google.cloud.location import locations_pb2 # type: ignore
|
|
27
27
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
28
28
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
29
|
-
|
|
29
|
+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
|
|
30
30
|
from google.protobuf.json_format import MessageToJson
|
|
31
31
|
import google.protobuf.message
|
|
32
32
|
import grpc # type: ignore
|
|
@@ -28,7 +28,7 @@ from google.auth.transport.grpc import SslCredentials # type: ignore
|
|
|
28
28
|
from google.cloud.location import locations_pb2 # type: ignore
|
|
29
29
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
30
30
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
31
|
-
|
|
31
|
+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
|
|
32
32
|
from google.protobuf.json_format import MessageToJson
|
|
33
33
|
import google.protobuf.message
|
|
34
34
|
import grpc # type: ignore
|
|
@@ -28,8 +28,8 @@ from google.cloud.location import locations_pb2 # type: ignore
|
|
|
28
28
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
29
29
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
30
30
|
import google.protobuf
|
|
31
|
-
from google.protobuf import empty_pb2 # type: ignore
|
|
32
31
|
from google.protobuf import json_format
|
|
32
|
+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
|
|
33
33
|
from requests import __version__ as requests_version
|
|
34
34
|
|
|
35
35
|
from google.cloud.dataform_v1.types import dataform
|
|
@@ -4777,7 +4777,7 @@ class DataformRestTransport(_BaseDataformRestTransport):
|
|
|
4777
4777
|
)
|
|
4778
4778
|
method = transcoded_request["method"]
|
|
4779
4779
|
try:
|
|
4780
|
-
request_payload =
|
|
4780
|
+
request_payload = type(request).to_json(request)
|
|
4781
4781
|
except:
|
|
4782
4782
|
request_payload = None
|
|
4783
4783
|
http_request = {
|
|
@@ -4887,7 +4887,7 @@ class DataformRestTransport(_BaseDataformRestTransport):
|
|
|
4887
4887
|
)
|
|
4888
4888
|
method = transcoded_request["method"]
|
|
4889
4889
|
try:
|
|
4890
|
-
request_payload =
|
|
4890
|
+
request_payload = type(request).to_json(request)
|
|
4891
4891
|
except:
|
|
4892
4892
|
request_payload = None
|
|
4893
4893
|
http_request = {
|
|
@@ -4995,7 +4995,7 @@ class DataformRestTransport(_BaseDataformRestTransport):
|
|
|
4995
4995
|
)
|
|
4996
4996
|
method = transcoded_request["method"]
|
|
4997
4997
|
try:
|
|
4998
|
-
request_payload =
|
|
4998
|
+
request_payload = type(request).to_json(request)
|
|
4999
4999
|
except:
|
|
5000
5000
|
request_payload = None
|
|
5001
5001
|
http_request = {
|
|
@@ -5104,7 +5104,7 @@ class DataformRestTransport(_BaseDataformRestTransport):
|
|
|
5104
5104
|
)
|
|
5105
5105
|
method = transcoded_request["method"]
|
|
5106
5106
|
try:
|
|
5107
|
-
request_payload =
|
|
5107
|
+
request_payload = type(request).to_json(request)
|
|
5108
5108
|
except:
|
|
5109
5109
|
request_payload = None
|
|
5110
5110
|
http_request = {
|
|
@@ -5216,7 +5216,7 @@ class DataformRestTransport(_BaseDataformRestTransport):
|
|
|
5216
5216
|
)
|
|
5217
5217
|
method = transcoded_request["method"]
|
|
5218
5218
|
try:
|
|
5219
|
-
request_payload =
|
|
5219
|
+
request_payload = type(request).to_json(request)
|
|
5220
5220
|
except:
|
|
5221
5221
|
request_payload = None
|
|
5222
5222
|
http_request = {
|
|
@@ -21,8 +21,8 @@ from google.api_core import gapic_v1, path_template
|
|
|
21
21
|
from google.cloud.location import locations_pb2 # type: ignore
|
|
22
22
|
from google.iam.v1 import iam_policy_pb2 # type: ignore
|
|
23
23
|
from google.iam.v1 import policy_pb2 # type: ignore
|
|
24
|
-
from google.protobuf import empty_pb2 # type: ignore
|
|
25
24
|
from google.protobuf import json_format
|
|
25
|
+
import google.protobuf.empty_pb2 as empty_pb2 # type: ignore
|
|
26
26
|
|
|
27
27
|
from google.cloud.dataform_v1.types import dataform
|
|
28
28
|
|
|
@@ -17,10 +17,10 @@ from __future__ import annotations
|
|
|
17
17
|
|
|
18
18
|
from typing import MutableMapping, MutableSequence
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
import google.protobuf.field_mask_pb2 as field_mask_pb2 # type: ignore
|
|
21
|
+
import google.protobuf.timestamp_pb2 as timestamp_pb2 # type: ignore
|
|
22
|
+
import google.rpc.status_pb2 as status_pb2 # type: ignore
|
|
23
|
+
import google.type.interval_pb2 as interval_pb2 # type: ignore
|
|
24
24
|
import proto # type: ignore
|
|
25
25
|
|
|
26
26
|
__protobuf__ = proto.module(
|
|
@@ -46,14 +46,18 @@ from .types.dataform import (
|
|
|
46
46
|
ComputeRepositoryAccessTokenStatusResponse,
|
|
47
47
|
Config,
|
|
48
48
|
CreateCompilationResultRequest,
|
|
49
|
+
CreateFolderRequest,
|
|
49
50
|
CreateReleaseConfigRequest,
|
|
50
51
|
CreateRepositoryRequest,
|
|
52
|
+
CreateTeamFolderRequest,
|
|
51
53
|
CreateWorkflowConfigRequest,
|
|
52
54
|
CreateWorkflowInvocationRequest,
|
|
53
55
|
CreateWorkspaceRequest,
|
|
54
56
|
DataEncryptionState,
|
|
57
|
+
DeleteFolderRequest,
|
|
55
58
|
DeleteReleaseConfigRequest,
|
|
56
59
|
DeleteRepositoryRequest,
|
|
60
|
+
DeleteTeamFolderRequest,
|
|
57
61
|
DeleteWorkflowConfigRequest,
|
|
58
62
|
DeleteWorkflowInvocationRequest,
|
|
59
63
|
DeleteWorkspaceRequest,
|
|
@@ -70,10 +74,13 @@ from .types.dataform import (
|
|
|
70
74
|
FetchRepositoryHistoryRequest,
|
|
71
75
|
FetchRepositoryHistoryResponse,
|
|
72
76
|
FileSearchResult,
|
|
77
|
+
Folder,
|
|
73
78
|
GetCompilationResultRequest,
|
|
74
79
|
GetConfigRequest,
|
|
80
|
+
GetFolderRequest,
|
|
75
81
|
GetReleaseConfigRequest,
|
|
76
82
|
GetRepositoryRequest,
|
|
83
|
+
GetTeamFolderRequest,
|
|
77
84
|
GetWorkflowConfigRequest,
|
|
78
85
|
GetWorkflowInvocationRequest,
|
|
79
86
|
GetWorkspaceRequest,
|
|
@@ -98,7 +105,12 @@ from .types.dataform import (
|
|
|
98
105
|
MoveDirectoryResponse,
|
|
99
106
|
MoveFileRequest,
|
|
100
107
|
MoveFileResponse,
|
|
108
|
+
MoveFolderMetadata,
|
|
109
|
+
MoveFolderRequest,
|
|
110
|
+
MoveRepositoryMetadata,
|
|
111
|
+
MoveRepositoryRequest,
|
|
101
112
|
NotebookRuntimeOptions,
|
|
113
|
+
PrivateResourceMetadata,
|
|
102
114
|
PullGitCommitsRequest,
|
|
103
115
|
PullGitCommitsResponse,
|
|
104
116
|
PushGitCommitsRequest,
|
|
@@ -107,8 +119,14 @@ from .types.dataform import (
|
|
|
107
119
|
QueryCompilationResultActionsResponse,
|
|
108
120
|
QueryDirectoryContentsRequest,
|
|
109
121
|
QueryDirectoryContentsResponse,
|
|
122
|
+
QueryFolderContentsRequest,
|
|
123
|
+
QueryFolderContentsResponse,
|
|
110
124
|
QueryRepositoryDirectoryContentsRequest,
|
|
111
125
|
QueryRepositoryDirectoryContentsResponse,
|
|
126
|
+
QueryTeamFolderContentsRequest,
|
|
127
|
+
QueryTeamFolderContentsResponse,
|
|
128
|
+
QueryUserRootContentsRequest,
|
|
129
|
+
QueryUserRootContentsResponse,
|
|
112
130
|
QueryWorkflowInvocationActionsRequest,
|
|
113
131
|
QueryWorkflowInvocationActionsResponse,
|
|
114
132
|
ReadFileRequest,
|
|
@@ -127,10 +145,15 @@ from .types.dataform import (
|
|
|
127
145
|
SearchFilesRequest,
|
|
128
146
|
SearchFilesResponse,
|
|
129
147
|
SearchResult,
|
|
148
|
+
SearchTeamFoldersRequest,
|
|
149
|
+
SearchTeamFoldersResponse,
|
|
130
150
|
Target,
|
|
151
|
+
TeamFolder,
|
|
131
152
|
UpdateConfigRequest,
|
|
153
|
+
UpdateFolderRequest,
|
|
132
154
|
UpdateReleaseConfigRequest,
|
|
133
155
|
UpdateRepositoryRequest,
|
|
156
|
+
UpdateTeamFolderRequest,
|
|
134
157
|
UpdateWorkflowConfigRequest,
|
|
135
158
|
WorkflowConfig,
|
|
136
159
|
WorkflowInvocation,
|
|
@@ -252,15 +275,19 @@ __all__ = (
|
|
|
252
275
|
"ComputeRepositoryAccessTokenStatusResponse",
|
|
253
276
|
"Config",
|
|
254
277
|
"CreateCompilationResultRequest",
|
|
278
|
+
"CreateFolderRequest",
|
|
255
279
|
"CreateReleaseConfigRequest",
|
|
256
280
|
"CreateRepositoryRequest",
|
|
281
|
+
"CreateTeamFolderRequest",
|
|
257
282
|
"CreateWorkflowConfigRequest",
|
|
258
283
|
"CreateWorkflowInvocationRequest",
|
|
259
284
|
"CreateWorkspaceRequest",
|
|
260
285
|
"DataEncryptionState",
|
|
261
286
|
"DataformClient",
|
|
287
|
+
"DeleteFolderRequest",
|
|
262
288
|
"DeleteReleaseConfigRequest",
|
|
263
289
|
"DeleteRepositoryRequest",
|
|
290
|
+
"DeleteTeamFolderRequest",
|
|
264
291
|
"DeleteWorkflowConfigRequest",
|
|
265
292
|
"DeleteWorkflowInvocationRequest",
|
|
266
293
|
"DeleteWorkspaceRequest",
|
|
@@ -277,10 +304,13 @@ __all__ = (
|
|
|
277
304
|
"FetchRepositoryHistoryRequest",
|
|
278
305
|
"FetchRepositoryHistoryResponse",
|
|
279
306
|
"FileSearchResult",
|
|
307
|
+
"Folder",
|
|
280
308
|
"GetCompilationResultRequest",
|
|
281
309
|
"GetConfigRequest",
|
|
310
|
+
"GetFolderRequest",
|
|
282
311
|
"GetReleaseConfigRequest",
|
|
283
312
|
"GetRepositoryRequest",
|
|
313
|
+
"GetTeamFolderRequest",
|
|
284
314
|
"GetWorkflowConfigRequest",
|
|
285
315
|
"GetWorkflowInvocationRequest",
|
|
286
316
|
"GetWorkspaceRequest",
|
|
@@ -305,7 +335,12 @@ __all__ = (
|
|
|
305
335
|
"MoveDirectoryResponse",
|
|
306
336
|
"MoveFileRequest",
|
|
307
337
|
"MoveFileResponse",
|
|
338
|
+
"MoveFolderMetadata",
|
|
339
|
+
"MoveFolderRequest",
|
|
340
|
+
"MoveRepositoryMetadata",
|
|
341
|
+
"MoveRepositoryRequest",
|
|
308
342
|
"NotebookRuntimeOptions",
|
|
343
|
+
"PrivateResourceMetadata",
|
|
309
344
|
"PullGitCommitsRequest",
|
|
310
345
|
"PullGitCommitsResponse",
|
|
311
346
|
"PushGitCommitsRequest",
|
|
@@ -314,8 +349,14 @@ __all__ = (
|
|
|
314
349
|
"QueryCompilationResultActionsResponse",
|
|
315
350
|
"QueryDirectoryContentsRequest",
|
|
316
351
|
"QueryDirectoryContentsResponse",
|
|
352
|
+
"QueryFolderContentsRequest",
|
|
353
|
+
"QueryFolderContentsResponse",
|
|
317
354
|
"QueryRepositoryDirectoryContentsRequest",
|
|
318
355
|
"QueryRepositoryDirectoryContentsResponse",
|
|
356
|
+
"QueryTeamFolderContentsRequest",
|
|
357
|
+
"QueryTeamFolderContentsResponse",
|
|
358
|
+
"QueryUserRootContentsRequest",
|
|
359
|
+
"QueryUserRootContentsResponse",
|
|
319
360
|
"QueryWorkflowInvocationActionsRequest",
|
|
320
361
|
"QueryWorkflowInvocationActionsResponse",
|
|
321
362
|
"ReadFileRequest",
|
|
@@ -334,10 +375,15 @@ __all__ = (
|
|
|
334
375
|
"SearchFilesRequest",
|
|
335
376
|
"SearchFilesResponse",
|
|
336
377
|
"SearchResult",
|
|
378
|
+
"SearchTeamFoldersRequest",
|
|
379
|
+
"SearchTeamFoldersResponse",
|
|
337
380
|
"Target",
|
|
381
|
+
"TeamFolder",
|
|
338
382
|
"UpdateConfigRequest",
|
|
383
|
+
"UpdateFolderRequest",
|
|
339
384
|
"UpdateReleaseConfigRequest",
|
|
340
385
|
"UpdateRepositoryRequest",
|
|
386
|
+
"UpdateTeamFolderRequest",
|
|
341
387
|
"UpdateWorkflowConfigRequest",
|
|
342
388
|
"WorkflowConfig",
|
|
343
389
|
"WorkflowInvocation",
|