google-cloud-dataform 0.6.1__tar.gz → 0.7.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.
Files changed (60) hide show
  1. google_cloud_dataform-0.7.0/MANIFEST.in +20 -0
  2. {google_cloud_dataform-0.6.1/google_cloud_dataform.egg-info → google_cloud_dataform-0.7.0}/PKG-INFO +19 -5
  3. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/README.rst +3 -3
  4. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform/__init__.py +1 -1
  5. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform/gapic_version.py +2 -2
  6. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/__init__.py +1 -1
  7. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1}/gapic_version.py +2 -2
  8. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1}/services/__init__.py +1 -1
  9. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/__init__.py +1 -1
  10. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/async_client.py +35 -29
  11. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/client.py +50 -29
  12. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/pagers.py +1 -1
  13. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1}/services/dataform/transports/__init__.py +1 -1
  14. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/transports/base.py +8 -3
  15. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/transports/grpc.py +31 -34
  16. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/transports/grpc_asyncio.py +30 -32
  17. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/transports/rest.py +8 -3
  18. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/services/dataform/transports/rest_base.py +1 -1
  19. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1beta1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1}/types/__init__.py +1 -1
  20. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/types/dataform.py +414 -7
  21. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/__init__.py +1 -1
  22. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1beta1}/gapic_version.py +2 -2
  23. {google_cloud_dataform-0.6.1/tests → google_cloud_dataform-0.7.0/google/cloud/dataform_v1beta1/services}/__init__.py +1 -1
  24. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +1 -1
  25. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +35 -29
  26. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/client.py +50 -29
  27. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +1 -1
  28. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1beta1}/services/dataform/transports/__init__.py +1 -1
  29. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +8 -3
  30. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +31 -34
  31. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +30 -32
  32. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +8 -3
  33. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +1 -1
  34. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1 → google_cloud_dataform-0.7.0/google/cloud/dataform_v1beta1}/types/__init__.py +1 -1
  35. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/types/dataform.py +414 -7
  36. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0/google_cloud_dataform.egg-info}/PKG-INFO +19 -5
  37. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google_cloud_dataform.egg-info/requires.txt +4 -0
  38. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/setup.py +4 -1
  39. {google_cloud_dataform-0.6.1/tests/unit → google_cloud_dataform-0.7.0/tests}/__init__.py +1 -1
  40. {google_cloud_dataform-0.6.1/google/cloud/dataform_v1/services → google_cloud_dataform-0.7.0/tests/unit}/__init__.py +1 -1
  41. google_cloud_dataform-0.7.0/tests/unit/gapic/__init__.py +15 -0
  42. google_cloud_dataform-0.7.0/tests/unit/gapic/dataform_v1/__init__.py +15 -0
  43. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/tests/unit/gapic/dataform_v1/test_dataform.py +116 -59
  44. google_cloud_dataform-0.7.0/tests/unit/gapic/dataform_v1beta1/__init__.py +15 -0
  45. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +116 -59
  46. google_cloud_dataform-0.6.1/MANIFEST.in +0 -25
  47. google_cloud_dataform-0.6.1/tests/unit/gapic/__init__.py +0 -15
  48. google_cloud_dataform-0.6.1/tests/unit/gapic/dataform_v1/__init__.py +0 -15
  49. google_cloud_dataform-0.6.1/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -15
  50. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/LICENSE +0 -0
  51. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform/py.typed +0 -0
  52. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/gapic_metadata.json +0 -0
  53. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1/py.typed +0 -0
  54. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/gapic_metadata.json +0 -0
  55. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google/cloud/dataform_v1beta1/py.typed +0 -0
  56. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google_cloud_dataform.egg-info/SOURCES.txt +0 -0
  57. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
  58. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
  59. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/google_cloud_dataform.egg-info/top_level.txt +0 -0
  60. {google_cloud_dataform-0.6.1 → google_cloud_dataform-0.7.0}/setup.cfg +0 -0
@@ -0,0 +1,20 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Copyright 2025 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
+ include README.rst LICENSE
17
+ recursive-include google *.py *.pyi *.json *.proto py.typed
18
+ recursive-include tests *
19
+ global-exclude *.py[co]
20
+ global-exclude __pycache__
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: google-cloud-dataform
3
- Version: 0.6.1
3
+ Version: 0.7.0
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
@@ -19,16 +19,30 @@ Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
21
  Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Programming Language :: Python :: 3.14
