google-cloud-dataform 0.6.1__py3-none-any.whl

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.
Files changed (42) hide show
  1. google/cloud/dataform/__init__.py +247 -0
  2. google/cloud/dataform/gapic_version.py +16 -0
  3. google/cloud/dataform/py.typed +2 -0
  4. google/cloud/dataform_v1/__init__.py +244 -0
  5. google/cloud/dataform_v1/gapic_metadata.json +838 -0
  6. google/cloud/dataform_v1/gapic_version.py +16 -0
  7. google/cloud/dataform_v1/py.typed +2 -0
  8. google/cloud/dataform_v1/services/__init__.py +15 -0
  9. google/cloud/dataform_v1/services/dataform/__init__.py +22 -0
  10. google/cloud/dataform_v1/services/dataform/async_client.py +6371 -0
  11. google/cloud/dataform_v1/services/dataform/client.py +6895 -0
  12. google/cloud/dataform_v1/services/dataform/pagers.py +1925 -0
  13. google/cloud/dataform_v1/services/dataform/transports/__init__.py +36 -0
  14. google/cloud/dataform_v1/services/dataform/transports/base.py +1060 -0
  15. google/cloud/dataform_v1/services/dataform/transports/grpc.py +1980 -0
  16. google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +2337 -0
  17. google/cloud/dataform_v1/services/dataform/transports/rest.py +12350 -0
  18. google/cloud/dataform_v1/services/dataform/transports/rest_base.py +3028 -0
  19. google/cloud/dataform_v1/types/__init__.py +236 -0
  20. google/cloud/dataform_v1/types/dataform.py +4157 -0
  21. google/cloud/dataform_v1beta1/__init__.py +244 -0
  22. google/cloud/dataform_v1beta1/gapic_metadata.json +838 -0
  23. google/cloud/dataform_v1beta1/gapic_version.py +16 -0
  24. google/cloud/dataform_v1beta1/py.typed +2 -0
  25. google/cloud/dataform_v1beta1/services/__init__.py +15 -0
  26. google/cloud/dataform_v1beta1/services/dataform/__init__.py +22 -0
  27. google/cloud/dataform_v1beta1/services/dataform/async_client.py +6371 -0
  28. google/cloud/dataform_v1beta1/services/dataform/client.py +6895 -0
  29. google/cloud/dataform_v1beta1/services/dataform/pagers.py +1925 -0
  30. google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +36 -0
  31. google/cloud/dataform_v1beta1/services/dataform/transports/base.py +1060 -0
  32. google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +1980 -0
  33. google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +2337 -0
  34. google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +12350 -0
  35. google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +3028 -0
  36. google/cloud/dataform_v1beta1/types/__init__.py +236 -0
  37. google/cloud/dataform_v1beta1/types/dataform.py +4169 -0
  38. google_cloud_dataform-0.6.1.dist-info/LICENSE +202 -0
  39. google_cloud_dataform-0.6.1.dist-info/METADATA +229 -0
  40. google_cloud_dataform-0.6.1.dist-info/RECORD +42 -0
  41. google_cloud_dataform-0.6.1.dist-info/WHEEL +5 -0
  42. google_cloud_dataform-0.6.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1060 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2024 Google LLC
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ #
16
+ import abc
17
+ from typing import Awaitable, Callable, Dict, Optional, Sequence, Union
18
+
19
+ import google.api_core
20
+ from google.api_core import exceptions as core_exceptions
21
+ from google.api_core import gapic_v1
22
+ from google.api_core import retry as retries
23
+ import google.auth # type: ignore
24
+ from google.auth import credentials as ga_credentials # type: ignore
25
+ from google.cloud.location import locations_pb2 # type: ignore
26
+ from google.iam.v1 import iam_policy_pb2 # type: ignore
27
+ from google.iam.v1 import policy_pb2 # type: ignore
28
+ from google.oauth2 import service_account # type: ignore
29
+ from google.protobuf import empty_pb2 # type: ignore
30
+
31
+ from google.cloud.dataform_v1 import gapic_version as package_version
32
+ from google.cloud.dataform_v1.types import dataform
33
+
34
+ DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
35
+ gapic_version=package_version.__version__
36
+ )
37
+
38
+
39
+ class DataformTransport(abc.ABC):
40
+ """Abstract transport class for Dataform."""
41
+
42
+ AUTH_SCOPES = (
43
+ "https://www.googleapis.com/auth/bigquery",
44
+ "https://www.googleapis.com/auth/cloud-platform",
45
+ )
46
+
47
+ DEFAULT_HOST: str = "dataform.googleapis.com"
48
+
49
+ def __init__(
50
+ self,
51
+ *,
52
+ host: str = DEFAULT_HOST,
53
+ credentials: Optional[ga_credentials.Credentials] = None,
54
+ credentials_file: Optional[str] = None,
55
+ scopes: Optional[Sequence[str]] = None,
56
+ quota_project_id: Optional[str] = None,
57
+ client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
58
+ always_use_jwt_access: Optional[bool] = False,
59
+ api_audience: Optional[str] = None,
60
+ **kwargs,
61
+ ) -> None:
62
+ """Instantiate the transport.
63
+
64
+ Args:
65
+ host (Optional[str]):
66
+ The hostname to connect to (default: 'dataform.googleapis.com').
67
+ credentials (Optional[google.auth.credentials.Credentials]): The
68
+ authorization credentials to attach to requests. These
69
+ credentials identify the application to the service; if none
70
+ are specified, the client will attempt to ascertain the
71
+ credentials from the environment.
72
+ credentials_file (Optional[str]): A file with credentials that can
73
+ be loaded with :func:`google.auth.load_credentials_from_file`.
74
+ This argument is mutually exclusive with credentials.
75
+ scopes (Optional[Sequence[str]]): A list of scopes.
76
+ quota_project_id (Optional[str]): An optional project to use for billing
77
+ and quota.
78
+ client_info (google.api_core.gapic_v1.client_info.ClientInfo):
79
+ The client info used to send a user-agent string along with
80
+ API requests. If ``None``, then default info will be used.
81
+ Generally, you only need to set this if you're developing
82
+ your own client library.
83
+ always_use_jwt_access (Optional[bool]): Whether self signed JWT should
84
+ be used for service account credentials.
85
+ """
86
+
87
+ scopes_kwargs = {"scopes": scopes, "default_scopes": self.AUTH_SCOPES}
88
+
89
+ # Save the scopes.
90
+ self._scopes = scopes
91
+ if not hasattr(self, "_ignore_credentials"):
92
+ self._ignore_credentials: bool = False
93
+
94
+ # If no credentials are provided, then determine the appropriate
95
+ # defaults.
96
+ if credentials and credentials_file:
97
+ raise core_exceptions.DuplicateCredentialArgs(
98
+ "'credentials_file' and 'credentials' are mutually exclusive"
99
+ )
100
+
101
+ if credentials_file is not None:
102
+ credentials, _ = google.auth.load_credentials_from_file(
103
+ credentials_file, **scopes_kwargs, quota_project_id=quota_project_id
104
+ )
105
+ elif credentials is None and not self._ignore_credentials:
106
+ credentials, _ = google.auth.default(
107
+ **scopes_kwargs, quota_project_id=quota_project_id
108
+ )
109
+ # Don't apply audience if the credentials file passed from user.
110
+ if hasattr(credentials, "with_gdch_audience"):
111
+ credentials = credentials.with_gdch_audience(
112
+ api_audience if api_audience else host
113
+ )
114
+
115
+ # If the credentials are service account credentials, then always try to use self signed JWT.
116
+ if (
117
+ always_use_jwt_access
118
+ and isinstance(credentials, service_account.Credentials)
119
+ and hasattr(service_account.Credentials, "with_always_use_jwt_access")
120
+ ):
121
+ credentials = credentials.with_always_use_jwt_access(True)
122
+
123
+ # Save the credentials.
124
+ self._credentials = credentials
125
+
126
+ # Save the hostname. Default to port 443 (HTTPS) if none is specified.
127
+ if ":" not in host:
128
+ host += ":443"
129
+ self._host = host
130
+
131
+ @property
132
+ def host(self):
133
+ return self._host
134
+
135
+ def _prep_wrapped_messages(self, client_info):
136
+ # Precompute the wrapped methods.
137
+ self._wrapped_methods = {
138
+ self.list_repositories: gapic_v1.method.wrap_method(
139
+ self.list_repositories,
140
+ default_timeout=None,
141
+ client_info=client_info,
142
+ ),
143
+ self.get_repository: gapic_v1.method.wrap_method(
144
+ self.get_repository,
145
+ default_timeout=None,
146
+ client_info=client_info,
147
+ ),
148
+ self.create_repository: gapic_v1.method.wrap_method(
149
+ self.create_repository,
150
+ default_timeout=None,
151
+ client_info=client_info,
152
+ ),
153
+ self.update_repository: gapic_v1.method.wrap_method(
154
+ self.update_repository,
155
+ default_timeout=None,
156
+ client_info=client_info,
157
+ ),
158
+ self.delete_repository: gapic_v1.method.wrap_method(
159
+ self.delete_repository,
160
+ default_timeout=None,
161
+ client_info=client_info,
162
+ ),
163
+ self.commit_repository_changes: gapic_v1.method.wrap_method(
164
+ self.commit_repository_changes,
165
+ default_timeout=None,
166
+ client_info=client_info,
167
+ ),
168
+ self.read_repository_file: gapic_v1.method.wrap_method(
169
+ self.read_repository_file,
170
+ default_timeout=None,
171
+ client_info=client_info,
172
+ ),
173
+ self.query_repository_directory_contents: gapic_v1.method.wrap_method(
174
+ self.query_repository_directory_contents,
175
+ default_timeout=None,
176
+ client_info=client_info,
177
+ ),
178
+ self.fetch_repository_history: gapic_v1.method.wrap_method(
179
+ self.fetch_repository_history,
180
+ default_timeout=None,
181
+ client_info=client_info,
182
+ ),
183
+ self.compute_repository_access_token_status: gapic_v1.method.wrap_method(
184
+ self.compute_repository_access_token_status,
185
+ default_timeout=None,
186
+ client_info=client_info,
187
+ ),
188
+ self.fetch_remote_branches: gapic_v1.method.wrap_method(
189
+ self.fetch_remote_branches,
190
+ default_timeout=None,
191
+ client_info=client_info,
192
+ ),
193
+ self.list_workspaces: gapic_v1.method.wrap_method(
194
+ self.list_workspaces,
195
+ default_timeout=None,
196
+ client_info=client_info,
197
+ ),
198
+ self.get_workspace: gapic_v1.method.wrap_method(
199
+ self.get_workspace,
200
+ default_timeout=None,
201
+ client_info=client_info,
202
+ ),
203
+ self.create_workspace: gapic_v1.method.wrap_method(
204
+ self.create_workspace,
205
+ default_timeout=None,
206
+ client_info=client_info,
207
+ ),
208
+ self.delete_workspace: gapic_v1.method.wrap_method(
209
+ self.delete_workspace,
210
+ default_timeout=None,
211
+ client_info=client_info,
212
+ ),
213
+ self.install_npm_packages: gapic_v1.method.wrap_method(
214
+ self.install_npm_packages,
215
+ default_timeout=None,
216
+ client_info=client_info,
217
+ ),
218
+ self.pull_git_commits: gapic_v1.method.wrap_method(
219
+ self.pull_git_commits,
220
+ default_timeout=None,
221
+ client_info=client_info,
222
+ ),
223
+ self.push_git_commits: gapic_v1.method.wrap_method(
224
+ self.push_git_commits,
225
+ default_timeout=None,
226
+ client_info=client_info,
227
+ ),
228
+ self.fetch_file_git_statuses: gapic_v1.method.wrap_method(
229
+ self.fetch_file_git_statuses,
230
+ default_timeout=None,
231
+ client_info=client_info,
232
+ ),
233
+ self.fetch_git_ahead_behind: gapic_v1.method.wrap_method(
234
+ self.fetch_git_ahead_behind,
235
+ default_timeout=None,
236
+ client_info=client_info,
237
+ ),
238
+ self.commit_workspace_changes: gapic_v1.method.wrap_method(
239
+ self.commit_workspace_changes,
240
+ default_timeout=None,
241
+ client_info=client_info,
242
+ ),
243
+ self.reset_workspace_changes: gapic_v1.method.wrap_method(
244
+ self.reset_workspace_changes,
245
+ default_timeout=None,
246
+ client_info=client_info,
247
+ ),
248
+ self.fetch_file_diff: gapic_v1.method.wrap_method(
249
+ self.fetch_file_diff,
250
+ default_timeout=None,
251
+ client_info=client_info,
252
+ ),
253
+ self.query_directory_contents: gapic_v1.method.wrap_method(
254
+ self.query_directory_contents,
255
+ default_timeout=None,
256
+ client_info=client_info,
257
+ ),
258
+ self.search_files: gapic_v1.method.wrap_method(
259
+ self.search_files,
260
+ default_timeout=None,
261
+ client_info=client_info,
262
+ ),
263
+ self.make_directory: gapic_v1.method.wrap_method(
264
+ self.make_directory,
265
+ default_timeout=None,
266
+ client_info=client_info,
267
+ ),
268
+ self.remove_directory: gapic_v1.method.wrap_method(
269
+ self.remove_directory,
270
+ default_timeout=None,
271
+ client_info=client_info,
272
+ ),
273
+ self.move_directory: gapic_v1.method.wrap_method(
274
+ self.move_directory,
275
+ default_timeout=None,
276
+ client_info=client_info,
277
+ ),
278
+ self.read_file: gapic_v1.method.wrap_method(
279
+ self.read_file,
280
+ default_timeout=None,
281
+ client_info=client_info,
282
+ ),
283
+ self.remove_file: gapic_v1.method.wrap_method(
284
+ self.remove_file,
285
+ default_timeout=None,
286
+ client_info=client_info,
287
+ ),
288
+ self.move_file: gapic_v1.method.wrap_method(
289
+ self.move_file,
290
+ default_timeout=None,
291
+ client_info=client_info,
292
+ ),
293
+ self.write_file: gapic_v1.method.wrap_method(
294
+ self.write_file,
295
+ default_timeout=None,
296
+ client_info=client_info,
297
+ ),
298
+ self.list_release_configs: gapic_v1.method.wrap_method(
299
+ self.list_release_configs,
300
+ default_timeout=None,
301
+ client_info=client_info,
302
+ ),
303
+ self.get_release_config: gapic_v1.method.wrap_method(
304
+ self.get_release_config,
305
+ default_timeout=None,
306
+ client_info=client_info,
307
+ ),
308
+ self.create_release_config: gapic_v1.method.wrap_method(
309
+ self.create_release_config,
310
+ default_timeout=None,
311
+ client_info=client_info,
312
+ ),
313
+ self.update_release_config: gapic_v1.method.wrap_method(
314
+ self.update_release_config,
315
+ default_timeout=None,
316
+ client_info=client_info,
317
+ ),
318
+ self.delete_release_config: gapic_v1.method.wrap_method(
319
+ self.delete_release_config,
320
+ default_timeout=None,
321
+ client_info=client_info,
322
+ ),
323
+ self.list_compilation_results: gapic_v1.method.wrap_method(
324
+ self.list_compilation_results,
325
+ default_timeout=None,
326
+ client_info=client_info,
327
+ ),
328
+ self.get_compilation_result: gapic_v1.method.wrap_method(
329
+ self.get_compilation_result,
330
+ default_timeout=None,
331
+ client_info=client_info,
332
+ ),
333
+ self.create_compilation_result: gapic_v1.method.wrap_method(
334
+ self.create_compilation_result,
335
+ default_timeout=None,
336
+ client_info=client_info,
337
+ ),
338
+ self.query_compilation_result_actions: gapic_v1.method.wrap_method(
339
+ self.query_compilation_result_actions,
340
+ default_timeout=None,
341
+ client_info=client_info,
342
+ ),
343
+ self.list_workflow_configs: gapic_v1.method.wrap_method(
344
+ self.list_workflow_configs,
345
+ default_timeout=None,
346
+ client_info=client_info,
347
+ ),
348
+ self.get_workflow_config: gapic_v1.method.wrap_method(
349
+ self.get_workflow_config,
350
+ default_timeout=None,
351
+ client_info=client_info,
352
+ ),
353
+ self.create_workflow_config: gapic_v1.method.wrap_method(
354
+ self.create_workflow_config,
355
+ default_timeout=None,
356
+ client_info=client_info,
357
+ ),
358
+ self.update_workflow_config: gapic_v1.method.wrap_method(
359
+ self.update_workflow_config,
360
+ default_timeout=None,
361
+ client_info=client_info,
362
+ ),
363
+ self.delete_workflow_config: gapic_v1.method.wrap_method(
364
+ self.delete_workflow_config,
365
+ default_timeout=None,
366
+ client_info=client_info,
367
+ ),
368
+ self.list_workflow_invocations: gapic_v1.method.wrap_method(
369
+ self.list_workflow_invocations,
370
+ default_timeout=None,
371
+ client_info=client_info,
372
+ ),
373
+ self.get_workflow_invocation: gapic_v1.method.wrap_method(
374
+ self.get_workflow_invocation,
375
+ default_timeout=None,
376
+ client_info=client_info,
377
+ ),
378
+ self.create_workflow_invocation: gapic_v1.method.wrap_method(
379
+ self.create_workflow_invocation,
380
+ default_timeout=None,
381
+ client_info=client_info,
382
+ ),
383
+ self.delete_workflow_invocation: gapic_v1.method.wrap_method(
384
+ self.delete_workflow_invocation,
385
+ default_timeout=None,
386
+ client_info=client_info,
387
+ ),
388
+ self.cancel_workflow_invocation: gapic_v1.method.wrap_method(
389
+ self.cancel_workflow_invocation,
390
+ default_timeout=None,
391
+ client_info=client_info,
392
+ ),
393
+ self.query_workflow_invocation_actions: gapic_v1.method.wrap_method(
394
+ self.query_workflow_invocation_actions,
395
+ default_timeout=None,
396
+ client_info=client_info,
397
+ ),
398
+ self.get_config: gapic_v1.method.wrap_method(
399
+ self.get_config,
400
+ default_timeout=None,
401
+ client_info=client_info,
402
+ ),
403
+ self.update_config: gapic_v1.method.wrap_method(
404
+ self.update_config,
405
+ default_timeout=None,
406
+ client_info=client_info,
407
+ ),
408
+ self.get_location: gapic_v1.method.wrap_method(
409
+ self.get_location,
410
+ default_timeout=None,
411
+ client_info=client_info,
412
+ ),
413
+ self.list_locations: gapic_v1.method.wrap_method(
414
+ self.list_locations,
415
+ default_timeout=None,
416
+ client_info=client_info,
417
+ ),
418
+ self.get_iam_policy: gapic_v1.method.wrap_method(
419
+ self.get_iam_policy,
420
+ default_timeout=None,
421
+ client_info=client_info,
422
+ ),
423
+ self.set_iam_policy: gapic_v1.method.wrap_method(
424
+ self.set_iam_policy,
425
+ default_timeout=None,
426
+ client_info=client_info,
427
+ ),
428
+ self.test_iam_permissions: gapic_v1.method.wrap_method(
429
+ self.test_iam_permissions,
430
+ default_timeout=None,
431
+ client_info=client_info,
432
+ ),
433
+ }
434
+
435
+ def close(self):
436
+ """Closes resources associated with the transport.
437
+
438
+ .. warning::
439
+ Only call this method if the transport is NOT shared
440
+ with other clients - this may cause errors in other clients!
441
+ """
442
+ raise NotImplementedError()
443
+
444
+ @property
445
+ def list_repositories(
446
+ self,
447
+ ) -> Callable[
448
+ [dataform.ListRepositoriesRequest],
449
+ Union[
450
+ dataform.ListRepositoriesResponse,
451
+ Awaitable[dataform.ListRepositoriesResponse],
452
+ ],
453
+ ]:
454
+ raise NotImplementedError()
455
+
456
+ @property
457
+ def get_repository(
458
+ self,
459
+ ) -> Callable[
460
+ [dataform.GetRepositoryRequest],
461
+ Union[dataform.Repository, Awaitable[dataform.Repository]],
462
+ ]:
463
+ raise NotImplementedError()
464
+
465
+ @property
466
+ def create_repository(
467
+ self,
468
+ ) -> Callable[
469
+ [dataform.CreateRepositoryRequest],
470
+ Union[dataform.Repository, Awaitable[dataform.Repository]],
471
+ ]:
472
+ raise NotImplementedError()
473
+
474
+ @property
475
+ def update_repository(
476
+ self,
477
+ ) -> Callable[
478
+ [dataform.UpdateRepositoryRequest],
479
+ Union[dataform.Repository, Awaitable[dataform.Repository]],
480
+ ]:
481
+ raise NotImplementedError()
482
+
483
+ @property
484
+ def delete_repository(
485
+ self,
486
+ ) -> Callable[
487
+ [dataform.DeleteRepositoryRequest],
488
+ Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
489
+ ]:
490
+ raise NotImplementedError()
491
+
492
+ @property
493
+ def commit_repository_changes(
494
+ self,
495
+ ) -> Callable[
496
+ [dataform.CommitRepositoryChangesRequest],
497
+ Union[
498
+ dataform.CommitRepositoryChangesResponse,
499
+ Awaitable[dataform.CommitRepositoryChangesResponse],
500
+ ],
501
+ ]:
502
+ raise NotImplementedError()
503
+
504
+ @property
505
+ def read_repository_file(
506
+ self,
507
+ ) -> Callable[
508
+ [dataform.ReadRepositoryFileRequest],
509
+ Union[
510
+ dataform.ReadRepositoryFileResponse,
511
+ Awaitable[dataform.ReadRepositoryFileResponse],
512
+ ],
513
+ ]:
514
+ raise NotImplementedError()
515
+
516
+ @property
517
+ def query_repository_directory_contents(
518
+ self,
519
+ ) -> Callable[
520
+ [dataform.QueryRepositoryDirectoryContentsRequest],
521
+ Union[
522
+ dataform.QueryRepositoryDirectoryContentsResponse,
523
+ Awaitable[dataform.QueryRepositoryDirectoryContentsResponse],
524
+ ],
525
+ ]:
526
+ raise NotImplementedError()
527
+
528
+ @property
529
+ def fetch_repository_history(
530
+ self,
531
+ ) -> Callable[
532
+ [dataform.FetchRepositoryHistoryRequest],
533
+ Union[
534
+ dataform.FetchRepositoryHistoryResponse,
535
+ Awaitable[dataform.FetchRepositoryHistoryResponse],
536
+ ],
537
+ ]:
538
+ raise NotImplementedError()
539
+
540
+ @property
541
+ def compute_repository_access_token_status(
542
+ self,
543
+ ) -> Callable[
544
+ [dataform.ComputeRepositoryAccessTokenStatusRequest],
545
+ Union[
546
+ dataform.ComputeRepositoryAccessTokenStatusResponse,
547
+ Awaitable[dataform.ComputeRepositoryAccessTokenStatusResponse],
548
+ ],
549
+ ]:
550
+ raise NotImplementedError()
551
+
552
+ @property
553
+ def fetch_remote_branches(
554
+ self,
555
+ ) -> Callable[
556
+ [dataform.FetchRemoteBranchesRequest],
557
+ Union[
558
+ dataform.FetchRemoteBranchesResponse,
559
+ Awaitable[dataform.FetchRemoteBranchesResponse],
560
+ ],
561
+ ]:
562
+ raise NotImplementedError()
563
+
564
+ @property
565
+ def list_workspaces(
566
+ self,
567
+ ) -> Callable[
568
+ [dataform.ListWorkspacesRequest],
569
+ Union[
570
+ dataform.ListWorkspacesResponse, Awaitable[dataform.ListWorkspacesResponse]
571
+ ],
572
+ ]:
573
+ raise NotImplementedError()
574
+
575
+ @property
576
+ def get_workspace(
577
+ self,
578
+ ) -> Callable[
579
+ [dataform.GetWorkspaceRequest],
580
+ Union[dataform.Workspace, Awaitable[dataform.Workspace]],
581
+ ]:
582
+ raise NotImplementedError()
583
+
584
+ @property
585
+ def create_workspace(
586
+ self,
587
+ ) -> Callable[
588
+ [dataform.CreateWorkspaceRequest],
589
+ Union[dataform.Workspace, Awaitable[dataform.Workspace]],
590
+ ]:
591
+ raise NotImplementedError()
592
+
593
+ @property
594
+ def delete_workspace(
595
+ self,
596
+ ) -> Callable[
597
+ [dataform.DeleteWorkspaceRequest],
598
+ Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
599
+ ]:
600
+ raise NotImplementedError()
601
+
602
+ @property
603
+ def install_npm_packages(
604
+ self,
605
+ ) -> Callable[
606
+ [dataform.InstallNpmPackagesRequest],
607
+ Union[
608
+ dataform.InstallNpmPackagesResponse,
609
+ Awaitable[dataform.InstallNpmPackagesResponse],
610
+ ],
611
+ ]:
612
+ raise NotImplementedError()
613
+
614
+ @property
615
+ def pull_git_commits(
616
+ self,
617
+ ) -> Callable[
618
+ [dataform.PullGitCommitsRequest],
619
+ Union[
620
+ dataform.PullGitCommitsResponse, Awaitable[dataform.PullGitCommitsResponse]
621
+ ],
622
+ ]:
623
+ raise NotImplementedError()
624
+
625
+ @property
626
+ def push_git_commits(
627
+ self,
628
+ ) -> Callable[
629
+ [dataform.PushGitCommitsRequest],
630
+ Union[
631
+ dataform.PushGitCommitsResponse, Awaitable[dataform.PushGitCommitsResponse]
632
+ ],
633
+ ]:
634
+ raise NotImplementedError()
635
+
636
+ @property
637
+ def fetch_file_git_statuses(
638
+ self,
639
+ ) -> Callable[
640
+ [dataform.FetchFileGitStatusesRequest],
641
+ Union[
642
+ dataform.FetchFileGitStatusesResponse,
643
+ Awaitable[dataform.FetchFileGitStatusesResponse],
644
+ ],
645
+ ]:
646
+ raise NotImplementedError()
647
+
648
+ @property
649
+ def fetch_git_ahead_behind(
650
+ self,
651
+ ) -> Callable[
652
+ [dataform.FetchGitAheadBehindRequest],
653
+ Union[
654
+ dataform.FetchGitAheadBehindResponse,
655
+ Awaitable[dataform.FetchGitAheadBehindResponse],
656
+ ],
657
+ ]:
658
+ raise NotImplementedError()
659
+
660
+ @property
661
+ def commit_workspace_changes(
662
+ self,
663
+ ) -> Callable[
664
+ [dataform.CommitWorkspaceChangesRequest],
665
+ Union[
666
+ dataform.CommitWorkspaceChangesResponse,
667
+ Awaitable[dataform.CommitWorkspaceChangesResponse],
668
+ ],
669
+ ]:
670
+ raise NotImplementedError()
671
+
672
+ @property
673
+ def reset_workspace_changes(
674
+ self,
675
+ ) -> Callable[
676
+ [dataform.ResetWorkspaceChangesRequest],
677
+ Union[
678
+ dataform.ResetWorkspaceChangesResponse,
679
+ Awaitable[dataform.ResetWorkspaceChangesResponse],
680
+ ],
681
+ ]:
682
+ raise NotImplementedError()
683
+
684
+ @property
685
+ def fetch_file_diff(
686
+ self,
687
+ ) -> Callable[
688
+ [dataform.FetchFileDiffRequest],
689
+ Union[
690
+ dataform.FetchFileDiffResponse, Awaitable[dataform.FetchFileDiffResponse]
691
+ ],
692
+ ]:
693
+ raise NotImplementedError()
694
+
695
+ @property
696
+ def query_directory_contents(
697
+ self,
698
+ ) -> Callable[
699
+ [dataform.QueryDirectoryContentsRequest],
700
+ Union[
701
+ dataform.QueryDirectoryContentsResponse,
702
+ Awaitable[dataform.QueryDirectoryContentsResponse],
703
+ ],
704
+ ]:
705
+ raise NotImplementedError()
706
+
707
+ @property
708
+ def search_files(
709
+ self,
710
+ ) -> Callable[
711
+ [dataform.SearchFilesRequest],
712
+ Union[dataform.SearchFilesResponse, Awaitable[dataform.SearchFilesResponse]],
713
+ ]:
714
+ raise NotImplementedError()
715
+
716
+ @property
717
+ def make_directory(
718
+ self,
719
+ ) -> Callable[
720
+ [dataform.MakeDirectoryRequest],
721
+ Union[
722
+ dataform.MakeDirectoryResponse, Awaitable[dataform.MakeDirectoryResponse]
723
+ ],
724
+ ]:
725
+ raise NotImplementedError()
726
+
727
+ @property
728
+ def remove_directory(
729
+ self,
730
+ ) -> Callable[
731
+ [dataform.RemoveDirectoryRequest],
732
+ Union[
733
+ dataform.RemoveDirectoryResponse,
734
+ Awaitable[dataform.RemoveDirectoryResponse],
735
+ ],
736
+ ]:
737
+ raise NotImplementedError()
738
+
739
+ @property
740
+ def move_directory(
741
+ self,
742
+ ) -> Callable[
743
+ [dataform.MoveDirectoryRequest],
744
+ Union[
745
+ dataform.MoveDirectoryResponse, Awaitable[dataform.MoveDirectoryResponse]
746
+ ],
747
+ ]:
748
+ raise NotImplementedError()
749
+
750
+ @property
751
+ def read_file(
752
+ self,
753
+ ) -> Callable[
754
+ [dataform.ReadFileRequest],
755
+ Union[dataform.ReadFileResponse, Awaitable[dataform.ReadFileResponse]],
756
+ ]:
757
+ raise NotImplementedError()
758
+
759
+ @property
760
+ def remove_file(
761
+ self,
762
+ ) -> Callable[
763
+ [dataform.RemoveFileRequest],
764
+ Union[dataform.RemoveFileResponse, Awaitable[dataform.RemoveFileResponse]],
765
+ ]:
766
+ raise NotImplementedError()
767
+
768
+ @property
769
+ def move_file(
770
+ self,
771
+ ) -> Callable[
772
+ [dataform.MoveFileRequest],
773
+ Union[dataform.MoveFileResponse, Awaitable[dataform.MoveFileResponse]],
774
+ ]:
775
+ raise NotImplementedError()
776
+
777
+ @property
778
+ def write_file(
779
+ self,
780
+ ) -> Callable[
781
+ [dataform.WriteFileRequest],
782
+ Union[dataform.WriteFileResponse, Awaitable[dataform.WriteFileResponse]],
783
+ ]:
784
+ raise NotImplementedError()
785
+
786
+ @property
787
+ def list_release_configs(
788
+ self,
789
+ ) -> Callable[
790
+ [dataform.ListReleaseConfigsRequest],
791
+ Union[
792
+ dataform.ListReleaseConfigsResponse,
793
+ Awaitable[dataform.ListReleaseConfigsResponse],
794
+ ],
795
+ ]:
796
+ raise NotImplementedError()
797
+
798
+ @property
799
+ def get_release_config(
800
+ self,
801
+ ) -> Callable[
802
+ [dataform.GetReleaseConfigRequest],
803
+ Union[dataform.ReleaseConfig, Awaitable[dataform.ReleaseConfig]],
804
+ ]:
805
+ raise NotImplementedError()
806
+
807
+ @property
808
+ def create_release_config(
809
+ self,
810
+ ) -> Callable[
811
+ [dataform.CreateReleaseConfigRequest],
812
+ Union[dataform.ReleaseConfig, Awaitable[dataform.ReleaseConfig]],
813
+ ]:
814
+ raise NotImplementedError()
815
+
816
+ @property
817
+ def update_release_config(
818
+ self,
819
+ ) -> Callable[
820
+ [dataform.UpdateReleaseConfigRequest],
821
+ Union[dataform.ReleaseConfig, Awaitable[dataform.ReleaseConfig]],
822
+ ]:
823
+ raise NotImplementedError()
824
+
825
+ @property
826
+ def delete_release_config(
827
+ self,
828
+ ) -> Callable[
829
+ [dataform.DeleteReleaseConfigRequest],
830
+ Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
831
+ ]:
832
+ raise NotImplementedError()
833
+
834
+ @property
835
+ def list_compilation_results(
836
+ self,
837
+ ) -> Callable[
838
+ [dataform.ListCompilationResultsRequest],
839
+ Union[
840
+ dataform.ListCompilationResultsResponse,
841
+ Awaitable[dataform.ListCompilationResultsResponse],
842
+ ],
843
+ ]:
844
+ raise NotImplementedError()
845
+
846
+ @property
847
+ def get_compilation_result(
848
+ self,
849
+ ) -> Callable[
850
+ [dataform.GetCompilationResultRequest],
851
+ Union[dataform.CompilationResult, Awaitable[dataform.CompilationResult]],
852
+ ]:
853
+ raise NotImplementedError()
854
+
855
+ @property
856
+ def create_compilation_result(
857
+ self,
858
+ ) -> Callable[
859
+ [dataform.CreateCompilationResultRequest],
860
+ Union[dataform.CompilationResult, Awaitable[dataform.CompilationResult]],
861
+ ]:
862
+ raise NotImplementedError()
863
+
864
+ @property
865
+ def query_compilation_result_actions(
866
+ self,
867
+ ) -> Callable[
868
+ [dataform.QueryCompilationResultActionsRequest],
869
+ Union[
870
+ dataform.QueryCompilationResultActionsResponse,
871
+ Awaitable[dataform.QueryCompilationResultActionsResponse],
872
+ ],
873
+ ]:
874
+ raise NotImplementedError()
875
+
876
+ @property
877
+ def list_workflow_configs(
878
+ self,
879
+ ) -> Callable[
880
+ [dataform.ListWorkflowConfigsRequest],
881
+ Union[
882
+ dataform.ListWorkflowConfigsResponse,
883
+ Awaitable[dataform.ListWorkflowConfigsResponse],
884
+ ],
885
+ ]:
886
+ raise NotImplementedError()
887
+
888
+ @property
889
+ def get_workflow_config(
890
+ self,
891
+ ) -> Callable[
892
+ [dataform.GetWorkflowConfigRequest],
893
+ Union[dataform.WorkflowConfig, Awaitable[dataform.WorkflowConfig]],
894
+ ]:
895
+ raise NotImplementedError()
896
+
897
+ @property
898
+ def create_workflow_config(
899
+ self,
900
+ ) -> Callable[
901
+ [dataform.CreateWorkflowConfigRequest],
902
+ Union[dataform.WorkflowConfig, Awaitable[dataform.WorkflowConfig]],
903
+ ]:
904
+ raise NotImplementedError()
905
+
906
+ @property
907
+ def update_workflow_config(
908
+ self,
909
+ ) -> Callable[
910
+ [dataform.UpdateWorkflowConfigRequest],
911
+ Union[dataform.WorkflowConfig, Awaitable[dataform.WorkflowConfig]],
912
+ ]:
913
+ raise NotImplementedError()
914
+
915
+ @property
916
+ def delete_workflow_config(
917
+ self,
918
+ ) -> Callable[
919
+ [dataform.DeleteWorkflowConfigRequest],
920
+ Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
921
+ ]:
922
+ raise NotImplementedError()
923
+
924
+ @property
925
+ def list_workflow_invocations(
926
+ self,
927
+ ) -> Callable[
928
+ [dataform.ListWorkflowInvocationsRequest],
929
+ Union[
930
+ dataform.ListWorkflowInvocationsResponse,
931
+ Awaitable[dataform.ListWorkflowInvocationsResponse],
932
+ ],
933
+ ]:
934
+ raise NotImplementedError()
935
+
936
+ @property
937
+ def get_workflow_invocation(
938
+ self,
939
+ ) -> Callable[
940
+ [dataform.GetWorkflowInvocationRequest],
941
+ Union[dataform.WorkflowInvocation, Awaitable[dataform.WorkflowInvocation]],
942
+ ]:
943
+ raise NotImplementedError()
944
+
945
+ @property
946
+ def create_workflow_invocation(
947
+ self,
948
+ ) -> Callable[
949
+ [dataform.CreateWorkflowInvocationRequest],
950
+ Union[dataform.WorkflowInvocation, Awaitable[dataform.WorkflowInvocation]],
951
+ ]:
952
+ raise NotImplementedError()
953
+
954
+ @property
955
+ def delete_workflow_invocation(
956
+ self,
957
+ ) -> Callable[
958
+ [dataform.DeleteWorkflowInvocationRequest],
959
+ Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
960
+ ]:
961
+ raise NotImplementedError()
962
+
963
+ @property
964
+ def cancel_workflow_invocation(
965
+ self,
966
+ ) -> Callable[
967
+ [dataform.CancelWorkflowInvocationRequest],
968
+ Union[
969
+ dataform.CancelWorkflowInvocationResponse,
970
+ Awaitable[dataform.CancelWorkflowInvocationResponse],
971
+ ],
972
+ ]:
973
+ raise NotImplementedError()
974
+
975
+ @property
976
+ def query_workflow_invocation_actions(
977
+ self,
978
+ ) -> Callable[
979
+ [dataform.QueryWorkflowInvocationActionsRequest],
980
+ Union[
981
+ dataform.QueryWorkflowInvocationActionsResponse,
982
+ Awaitable[dataform.QueryWorkflowInvocationActionsResponse],
983
+ ],
984
+ ]:
985
+ raise NotImplementedError()
986
+
987
+ @property
988
+ def get_config(
989
+ self,
990
+ ) -> Callable[
991
+ [dataform.GetConfigRequest], Union[dataform.Config, Awaitable[dataform.Config]]
992
+ ]:
993
+ raise NotImplementedError()
994
+
995
+ @property
996
+ def update_config(
997
+ self,
998
+ ) -> Callable[
999
+ [dataform.UpdateConfigRequest],
1000
+ Union[dataform.Config, Awaitable[dataform.Config]],
1001
+ ]:
1002
+ raise NotImplementedError()
1003
+
1004
+ @property
1005
+ def set_iam_policy(
1006
+ self,
1007
+ ) -> Callable[
1008
+ [iam_policy_pb2.SetIamPolicyRequest],
1009
+ Union[policy_pb2.Policy, Awaitable[policy_pb2.Policy]],
1010
+ ]:
1011
+ raise NotImplementedError()
1012
+
1013
+ @property
1014
+ def get_iam_policy(
1015
+ self,
1016
+ ) -> Callable[
1017
+ [iam_policy_pb2.GetIamPolicyRequest],
1018
+ Union[policy_pb2.Policy, Awaitable[policy_pb2.Policy]],
1019
+ ]:
1020
+ raise NotImplementedError()
1021
+
1022
+ @property
1023
+ def test_iam_permissions(
1024
+ self,
1025
+ ) -> Callable[
1026
+ [iam_policy_pb2.TestIamPermissionsRequest],
1027
+ Union[
1028
+ iam_policy_pb2.TestIamPermissionsResponse,
1029
+ Awaitable[iam_policy_pb2.TestIamPermissionsResponse],
1030
+ ],
1031
+ ]:
1032
+ raise NotImplementedError()
1033
+
1034
+ @property
1035
+ def get_location(
1036
+ self,
1037
+ ) -> Callable[
1038
+ [locations_pb2.GetLocationRequest],
1039
+ Union[locations_pb2.Location, Awaitable[locations_pb2.Location]],
1040
+ ]:
1041
+ raise NotImplementedError()
1042
+
1043
+ @property
1044
+ def list_locations(
1045
+ self,
1046
+ ) -> Callable[
1047
+ [locations_pb2.ListLocationsRequest],
1048
+ Union[
1049
+ locations_pb2.ListLocationsResponse,
1050
+ Awaitable[locations_pb2.ListLocationsResponse],
1051
+ ],
1052
+ ]:
1053
+ raise NotImplementedError()
1054
+
1055
+ @property
1056
+ def kind(self) -> str:
1057
+ raise NotImplementedError()
1058
+
1059
+
1060
+ __all__ = ("DataformTransport",)