google-cloud-dataform 0.5.11__tar.gz → 0.5.12__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 (37) hide show
  1. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/MANIFEST.in +1 -1
  2. {google_cloud_dataform-0.5.11/google_cloud_dataform.egg-info → google_cloud_dataform-0.5.12}/PKG-INFO +3 -1
  3. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform/gapic_version.py +1 -1
  4. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/gapic_version.py +1 -1
  5. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/async_client.py +8 -29
  6. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/client.py +6 -26
  7. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/base.py +25 -0
  8. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc_asyncio.py +89 -51
  9. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/rest.py +2504 -2222
  10. google_cloud_dataform-0.5.12/google/cloud/dataform_v1beta1/services/dataform/transports/rest_base.py +2891 -0
  11. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12/google_cloud_dataform.egg-info}/PKG-INFO +3 -1
  12. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/SOURCES.txt +1 -0
  13. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/requires.txt +3 -0
  14. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/setup.py +4 -0
  15. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/tests/unit/gapic/dataform_v1beta1/test_dataform.py +11779 -10588
  16. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/LICENSE +0 -0
  17. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/README.rst +0 -0
  18. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform/__init__.py +0 -0
  19. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform/py.typed +0 -0
  20. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/__init__.py +0 -0
  21. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/gapic_metadata.json +0 -0
  22. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/py.typed +0 -0
  23. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/__init__.py +0 -0
  24. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/__init__.py +0 -0
  25. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/pagers.py +0 -0
  26. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/__init__.py +0 -0
  27. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/services/dataform/transports/grpc.py +0 -0
  28. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/types/__init__.py +0 -0
  29. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google/cloud/dataform_v1beta1/types/dataform.py +0 -0
  30. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/dependency_links.txt +0 -0
  31. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/not-zip-safe +0 -0
  32. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/google_cloud_dataform.egg-info/top_level.txt +0 -0
  33. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/setup.cfg +0 -0
  34. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/tests/__init__.py +0 -0
  35. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/tests/unit/__init__.py +0 -0
  36. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/tests/unit/gapic/__init__.py +0 -0
  37. {google_cloud_dataform-0.5.11 → google_cloud_dataform-0.5.12}/tests/unit/gapic/dataform_v1beta1/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright 2023 Google LLC
3
+ # Copyright 2024 Google LLC
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: google-cloud-dataform
3
- Version: 0.5.11
3
+ Version: 0.5.12
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
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.9
18
18
  Classifier: Programming Language :: Python :: 3.10
19
19
  Classifier: Programming Language :: Python :: 3.11
20
20
  Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
21
22
  Classifier: Operating System :: OS Independent
22
23
  Classifier: Topic :: Internet
23
24
  Requires-Python: >=3.7
@@ -25,6 +26,7 @@ License-File: LICENSE
25
26
  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.0dev,>=1.34.1
26
27
  Requires-Dist: google-auth!=2.24.0,!=2.25.0,<3.0.0dev,>=2.14.1
27
28
  Requires-Dist: proto-plus<2.0.0dev,>=1.22.3
29
+ Requires-Dist: proto-plus<2.0.0dev,>=1.25.0; python_version >= "3.13"
28
30
  Requires-Dist: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<6.0.0dev,>=3.20.2
29
31
  Requires-Dist: grpc-google-iam-v1<1.0.0dev,>=0.12.4
30
32
 
@@ -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.5.11" # {x-release-please-version}
16
+ __version__ = "0.5.12" # {x-release-please-version}
@@ -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.5.11" # {x-release-please-version}
16
+ __version__ = "0.5.12" # {x-release-please-version}
@@ -14,7 +14,6 @@
14
14
  # limitations under the License.
15
15
  #
16
16
  from collections import OrderedDict
17
- import functools
18
17
  import re