22
23
  Classifier: Operating System :: OS Independent
23
24
  Classifier: Topic :: Internet
24
25
  Requires-Python: >=3.7
25
26
  License-File: LICENSE
26
27
  Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0,>=1.34.1
27
28
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0,>=2.14.1
29
+ Requires-Dist: grpcio<2.0.0,>=1.33.2
30
+ Requires-Dist: grpcio<2.0.0,>=1.75.1; python_version >= "3.14"
28
31
  Requires-Dist: proto-plus<2.0.0,>=1.22.3
29
32
  Requires-Dist: proto-plus<2.0.0,>=1.25.0; python_version >= "3.13"
30
33
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<7.0.0,>=3.20.2
31
34
  Requires-Dist: grpc-google-iam-v1<1.0.0,>=0.14.0
35
+ Dynamic: author
36
+ Dynamic: author-email
37
+ Dynamic: classifier
38
+ Dynamic: description
39
+ Dynamic: home-page
40
+ Dynamic: license
41
+ Dynamic: license-file
42
+ Dynamic: platform
43
+ Dynamic: requires-dist
44
+ Dynamic: requires-python
45
+ Dynamic: summary
32
46
 
33
47
  Python Client for Cloud Dataform
34
48
  ================================
@@ -93,7 +107,7 @@ Supported Python Versions
93
107
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
94
108
  Python.
95
109
 
96
- Python >= 3.7
110
+ Python >= 3.7, including 3.14
97
111
 
98
112
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
99
113
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -194,7 +208,7 @@ Code-Based Examples
194
208
 
195
209
  import logging
196
210
 
197
- from google.cloud.translate_v3 import translate
211
+ from google.cloud import library_v1
198
212
 
199
213
  base_logger = logging.getLogger("google")
200
214
  base_logger.addHandler(logging.StreamHandler())
@@ -206,7 +220,7 @@ Code-Based Examples
206
220
 
207
221
  import logging
208
222
 
209
- from google.cloud.translate_v3 import translate
223
+ from google.cloud import library_v1
210
224
 
211
225
  base_logger = logging.getLogger("google.cloud.library_v1")
212
226
  base_logger.addHandler(logging.StreamHandler())
@@ -61,7 +61,7 @@ Supported Python Versions
61
61
  Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
62
62
  Python.
63
63
 
64
- Python >= 3.7
64
+ Python >= 3.7, including 3.14
65
65
 
66
66
  .. _active: https://devguide.python.org/devcycle/#in-development-main-branch
67
67
  .. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
@@ -162,7 +162,7 @@ Code-Based Examples
162
162
 
163
163
  import logging
164
164
 
165
- from google.cloud.translate_v3 import translate
165
+ from google.cloud import library_v1
166
166
 
167
167
  base_logger = logging.getLogger("google")
168
168
  base_logger.addHandler(logging.StreamHandler())
@@ -174,7 +174,7 @@ Code-Based Examples
174
174
 
175
175
  import logging
176
176
 
177
- from google.cloud.translate_v3 import translate
177
+ from google.cloud import library_v1
178
178
 
179
179
  base_logger = logging.getLogger("google.cloud.library_v1")
180
180
  base_logger.addHandler(logging.StreamHandler())
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.6.1" # {x-release-please-version}
16
+ __version__ = "0.7.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
- __version__ = "0.6.1" # {x-release-please-version}
16
+ __version__ = "0.7.0" # {x-release-please-version}
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -35,6 +35,7 @@ from google.api_core import retry_async as retries
35
35
  from google.api_core.client_options import ClientOptions
36
36
  from google.auth import credentials as ga_credentials # type: ignore
37
37
  from google.oauth2 import service_account # type: ignore
38
+ import google.protobuf
38
39
 
39
40
  from google.cloud.dataform_v1 import gapic_version as package_version
40
41
 
@@ -93,6 +94,12 @@ class DataformAsyncClient:
93
94
  parse_crypto_key_version_path = staticmethod(
94
95
  DataformClient.parse_crypto_key_version_path
95
96
  )
97
+ notebook_runtime_template_path = staticmethod(
98
+ DataformClient.notebook_runtime_template_path
99
+ )
100
+ parse_notebook_runtime_template_path = staticmethod(
101
+ DataformClient.parse_notebook_runtime_template_path
102
+ )
96
103
  release_config_path = staticmethod(DataformClient.release_config_path)
