Skip to content

Commit c84e8b8

Browse files
[CHANGE ME] Re-generated kms to pick up changes in the API or client library generator.
1 parent fd126fd commit c84e8b8

16 files changed

Lines changed: 3132 additions & 4382 deletions

kms/google/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
try:
1818
import pkg_resources
19-
2019
pkg_resources.declare_namespace(__name__)
2120
except ImportError:
2221
import pkgutil
23-
2422
__path__ = pkgutil.extend_path(__path__, __name__)

kms/google/cloud/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616

1717
try:
1818
import pkg_resources
19-
2019
pkg_resources.declare_namespace(__name__)
2120
except ImportError:
2221
import pkgutil
23-
2422
__path__ = pkgutil.extend_path(__path__, __name__)

kms/google/cloud/kms.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,8 @@
2020
from google.cloud.kms_v1 import enums
2121
from google.cloud.kms_v1 import types
2222

23-
__all__ = ("enums", "types", "KeyManagementServiceClient")
23+
__all__ = (
24+
'enums',
25+
'types',
26+
'KeyManagementServiceClient',
27+
)

kms/google/cloud/kms_v1/__init__.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@
2222

2323

2424
class KeyManagementServiceClient(
25-
key_management_service_client.KeyManagementServiceClient
26-
):
25+
key_management_service_client.KeyManagementServiceClient):
2726
__doc__ = key_management_service_client.KeyManagementServiceClient.__doc__
2827
enums = enums
2928

3029

31-
__all__ = ("enums", "types", "KeyManagementServiceClient")
30+
__all__ = (
31+
'enums',
32+
'types',
33+
'KeyManagementServiceClient',
34+
)

kms/google/cloud/kms_v1/gapic/enums.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class ProtectionLevel(enum.IntEnum):
2828
SOFTWARE (int): Crypto operations are performed in software.
2929
HSM (int): Crypto operations are performed in a Hardware Security Module.
3030
"""
31-
3231
PROTECTION_LEVEL_UNSPECIFIED = 0
3332
SOFTWARE = 1
3433
HSM = 2
@@ -50,7 +49,6 @@ class CryptoKeyPurpose(enum.IntEnum):
5049
ASYMMETRIC_DECRYPT (int): ``CryptoKeys`` with this purpose may be used with ``AsymmetricDecrypt``
5150
and ``GetPublicKey``.
5251
"""
53-
5452
CRYPTO_KEY_PURPOSE_UNSPECIFIED = 0
5553
ENCRYPT_DECRYPT = 1
5654
ASYMMETRIC_SIGN = 5
@@ -104,7 +102,6 @@ class CryptoKeyVersionAlgorithm(enum.IntEnum):
104102
EC_SIGN_P256_SHA256 (int): ECDSA on the NIST P-256 curve with a SHA256 digest.
105103
EC_SIGN_P384_SHA384 (int): ECDSA on the NIST P-384 curve with a SHA384 digest.
106104
"""
107-
108105
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = 0
109106
GOOGLE_SYMMETRIC_ENCRYPTION = 1
110107
RSA_SIGN_PSS_2048_SHA256 = 2
@@ -137,7 +134,6 @@ class CryptoKeyVersionState(enum.IntEnum):
137134
Call ``RestoreCryptoKeyVersion`` to put it back into the ``DISABLED``
138135
state.
139136
"""
140-
141137
CRYPTO_KEY_VERSION_STATE_UNSPECIFIED = 0
142138
PENDING_GENERATION = 5
143139
ENABLED = 1
@@ -158,7 +154,6 @@ class CryptoKeyVersionView(enum.IntEnum):
158154
FULL (int): Provides all fields in each ``CryptoKeyVersion``, including the
159155
``attestation``.
160156
"""
161-
162157
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = 0
163158
FULL = 1
164159

@@ -173,6 +168,5 @@ class AttestationFormat(enum.IntEnum):
173168
CAVIUM_V1_COMPRESSED (int): Cavium HSM attestation compressed with gzip. Note that this format is
174169
defined by Cavium and subject to change at any time.
175170
"""
176-
177171
ATTESTATION_FORMAT_UNSPECIFIED = 0
178172
CAVIUM_V1_COMPRESSED = 3

0 commit comments

Comments
 (0)