19
18
  from typing import (
20
19
  Callable,
@@ -203,9 +202,7 @@ class DataformAsyncClient:
203
202
  """
204
203
  return self._client._universe_domain
205
204
 
206
- get_transport_class = functools.partial(
207
- type(DataformClient).get_transport_class, type(DataformClient)
208
- )
205
+ get_transport_class = DataformClient.get_transport_class
209
206
 
210
207
  def __init__(
211
208
  self,
@@ -5377,11 +5374,7 @@ class DataformAsyncClient:
5377
5374
 
5378
5375
  # Wrap the RPC method; this adds retry and timeout information,
5379
5376
  # and friendly error handling.
5380
- rpc = gapic_v1.method_async.wrap_method(
5381
- self._client._transport.set_iam_policy,
5382
- default_timeout=None,
5383
- client_info=DEFAULT_CLIENT_INFO,
5384
- )
5377
+ rpc = self.transport._wrapped_methods[self._client._transport.set_iam_policy]
5385
5378
 
5386
5379
  # Certain fields should be provided within the metadata header;
5387
5380
  # add these here.
@@ -5501,11 +5494,7 @@ class DataformAsyncClient:
5501
5494
 
5502
5495
  # Wrap the RPC method; this adds retry and timeout information,
5503
5496
  # and friendly error handling.
5504
- rpc = gapic_v1.method_async.wrap_method(
5505
- self._client._transport.get_iam_policy,
5506
- default_timeout=None,
5507
- client_info=DEFAULT_CLIENT_INFO,
5508
- )
5497
+ rpc = self.transport._wrapped_methods[self._client._transport.get_iam_policy]
5509
5498
 
5510
5499
  # Certain fields should be provided within the metadata header;
5511
5500
  # add these here.
@@ -5563,11 +5552,9 @@ class DataformAsyncClient:
5563
5552
 
5564
5553
  # Wrap the RPC method; this adds retry and timeout information,
5565
5554
  # and friendly error handling.
5566
- rpc = gapic_v1.method_async.wrap_method(
5567
- self._client._transport.test_iam_permissions,
5568
- default_timeout=None,
5569
- client_info=DEFAULT_CLIENT_INFO,
5570
- )
5555
+ rpc = self.transport._wrapped_methods[
5556
+ self._client._transport.test_iam_permissions
5557
+ ]
5571
5558
 
5572
5559
  # Certain fields should be provided within the metadata header;
5573
5560
  # add these here.
@@ -5620,11 +5607,7 @@ class DataformAsyncClient:
5620
5607
 
5621
5608
  # Wrap the RPC method; this adds retry and timeout information,
5622
5609
  # and friendly error handling.
5623
- rpc = gapic_v1.method_async.wrap_method(
5624
- self._client._transport.get_location,
5625
- default_timeout=None,
5626
- client_info=DEFAULT_CLIENT_INFO,
5627
- )
5610
+ rpc = self.transport._wrapped_methods[self._client._transport.get_location]
5628
5611
 
5629
5612
  # Certain fields should be provided within the metadata header;
5630
5613
  # add these here.
@@ -5677,11 +5660,7 @@ class DataformAsyncClient:
5677
5660
 
5678
5661
  # Wrap the RPC method; this adds retry and timeout information,
5679
5662
  # and friendly error handling.
5680
- rpc = gapic_v1.method_async.wrap_method(
5681
- self._client._transport.list_locations,
5682
- default_timeout=None,
5683
- client_info=DEFAULT_CLIENT_INFO,
5684
- )
5663
+ rpc = self.transport._wrapped_methods[self._client._transport.list_locations]
5685
5664
 
5686
5665
  # Certain fields should be provided within the metadata header;
5687
5666
  # add these here.
@@ -807,7 +807,7 @@ class DataformClient(metaclass=DataformClientMeta):
807
807
  transport_init: Union[
808
808
  Type[DataformTransport], Callable[..., DataformTransport]
809
809
  ] = (
810
- type(self).get_transport_class(transport)
810
+ DataformClient.get_transport_class(transport)
811
811
  if isinstance(transport, str) or transport is None
812
812
  else cast(Callable[..., DataformTransport], transport)
813
813
  )
@@ -5833,11 +5833,7 @@ class DataformClient(metaclass=DataformClientMeta):
5833
5833
 
5834
5834
  # Wrap the RPC method; this adds retry and timeout information,
5835
5835
  # and friendly error handling.
5836
- rpc = gapic_v1.method.wrap_method(
5837
- self._transport.set_iam_policy,
5838
- default_timeout=None,
5839
- client_info=DEFAULT_CLIENT_INFO,
5840
- )
5836
+ rpc = self._transport._wrapped_methods[self._transport.set_iam_policy]
5841
5837
 
5842
5838
  # Certain fields should be provided within the metadata header;
5843
5839
  # add these here.
@@ -5957,11 +5953,7 @@ class DataformClient(metaclass=DataformClientMeta):
5957
5953
 
5958
5954
  # Wrap the RPC method; this adds retry and timeout information,
5959
5955
  # and friendly error handling.
5960
- rpc = gapic_v1.method.wrap_method(
5961
- self._transport.get_iam_policy,
5962
- default_timeout=None,
5963
- client_info=DEFAULT_CLIENT_INFO,
5964
- )
5956
+ rpc = self._transport._wrapped_methods[self._transport.get_iam_policy]
5965
5957
 
5966
5958
  # Certain fields should be provided within the metadata header;
5967
5959
  # add these here.
@@ -6019,11 +6011,7 @@ class DataformClient(metaclass=DataformClientMeta):
6019
6011
 
6020
6012
  # Wrap the RPC method; this adds retry and timeout information,
6021
6013
  # and friendly error handling.
6022
- rpc = gapic_v1.method.wrap_method(
6023
- self._transport.test_iam_permissions,
6024
- default_timeout=None,
6025
- client_info=DEFAULT_CLIENT_INFO,
6026
- )
6014
+ rpc = self._transport._wrapped_methods[self._transport.test_iam_permissions]
6027
6015
 
6028
6016
  # Certain fields should be provided within the metadata header;
6029
6017
  # add these here.
@@ -6076,11 +6064,7 @@ class DataformClient(metaclass=DataformClientMeta):
6076
6064
 
6077
6065
  # Wrap the RPC method; this adds retry and timeout information,
6078
6066
  # and friendly error handling.
6079
- rpc = gapic_v1.method.wrap_method(
6080
- self._transport.get_location,
6081
- default_timeout=None,
6082
- client_info=DEFAULT_CLIENT_INFO,
6083
- )
6067
+ rpc = self._transport._wrapped_methods[self._transport.get_location]
6084
6068
 
6085
6069
  # Certain fields should be provided within the metadata header;
6086
6070
  # add these here.
@@ -6133,11 +6117,7 @@ class DataformClient(metaclass=DataformClientMeta):
6133
6117
 
6134
6118
  # Wrap the RPC method; this adds retry and timeout information,
6135
6119
  # and friendly error handling.
6136
- rpc = gapic_v1.method.wrap_method(
6137
- self._transport.list_locations,
6138
- default_timeout=None,
6139
- client_info=DEFAULT_CLIENT_INFO,
6140
- )
6120
+ rpc = self._transport._wrapped_methods[self._transport.list_locations]
6141
6121
 
6142
6122
  # Certain fields should be provided within the metadata header;
6143
6123
  # add these here.
@@ -387,6 +387,31 @@ class DataformTransport(abc.ABC):
387
387
  default_timeout=None,
388
388
  client_info=client_info,
389
389
  ),
390
+ self.get_location: gapic_v1.method.wrap_method(
391
+ self.get_location,
392
+ default_timeout=None,
393
+ client_info=client_info,
394
+ ),
395
+ self.list_locations: gapic_v1.method.wrap_method(
396
+ self.list_locations,
397
+ default_timeout=None,
398
+ client_info=client_info,
399
+ ),
400
+ self.get_iam_policy: gapic_v1.method.wrap_method(
401
+ self.get_iam_policy,
402
+ default_timeout=None,
403
+ client_info=client_info,
404
+ ),
405
+ self.set_iam_policy: gapic_v1.method.wrap_method(
406
+ self.set_iam_policy,
407
+ default_timeout=None,
408
+ client_info=client_info,
409
+ ),
410
+ self.test_iam_permissions: gapic_v1.method.wrap_method(
411
+ self.test_iam_permissions,
412
+ default_timeout=None,
413
+ client_info=client_info,
414
+ ),
390
415
  }
391
416
 
392
417
  def close(self):
@@ -13,6 +13,7 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
  #
16
+ import inspect
16
17
  from typing import Awaitable, Callable, Dict, Optional, Sequence, Tuple, Union
17
18
  import warnings
18
19
 
@@ -231,6 +232,9 @@ class DataformGrpcAsyncIOTransport(DataformTransport):
231
232
  )
232
233
 
233
234
  # Wrap messages. This must be done after self._grpc_channel exists
235
+ self._wrap_with_kind = (
236
+ "kind" in inspect.signature(gapic_v1.method_async.wrap_method).parameters
237
+ )
234
238
  self._prep_wrapped_messages(client_info)
235
239
 
236
240
  @property
@@ -1686,266 +1690,300 @@ class DataformGrpcAsyncIOTransport(DataformTransport):
1686
1690
  def _prep_wrapped_messages(self, client_info):
1687
1691
  """Precompute the wrapped methods, overriding the base class method to use async wrappers."""
1688
1692
  self._wrapped_methods = {
1689
- self.list_repositories: gapic_v1.method_async.wrap_method(
1693
+ self.list_repositories: self._wrap_method(
1690
1694
  self.list_repositories,
1691
1695
  default_timeout=None,
1692
1696
  client_info=client_info,
1693
1697
  ),
1694
- self.get_repository: gapic_v1.method_async.wrap_method(
1698
+ self.get_repository: self._wrap_method(
1695
1699
  self.get_repository,
1696
1700
  default_timeout=None,
1697
1701
  client_info=client_info,
1698
1702
  ),
1699
- self.create_repository: gapic_v1.method_async.wrap_method(
1703
+ self.create_repository: self._wrap_method(
1700
1704
  self.create_repository,
1701
1705
  default_timeout=None,
1702
1706
  client_info=client_info,
1703
1707
  ),
1704
- self.update_repository: gapic_v1.method_async.wrap_method(
1708
+ self.update_repository: self._wrap_method(
1705
1709
  self.update_repository,
1706
1710
  default_timeout=None,
1707
1711
  client_info=client_info,
1708
1712
  ),
1709
- self.delete_repository: gapic_v1.method_async.wrap_method(
1713
+ self.delete_repository: self._wrap_method(
1710
1714
  self.delete_repository,
1711
1715
  default_timeout=None,
1712
1716
  client_info=client_info,
1713
1717
  ),
1714
- self.commit_repository_changes: gapic_v1.method_async.wrap_method(
1718
+ self.commit_repository_changes: self._wrap_method(
1715
1719
  self.commit_repository_changes,
1716
1720
  default_timeout=None,
1717
1721
  client_info=client_info,
1718
1722
  ),
1719
- self.read_repository_file: gapic_v1.method_async.wrap_method(
1723
+ self.read_repository_file: self._wrap_method(
1720
1724
  self.read_repository_file,
1721
1725
  default_timeout=None,
1722
1726
  client_info=client_info,
1723
1727
  ),
1724
- self.query_repository_directory_contents: gapic_v1.method_async.wrap_method(
1728
+ self.query_repository_directory_contents: self._wrap_method(
1725
1729
  self.query_repository_directory_contents,
1726
1730
  default_timeout=None,
1727
1731
  client_info=client_info,
1728
1732
  ),
1729
- self.fetch_repository_history: gapic_v1.method_async.wrap_method(
1733
+ self.fetch_repository_history: self._wrap_method(
1730
1734
  self.fetch_repository_history,
1731
1735
  default_timeout=None,
1732
1736
  client_info=client_info,
1733
1737
  ),
1734
- self.compute_repository_access_token_status: gapic_v1.method_async.wrap_method(
1738
+ self.compute_repository_access_token_status: self._wrap_method(
1735
1739
  self.compute_repository_access_token_status,
1736
1740
  default_timeout=None,
1737
1741
  client_info=client_info,
1738
1742
  ),
1739
- self.fetch_remote_branches: gapic_v1.method_async.wrap_method(
1743
+ self.fetch_remote_branches: self._wrap_method(
1740
1744
  self.fetch_remote_branches,
1741
1745
  default_timeout=None,
1742
1746
  client_info=client_info,
1743
1747
  ),
1744
- self.list_workspaces: gapic_v1.method_async.wrap_method(
1748
+ self.list_workspaces: self._wrap_method(
1745
1749
  self.list_workspaces,
1746
1750
  default_timeout=None,
1747
1751
  client_info=client_info,
1748
1752
  ),
1749
- self.get_workspace: gapic_v1.method_async.wrap_method(
1753
+ self.get_workspace: self._wrap_method(
1750
1754
  self.get_workspace,
1751
1755
  default_timeout=None,
1752
1756
  client_info=client_info,
1753
1757
  ),
1754
- self.create_workspace: gapic_v1.method_async.wrap_method(
1758
+ self.create_workspace: self._wrap_method(
1755
1759
  self.create_workspace,
1756
1760
  default_timeout=None,
1757
1761
  client_info=client_info,
1758
1762
  ),
1759
- self.delete_workspace: gapic_v1.method_async.wrap_method(
1763
+ self.delete_workspace: self._wrap_method(
1760
1764
  self.delete_workspace,
1761
1765
  default_timeout=None,
1762
1766
  client_info=client_info,
1763
1767
  ),
1764
- self.install_npm_packages: gapic_v1.method_async.wrap_method(
1768
+ self.install_npm_packages: self._wrap_method(
1765
1769
  self.install_npm_packages,
1766
1770
  default_timeout=None,
1767
1771
  client_info=client_info,
1768
1772
  ),
1769
- self.pull_git_commits: gapic_v1.method_async.wrap_method(
1773
+ self.pull_git_commits: self._wrap_method(
1770
1774
  self.pull_git_commits,
1771
1775
  default_timeout=None,
1772
1776
  client_info=client_info,
1773
1777
  ),
1774
- self.push_git_commits: gapic_v1.method_async.wrap_method(
1778
+ self.push_git_commits: self._wrap_method(
1775
1779
  self.push_git_commits,
1776
1780
  default_timeout=None,
1777
1781
  client_info=client_info,
1778
1782
  ),
1779
- self.fetch_file_git_statuses: gapic_v1.method_async.wrap_method(
1783
+ self.fetch_file_git_statuses: self._wrap_method(
1780
1784
  self.fetch_file_git_statuses,
1781
1785
  default_timeout=None,
1782
1786
  client_info=client_info,
1783
1787
  ),
1784
- self.fetch_git_ahead_behind: gapic_v1.method_async.wrap_method(
1788
+ self.fetch_git_ahead_behind: self._wrap_method(
1785
1789
  self.fetch_git_ahead_behind,
1786
1790
  default_timeout=None,
1787
1791
  client_info=client_info,
1788
1792
  ),
1789
- self.commit_workspace_changes: gapic_v1.method_async.wrap_method(
1793
+ self.commit_workspace_changes: self._wrap_method(
1790
1794
  self.commit_workspace_changes,
1791
1795
  default_timeout=None,
1792
1796
  client_info=client_info,
1793
1797
  ),
1794
- self.reset_workspace_changes: gapic_v1.method_async.wrap_method(
1798
+ self.reset_workspace_changes: self._wrap_method(
1795
1799
  self.reset_workspace_changes,
1796
1800
  default_timeout=None,
1797
1801
  client_info=client_info,
1798
1802
  ),
1799
- self.fetch_file_diff: gapic_v1.method_async.wrap_method(
1803
+ self.fetch_file_diff: self._wrap_method(
1800
1804
  self.fetch_file_diff,
1801
1805
  default_timeout=None,
1802
1806
  client_info=client_info,
1803
1807
  ),
1804
- self.query_directory_contents: gapic_v1.method_async.wrap_method(
1808
+ self.query_directory_contents: self._wrap_method(
1805
1809
  self.query_directory_contents,
1806
1810
  default_timeout=None,
1807
1811
  client_info=client_info,
1808
1812
  ),
1809
- self.make_directory: gapic_v1.method_async.wrap_method(
1813
+ self.make_directory: self._wrap_method(
1810
1814
  self.make_directory,
1811
1815
  default_timeout=None,
1812
1816
  client_info=client_info,
1813
1817
  ),
1814
- self.remove_directory: gapic_v1.method_async.wrap_method(
1818
+ self.remove_directory: self._wrap_method(
1815
1819
  self.remove_directory,
1816
1820
  default_timeout=None,
1817
1821
  client_info=client_info,
1818
1822
  ),
1819
- self.move_directory: gapic_v1.method_async.wrap_method(
1823
+ self.move_directory: self._wrap_method(
1820
1824
  self.move_directory,
1821
1825
  default_timeout=None,
1822
1826
  client_info=client_info,
1823
1827
  ),
1824
- self.read_file: gapic_v1.method_async.wrap_method(
1828
+ self.read_file: self._wrap_method(
1825
1829
  self.read_file,
1826
1830
  default_timeout=None,
1827
1831
  client_info=client_info,
1828
1832
  ),
1829
- self.remove_file: gapic_v1.method_async.wrap_method(
1833
+ self.remove_file: self._wrap_method(
1830
1834
  self.remove_file,
1831
1835
  default_timeout=None,
1832
1836
  client_info=client_info,
1833
1837
  ),
1834
- self.move_file: gapic_v1.method_async.wrap_method(
1838
+ self.move_file: self._wrap_method(
1835
1839
  self.move_file,
1836
1840
  default_timeout=None,
1837
1841
  client_info=client_info,
1838
1842
  ),
1839
- self.write_file: gapic_v1.method_async.wrap_method(
1843
+ self.write_file: self._wrap_method(
1840
1844
  self.write_file,
1841
1845
  default_timeout=None,
1842
1846
  client_info=client_info,
1843
1847
  ),
1844
- self.list_release_configs: gapic_v1.method_async.wrap_method(
1848
+ self.list_release_configs: self._wrap_method(
1845
1849
  self.list_release_configs,
1846
1850
  default_timeout=None,
1847
1851
  client_info=client_info,
1848
1852
  ),
1849
- self.get_release_config: gapic_v1.method_async.wrap_method(
1853
+ self.get_release_config: self._wrap_method(
1850
1854
  self.get_release_config,
1851
1855
  default_timeout=None,
1852
1856
  client_info=client_info,
1853
1857
  ),
1854
- self.create_release_config: gapic_v1.method_async.wrap_method(
1858
+ self.create_release_config: self._wrap_method(
1855
1859
  self.create_release_config,
1856
1860
  default_timeout=None,
1857
1861
  client_info=client_info,
1858
1862
  ),
1859
- self.update_release_config: gapic_v1.method_async.wrap_method(
1863
+ self.update_release_config: self._wrap_method(
1860
1864
  self.update_release_config,
1861
1865
  default_timeout=None,
1862
1866
  client_info=client_info,
1863
1867
  ),
1864
- self.delete_release_config: gapic_v1.method_async.wrap_method(
1868
+ self.delete_release_config: self._wrap_method(
1865
1869
  self.delete_release_config,
1866
1870
  default_timeout=None,
1867
1871
  client_info=client_info,
1868
1872
  ),
1869
- self.list_compilation_results: gapic_v1.method_async.wrap_method(
1873
+ self.list_compilation_results: self._wrap_method(
1870
1874
  self.list_compilation_results,
1871
1875
  default_timeout=None,
1872
1876
  client_info=client_info,
1873
1877
  ),
1874
- self.get_compilation_result: gapic_v1.method_async.wrap_method(
1878
+ self.get_compilation_result: self._wrap_method(
1875
1879
  self.get_compilation_result,
1876
1880
  default_timeout=None,
1877
1881
  client_info=client_info,
1878
1882
  ),
1879
- self.create_compilation_result: gapic_v1.method_async.wrap_method(
1883
+ self.create_compilation_result: self._wrap_method(
1880
1884
  self.create_compilation_result,
1881
1885
  default_timeout=None,
1882
1886
  client_info=client_info,
1883
1887
  ),
1884
- self.query_compilation_result_actions: gapic_v1.method_async.wrap_method(
1888
+ self.query_compilation_result_actions: self._wrap_method(
1885
1889
  self.query_compilation_result_actions,
1886
1890
  default_timeout=None,
1887
1891
  client_info=client_info,
1888
1892
  ),
1889
- self.list_workflow_configs: gapic_v1.method_async.wrap_method(
1893
+ self.list_workflow_configs: self._wrap_method(
1890
1894
  self.list_workflow_configs,
1891
1895
  default_timeout=None,
1892
1896
  client_info=client_info,
1893
1897
  ),
1894
- self.get_workflow_config: gapic_v1.method_async.wrap_method(
1898
+ self.get_workflow_config: self._wrap_method(
1895
1899
  self.get_workflow_config,
1896
1900
  default_timeout=None,
1897
1901
  client_info=client_info,
1898
1902
  ),
1899
- self.create_workflow_config: gapic_v1.method_async.wrap_method(
1903
+ self.create_workflow_config: self._wrap_method(
1900
1904
  self.create_workflow_config,
1901
1905
  default_timeout=None,
1902
1906
  client_info=client_info,
1903
1907
  ),
1904
- self.update_workflow_config: gapic_v1.method_async.wrap_method(
1908
+ self.update_workflow_config: self._wrap_method(
1905
1909
  self.update_workflow_config,
1906
1910
  default_timeout=None,
1907
1911
  client_info=client_info,
1908
1912
  ),
1909
- self.delete_workflow_config: gapic_v1.method_async.wrap_method(
1913
+ self.delete_workflow_config: self._wrap_method(
1910
1914
  self.delete_workflow_config,
1911
1915
  default_timeout=None,
1912
1916
  client_info=client_info,
1913
1917
  ),
1914
- self.list_workflow_invocations: gapic_v1.method_async.wrap_method(
1918
+ self.list_workflow_invocations: self._wrap_method(
1915
1919
  self.list_workflow_invocations,
1916
1920
  default_timeout=None,
1917
1921
  client_info=client_info,
1918
1922
  ),
1919
- self.get_workflow_invocation: gapic_v1.method_async.wrap_method(
1923
+ self.get_workflow_invocation: self._wrap_method(
1920
1924
  self.get_workflow_invocation,
1921
1925
  default_timeout=None,
1922
1926
  client_info=client_info,
1923
1927
  ),
1924
- self.create_workflow_invocation: gapic_v1.method_async.wrap_method(
1928
+ self.create_workflow_invocation: self._wrap_method(
1925
1929
  self.create_workflow_invocation,
1926
1930
  default_timeout=None,
1927
1931
  client_info=client_info,
1928
1932
  ),
1929
- self.delete_workflow_invocation: gapic_v1.method_async.wrap_method(
1933
+ self.delete_workflow_invocation: self._wrap_method(
1930
1934
  self.delete_workflow_invocation,
1931
1935
  default_timeout=None,
1932
1936
  client_info=client_info,
1933
1937
  ),
1934
- self.cancel_workflow_invocation: gapic_v1.method_async.wrap_method(
1938
+ self.cancel_workflow_invocation: self._wrap_method(
1935
1939
  self.cancel_workflow_invocation,
1936
1940
  default_timeout=None,
1937
1941
  client_info=client_info,
1938
1942
  ),
1939
- self.query_workflow_invocation_actions: gapic_v1.method_async.wrap_method(
1943
+ self.query_workflow_invocation_actions: self._wrap_method(
1940
1944
  self.query_workflow_invocation_actions,
1941
1945
  default_timeout=None,
1942
1946
  client_info=client_info,
1943
1947
  ),
1948
+ self.get_location: self._wrap_method(
1949
+ self.get_location,
1950
+ default_timeout=None,
1951
+ client_info=client_info,
1952
+ ),
1953
+ self.list_locations: self._wrap_method(
1954
+ self.list_locations,
1955
+ default_timeout=None,
1956
+ client_info=client_info,
1957
+ ),
1958
+ self.get_iam_policy: self._wrap_method(
1959
+ self.get_iam_policy,
1960
+ default_timeout=None,
1961
+ client_info=client_info,
1962
+ ),
1963
+ self.set_iam_policy: self._wrap_method(
1964
+ self.set_iam_policy,
1965
+ default_timeout=None,
1966
+ client_info=client_info,
1967
+ ),
1968
+ self.test_iam_permissions: self._wrap_method(
1969
+ self.test_iam_permissions,
1970
+ default_timeout=None,
1971
+ client_info=client_info,
1972
+ ),
1944
1973
  }
1945
1974
 
1975
+ def _wrap_method(self, func, *args, **kwargs):
1976
+ if self._wrap_with_kind: # pragma: NO COVER
1977
+ kwargs["kind"] = self.kind
1978
+ return gapic_v1.method_async.wrap_method(func, *args, **kwargs)
1979
+
1946
1980
  def close(self):
1947
1981
  return self.grpc_channel.close()
1948
1982
 
1983
+ @property
1984
+ def kind(self) -> str:
1985
+ return "grpc_asyncio"
1986
+
1949
1987
  @property
1950
1988
  def list_locations(
1951
1989
  self,