97
104
  parse_release_config_path = staticmethod(DataformClient.parse_release_config_path)
98
105
  repository_path = staticmethod(DataformClient.repository_path)
@@ -322,6 +329,10 @@ class DataformAsyncClient:
322
329
  ) -> pagers.ListRepositoriesAsyncPager:
323
330
  r"""Lists Repositories in a given project and location.
324
331
 
332
+ **Note:** *This method can return repositories not shown in the*
333
+ `Dataform
334
+ UI <https://console.cloud.google.com/bigquery/dataform>`__.
335
+
325
336
  .. code-block:: python
326
337
 
327
338
  # This snippet has been automatically generated and should be regarded as a
@@ -684,13 +695,11 @@ class DataformAsyncClient:
684
695
  ) -> dataform.Repository:
685
696
  r"""Updates a single Repository.
686
697
 
687
- **Note:** *This method does not fully implement*, (see
688
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
689
-
690
- - The wildcard entry (**\***) is treated as a bad request
691
- - When the **field_mask** is omitted, instead of only updating
692
- the set fields, the request is treated as a full update on
693
- all modifiable fields
698
+ **Note:** *This method does not fully
699
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
700
+ wildcard entry (\*) is treated as a bad request, and when the
701
+ ``field_mask`` is omitted, the request is treated as a full
702
+ update on all modifiable fields.*
694
703
 
695
704
  .. code-block:: python
696
705
 
@@ -3779,13 +3788,11 @@ class DataformAsyncClient:
3779
3788
  ) -> dataform.ReleaseConfig:
3780
3789
  r"""Updates a single ReleaseConfig.
3781
3790
 
3782
- **Note:** *This method does not fully implement*, (see
3783
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
3784
-
3785
- - The wildcard entry (**\***) is treated as a bad request
3786
- - When the **field_mask** is omitted, instead of only updating
3787
- the set fields, the request is treated as a full update on
3788
- all modifiable fields
3791
+ **Note:** *This method does not fully
3792
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
3793
+ wildcard entry (\*) is treated as a bad request, and when the
3794
+ ``field_mask`` is omitted, the request is treated as a full
3795
+ update on all modifiable fields.*
3789
3796
 
3790
3797
  .. code-block:: python
3791
3798
 
@@ -4843,13 +4850,11 @@ class DataformAsyncClient:
4843
4850
  ) -> dataform.WorkflowConfig:
4844
4851
  r"""Updates a single WorkflowConfig.
4845
4852
 
4846
- **Note:** *This method does not fully implement*, (see
4847
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
4848
-
4849
- - The wildcard entry (**\***) is treated as a bad request
4850
- - When the **field_mask** is omitted, instead of only updating
4851
- the set fields, the request is treated as a full update on
4852
- all modifiable fields
4853
+ **Note:** *This method does not fully
4854
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
4855
+ wildcard entry (\*) is treated as a bad request, and when the
4856
+ ``field_mask`` is omitted, the request is treated as a full
4857
+ update on all modifiable fields.*
4853
4858
 
4854
4859
  .. code-block:: python
4855
4860
 
@@ -5826,13 +5831,11 @@ class DataformAsyncClient:
5826
5831
  ) -> dataform.Config:
5827
5832
  r"""Update default config for a given project and location.
5828
5833
 
5829
- **Note:** *This method does not fully implement*, (see
5830
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
5831
-
5832
- - The wildcard entry (**\***) is treated as a bad request
5833
- - When the **field_mask** is omitted, instead of only updating
5834
- the set fields, the request is treated as a full update on
5835
- all modifiable fields
5834
+ **Note:** *This method does not fully
5835
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
5836
+ wildcard entry (\*) is treated as a bad request, and when the
5837
+ ``field_mask`` is omitted, the request is treated as a full
5838
+ update on all modifiable fields.*
5836
5839
 
5837
5840
  .. code-block:: python
5838
5841
 
@@ -6367,5 +6370,8 @@ DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
6367
6370
  gapic_version=package_version.__version__
6368
6371
  )
6369
6372
 
6373
+ if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
6374
+ DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
6375
+
6370
6376
 
6371
6377
  __all__ = ("DataformAsyncClient",)
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -43,6 +43,7 @@ from google.auth.exceptions import MutualTLSChannelError # type: ignore
43
43
  from google.auth.transport import mtls # type: ignore
44
44
  from google.auth.transport.grpc import SslCredentials # type: ignore
45
45
  from google.oauth2 import service_account # type: ignore
46
+ import google.protobuf
46
47
 
47
48
  from google.cloud.dataform_v1 import gapic_version as package_version
48
49
 
@@ -295,6 +296,28 @@ class DataformClient(metaclass=DataformClientMeta):
295
296
  )
296
297
  return m.groupdict() if m else {}
297
298
 
299
+ @staticmethod
300
+ def notebook_runtime_template_path(
301
+ project: str,
302
+ location: str,
303
+ notebook_runtime_template: str,
304
+ ) -> str:
305
+ """Returns a fully-qualified notebook_runtime_template string."""
306
+ return "projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}".format(
307
+ project=project,
308
+ location=location,
309
+ notebook_runtime_template=notebook_runtime_template,
310
+ )
311
+
312
+ @staticmethod
313
+ def parse_notebook_runtime_template_path(path: str) -> Dict[str, str]:
314
+ """Parses a notebook_runtime_template path into its component segments."""
315
+ m = re.match(
316
+ r"^projects/(?P<project>.+?)/locations/(?P<location>.+?)/notebookRuntimeTemplates/(?P<notebook_runtime_template>.+?)$",
317
+ path,
318
+ )
319
+ return m.groupdict() if m else {}
320
+
298
321
  @staticmethod
299
322
  def release_config_path(
300
323
  project: str,
@@ -937,6 +960,10 @@ class DataformClient(metaclass=DataformClientMeta):
937
960
  ) -> pagers.ListRepositoriesPager:
938
961
  r"""Lists Repositories in a given project and location.
939
962
 
963
+ **Note:** *This method can return repositories not shown in the*
964
+ `Dataform
965
+ UI <https://console.cloud.google.com/bigquery/dataform>`__.
966
+
940
967
  .. code-block:: python
941
968
 
942
969
  # This snippet has been automatically generated and should be regarded as a
@@ -1290,13 +1317,11 @@ class DataformClient(metaclass=DataformClientMeta):
1290
1317
  ) -> dataform.Repository:
1291
1318
  r"""Updates a single Repository.
1292
1319
 
1293
- **Note:** *This method does not fully implement*, (see
1294
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
1295
-
1296
- - The wildcard entry (**\***) is treated as a bad request
1297
- - When the **field_mask** is omitted, instead of only updating
1298
- the set fields, the request is treated as a full update on
1299
- all modifiable fields
1320
+ **Note:** *This method does not fully
1321
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
1322
+ wildcard entry (\*) is treated as a bad request, and when the
1323
+ ``field_mask`` is omitted, the request is treated as a full
1324
+ update on all modifiable fields.*
1300
1325
 
1301
1326
  .. code-block:: python
1302
1327
 
@@ -4318,13 +4343,11 @@ class DataformClient(metaclass=DataformClientMeta):
4318
4343
  ) -> dataform.ReleaseConfig:
4319
4344
  r"""Updates a single ReleaseConfig.
4320
4345
 
4321
- **Note:** *This method does not fully implement*, (see
4322
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
4323
-
4324
- - The wildcard entry (**\***) is treated as a bad request
4325
- - When the **field_mask** is omitted, instead of only updating
4326
- the set fields, the request is treated as a full update on
4327
- all modifiable fields
4346
+ **Note:** *This method does not fully
4347
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
4348
+ wildcard entry (\*) is treated as a bad request, and when the
4349
+ ``field_mask`` is omitted, the request is treated as a full
4350
+ update on all modifiable fields.*
4328
4351
 
4329
4352
  .. code-block:: python
4330
4353
 
@@ -5360,13 +5383,11 @@ class DataformClient(metaclass=DataformClientMeta):
5360
5383
  ) -> dataform.WorkflowConfig:
5361
5384
  r"""Updates a single WorkflowConfig.
5362
5385
 
5363
- **Note:** *This method does not fully implement*, (see
5364
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
5365
-
5366
- - The wildcard entry (**\***) is treated as a bad request
5367
- - When the **field_mask** is omitted, instead of only updating
5368
- the set fields, the request is treated as a full update on
5369
- all modifiable fields
5386
+ **Note:** *This method does not fully
5387
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
5388
+ wildcard entry (\*) is treated as a bad request, and when the
5389
+ ``field_mask`` is omitted, the request is treated as a full
5390
+ update on all modifiable fields.*
5370
5391
 
5371
5392
  .. code-block:: python
5372
5393
 
@@ -6328,13 +6349,11 @@ class DataformClient(metaclass=DataformClientMeta):
6328
6349
  ) -> dataform.Config:
6329
6350
  r"""Update default config for a given project and location.
