Hello community,

here is the log from the commit of package python-google-cloud-kms for 
openSUSE:Factory checked in at 2019-09-27 14:46:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-kms (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-cloud-kms"

Fri Sep 27 14:46:49 2019 rev:3 rq:730381 version:1.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-cloud-kms/python-google-cloud-kms.changes
  2019-07-04 15:43:12.354103062 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-cloud-kms.new.2352/python-google-cloud-kms.changes
        2019-09-27 14:46:54.881004059 +0200
@@ -1,0 +2,9 @@
+Thu Sep 12 11:37:53 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Update to 1.2.1:
+  * Remove send/recv msg size limit (via synth). (#8959)
+  * Accomodate new location of 'IAMPolicyStub' (via synth). (#8679)
+  * Add 'options_' argument to client's 'get_iam_policy'; pin black version 
(via synth). (#8656)
+  * Add 'client_options' support, update list method docstrings (via synth). 
(#8514)
+
+-------------------------------------------------------------------

Old:
----
  google-cloud-kms-1.1.0.tar.gz

New:
----
  google-cloud-kms-1.2.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-google-cloud-kms.spec ++++++
--- /var/tmp/diff_new_pack.5KSIdr/_old  2019-09-27 14:46:57.264997860 +0200
+++ /var/tmp/diff_new_pack.5KSIdr/_new  2019-09-27 14:46:57.280997817 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-google-cloud-kms
-Version:        1.1.0
+Version:        1.2.1
 Release:        0
 Summary:        Cloud Key Management Service (KMS) API API client library
 License:        Apache-2.0
@@ -29,17 +29,17 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-enum34
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-enum34
-Requires:       python-google-api-core >= 1.6.0
-Requires:       python-grpc-google-iam-v1 >= 0.11.4
+Requires:       python-google-api-core >= 1.14.0
+Requires:       python-grpc-google-iam-v1 >= 0.12.3
 BuildArch:      noarch
 %ifpython2
 Requires:       python-enum34
 %endif
 # SECTION test requirements
-BuildRequires:  %{python_module google-api-core >= 1.6.0}
-BuildRequires:  %{python_module grpc-google-iam-v1 >= 0.11.4}
+BuildRequires:  %{python_module google-api-core >= 1.14.0}
+BuildRequires:  %{python_module grpc-google-iam-v1 >= 0.12.3}
 # /SECTION
 %python_subpackages
 

++++++ google-cloud-kms-1.1.0.tar.gz -> google-cloud-kms-1.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/google-cloud-kms-1.1.0/PKG-INFO 
new/google-cloud-kms-1.2.1/PKG-INFO
--- old/google-cloud-kms-1.1.0/PKG-INFO 2019-06-28 18:24:14.000000000 +0200
+++ new/google-cloud-kms-1.2.1/PKG-INFO 2019-08-15 18:57:19.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: google-cloud-kms
-Version: 1.1.0
+Version: 1.2.1
 Summary: Cloud Key Management Service (KMS) API API client library
 Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
 Author: Google LLC
@@ -9,7 +9,7 @@
 Description: Python Client for Cloud Key Management Service (KMS) API
         ========================================================
         
-        |GA| |pypi| |versions|
+        |GA| |pypi| |versions| |compat_check_pypi| |compat_check_github|
         
         `Cloud Key Management Service (KMS) API`_: Manages keys and performs
         cryptographic operations in a central cloud service, for direct use by 
other
@@ -24,8 +24,12 @@
            :target: https://pypi.org/project/google-cloud-kms/
         .. |versions| image:: 
https://img.shields.io/pypi/pyversions/google-cloud-kms.svg
            :target: https://pypi.org/project/google-cloud-kms/
+        .. |compat_check_pypi| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=google-cloud-kms
+           :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=google-cloud-kms
+        .. |compat_check_github| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
+           :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
         .. _Cloud Key Management Service (KMS) API: 
https://cloud.google.com/kms
-        .. _Client Library Documentation: 
https://googleapis.github.io/google-cloud-python/latest/kms/index.html
+        .. _Client Library Documentation: 
https://googleapis.dev/python/cloudkms/latest
         .. _Product Documentation:  https://cloud.google.com/kms
         
         Quick Start
@@ -41,7 +45,7 @@
         .. _Select or create a Cloud Platform project.: 
https://console.cloud.google.com/project
         .. _Enable billing for your project.: 
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
         .. _Enable the Cloud Key Management Service (KMS) API.:  
https://cloud.google.com/kms
-        .. _Setup Authentication.: 
https://googleapis.github.io/google-cloud-python/latest/core/auth.html
+        .. _Setup Authentication.: 
https://googleapis.dev/python/google-api-core/latest/auth.html
         
         Installation
         ~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/google-cloud-kms-1.1.0/README.rst 
new/google-cloud-kms-1.2.1/README.rst
--- old/google-cloud-kms-1.1.0/README.rst       2019-06-28 18:22:02.000000000 
+0200
+++ new/google-cloud-kms-1.2.1/README.rst       2019-08-15 18:54:37.000000000 
+0200
@@ -1,7 +1,7 @@
 Python Client for Cloud Key Management Service (KMS) API
 ========================================================
 
-|GA| |pypi| |versions|
+|GA| |pypi| |versions| |compat_check_pypi| |compat_check_github|
 
 `Cloud Key Management Service (KMS) API`_: Manages keys and performs
 cryptographic operations in a central cloud service, for direct use by other
@@ -16,8 +16,12 @@
    :target: https://pypi.org/project/google-cloud-kms/
 .. |versions| image:: 
https://img.shields.io/pypi/pyversions/google-cloud-kms.svg
    :target: https://pypi.org/project/google-cloud-kms/
+.. |compat_check_pypi| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=google-cloud-kms
+   :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=google-cloud-kms
+.. |compat_check_github| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
+   :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
 .. _Cloud Key Management Service (KMS) API: https://cloud.google.com/kms
-.. _Client Library Documentation: 
https://googleapis.github.io/google-cloud-python/latest/kms/index.html
+.. _Client Library Documentation: https://googleapis.dev/python/cloudkms/latest
 .. _Product Documentation:  https://cloud.google.com/kms
 
 Quick Start
@@ -33,7 +37,7 @@
 .. _Select or create a Cloud Platform project.: 
https://console.cloud.google.com/project
 .. _Enable billing for your project.: 
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
 .. _Enable the Cloud Key Management Service (KMS) API.:  
https://cloud.google.com/kms
-.. _Setup Authentication.: 
https://googleapis.github.io/google-cloud-python/latest/core/auth.html
+.. _Setup Authentication.: 
https://googleapis.dev/python/google-api-core/latest/auth.html
 
 Installation
 ~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/key_management_service_client.py
 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/key_management_service_client.py
--- 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/key_management_service_client.py
       2019-06-28 18:22:02.000000000 +0200
+++ 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/key_management_service_client.py
       2019-08-15 18:54:37.000000000 +0200
@@ -21,6 +21,7 @@
 import warnings
 
 from google.oauth2 import service_account
+import google.api_core.client_options
 import google.api_core.gapic_v1.client_info
 import google.api_core.gapic_v1.config
 import google.api_core.gapic_v1.method
@@ -38,6 +39,8 @@
 from google.cloud.kms_v1.proto import service_pb2
 from google.cloud.kms_v1.proto import service_pb2_grpc
 from google.iam.v1 import iam_policy_pb2
+from google.iam.v1 import iam_policy_pb2_grpc
+from google.iam.v1 import options_pb2
 from google.iam.v1 import policy_pb2
 from google.protobuf import field_mask_pb2
 
@@ -160,6 +163,7 @@
         credentials=None,
         client_config=None,
         client_info=None,
+        client_options=None,
     ):
         """Constructor.
 
@@ -190,6 +194,9 @@
                 API requests. If ``None``, then default info will be used.
                 Generally, you only need to set this if you're developing
                 your own client library.
+            client_options (Union[dict, 
google.api_core.client_options.ClientOptions]):
+                Client options used to set user options on the client. API 
Endpoint
+                should be set through client_options.
         """
         # Raise deprecation warnings for things we want to go away.
         if client_config is not None:
@@ -208,6 +215,15 @@
                 stacklevel=2,
             )
 
+        api_endpoint = self.SERVICE_ADDRESS
+        if client_options:
+            if type(client_options) == dict:
+                client_options = google.api_core.client_options.from_dict(
+                    client_options
+                )
+            if client_options.api_endpoint:
+                api_endpoint = client_options.api_endpoint
+
         # Instantiate the transport.
         # The transport is responsible for handling serialization and
         # deserialization and actually sending data to the service.
@@ -216,6 +232,7 @@
                 self.transport = transport(
                     credentials=credentials,
                     
default_class=key_management_service_grpc_transport.KeyManagementServiceGrpcTransport,
+                    address=api_endpoint,
                 )
             else:
                 if credentials:
@@ -226,7 +243,7 @@
                 self.transport = transport
         else:
             self.transport = 
key_management_service_grpc_transport.KeyManagementServiceGrpcTransport(
-                address=self.SERVICE_ADDRESS, channel=channel, 
credentials=credentials
+                address=api_endpoint, channel=channel, credentials=credentials
             )
 
         if client_info is None:
@@ -298,8 +315,8 @@
             order_by (str): Optional. Specify how the results should be 
sorted. If not specified, the
                 results will be sorted in the default order.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -307,10 +324,10 @@
                 that is provided to the method.
 
         Returns:
-            A :class:`~google.gax.PageIterator` instance. By default, this
-            is an iterable of :class:`~google.cloud.kms_v1.types.KeyRing` 
instances.
-            This object can also be configured to iterate over the pages
-            of the response through the `options` parameter.
+            A :class:`~google.api_core.page_iterator.PageIterator` instance.
+            An iterable of :class:`~google.cloud.kms_v1.types.KeyRing` 
instances.
+            You can also iterate over the pages of the response
+            using its `pages` property.
 
         Raises:
             google.api_core.exceptions.GoogleAPICallError: If the request
@@ -407,8 +424,8 @@
             order_by (str): Optional. Specify how the results should be 
sorted. If not specified, the
                 results will be sorted in the default order.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -416,10 +433,10 @@
                 that is provided to the method.
 
         Returns:
-            A :class:`~google.gax.PageIterator` instance. By default, this
-            is an iterable of :class:`~google.cloud.kms_v1.types.ImportJob` 
instances.
-            This object can also be configured to iterate over the pages
-            of the response through the `options` parameter.
+            A :class:`~google.api_core.page_iterator.PageIterator` instance.
+            An iterable of :class:`~google.cloud.kms_v1.types.ImportJob` 
instances.
+            You can also iterate over the pages of the response
+            using its `pages` property.
 
         Raises:
             google.api_core.exceptions.GoogleAPICallError: If the request
@@ -518,8 +535,8 @@
             order_by (str): Optional. Specify how the results should be 
sorted. If not specified, the
                 results will be sorted in the default order.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -527,10 +544,10 @@
                 that is provided to the method.
 
         Returns:
-            A :class:`~google.gax.PageIterator` instance. By default, this
-            is an iterable of :class:`~google.cloud.kms_v1.types.CryptoKey` 
instances.
-            This object can also be configured to iterate over the pages
-            of the response through the `options` parameter.
+            A :class:`~google.api_core.page_iterator.PageIterator` instance.
+            An iterable of :class:`~google.cloud.kms_v1.types.CryptoKey` 
instances.
+            You can also iterate over the pages of the response
+            using its `pages` property.
 
         Raises:
             google.api_core.exceptions.GoogleAPICallError: If the request
@@ -633,8 +650,8 @@
             order_by (str): Optional. Specify how the results should be 
sorted. If not specified, the
                 results will be sorted in the default order.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -642,10 +659,10 @@
                 that is provided to the method.
 
         Returns:
-            A :class:`~google.gax.PageIterator` instance. By default, this
-            is an iterable of 
:class:`~google.cloud.kms_v1.types.CryptoKeyVersion` instances.
-            This object can also be configured to iterate over the pages
-            of the response through the `options` parameter.
+            A :class:`~google.api_core.page_iterator.PageIterator` instance.
+            An iterable of 
:class:`~google.cloud.kms_v1.types.CryptoKeyVersion` instances.
+            You can also iterate over the pages of the response
+            using its `pages` property.
 
         Raises:
             google.api_core.exceptions.GoogleAPICallError: If the request
@@ -722,8 +739,8 @@
         Args:
             name (str): The ``name`` of the ``KeyRing`` to get.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -791,8 +808,8 @@
         Args:
             name (str): The ``name`` of the ``ImportJob`` to get.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -861,8 +878,8 @@
         Args:
             name (str): The ``name`` of the ``CryptoKey`` to get.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -930,8 +947,8 @@
         Args:
             name (str): The ``name`` of the ``CryptoKeyVersion`` to get.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1014,8 +1031,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.KeyRing`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1101,8 +1118,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.ImportJob`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1196,8 +1213,8 @@
                 ``CryptoKeyVersions``. You must manually call 
``CreateCryptoKeyVersion``
                 or ``ImportCryptoKeyVersion`` before you can use this 
``CryptoKey``.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1282,8 +1299,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.CryptoKeyVersion`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1391,8 +1408,8 @@
                 This format is the same as the format produced by PKCS#11 
mechanism
                 CKM\_RSA\_AES\_KEY\_WRAP.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1483,8 +1500,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.FieldMask`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1570,8 +1587,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.FieldMask`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1664,8 +1681,8 @@
                 keys, the combined length of the plaintext and
                 additional\_authenticated\_data fields must be no larger than 
8KiB.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1748,8 +1765,8 @@
             additional_authenticated_data (bytes): Optional data that must 
match the data originally supplied in
                 ``EncryptRequest.additional_authenticated_data``.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1828,8 +1845,8 @@
             name (str): The resource name of the ``CryptoKey`` to update.
             crypto_key_version_id (str): The id of the child 
``CryptoKeyVersion`` to use as primary.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1911,8 +1928,8 @@
         Args:
             name (str): The resource name of the ``CryptoKeyVersion`` to 
destroy.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -1983,8 +2000,8 @@
         Args:
             name (str): The resource name of the ``CryptoKeyVersion`` to 
restore.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2054,8 +2071,8 @@
         Args:
             name (str): The ``name`` of the ``CryptoKeyVersion`` public key to 
get.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2132,8 +2149,8 @@
             ciphertext (bytes): Required. The data encrypted with the named 
``CryptoKeyVersion``'s
                 public key using OAEP.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2214,8 +2231,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.Digest`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2296,8 +2313,8 @@
                 If a dict is provided, it must be of the same form as the 
protobuf
                 message :class:`~google.cloud.kms_v1.types.Policy`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2346,6 +2363,7 @@
     def get_iam_policy(
         self,
         resource,
+        options_=None,
         retry=google.api_core.gapic_v1.method.DEFAULT,
         timeout=google.api_core.gapic_v1.method.DEFAULT,
         metadata=None,
@@ -2366,9 +2384,14 @@
         Args:
             resource (str): REQUIRED: The resource for which the policy is 
being requested.
                 See the operation documentation for the appropriate value for 
this field.
+            options_ (Union[dict, 
~google.cloud.kms_v1.types.GetPolicyOptions]): OPTIONAL: A ``GetPolicyOptions`` 
object for specifying options to
+                ``GetIamPolicy``. This field is only used by Cloud IAM.
+
+                If a dict is provided, it must be of the same form as the 
protobuf
+                message :class:`~google.cloud.kms_v1.types.GetPolicyOptions`
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
@@ -2396,7 +2419,9 @@
                 client_info=self._client_info,
             )
 
-        request = iam_policy_pb2.GetIamPolicyRequest(resource=resource)
+        request = iam_policy_pb2.GetIamPolicyRequest(
+            resource=resource, options=options_
+        )
         if metadata is None:
             metadata = []
         metadata = list(metadata)
@@ -2451,8 +2476,8 @@
                 information see `IAM
                 Overview 
<https://cloud.google.com/iam/docs/overview#permissions>`__.
             retry (Optional[google.api_core.retry.Retry]):  A retry object used
-                to retry requests. If ``None`` is specified, requests will not
-                be retried.
+                to retry requests. If ``None`` is specified, requests will
+                be retried using a default configuration.
             timeout (Optional[float]): The amount of time, in seconds, to wait
                 for the request to complete. Note that if ``retry`` is
                 specified, the timeout applies to each individual attempt.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/key_management_service_client_config.py
 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/key_management_service_client_config.py
--- 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/key_management_service_client_config.py
        2019-06-28 18:22:02.000000000 +0200
+++ 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/key_management_service_client_config.py
        2019-08-15 18:54:37.000000000 +0200
@@ -2,8 +2,10 @@
     "interfaces": {
         "google.cloud.kms.v1.KeyManagementService": {
             "retry_codes": {
+                "retryable": ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"],
                 "idempotent": ["DEADLINE_EXCEEDED", "UNAVAILABLE"],
                 "non_idempotent": [],
+                "non_retryable": [],
             },
             "retry_params": {
                 "default": {
@@ -19,132 +21,132 @@
             "methods": {
                 "ListKeyRings": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "ListImportJobs": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "ListCryptoKeys": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "ListCryptoKeyVersions": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetKeyRing": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetImportJob": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetCryptoKey": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "CreateKeyRing": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "CreateImportJob": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "CreateCryptoKey": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "CreateCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "non_retryable",
                     "retry_params_name": "default",
                 },
                 "ImportCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "non_retryable",
                     "retry_params_name": "default",
                 },
                 "UpdateCryptoKey": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "UpdateCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "Encrypt": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "Decrypt": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "UpdateCryptoKeyPrimaryVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "DestroyCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "RestoreCryptoKeyVersion": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetPublicKey": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "AsymmetricDecrypt": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "AsymmetricSign": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "SetIamPolicy": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "GetIamPolicy": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
                 "TestIamPermissions": {
                     "timeout_millis": 60000,
-                    "retry_codes_name": "non_idempotent",
+                    "retry_codes_name": "retryable",
                     "retry_params_name": "default",
                 },
             },
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py
 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py
--- 
old/google-cloud-kms-1.1.0/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py
    2019-06-28 18:22:02.000000000 +0200
+++ 
new/google-cloud-kms-1.2.1/google/cloud/kms_v1/gapic/transports/key_management_service_grpc_transport.py
    2019-08-15 18:54:37.000000000 +0200
@@ -18,7 +18,7 @@
 import google.api_core.grpc_helpers
 
 from google.cloud.kms_v1.proto import service_pb2_grpc
-from google.iam.v1 import iam_policy_pb2
+from google.iam.v1 import iam_policy_pb2_grpc as iam_policy_pb2_grpc
 
 
 class KeyManagementServiceGrpcTransport(object):
@@ -62,7 +62,14 @@
 
         # Create the channel.
         if channel is None:
-            channel = self.create_channel(address=address, 
credentials=credentials)
+            channel = self.create_channel(
+                address=address,
+                credentials=credentials,
+                options={
+                    "grpc.max_send_message_length": -1,
+                    "grpc.max_receive_message_length": -1,
+                }.items(),
+            )
 
         self._channel = channel
 
@@ -72,7 +79,7 @@
             "key_management_service_stub": 
service_pb2_grpc.KeyManagementServiceStub(
                 channel
             ),
-            "iam_policy_stub": iam_policy_pb2.IAMPolicyStub(channel),
+            "iam_policy_stub": iam_policy_pb2_grpc.IAMPolicyStub(channel),
         }
 
     @classmethod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-kms-1.1.0/google_cloud_kms.egg-info/PKG-INFO 
new/google-cloud-kms-1.2.1/google_cloud_kms.egg-info/PKG-INFO
--- old/google-cloud-kms-1.1.0/google_cloud_kms.egg-info/PKG-INFO       
2019-06-28 18:24:14.000000000 +0200
+++ new/google-cloud-kms-1.2.1/google_cloud_kms.egg-info/PKG-INFO       
2019-08-15 18:57:19.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: google-cloud-kms
-Version: 1.1.0
+Version: 1.2.1
 Summary: Cloud Key Management Service (KMS) API API client library
 Home-page: https://github.com/GoogleCloudPlatform/google-cloud-python
 Author: Google LLC
@@ -9,7 +9,7 @@
 Description: Python Client for Cloud Key Management Service (KMS) API
         ========================================================
         
-        |GA| |pypi| |versions|
+        |GA| |pypi| |versions| |compat_check_pypi| |compat_check_github|
         
         `Cloud Key Management Service (KMS) API`_: Manages keys and performs
         cryptographic operations in a central cloud service, for direct use by 
other
@@ -24,8 +24,12 @@
            :target: https://pypi.org/project/google-cloud-kms/
         .. |versions| image:: 
https://img.shields.io/pypi/pyversions/google-cloud-kms.svg
            :target: https://pypi.org/project/google-cloud-kms/
+        .. |compat_check_pypi| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=google-cloud-kms
+           :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=google-cloud-kms
+        .. |compat_check_github| image:: 
https://python-compatibility-tools.appspot.com/one_badge_image?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
+           :target: 
https://python-compatibility-tools.appspot.com/one_badge_target?package=git%2Bgit%3A//github.com/googleapis/google-cloud-python.git%23subdirectory%3Dkms
         .. _Cloud Key Management Service (KMS) API: 
https://cloud.google.com/kms
-        .. _Client Library Documentation: 
https://googleapis.github.io/google-cloud-python/latest/kms/index.html
+        .. _Client Library Documentation: 
https://googleapis.dev/python/cloudkms/latest
         .. _Product Documentation:  https://cloud.google.com/kms
         
         Quick Start
@@ -41,7 +45,7 @@
         .. _Select or create a Cloud Platform project.: 
https://console.cloud.google.com/project
         .. _Enable billing for your project.: 
https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
         .. _Enable the Cloud Key Management Service (KMS) API.:  
https://cloud.google.com/kms
-        .. _Setup Authentication.: 
https://googleapis.github.io/google-cloud-python/latest/core/auth.html
+        .. _Setup Authentication.: 
https://googleapis.dev/python/google-api-core/latest/auth.html
         
         Installation
         ~~~~~~~~~~~~
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-kms-1.1.0/google_cloud_kms.egg-info/requires.txt 
new/google-cloud-kms-1.2.1/google_cloud_kms.egg-info/requires.txt
--- old/google-cloud-kms-1.1.0/google_cloud_kms.egg-info/requires.txt   
2019-06-28 18:24:14.000000000 +0200
+++ new/google-cloud-kms-1.2.1/google_cloud_kms.egg-info/requires.txt   
2019-08-15 18:57:19.000000000 +0200
@@ -1,5 +1,5 @@
-google-api-core[grpc]<2.0.0dev,>=1.6.0
-grpc-google-iam-v1<0.12dev,>=0.11.4
+google-api-core[grpc]<2.0.0dev,>=1.14.0
+grpc-google-iam-v1<0.13dev,>=0.12.3
 
 [:python_version < "3.4"]
 enum34
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/google-cloud-kms-1.1.0/setup.py 
new/google-cloud-kms-1.2.1/setup.py
--- old/google-cloud-kms-1.1.0/setup.py 2019-06-28 18:22:02.000000000 +0200
+++ new/google-cloud-kms-1.2.1/setup.py 2019-08-15 18:54:37.000000000 +0200
@@ -21,11 +21,11 @@
 
 name = "google-cloud-kms"
 description = "Cloud Key Management Service (KMS) API API client library"
-version = "1.1.0"
+version = "1.2.1"
 release_status = "Development Status :: 5 - Production/Stable"
 dependencies = [
-    "google-api-core[grpc] >= 1.6.0, < 2.0.0dev",
-    "grpc-google-iam-v1 >= 0.11.4, < 0.12dev",
+    "google-api-core[grpc] >= 1.14.0, < 2.0.0dev",
+    "grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
     'enum34; python_version < "3.4"',
 ]
 


Reply via email to