Skip to content
Permalink
Browse files
feat(regen): add ProtectionLevel.EXTERNAL (#47)
Also switches to proto annotations
  • Loading branch information
yoshi-automation authored and chingor13 committed Jan 6, 2020
1 parent 1b7d2de commit f64572c2af3d2ac1394ae12c89c5c23657249912
Showing with 4,051 additions and 1,793 deletions.
  1. +49 −36 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceClient.java
  2. +2 −1 google-cloud-kms/src/main/java/com/google/cloud/kms/v1/package-info.java
  3. +5 −0 grpc-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyManagementServiceGrpc.java
  4. +25 −11 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequest.java
  5. +7 −3 ...-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricDecryptRequestOrBuilder.java
  6. +42 −19 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequest.java
  7. +9 −5 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/AsymmetricSignRequestOrBuilder.java
  8. +73 −38 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequest.java
  9. +17 −10 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyRequestOrBuilder.java
  10. +69 −31 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequest.java
  11. +18 −8 ...le-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateCryptoKeyVersionRequestOrBuilder.java
  12. +61 −26 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequest.java
  13. +14 −7 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateImportJobRequestOrBuilder.java
  14. +64 −38 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequest.java
  15. +17 −10 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CreateKeyRingRequestOrBuilder.java
  16. +152 −81 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKey.java
  17. +37 −21 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyOrBuilder.java
  18. +270 −107 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersion.java
  19. +63 −28 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionOrBuilder.java
  20. +21 −7 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplate.java
  21. +6 −2 ...-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/CryptoKeyVersionTemplateOrBuilder.java
  22. +36 −19 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequest.java
  23. +9 −5 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DecryptRequestOrBuilder.java
  24. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequest.java
  25. +8 −4 ...e-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/DestroyCryptoKeyVersionRequestOrBuilder.java
  26. +36 −19 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequest.java
  27. +9 −5 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptRequestOrBuilder.java
  28. +14 −7 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponse.java
  29. +4 −2 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/EncryptResponseOrBuilder.java
  30. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequest.java
  31. +8 −4 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyRequestOrBuilder.java
  32. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequest.java
  33. +8 −4 ...oogle-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetCryptoKeyVersionRequestOrBuilder.java
  34. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequest.java
  35. +8 −4 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetImportJobRequestOrBuilder.java
  36. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequest.java
  37. +8 −4 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetKeyRingRequestOrBuilder.java
  38. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequest.java
  39. +8 −4 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/GetPublicKeyRequestOrBuilder.java
  40. +65 −21 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequest.java
  41. +18 −6 ...le-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportCryptoKeyVersionRequestOrBuilder.java
  42. +294 −128 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJob.java
  43. +72 −34 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ImportJobOrBuilder.java
  44. +25 −11 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestation.java
  45. +7 −3 ...o-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyOperationAttestationOrBuilder.java
  46. +40 −19 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRing.java
  47. +8 −5 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KeyRingOrBuilder.java
  48. +243 −196 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsProto.java
  49. +123 −94 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/KmsResourcesProto.java
  50. +106 −57 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequest.java
  51. +30 −16 ...gle-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeyVersionsRequestOrBuilder.java
  52. +106 −57 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequest.java
  53. +30 −16 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListCryptoKeysRequestOrBuilder.java
  54. +106 −57 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequest.java
  55. +30 −16 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListImportJobsRequestOrBuilder.java
  56. +106 −57 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequest.java
  57. +30 −16 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ListKeyRingsRequestOrBuilder.java
  58. +22 −0 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/ProtectionLevel.java
  59. +28 −14 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequest.java
  60. +8 −4 ...e-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/RestoreCryptoKeyVersionRequestOrBuilder.java
  61. +42 −28 ...ogle-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequest.java
  62. +12 −8 ...d-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyPrimaryVersionRequestOrBuilder.java
  63. +84 −48 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequest.java
  64. +21 −12 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyRequestOrBuilder.java
  65. +84 −48 proto-google-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequest.java
  66. +21 −12 ...le-cloud-kms-v1/src/main/java/com/google/cloud/kms/v1/UpdateCryptoKeyVersionRequestOrBuilder.java
  67. +82 −53 proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/resources.proto
  68. +259 −98 proto-google-cloud-kms-v1/src/main/proto/google/cloud/kms/v1/service.proto
  69. +604 −5 synth.metadata
@@ -48,7 +48,8 @@
* following objects:
*
* <p>&#42; [KeyRing][google.cloud.kms.v1.KeyRing] &#42; [CryptoKey][google.cloud.kms.v1.CryptoKey]
* &#42; [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* &#42; [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] &#42;
* [ImportJob][google.cloud.kms.v1.ImportJob]
*
* <p>If you are using manual gRPC libraries, see [Using gRPC with Cloud
* KMS](https://cloud.google.com/kms/docs/grpc).
@@ -716,7 +717,7 @@ public final ListCryptoKeyVersionsPagedResponse listCryptoKeyVersions(
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.KeyRing.name] of the
* @param name Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
* [KeyRing][google.cloud.kms.v1.KeyRing] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -740,7 +741,7 @@ public final KeyRing getKeyRing(KeyRingName name) {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.KeyRing.name] of the
* @param name Required. The [name][google.cloud.kms.v1.KeyRing.name] of the
* [KeyRing][google.cloud.kms.v1.KeyRing] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -808,7 +809,7 @@ public final UnaryCallable<GetKeyRingRequest, KeyRing> getKeyRingCallable() {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.ImportJob.name] of the
* @param name Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
* [ImportJob][google.cloud.kms.v1.ImportJob] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -832,7 +833,7 @@ public final ImportJob getImportJob(ImportJobName name) {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.ImportJob.name] of the
* @param name Required. The [name][google.cloud.kms.v1.ImportJob.name] of the
* [ImportJob][google.cloud.kms.v1.ImportJob] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -902,7 +903,7 @@ public final UnaryCallable<GetImportJobRequest, ImportJob> getImportJobCallable(
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKey.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
* [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -928,7 +929,7 @@ public final CryptoKey getCryptoKey(CryptoKeyName name) {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKey.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
* [CryptoKey][google.cloud.kms.v1.CryptoKey] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -1000,7 +1001,7 @@ public final UnaryCallable<GetCryptoKeyRequest, CryptoKey> getCryptoKeyCallable(
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -1026,7 +1027,7 @@ public final CryptoKeyVersion getCryptoKeyVersion(CryptoKeyVersionName name) {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -1102,7 +1103,7 @@ public final CryptoKeyVersion getCryptoKeyVersion(GetCryptoKeyVersionRequest req
* [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/&#42;/locations/&#42;`.
* @param keyRingId Required. It must be unique within a location and match the regular expression
* `[a-zA-Z0-9_-]{1,63}`
* @param keyRing A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
* @param keyRing Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final KeyRing createKeyRing(LocationName parent, String keyRingId, KeyRing keyRing) {
@@ -1135,7 +1136,7 @@ public final KeyRing createKeyRing(LocationName parent, String keyRingId, KeyRin
* [KeyRings][google.cloud.kms.v1.KeyRing], in the format `projects/&#42;/locations/&#42;`.
* @param keyRingId Required. It must be unique within a location and match the regular expression
* `[a-zA-Z0-9_-]{1,63}`
* @param keyRing A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
* @param keyRing Required. A [KeyRing][google.cloud.kms.v1.KeyRing] with initial field values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final KeyRing createKeyRing(String parent, String keyRingId, KeyRing keyRing) {
@@ -1395,7 +1396,8 @@ public final UnaryCallable<CreateImportJobRequest, ImportJob> createImportJobCal
* with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
* @param cryptoKeyId Required. It must be unique within a KeyRing and match the regular
* expression `[a-zA-Z0-9_-]{1,63}`
* @param cryptoKey A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
* @param cryptoKey Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
* values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKey createCryptoKey(
@@ -1447,7 +1449,8 @@ public final CryptoKey createCryptoKey(
* with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].
* @param cryptoKeyId Required. It must be unique within a KeyRing and match the regular
* expression `[a-zA-Z0-9_-]{1,63}`
* @param cryptoKey A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.
* @param cryptoKey Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field
* values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKey createCryptoKey(String parent, String cryptoKeyId, CryptoKey cryptoKey) {
@@ -1572,8 +1575,8 @@ public final UnaryCallable<CreateCryptoKeyRequest, CryptoKey> createCryptoKeyCal
* @param parent Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
* [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
* [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
* @param cryptoKeyVersion A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial
* field values.
* @param cryptoKeyVersion Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* with initial field values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion createCryptoKeyVersion(
@@ -1609,8 +1612,8 @@ public final CryptoKeyVersion createCryptoKeyVersion(
* @param parent Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the
* [CryptoKey][google.cloud.kms.v1.CryptoKey] associated with the
* [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion].
* @param cryptoKeyVersion A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with initial
* field values.
* @param cryptoKeyVersion Required. A [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* with initial field values.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion createCryptoKeyVersion(
@@ -1762,8 +1765,8 @@ public final CryptoKeyVersion importCryptoKeyVersion(ImportCryptoKeyVersionReque
* }
* </code></pre>
*
* @param cryptoKey [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values.
* @param updateMask Required list of fields to be updated in this request.
* @param cryptoKey Required. [CryptoKey][google.cloud.kms.v1.CryptoKey] with updated values.
* @param updateMask Required. List of fields to be updated in this request.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKey updateCryptoKey(CryptoKey cryptoKey, FieldMask updateMask) {
@@ -1847,9 +1850,9 @@ public final UnaryCallable<UpdateCryptoKeyRequest, CryptoKey> updateCryptoKeyCal
* }
* </code></pre>
*
* @param cryptoKeyVersion [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with updated
* values.
* @param updateMask Required list of fields to be updated in this request.
* @param cryptoKeyVersion Required. [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] with
* updated values.
* @param updateMask Required. List of fields to be updated in this request.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion updateCryptoKeyVersion(
@@ -2196,8 +2199,9 @@ public final UnaryCallable<DecryptRequest, DecryptResponse> decryptCallable() {
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
* @param cryptoKeyVersionId The id of the child
* @param name Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to
* update.
* @param cryptoKeyVersionId Required. The id of the child
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -2229,8 +2233,9 @@ public final CryptoKey updateCryptoKeyPrimaryVersion(
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to update.
* @param cryptoKeyVersionId The id of the child
* @param name Required. The resource name of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to
* update.
* @param cryptoKeyVersionId Required. The id of the child
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to use as primary.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -2327,8 +2332,8 @@ public final CryptoKey updateCryptoKeyPrimaryVersion(
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* to destroy.
* @param name Required. The resource name of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion destroyCryptoKeyVersion(CryptoKeyVersionName name) {
@@ -2366,8 +2371,8 @@ public final CryptoKeyVersion destroyCryptoKeyVersion(CryptoKeyVersionName name)
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* to destroy.
* @param name Required. The resource name of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to destroy.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion destroyCryptoKeyVersion(String name) {
@@ -2469,8 +2474,8 @@ public final CryptoKeyVersion destroyCryptoKeyVersion(DestroyCryptoKeyVersionReq
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* to restore.
* @param name Required. The resource name of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion restoreCryptoKeyVersion(CryptoKeyVersionName name) {
@@ -2502,8 +2507,8 @@ public final CryptoKeyVersion restoreCryptoKeyVersion(CryptoKeyVersionName name)
* }
* </code></pre>
*
* @param name The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* to restore.
* @param name Required. The resource name of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] to restore.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final CryptoKeyVersion restoreCryptoKeyVersion(String name) {
@@ -2589,7 +2594,7 @@ public final CryptoKeyVersion restoreCryptoKeyVersion(RestoreCryptoKeyVersionReq
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -2616,7 +2621,7 @@ public final PublicKey getPublicKey(CryptoKeyVersionName name) {
* }
* </code></pre>
*
* @param name The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* @param name Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the
* [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -2922,6 +2927,8 @@ public final AsymmetricSignResponse asymmetricSign(AsymmetricSignRequest request
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -2953,6 +2960,8 @@ public final Policy setIamPolicy(KeyName resource, Policy policy) {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -2981,6 +2990,8 @@ public final Policy setIamPolicy(String resource, Policy policy) {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -3006,6 +3017,8 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
/**
* Sets the access control policy on the specified resource. Replaces any existing policy.
*
* <p>Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
*
* <p>Sample code:
*
* <pre><code>
@@ -27,7 +27,8 @@
* following objects:
*
* <p>&#42; [KeyRing][google.cloud.kms.v1.KeyRing] &#42; [CryptoKey][google.cloud.kms.v1.CryptoKey]
* &#42; [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* &#42; [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] &#42;
* [ImportJob][google.cloud.kms.v1.ImportJob]
*
* <p>If you are using manual gRPC libraries, see [Using gRPC with Cloud
* KMS](https://cloud.google.com/kms/docs/grpc).
@@ -32,6 +32,7 @@
* * [KeyRing][google.cloud.kms.v1.KeyRing]
* * [CryptoKey][google.cloud.kms.v1.CryptoKey]
* * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* * [ImportJob][google.cloud.kms.v1.ImportJob]
* If you are using manual gRPC libraries, see
* [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
* </pre>
@@ -1380,6 +1381,7 @@ public static KeyManagementServiceFutureStub newFutureStub(io.grpc.Channel chann
* * [KeyRing][google.cloud.kms.v1.KeyRing]
* * [CryptoKey][google.cloud.kms.v1.CryptoKey]
* * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* * [ImportJob][google.cloud.kms.v1.ImportJob]
* If you are using manual gRPC libraries, see
* [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
* </pre>
@@ -1899,6 +1901,7 @@ public final io.grpc.ServerServiceDefinition bindService() {
* * [KeyRing][google.cloud.kms.v1.KeyRing]
* * [CryptoKey][google.cloud.kms.v1.CryptoKey]
* * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* * [ImportJob][google.cloud.kms.v1.ImportJob]
* If you are using manual gRPC libraries, see
* [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
* </pre>
@@ -2345,6 +2348,7 @@ public void restoreCryptoKeyVersion(
* * [KeyRing][google.cloud.kms.v1.KeyRing]
* * [CryptoKey][google.cloud.kms.v1.CryptoKey]
* * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* * [ImportJob][google.cloud.kms.v1.ImportJob]
* If you are using manual gRPC libraries, see
* [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
* </pre>
@@ -2715,6 +2719,7 @@ public com.google.cloud.kms.v1.CryptoKeyVersion restoreCryptoKeyVersion(
* * [KeyRing][google.cloud.kms.v1.KeyRing]
* * [CryptoKey][google.cloud.kms.v1.CryptoKey]
* * [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion]
* * [ImportJob][google.cloud.kms.v1.ImportJob]
* If you are using manual gRPC libraries, see
* [Using gRPC with Cloud KMS](https://cloud.google.com/kms/docs/grpc).
* </pre>

0 comments on commit f64572c

Please sign in to comment.