6330
6351
 
6331
- **Note:** *This method does not fully implement*, (see
6332
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
6333
-
6334
- - The wildcard entry (**\***) is treated as a bad request
6335
- - When the **field_mask** is omitted, instead of only updating
6336
- the set fields, the request is treated as a full update on
6337
- all modifiable fields
6352
+ **Note:** *This method does not fully
6353
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
6354
+ wildcard entry (\*) is treated as a bad request, and when the
6355
+ ``field_mask`` is omitted, the request is treated as a full
6356
+ update on all modifiable fields.*
6338
6357
 
6339
6358
  .. code-block:: python
6340
6359
 
@@ -6891,5 +6910,7 @@ DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
6891
6910
  gapic_version=package_version.__version__
6892
6911
  )
6893
6912
 
6913
+ if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
6914
+ DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
6894
6915
 
6895
6916
  __all__ = ("DataformClient",)
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -26,6 +26,7 @@ from google.cloud.location import locations_pb2 # type: ignore
26
26
  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
+ import google.protobuf
29
30
  from google.protobuf import empty_pb2 # type: ignore
30
31
 
31
32
  from google.cloud.dataform_v1 import gapic_version as package_version
@@ -35,6 +36,9 @@ DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
35
36
  gapic_version=package_version.__version__
36
37
  )
37
38
 
39
+ if hasattr(DEFAULT_CLIENT_INFO, "protobuf_runtime_version"): # pragma: NO COVER
40
+ DEFAULT_CLIENT_INFO.protobuf_runtime_version = google.protobuf.__version__
41
+
38
42
 
39
43
  class DataformTransport(abc.ABC):
40
44
  """Abstract transport class for Dataform."""
@@ -69,9 +73,10 @@ class DataformTransport(abc.ABC):
69
73
  credentials identify the application to the service; if none
70
74
  are specified, the client will attempt to ascertain the
71
75
  credentials from the environment.
72
- credentials_file (Optional[str]): A file with credentials that can
76
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
73
77
  be loaded with :func:`google.auth.load_credentials_from_file`.
74
- This argument is mutually exclusive with credentials.
78
+ This argument is mutually exclusive with credentials. This argument will be
79
+ removed in the next major version of this library.
75
80
  scopes (Optional[Sequence[str]]): A list of scopes.
76
81
  quota_project_id (Optional[str]): An optional project to use for billing
77
82
  and quota.
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
- # Copyright 2024 Google LLC
2
+ # Copyright 2025 Google LLC
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License");
5
5
  # you may not use this file except in compliance with the License.
@@ -73,12 +73,11 @@ class _LoggingClientInterceptor(grpc.UnaryUnaryClientInterceptor): # pragma: NO
73
73
  f"Sending request for {client_call_details.method}",
74
74
  extra={
75
75
  "serviceName": "google.cloud.dataform.v1.Dataform",
76
- "rpcName": client_call_details.method,
76
+ "rpcName": str(client_call_details.method),
77
77
  "request": grpc_request,
78
78
  "metadata": grpc_request["metadata"],
79
79
  },
80
80
  )
81
-
82
81
  response = continuation(client_call_details, request)
83
82
  if logging_enabled: # pragma: NO COVER
84
83
  response_metadata = response.trailing_metadata()
@@ -156,9 +155,10 @@ class DataformGrpcTransport(DataformTransport):
156
155
  are specified, the client will attempt to ascertain the
157
156
  credentials from the environment.
158
157
  This argument is ignored if a ``channel`` instance is provided.
159
- credentials_file (Optional[str]): A file with credentials that can
158
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
160
159
  be loaded with :func:`google.auth.load_credentials_from_file`.
161
160
  This argument is ignored if a ``channel`` instance is provided.
161
+ This argument will be removed in the next major version of this library.
162
162
  scopes (Optional(Sequence[str])): A list of scopes. This argument is
163
163
  ignored if a ``channel`` instance is provided.
164
164
  channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -291,9 +291,10 @@ class DataformGrpcTransport(DataformTransport):
291
291
  credentials identify this application to the service. If
292
292
  none are specified, the client will attempt to ascertain
