| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package kms aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/kms/apiv1/kmspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package kms |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/kms/apiv1/kmspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/kms/apiv1/kmspb |
| 31 |
const ( |
| 32 |
CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED = src.CryptoKeyVersion_CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED |
| 33 |
CryptoKeyVersion_CRYPTO_KEY_VERSION_STATE_UNSPECIFIED = src.CryptoKeyVersion_CRYPTO_KEY_VERSION_STATE_UNSPECIFIED |
| 34 |
CryptoKeyVersion_CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED = src.CryptoKeyVersion_CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED |
| 35 |
CryptoKeyVersion_DESTROYED = src.CryptoKeyVersion_DESTROYED |
| 36 |
CryptoKeyVersion_DESTROY_SCHEDULED = src.CryptoKeyVersion_DESTROY_SCHEDULED |
| 37 |
CryptoKeyVersion_DISABLED = src.CryptoKeyVersion_DISABLED |
| 38 |
CryptoKeyVersion_EC_SIGN_P256_SHA256 = src.CryptoKeyVersion_EC_SIGN_P256_SHA256 |
| 39 |
CryptoKeyVersion_EC_SIGN_P384_SHA384 = src.CryptoKeyVersion_EC_SIGN_P384_SHA384 |
| 40 |
CryptoKeyVersion_EC_SIGN_SECP256K1_SHA256 = src.CryptoKeyVersion_EC_SIGN_SECP256K1_SHA256 |
| 41 |
CryptoKeyVersion_ENABLED = src.CryptoKeyVersion_ENABLED |
| 42 |
CryptoKeyVersion_EXTERNAL_SYMMETRIC_ENCRYPTION = src.CryptoKeyVersion_EXTERNAL_SYMMETRIC_ENCRYPTION |
| 43 |
CryptoKeyVersion_FULL = src.CryptoKeyVersion_FULL |
| 44 |
CryptoKeyVersion_GOOGLE_SYMMETRIC_ENCRYPTION = src.CryptoKeyVersion_GOOGLE_SYMMETRIC_ENCRYPTION |
| 45 |
CryptoKeyVersion_HMAC_SHA256 = src.CryptoKeyVersion_HMAC_SHA256 |
| 46 |
CryptoKeyVersion_IMPORT_FAILED = src.CryptoKeyVersion_IMPORT_FAILED |
| 47 |
CryptoKeyVersion_PENDING_GENERATION = src.CryptoKeyVersion_PENDING_GENERATION |
| 48 |
CryptoKeyVersion_PENDING_IMPORT = src.CryptoKeyVersion_PENDING_IMPORT |
| 49 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_2048_SHA1 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_2048_SHA1 |
| 50 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_2048_SHA256 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_2048_SHA256 |
| 51 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_3072_SHA1 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_3072_SHA1 |
| 52 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_3072_SHA256 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_3072_SHA256 |
| 53 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA1 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA1 |
| 54 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA256 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA256 |
| 55 |
CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA512 = src.CryptoKeyVersion_RSA_DECRYPT_OAEP_4096_SHA512 |
| 56 |
CryptoKeyVersion_RSA_SIGN_PKCS1_2048_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PKCS1_2048_SHA256 |
| 57 |
CryptoKeyVersion_RSA_SIGN_PKCS1_3072_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PKCS1_3072_SHA256 |
| 58 |
CryptoKeyVersion_RSA_SIGN_PKCS1_4096_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PKCS1_4096_SHA256 |
| 59 |
CryptoKeyVersion_RSA_SIGN_PKCS1_4096_SHA512 = src.CryptoKeyVersion_RSA_SIGN_PKCS1_4096_SHA512 |
| 60 |
CryptoKeyVersion_RSA_SIGN_PSS_2048_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PSS_2048_SHA256 |
| 61 |
CryptoKeyVersion_RSA_SIGN_PSS_3072_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PSS_3072_SHA256 |
| 62 |
CryptoKeyVersion_RSA_SIGN_PSS_4096_SHA256 = src.CryptoKeyVersion_RSA_SIGN_PSS_4096_SHA256 |
| 63 |
CryptoKeyVersion_RSA_SIGN_PSS_4096_SHA512 = src.CryptoKeyVersion_RSA_SIGN_PSS_4096_SHA512 |
| 64 |
CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_2048 = src.CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_2048 |
| 65 |
CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_3072 = src.CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_3072 |
| 66 |
CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_4096 = src.CryptoKeyVersion_RSA_SIGN_RAW_PKCS1_4096 |
| 67 |
CryptoKey_ASYMMETRIC_DECRYPT = src.CryptoKey_ASYMMETRIC_DECRYPT |
| 68 |
CryptoKey_ASYMMETRIC_SIGN = src.CryptoKey_ASYMMETRIC_SIGN |
| 69 |
CryptoKey_CRYPTO_KEY_PURPOSE_UNSPECIFIED = src.CryptoKey_CRYPTO_KEY_PURPOSE_UNSPECIFIED |
| 70 |
CryptoKey_ENCRYPT_DECRYPT = src.CryptoKey_ENCRYPT_DECRYPT |
| 71 |
CryptoKey_MAC = src.CryptoKey_MAC |
| 72 |
ImportJob_ACTIVE = src.ImportJob_ACTIVE |
| 73 |
ImportJob_EXPIRED = src.ImportJob_EXPIRED |
| 74 |
ImportJob_IMPORT_JOB_STATE_UNSPECIFIED = src.ImportJob_IMPORT_JOB_STATE_UNSPECIFIED |
| 75 |
ImportJob_IMPORT_METHOD_UNSPECIFIED = src.ImportJob_IMPORT_METHOD_UNSPECIFIED |
| 76 |
ImportJob_PENDING_GENERATION = src.ImportJob_PENDING_GENERATION |
| 77 |
ImportJob_RSA_OAEP_3072_SHA1_AES_256 = src.ImportJob_RSA_OAEP_3072_SHA1_AES_256 |
| 78 |
ImportJob_RSA_OAEP_4096_SHA1_AES_256 = src.ImportJob_RSA_OAEP_4096_SHA1_AES_256 |
| 79 |
KeyOperationAttestation_ATTESTATION_FORMAT_UNSPECIFIED = src.KeyOperationAttestation_ATTESTATION_FORMAT_UNSPECIFIED |
| 80 |
KeyOperationAttestation_CAVIUM_V1_COMPRESSED = src.KeyOperationAttestation_CAVIUM_V1_COMPRESSED |
| 81 |
KeyOperationAttestation_CAVIUM_V2_COMPRESSED = src.KeyOperationAttestation_CAVIUM_V2_COMPRESSED |
| 82 |
ProtectionLevel_EXTERNAL = src.ProtectionLevel_EXTERNAL |
| 83 |
ProtectionLevel_EXTERNAL_VPC = src.ProtectionLevel_EXTERNAL_VPC |
| 84 |
ProtectionLevel_HSM = src.ProtectionLevel_HSM |
| 85 |
ProtectionLevel_PROTECTION_LEVEL_UNSPECIFIED = src.ProtectionLevel_PROTECTION_LEVEL_UNSPECIFIED |
| 86 |
ProtectionLevel_SOFTWARE = src.ProtectionLevel_SOFTWARE |
| 87 |
) |
| 88 |
|
| 89 |
// Deprecated: Please use vars in: cloud.google.com/go/kms/apiv1/kmspb |
| 90 |
var ( |
| 91 |
CryptoKeyVersion_CryptoKeyVersionAlgorithm_name = src.CryptoKeyVersion_CryptoKeyVersionAlgorithm_name |
| 92 |
CryptoKeyVersion_CryptoKeyVersionAlgorithm_value = src.CryptoKeyVersion_CryptoKeyVersionAlgorithm_value |
| 93 |
CryptoKeyVersion_CryptoKeyVersionState_name = src.CryptoKeyVersion_CryptoKeyVersionState_name |
| 94 |
CryptoKeyVersion_CryptoKeyVersionState_value = src.CryptoKeyVersion_CryptoKeyVersionState_value |
| 95 |
CryptoKeyVersion_CryptoKeyVersionView_name = src.CryptoKeyVersion_CryptoKeyVersionView_name |
| 96 |
CryptoKeyVersion_CryptoKeyVersionView_value = src.CryptoKeyVersion_CryptoKeyVersionView_value |
| 97 |
CryptoKey_CryptoKeyPurpose_name = src.CryptoKey_CryptoKeyPurpose_name |
| 98 |
CryptoKey_CryptoKeyPurpose_value = src.CryptoKey_CryptoKeyPurpose_value |
| 99 |
File_google_cloud_kms_v1_ekm_service_proto = src.File_google_cloud_kms_v1_ekm_service_proto |
| 100 |
File_google_cloud_kms_v1_resources_proto = src.File_google_cloud_kms_v1_resources_proto |
| 101 |
File_google_cloud_kms_v1_service_proto = src.File_google_cloud_kms_v1_service_proto |
| 102 |
ImportJob_ImportJobState_name = src.ImportJob_ImportJobState_name |
| 103 |
ImportJob_ImportJobState_value = src.ImportJob_ImportJobState_value |
| 104 |
ImportJob_ImportMethod_name = src.ImportJob_ImportMethod_name |
| 105 |
ImportJob_ImportMethod_value = src.ImportJob_ImportMethod_value |
| 106 |
KeyOperationAttestation_AttestationFormat_name = src.KeyOperationAttestation_AttestationFormat_name |
| 107 |
KeyOperationAttestation_AttestationFormat_value = src.KeyOperationAttestation_AttestationFormat_value |
| 108 |
ProtectionLevel_name = src.ProtectionLevel_name |
| 109 |
ProtectionLevel_value = src.ProtectionLevel_value |
| 110 |
) |
| 111 |
|
| 112 |
// Request message for |
| 113 |
// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. |
| 114 |
// |
| 115 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 116 |
type AsymmetricDecryptRequest = src.AsymmetricDecryptRequest |
| 117 |
|
| 118 |
// Response message for |
| 119 |
// [KeyManagementService.AsymmetricDecrypt][google.cloud.kms.v1.KeyManagementService.AsymmetricDecrypt]. |
| 120 |
// |
| 121 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 122 |
type AsymmetricDecryptResponse = src.AsymmetricDecryptResponse |
| 123 |
|
| 124 |
// Request message for |
| 125 |
// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. |
| 126 |
// |
| 127 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 128 |
type AsymmetricSignRequest = src.AsymmetricSignRequest |
| 129 |
|
| 130 |
// Response message for |
| 131 |
// [KeyManagementService.AsymmetricSign][google.cloud.kms.v1.KeyManagementService.AsymmetricSign]. |
| 132 |
// |
| 133 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 134 |
type AsymmetricSignResponse = src.AsymmetricSignResponse |
| 135 |
|
| 136 |
// A [Certificate][google.cloud.kms.v1.Certificate] represents an X.509 |
| 137 |
// certificate used to authenticate HTTPS connections to EKM replicas. |
| 138 |
// |
| 139 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 140 |
type Certificate = src.Certificate |
| 141 |
|
| 142 |
// Request message for |
| 143 |
// [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey]. |
| 144 |
// |
| 145 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 146 |
type CreateCryptoKeyRequest = src.CreateCryptoKeyRequest |
| 147 |
|
| 148 |
// Request message for |
| 149 |
// [KeyManagementService.CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]. |
| 150 |
// |
| 151 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 152 |
type CreateCryptoKeyVersionRequest = src.CreateCryptoKeyVersionRequest |
| 153 |
|
| 154 |
// Request message for [KeyManagementService.CreateEkmConnection][]. |
| 155 |
// |
| 156 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 157 |
type CreateEkmConnectionRequest = src.CreateEkmConnectionRequest |
| 158 |
|
| 159 |
// Request message for |
| 160 |
// [KeyManagementService.CreateImportJob][google.cloud.kms.v1.KeyManagementService.CreateImportJob]. |
| 161 |
// |
| 162 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 163 |
type CreateImportJobRequest = src.CreateImportJobRequest |
| 164 |
|
| 165 |
// Request message for |
| 166 |
// [KeyManagementService.CreateKeyRing][google.cloud.kms.v1.KeyManagementService.CreateKeyRing]. |
| 167 |
// |
| 168 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 169 |
type CreateKeyRingRequest = src.CreateKeyRingRequest |
| 170 |
|
| 171 |
// A [CryptoKey][google.cloud.kms.v1.CryptoKey] represents a logical key that |
| 172 |
// can be used for cryptographic operations. A |
| 173 |
// [CryptoKey][google.cloud.kms.v1.CryptoKey] is made up of zero or more |
| 174 |
// [versions][google.cloud.kms.v1.CryptoKeyVersion], which represent the actual |
| 175 |
// key material used in cryptographic operations. |
| 176 |
// |
| 177 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 178 |
type CryptoKey = src.CryptoKey |
| 179 |
|
| 180 |
// A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] represents an |
| 181 |
// individual cryptographic key, and the associated key material. An |
| 182 |
// [ENABLED][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionState.ENABLED] |
| 183 |
// version can be used for cryptographic operations. For security reasons, the |
| 184 |
// raw cryptographic key material represented by a |
| 185 |
// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] can never be viewed |
| 186 |
// or exported. It can only be used to encrypt, decrypt, or sign data when an |
| 187 |
// authorized user or application invokes Cloud KMS. |
| 188 |
// |
| 189 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 190 |
type CryptoKeyVersion = src.CryptoKeyVersion |
| 191 |
|
| 192 |
// A [CryptoKeyVersionTemplate][google.cloud.kms.v1.CryptoKeyVersionTemplate] |
| 193 |
// specifies the properties to use when creating a new |
| 194 |
// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], either manually |
| 195 |
// with |
| 196 |
// [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] |
| 197 |
// or automatically as a result of auto-rotation. |
| 198 |
// |
| 199 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 200 |
type CryptoKeyVersionTemplate = src.CryptoKeyVersionTemplate |
| 201 |
|
| 202 |
// The algorithm of the |
| 203 |
// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], indicating what |
| 204 |
// parameters must be used for each cryptographic operation. The |
| 205 |
// [GOOGLE_SYMMETRIC_ENCRYPTION][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.GOOGLE_SYMMETRIC_ENCRYPTION] |
| 206 |
// algorithm is usable with |
| 207 |
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] |
| 208 |
// [ENCRYPT_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ENCRYPT_DECRYPT]. |
| 209 |
// Algorithms beginning with "RSA_SIGN_" are usable with |
| 210 |
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] |
| 211 |
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. |
| 212 |
// The fields in the name after "RSA_SIGN_" correspond to the following |
| 213 |
// parameters: padding algorithm, modulus bit length, and digest algorithm. For |
| 214 |
// PSS, the salt length used is equal to the length of digest algorithm. For |
| 215 |
// example, |
| 216 |
// [RSA_SIGN_PSS_2048_SHA256][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256] |
| 217 |
// will use PSS with a salt length of 256 bits or 32 bytes. Algorithms |
| 218 |
// beginning with "RSA_DECRYPT_" are usable with |
| 219 |
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] |
| 220 |
// [ASYMMETRIC_DECRYPT][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_DECRYPT]. |
| 221 |
// The fields in the name after "RSA_DECRYPT_" correspond to the following |
| 222 |
// parameters: padding algorithm, modulus bit length, and digest algorithm. |
| 223 |
// Algorithms beginning with "EC_SIGN_" are usable with |
| 224 |
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] |
| 225 |
// [ASYMMETRIC_SIGN][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.ASYMMETRIC_SIGN]. |
| 226 |
// The fields in the name after "EC_SIGN_" correspond to the following |
| 227 |
// parameters: elliptic curve, digest algorithm. Algorithms beginning with |
| 228 |
// "HMAC_" are usable with |
| 229 |
// [CryptoKey.purpose][google.cloud.kms.v1.CryptoKey.purpose] |
| 230 |
// [MAC][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose.MAC]. The suffix |
| 231 |
// following "HMAC_" corresponds to the hash algorithm being used (eg. SHA256). |
| 232 |
// For more information, see [Key purposes and algorithms] |
| 233 |
// (https://cloud.google.com/kms/docs/algorithms). |
| 234 |
// |
| 235 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 236 |
type CryptoKeyVersion_CryptoKeyVersionAlgorithm = src.CryptoKeyVersion_CryptoKeyVersionAlgorithm |
| 237 |
|
| 238 |
// The state of a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion], |
| 239 |
// indicating if it can be used. |
| 240 |
// |
| 241 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 242 |
type CryptoKeyVersion_CryptoKeyVersionState = src.CryptoKeyVersion_CryptoKeyVersionState |
| 243 |
|
| 244 |
// A view for [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]s. |
| 245 |
// Controls the level of detail returned for |
| 246 |
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] in |
| 247 |
// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions] |
| 248 |
// and |
| 249 |
// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. |
| 250 |
// |
| 251 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 252 |
type CryptoKeyVersion_CryptoKeyVersionView = src.CryptoKeyVersion_CryptoKeyVersionView |
| 253 |
|
| 254 |
// [CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] |
| 255 |
// describes the cryptographic capabilities of a |
| 256 |
// [CryptoKey][google.cloud.kms.v1.CryptoKey]. A given key can only be used for |
| 257 |
// the operations allowed by its purpose. For more information, see [Key |
| 258 |
// purposes](https://cloud.google.com/kms/docs/algorithms#key_purposes). |
| 259 |
// |
| 260 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 261 |
type CryptoKey_CryptoKeyPurpose = src.CryptoKey_CryptoKeyPurpose |
| 262 |
type CryptoKey_RotationPeriod = src.CryptoKey_RotationPeriod |
| 263 |
|
| 264 |
// Request message for |
| 265 |
// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. |
| 266 |
// |
| 267 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 268 |
type DecryptRequest = src.DecryptRequest |
| 269 |
|
| 270 |
// Response message for |
| 271 |
// [KeyManagementService.Decrypt][google.cloud.kms.v1.KeyManagementService.Decrypt]. |
| 272 |
// |
| 273 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 274 |
type DecryptResponse = src.DecryptResponse |
| 275 |
|
| 276 |
// Request message for |
| 277 |
// [KeyManagementService.DestroyCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.DestroyCryptoKeyVersion]. |
| 278 |
// |
| 279 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 280 |
type DestroyCryptoKeyVersionRequest = src.DestroyCryptoKeyVersionRequest |
| 281 |
|
| 282 |
// A [Digest][google.cloud.kms.v1.Digest] holds a cryptographic message |
| 283 |
// digest. |
| 284 |
// |
| 285 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 286 |
type Digest = src.Digest |
| 287 |
type Digest_Sha256 = src.Digest_Sha256 |
| 288 |
type Digest_Sha384 = src.Digest_Sha384 |
| 289 |
type Digest_Sha512 = src.Digest_Sha512 |
| 290 |
|
| 291 |
// An [EkmConnection][google.cloud.kms.v1.EkmConnection] represents an |
| 292 |
// individual EKM connection. It can be used for creating |
| 293 |
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and |
| 294 |
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] with a |
| 295 |
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of |
| 296 |
// [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as |
| 297 |
// performing cryptographic operations using keys created within the |
| 298 |
// [EkmConnection][google.cloud.kms.v1.EkmConnection]. |
| 299 |
// |
| 300 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 301 |
type EkmConnection = src.EkmConnection |
| 302 |
|
| 303 |
// A [ServiceResolver][google.cloud.kms.v1.EkmConnection.ServiceResolver] |
| 304 |
// represents an EKM replica that can be reached within an |
| 305 |
// [EkmConnection][google.cloud.kms.v1.EkmConnection]. |
| 306 |
// |
| 307 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 308 |
type EkmConnection_ServiceResolver = src.EkmConnection_ServiceResolver |
| 309 |
|
| 310 |
// EkmServiceClient is the client API for EkmService service. For semantics |
| 311 |
// around ctx use and closing/ending streaming RPCs, please refer to |
| 312 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 313 |
// |
| 314 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 315 |
type EkmServiceClient = src.EkmServiceClient |
| 316 |
|
| 317 |
// EkmServiceServer is the server API for EkmService service. |
| 318 |
// |
| 319 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 320 |
type EkmServiceServer = src.EkmServiceServer |
| 321 |
|
| 322 |
// Request message for |
| 323 |
// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. |
| 324 |
// |
| 325 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 326 |
type EncryptRequest = src.EncryptRequest |
| 327 |
|
| 328 |
// Response message for |
| 329 |
// [KeyManagementService.Encrypt][google.cloud.kms.v1.KeyManagementService.Encrypt]. |
| 330 |
// |
| 331 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 332 |
type EncryptResponse = src.EncryptResponse |
| 333 |
|
| 334 |
// ExternalProtectionLevelOptions stores a group of additional fields for |
| 335 |
// configuring a [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] that |
| 336 |
// are specific to the [EXTERNAL][google.cloud.kms.v1.ProtectionLevel.EXTERNAL] |
| 337 |
// protection level and |
| 338 |
// [EXTERNAL_VPC][google.cloud.kms.v1.ProtectionLevel.EXTERNAL_VPC] protection |
| 339 |
// levels. |
| 340 |
// |
| 341 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 342 |
type ExternalProtectionLevelOptions = src.ExternalProtectionLevelOptions |
| 343 |
|
| 344 |
// Request message for |
| 345 |
// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. |
| 346 |
// |
| 347 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 348 |
type GenerateRandomBytesRequest = src.GenerateRandomBytesRequest |
| 349 |
|
| 350 |
// Response message for |
| 351 |
// [KeyManagementService.GenerateRandomBytes][google.cloud.kms.v1.KeyManagementService.GenerateRandomBytes]. |
| 352 |
// |
| 353 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 354 |
type GenerateRandomBytesResponse = src.GenerateRandomBytesResponse |
| 355 |
|
| 356 |
// Request message for |
| 357 |
// [KeyManagementService.GetCryptoKey][google.cloud.kms.v1.KeyManagementService.GetCryptoKey]. |
| 358 |
// |
| 359 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 360 |
type GetCryptoKeyRequest = src.GetCryptoKeyRequest |
| 361 |
|
| 362 |
// Request message for |
| 363 |
// [KeyManagementService.GetCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.GetCryptoKeyVersion]. |
| 364 |
// |
| 365 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 366 |
type GetCryptoKeyVersionRequest = src.GetCryptoKeyVersionRequest |
| 367 |
|
| 368 |
// Request message for [KeyManagementService.GetEkmConnection][]. |
| 369 |
// |
| 370 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 371 |
type GetEkmConnectionRequest = src.GetEkmConnectionRequest |
| 372 |
|
| 373 |
// Request message for |
| 374 |
// [KeyManagementService.GetImportJob][google.cloud.kms.v1.KeyManagementService.GetImportJob]. |
| 375 |
// |
| 376 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 377 |
type GetImportJobRequest = src.GetImportJobRequest |
| 378 |
|
| 379 |
// Request message for |
| 380 |
// [KeyManagementService.GetKeyRing][google.cloud.kms.v1.KeyManagementService.GetKeyRing]. |
| 381 |
// |
| 382 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 383 |
type GetKeyRingRequest = src.GetKeyRingRequest |
| 384 |
|
| 385 |
// Request message for |
| 386 |
// [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. |
| 387 |
// |
| 388 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 389 |
type GetPublicKeyRequest = src.GetPublicKeyRequest |
| 390 |
|
| 391 |
// Request message for |
| 392 |
// [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. |
| 393 |
// |
| 394 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 395 |
type ImportCryptoKeyVersionRequest = src.ImportCryptoKeyVersionRequest |
| 396 |
type ImportCryptoKeyVersionRequest_RsaAesWrappedKey = src.ImportCryptoKeyVersionRequest_RsaAesWrappedKey |
| 397 |
|
| 398 |
// An [ImportJob][google.cloud.kms.v1.ImportJob] can be used to create |
| 399 |
// [CryptoKeys][google.cloud.kms.v1.CryptoKey] and |
| 400 |
// [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] using pre-existing |
| 401 |
// key material, generated outside of Cloud KMS. When an |
| 402 |
// [ImportJob][google.cloud.kms.v1.ImportJob] is created, Cloud KMS will |
| 403 |
// generate a "wrapping key", which is a public/private key pair. You use the |
| 404 |
// wrapping key to encrypt (also known as wrap) the pre-existing key material |
| 405 |
// to protect it during the import process. The nature of the wrapping key |
| 406 |
// depends on the choice of |
| 407 |
// [import_method][google.cloud.kms.v1.ImportJob.import_method]. When the |
| 408 |
// wrapping key generation is complete, the |
| 409 |
// [state][google.cloud.kms.v1.ImportJob.state] will be set to |
| 410 |
// [ACTIVE][google.cloud.kms.v1.ImportJob.ImportJobState.ACTIVE] and the |
| 411 |
// [public_key][google.cloud.kms.v1.ImportJob.public_key] can be fetched. The |
| 412 |
// fetched public key can then be used to wrap your pre-existing key material. |
| 413 |
// Once the key material is wrapped, it can be imported into a new |
| 414 |
// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] in an existing |
| 415 |
// [CryptoKey][google.cloud.kms.v1.CryptoKey] by calling |
| 416 |
// [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]. |
| 417 |
// Multiple [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion] can be |
| 418 |
// imported with a single [ImportJob][google.cloud.kms.v1.ImportJob]. Cloud KMS |
| 419 |
// uses the private key portion of the wrapping key to unwrap the key material. |
| 420 |
// Only Cloud KMS has access to the private key. An |
| 421 |
// [ImportJob][google.cloud.kms.v1.ImportJob] expires 3 days after it is |
| 422 |
// created. Once expired, Cloud KMS will no longer be able to import or unwrap |
| 423 |
// any key material that was wrapped with the |
| 424 |
// [ImportJob][google.cloud.kms.v1.ImportJob]'s public key. For more |
| 425 |
// information, see [Importing a |
| 426 |
// key](https://cloud.google.com/kms/docs/importing-a-key). |
| 427 |
// |
| 428 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 429 |
type ImportJob = src.ImportJob |
| 430 |
|
| 431 |
// The state of the [ImportJob][google.cloud.kms.v1.ImportJob], indicating if |
| 432 |
// it can be used. |
| 433 |
// |
| 434 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 435 |
type ImportJob_ImportJobState = src.ImportJob_ImportJobState |
| 436 |
|
| 437 |
// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the |
| 438 |
// key wrapping method chosen for this |
| 439 |
// [ImportJob][google.cloud.kms.v1.ImportJob]. |
| 440 |
// |
| 441 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 442 |
type ImportJob_ImportMethod = src.ImportJob_ImportMethod |
| 443 |
|
| 444 |
// The public key component of the wrapping key. For details of the type of |
| 445 |
// key this public key corresponds to, see the |
| 446 |
// [ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod]. |
| 447 |
// |
| 448 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 449 |
type ImportJob_WrappingPublicKey = src.ImportJob_WrappingPublicKey |
| 450 |
|
| 451 |
// KeyManagementServiceClient is the client API for KeyManagementService |
| 452 |
// service. For semantics around ctx use and closing/ending streaming RPCs, |
| 453 |
// please refer to |
| 454 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 455 |
// |
| 456 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 457 |
type KeyManagementServiceClient = src.KeyManagementServiceClient |
| 458 |
|
| 459 |
// KeyManagementServiceServer is the server API for KeyManagementService |
| 460 |
// service. |
| 461 |
// |
| 462 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 463 |
type KeyManagementServiceServer = src.KeyManagementServiceServer |
| 464 |
|
| 465 |
// Contains an HSM-generated attestation about a key operation. For more |
| 466 |
// information, see [Verifying attestations] |
| 467 |
// (https://cloud.google.com/kms/docs/attest-key). |
| 468 |
// |
| 469 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 470 |
type KeyOperationAttestation = src.KeyOperationAttestation |
| 471 |
|
| 472 |
// Attestation formats provided by the HSM. |
| 473 |
// |
| 474 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 475 |
type KeyOperationAttestation_AttestationFormat = src.KeyOperationAttestation_AttestationFormat |
| 476 |
|
| 477 |
// Certificate chains needed to verify the attestation. Certificates in chains |
| 478 |
// are PEM-encoded and are ordered based on |
| 479 |
// https://tools.ietf.org/html/rfc5246#section-7.4.2. |
| 480 |
// |
| 481 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 482 |
type KeyOperationAttestation_CertificateChains = src.KeyOperationAttestation_CertificateChains |
| 483 |
|
| 484 |
// A [KeyRing][google.cloud.kms.v1.KeyRing] is a toplevel logical grouping of |
| 485 |
// [CryptoKeys][google.cloud.kms.v1.CryptoKey]. |
| 486 |
// |
| 487 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 488 |
type KeyRing = src.KeyRing |
| 489 |
|
| 490 |
// Request message for |
| 491 |
// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. |
| 492 |
// |
| 493 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 494 |
type ListCryptoKeyVersionsRequest = src.ListCryptoKeyVersionsRequest |
| 495 |
|
| 496 |
// Response message for |
| 497 |
// [KeyManagementService.ListCryptoKeyVersions][google.cloud.kms.v1.KeyManagementService.ListCryptoKeyVersions]. |
| 498 |
// |
| 499 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 500 |
type ListCryptoKeyVersionsResponse = src.ListCryptoKeyVersionsResponse |
| 501 |
|
| 502 |
// Request message for |
| 503 |
// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. |
| 504 |
// |
| 505 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 506 |
type ListCryptoKeysRequest = src.ListCryptoKeysRequest |
| 507 |
|
| 508 |
// Response message for |
| 509 |
// [KeyManagementService.ListCryptoKeys][google.cloud.kms.v1.KeyManagementService.ListCryptoKeys]. |
| 510 |
// |
| 511 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 512 |
type ListCryptoKeysResponse = src.ListCryptoKeysResponse |
| 513 |
|
| 514 |
// Request message for [KeyManagementService.ListEkmConnections][]. |
| 515 |
// |
| 516 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 517 |
type ListEkmConnectionsRequest = src.ListEkmConnectionsRequest |
| 518 |
|
| 519 |
// Response message for [KeyManagementService.ListEkmConnections][]. |
| 520 |
// |
| 521 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 522 |
type ListEkmConnectionsResponse = src.ListEkmConnectionsResponse |
| 523 |
|
| 524 |
// Request message for |
| 525 |
// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. |
| 526 |
// |
| 527 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 528 |
type ListImportJobsRequest = src.ListImportJobsRequest |
| 529 |
|
| 530 |
// Response message for |
| 531 |
// [KeyManagementService.ListImportJobs][google.cloud.kms.v1.KeyManagementService.ListImportJobs]. |
| 532 |
// |
| 533 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 534 |
type ListImportJobsResponse = src.ListImportJobsResponse |
| 535 |
|
| 536 |
// Request message for |
| 537 |
// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. |
| 538 |
// |
| 539 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 540 |
type ListKeyRingsRequest = src.ListKeyRingsRequest |
| 541 |
|
| 542 |
// Response message for |
| 543 |
// [KeyManagementService.ListKeyRings][google.cloud.kms.v1.KeyManagementService.ListKeyRings]. |
| 544 |
// |
| 545 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 546 |
type ListKeyRingsResponse = src.ListKeyRingsResponse |
| 547 |
|
| 548 |
// Cloud KMS metadata for the given |
| 549 |
// [google.cloud.location.Location][google.cloud.location.Location]. |
| 550 |
// |
| 551 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 552 |
type LocationMetadata = src.LocationMetadata |
| 553 |
|
| 554 |
// Request message for |
| 555 |
// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. |
| 556 |
// |
| 557 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 558 |
type MacSignRequest = src.MacSignRequest |
| 559 |
|
| 560 |
// Response message for |
| 561 |
// [KeyManagementService.MacSign][google.cloud.kms.v1.KeyManagementService.MacSign]. |
| 562 |
// |
| 563 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 564 |
type MacSignResponse = src.MacSignResponse |
| 565 |
|
| 566 |
// Request message for |
| 567 |
// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. |
| 568 |
// |
| 569 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 570 |
type MacVerifyRequest = src.MacVerifyRequest |
| 571 |
|
| 572 |
// Response message for |
| 573 |
// [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify]. |
| 574 |
// |
| 575 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 576 |
type MacVerifyResponse = src.MacVerifyResponse |
| 577 |
|
| 578 |
// [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] specifies how |
| 579 |
// cryptographic operations are performed. For more information, see |
| 580 |
// [Protection levels] |
| 581 |
// (https://cloud.google.com/kms/docs/algorithms#protection_levels). |
| 582 |
// |
| 583 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 584 |
type ProtectionLevel = src.ProtectionLevel |
| 585 |
|
| 586 |
// The public key for a given |
| 587 |
// [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]. Obtained via |
| 588 |
// [GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey]. |
| 589 |
// |
| 590 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 591 |
type PublicKey = src.PublicKey |
| 592 |
|
| 593 |
// Request message for |
| 594 |
// [KeyManagementService.RestoreCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.RestoreCryptoKeyVersion]. |
| 595 |
// |
| 596 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 597 |
type RestoreCryptoKeyVersionRequest = src.RestoreCryptoKeyVersionRequest |
| 598 |
|
| 599 |
// UnimplementedEkmServiceServer can be embedded to have forward compatible |
| 600 |
// implementations. |
| 601 |
// |
| 602 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 603 |
type UnimplementedEkmServiceServer = src.UnimplementedEkmServiceServer |
| 604 |
|
| 605 |
// UnimplementedKeyManagementServiceServer can be embedded to have forward |
| 606 |
// compatible implementations. |
| 607 |
// |
| 608 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 609 |
type UnimplementedKeyManagementServiceServer = src.UnimplementedKeyManagementServiceServer |
| 610 |
|
| 611 |
// Request message for |
| 612 |
// [KeyManagementService.UpdateCryptoKeyPrimaryVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyPrimaryVersion]. |
| 613 |
// |
| 614 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 615 |
type UpdateCryptoKeyPrimaryVersionRequest = src.UpdateCryptoKeyPrimaryVersionRequest |
| 616 |
|
| 617 |
// Request message for |
| 618 |
// [KeyManagementService.UpdateCryptoKey][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKey]. |
| 619 |
// |
| 620 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 621 |
type UpdateCryptoKeyRequest = src.UpdateCryptoKeyRequest |
| 622 |
|
| 623 |
// Request message for |
| 624 |
// [KeyManagementService.UpdateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.UpdateCryptoKeyVersion]. |
| 625 |
// |
| 626 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 627 |
type UpdateCryptoKeyVersionRequest = src.UpdateCryptoKeyVersionRequest |
| 628 |
|
| 629 |
// Request message for [KeyManagementService.UpdateEkmConnection][]. |
| 630 |
// |
| 631 |
// Deprecated: Please use types in: cloud.google.com/go/kms/apiv1/kmspb |
| 632 |
type UpdateEkmConnectionRequest = src.UpdateEkmConnectionRequest |
| 633 |
|
| 634 |
// Deprecated: Please use funcs in: cloud.google.com/go/kms/apiv1/kmspb |
| 635 |
func NewEkmServiceClient(cc grpc.ClientConnInterface) EkmServiceClient { |
| 636 |
return src.NewEkmServiceClient(cc) |
| 637 |
} |
| 638 |
|
| 639 |
// Deprecated: Please use funcs in: cloud.google.com/go/kms/apiv1/kmspb |
| 640 |
func NewKeyManagementServiceClient(cc grpc.ClientConnInterface) KeyManagementServiceClient { |
| 641 |
return src.NewKeyManagementServiceClient(cc) |
| 642 |
} |
| 643 |
|
| 644 |
// Deprecated: Please use funcs in: cloud.google.com/go/kms/apiv1/kmspb |
| 645 |
func RegisterEkmServiceServer(s *grpc.Server, srv EkmServiceServer) { |
| 646 |
src.RegisterEkmServiceServer(s, srv) |
| 647 |
} |
| 648 |
|
| 649 |
// Deprecated: Please use funcs in: cloud.google.com/go/kms/apiv1/kmspb |
| 650 |
func RegisterKeyManagementServiceServer(s *grpc.Server, srv KeyManagementServiceServer) { |
| 651 |
src.RegisterKeyManagementServiceServer(s, srv) |
| 652 |
} |