293
293
  the credentials from the environment.
294
- credentials_file (Optional[str]): A file with credentials that can
294
+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
295
295
  be loaded with :func:`google.auth.load_credentials_from_file`.
296
- This argument is mutually exclusive with credentials.
296
+ This argument is mutually exclusive with credentials. This argument will be
297
+ removed in the next major version of this library.
297
298
  scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
298
299
  service. These are only used when credentials are not specified and
299
300
  are passed to :func:`google.auth.default`.
@@ -335,6 +336,10 @@ class DataformGrpcTransport(DataformTransport):
335
336
 
336
337
  Lists Repositories in a given project and location.
337
338
 
339
+ **Note:** *This method can return repositories not shown in the*
340
+ `Dataform
341
+ UI <https://console.cloud.google.com/bigquery/dataform>`__.
342
+
338
343
  Returns:
339
344
  Callable[[~.ListRepositoriesRequest],
340
345
  ~.ListRepositoriesResponse]:
@@ -414,13 +419,11 @@ class DataformGrpcTransport(DataformTransport):
414
419
 
415
420
  Updates a single Repository.
416
421
 
417
- **Note:** *This method does not fully implement*, (see
418
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
419
-
420
- - The wildcard entry (**\***) is treated as a bad request
421
- - When the **field_mask** is omitted, instead of only updating
422
- the set fields, the request is treated as a full update on
423
- all modifiable fields
422
+ **Note:** *This method does not fully
423
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
424
+ wildcard entry (\*) is treated as a bad request, and when the
425
+ ``field_mask`` is omitted, the request is treated as a full
426
+ update on all modifiable fields.*
424
427
 
425
428
  Returns:
426
429
  Callable[[~.UpdateRepositoryRequest],
@@ -1307,13 +1310,11 @@ class DataformGrpcTransport(DataformTransport):
1307
1310
 
1308
1311
  Updates a single ReleaseConfig.
1309
1312
 
1310
- **Note:** *This method does not fully implement*, (see
1311
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
1312
-
1313
- - The wildcard entry (**\***) is treated as a bad request
1314
- - When the **field_mask** is omitted, instead of only updating
1315
- the set fields, the request is treated as a full update on
1316
- all modifiable fields
1313
+ **Note:** *This method does not fully
1314
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
1315
+ wildcard entry (\*) is treated as a bad request, and when the
1316
+ ``field_mask`` is omitted, the request is treated as a full
1317
+ update on all modifiable fields.*
1317
1318
 
1318
1319
  Returns:
1319
1320
  Callable[[~.UpdateReleaseConfigRequest],
@@ -1564,13 +1565,11 @@ class DataformGrpcTransport(DataformTransport):
1564
1565
 
1565
1566
  Updates a single WorkflowConfig.
1566
1567
 
1567
- **Note:** *This method does not fully implement*, (see
1568
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
1569
-
1570
- - The wildcard entry (**\***) is treated as a bad request
1571
- - When the **field_mask** is omitted, instead of only updating
1572
- the set fields, the request is treated as a full update on
1573
- all modifiable fields
1568
+ **Note:** *This method does not fully
1569
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
1570
+ wildcard entry (\*) is treated as a bad request, and when the
1571
+ ``field_mask`` is omitted, the request is treated as a full
1572
+ update on all modifiable fields.*
1574
1573
 
1575
1574
  Returns:
1576
1575
  Callable[[~.UpdateWorkflowConfigRequest],
@@ -1827,13 +1826,11 @@ class DataformGrpcTransport(DataformTransport):
1827
1826
 
1828
1827
  Update default config for a given project and location.
1829
1828
 
1830
- **Note:** *This method does not fully implement*, (see
1831
- `AIP/134 <https://google.aip.dev/134>`__, in particular:
1832
-
1833
- - The wildcard entry (**\***) is treated as a bad request
1834
- - When the **field_mask** is omitted, instead of only updating
1835
- the set fields, the request is treated as a full update on
1836
- all modifiable fields
1829
+ **Note:** *This method does not fully
1830
+ implement*\ `AIP/134 <https://google.aip.dev/134>`__\ *. The
1831
+ wildcard entry (\*) is treated as a bad request, and when the
1832
+ ``field_mask`` is omitted, the request is treated as a full
1833
+ update on all modifiable fields.*
1837
1834
 
1838
1835
  Returns:
1839
1836
  Callable[[~.UpdateConfigRequest],