google-cloud-secret_manager-v1 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ require 'google/protobuf/empty_pb'
15
15
  require 'google/protobuf/field_mask_pb'
16
16
 
17
17
 
18
- descriptor_data = "\n+google/cloud/secretmanager/v1/service.proto\x12\x1dgoogle.cloud.secretmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/secretmanager/v1/resources.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x9f\x01\n\x12ListSecretsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"z\n\x13ListSecretsResponse\x12\x36\n\x07secrets\x18\x01 \x03(\x0b\x32%.google.cloud.secretmanager.v1.Secret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\xae\x01\n\x13\x43reateSecretRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tsecret_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06secret\x18\x03 \x01(\x0b\x32%.google.cloud.secretmanager.v1.SecretB\x03\xe0\x41\x02\"\x9a\x01\n\x17\x41\x64\x64SecretVersionRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x42\n\x07payload\x18\x02 \x01(\x0b\x32,.google.cloud.secretmanager.v1.SecretPayloadB\x03\xe0\x41\x02\"M\n\x10GetSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\"\x9e\x01\n\x19ListSecretVersionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x1aListSecretVersionsResponse\x12>\n\x08versions\x18\x01 \x03(\x0b\x32,.google.cloud.secretmanager.v1.SecretVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"[\n\x17GetSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x87\x01\n\x13UpdateSecretRequest\x12:\n\x06secret\x18\x01 \x01(\x0b\x32%.google.cloud.secretmanager.v1.SecretB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"^\n\x1a\x41\x63\x63\x65ssSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x9b\x01\n\x1b\x41\x63\x63\x65ssSecretVersionResponse\x12=\n\x04name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12=\n\x07payload\x18\x02 \x01(\x0b\x32,.google.cloud.secretmanager.v1.SecretPayload\"c\n\x13\x44\x65leteSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"r\n\x1b\x44isableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"q\n\x1a\x45nableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"r\n\x1b\x44\x65stroySecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xcf\x15\n\x14SecretManagerService\x12\xa6\x01\n\x0bListSecrets\x12\x31.google.cloud.secretmanager.v1.ListSecretsRequest\x1a\x32.google.cloud.secretmanager.v1.ListSecretsResponse\"0\xda\x41\x06parent\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{parent=projects/*}/secrets\x12\xb4\x01\n\x0c\x43reateSecret\x12\x32.google.cloud.secretmanager.v1.CreateSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\"I\xda\x41\x17parent,secret_id,secret\x82\xd3\xe4\x93\x02)\"\x1f/v1/{parent=projects/*}/secrets:\x06secret\x12\xc2\x01\n\x10\x41\x64\x64SecretVersion\x12\x36.google.cloud.secretmanager.v1.AddSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"H\xda\x41\x0eparent,payload\x82\xd3\xe4\x93\x02\x31\",/v1/{parent=projects/*/secrets/*}:addVersion:\x01*\x12\x93\x01\n\tGetSecret\x12/.google.cloud.secretmanager.v1.GetSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!\x12\x1f/v1/{name=projects/*/secrets/*}\x12\xb6\x01\n\x0cUpdateSecret\x12\x32.google.cloud.secretmanager.v1.UpdateSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\"K\xda\x41\x12secret,update_mask\x82\xd3\xe4\x93\x02\x30\x32&/v1/{secret.name=projects/*/secrets/*}:\x06secret\x12\x8a\x01\n\x0c\x44\x65leteSecret\x12\x32.google.cloud.secretmanager.v1.DeleteSecretRequest\x1a\x16.google.protobuf.Empty\".\xda\x41\x04name\x82\xd3\xe4\x93\x02!*\x1f/v1/{name=projects/*/secrets/*}\x12\xc6\x01\n\x12ListSecretVersions\x12\x38.google.cloud.secretmanager.v1.ListSecretVersionsRequest\x1a\x39.google.cloud.secretmanager.v1.ListSecretVersionsResponse\";\xda\x41\x06parent\x82\xd3\xe4\x93\x02,\x12*/v1/{parent=projects/*/secrets/*}/versions\x12\xb3\x01\n\x10GetSecretVersion\x12\x36.google.cloud.secretmanager.v1.GetSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"9\xda\x41\x04name\x82\xd3\xe4\x93\x02,\x12*/v1/{name=projects/*/secrets/*/versions/*}\x12\xce\x01\n\x13\x41\x63\x63\x65ssSecretVersion\x12\x39.google.cloud.secretmanager.v1.AccessSecretVersionRequest\x1a:.google.cloud.secretmanager.v1.AccessSecretVersionResponse\"@\xda\x41\x04name\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/secrets/*/versions/*}:access\x12\xc6\x01\n\x14\x44isableSecretVersion\x12:.google.cloud.secretmanager.v1.DisableSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/secrets/*/versions/*}:disable:\x01*\x12\xc3\x01\n\x13\x45nableSecretVersion\x12\x39.google.cloud.secretmanager.v1.EnableSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"C\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/secrets/*/versions/*}:enable:\x01*\x12\xc6\x01\n\x14\x44\x65stroySecretVersion\x12:.google.cloud.secretmanager.v1.DestroySecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/secrets/*/versions/*}:destroy:\x01*\x12\x86\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\";\x82\xd3\xe4\x93\x02\x35\"0/v1/{resource=projects/*/secrets/*}:setIamPolicy:\x01*\x12\x83\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{resource=projects/*/secrets/*}:getIamPolicy\x12\xac\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"A\x82\xd3\xe4\x93\x02;\"6/v1/{resource=projects/*/secrets/*}:testIamPermissions:\x01*\x1aP\xca\x41\x1csecretmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n!com.google.cloud.secretmanager.v1B\x0cServiceProtoP\x01ZGcloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb\xf8\x01\x01\xa2\x02\x03GSM\xaa\x02\x1dGoogle.Cloud.SecretManager.V1\xca\x02\x1dGoogle\\Cloud\\SecretManager\\V1\xea\x02 Google::Cloud::SecretManager::V1b\x06proto3"
18
+ descriptor_data = "\n+google/cloud/secretmanager/v1/service.proto\x12\x1dgoogle.cloud.secretmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/secretmanager/v1/resources.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x97\x01\n\x12ListSecretsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#secretmanager.googleapis.com/Secret\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"z\n\x13ListSecretsResponse\x12\x36\n\x07secrets\x18\x01 \x03(\x0b\x32%.google.cloud.secretmanager.v1.Secret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"\xa6\x01\n\x13\x43reateSecretRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#secretmanager.googleapis.com/Secret\x12\x16\n\tsecret_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06secret\x18\x03 \x01(\x0b\x32%.google.cloud.secretmanager.v1.SecretB\x03\xe0\x41\x02\"\x9a\x01\n\x17\x41\x64\x64SecretVersionRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x42\n\x07payload\x18\x02 \x01(\x0b\x32,.google.cloud.secretmanager.v1.SecretPayloadB\x03\xe0\x41\x02\"M\n\x10GetSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\"\x9e\x01\n\x19ListSecretVersionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\x89\x01\n\x1aListSecretVersionsResponse\x12>\n\x08versions\x18\x01 \x03(\x0b\x32,.google.cloud.secretmanager.v1.SecretVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x12\n\ntotal_size\x18\x03 \x01(\x05\"[\n\x17GetSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x87\x01\n\x13UpdateSecretRequest\x12:\n\x06secret\x18\x01 \x01(\x0b\x32%.google.cloud.secretmanager.v1.SecretB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"^\n\x1a\x41\x63\x63\x65ssSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\"\x9b\x01\n\x1b\x41\x63\x63\x65ssSecretVersionResponse\x12=\n\x04name\x18\x01 \x01(\tB/\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12=\n\x07payload\x18\x02 \x01(\x0b\x32,.google.cloud.secretmanager.v1.SecretPayload\"c\n\x13\x44\x65leteSecretRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#secretmanager.googleapis.com/Secret\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"r\n\x1b\x44isableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"q\n\x1a\x45nableSecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"r\n\x1b\x44\x65stroySecretVersionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x02\xfa\x41,\n*secretmanager.googleapis.com/SecretVersion\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\x32\xe8\x1c\n\x14SecretManagerService\x12\xd5\x01\n\x0bListSecrets\x12\x31.google.cloud.secretmanager.v1.ListSecretsRequest\x1a\x32.google.cloud.secretmanager.v1.ListSecretsResponse\"_\xda\x41\x06parent\x82\xd3\xe4\x93\x02P\x12\x1f/v1/{parent=projects/*}/secretsZ-\x12+/v1/{parent=projects/*/locations/*}/secrets\x12\xec\x01\n\x0c\x43reateSecret\x12\x32.google.cloud.secretmanager.v1.CreateSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\"\x80\x01\xda\x41\x17parent,secret_id,secret\x82\xd3\xe4\x93\x02`\"\x1f/v1/{parent=projects/*}/secrets:\x06secretZ5\"+/v1/{parent=projects/*/locations/*}/secrets:\x06secret\x12\x82\x02\n\x10\x41\x64\x64SecretVersion\x12\x36.google.cloud.secretmanager.v1.AddSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"\x87\x01\xda\x41\x0eparent,payload\x82\xd3\xe4\x93\x02p\",/v1/{parent=projects/*/secrets/*}:addVersion:\x01*Z=\"8/v1/{parent=projects/*/locations/*/secrets/*}:addVersion:\x01*\x12\xc2\x01\n\tGetSecret\x12/.google.cloud.secretmanager.v1.GetSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\"]\xda\x41\x04name\x82\xd3\xe4\x93\x02P\x12\x1f/v1/{name=projects/*/secrets/*}Z-\x12+/v1/{name=projects/*/locations/*/secrets/*}\x12\xf5\x01\n\x0cUpdateSecret\x12\x32.google.cloud.secretmanager.v1.UpdateSecretRequest\x1a%.google.cloud.secretmanager.v1.Secret\"\x89\x01\xda\x41\x12secret,update_mask\x82\xd3\xe4\x93\x02n2&/v1/{secret.name=projects/*/secrets/*}:\x06secretZ<22/v1/{secret.name=projects/*/locations/*/secrets/*}:\x06secret\x12\xb9\x01\n\x0c\x44\x65leteSecret\x12\x32.google.cloud.secretmanager.v1.DeleteSecretRequest\x1a\x16.google.protobuf.Empty\"]\xda\x41\x04name\x82\xd3\xe4\x93\x02P*\x1f/v1/{name=projects/*/secrets/*}Z-*+/v1/{name=projects/*/locations/*/secrets/*}\x12\x80\x02\n\x12ListSecretVersions\x12\x38.google.cloud.secretmanager.v1.ListSecretVersionsRequest\x1a\x39.google.cloud.secretmanager.v1.ListSecretVersionsResponse\"u\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x66\x12*/v1/{parent=projects/*/secrets/*}/versionsZ8\x12\x36/v1/{parent=projects/*/locations/*/secrets/*}/versions\x12\xed\x01\n\x10GetSecretVersion\x12\x36.google.cloud.secretmanager.v1.GetSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"s\xda\x41\x04name\x82\xd3\xe4\x93\x02\x66\x12*/v1/{name=projects/*/secrets/*/versions/*}Z8\x12\x36/v1/{name=projects/*/locations/*/secrets/*/versions/*}\x12\x90\x02\n\x13\x41\x63\x63\x65ssSecretVersion\x12\x39.google.cloud.secretmanager.v1.AccessSecretVersionRequest\x1a:.google.cloud.secretmanager.v1.AccessSecretVersionResponse\"\x81\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02t\x12\x31/v1/{name=projects/*/secrets/*/versions/*}:accessZ?\x12=/v1/{name=projects/*/locations/*/secrets/*/versions/*}:access\x12\x8c\x02\n\x14\x44isableSecretVersion\x12:.google.cloud.secretmanager.v1.DisableSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"\x89\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02|\"2/v1/{name=projects/*/secrets/*/versions/*}:disable:\x01*ZC\">/v1/{name=projects/*/locations/*/secrets/*/versions/*}:disable:\x01*\x12\x88\x02\n\x13\x45nableSecretVersion\x12\x39.google.cloud.secretmanager.v1.EnableSecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"\x87\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02z\"1/v1/{name=projects/*/secrets/*/versions/*}:enable:\x01*ZB\"=/v1/{name=projects/*/locations/*/secrets/*/versions/*}:enable:\x01*\x12\x8c\x02\n\x14\x44\x65stroySecretVersion\x12:.google.cloud.secretmanager.v1.DestroySecretVersionRequest\x1a,.google.cloud.secretmanager.v1.SecretVersion\"\x89\x01\xda\x41\x04name\x82\xd3\xe4\x93\x02|\"2/v1/{name=projects/*/secrets/*/versions/*}:destroy:\x01*ZC\">/v1/{name=projects/*/locations/*/secrets/*/versions/*}:destroy:\x01*\x12\xc9\x01\n\x0cSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"~\x82\xd3\xe4\x93\x02x\"0/v1/{resource=projects/*/secrets/*}:setIamPolicy:\x01*ZA\"</v1/{resource=projects/*/locations/*/secrets/*}:setIamPolicy:\x01*\x12\xc3\x01\n\x0cGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"x\x82\xd3\xe4\x93\x02r\x12\x30/v1/{resource=projects/*/secrets/*}:getIamPolicyZ>\x12</v1/{resource=projects/*/locations/*/secrets/*}:getIamPolicy\x12\xf7\x01\n\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"\x8b\x01\x82\xd3\xe4\x93\x02\x84\x01\"6/v1/{resource=projects/*/secrets/*}:testIamPermissions:\x01*ZG\"B/v1/{resource=projects/*/locations/*/secrets/*}:testIamPermissions:\x01*\x1aP\xca\x41\x1csecretmanager.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xe8\x01\n!com.google.cloud.secretmanager.v1B\x0cServiceProtoP\x01ZGcloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb\xf8\x01\x01\xa2\x02\x03GSM\xaa\x02\x1dGoogle.Cloud.SecretManager.V1\xca\x02\x1dGoogle\\Cloud\\SecretManager\\V1\xea\x02 Google::Cloud::SecretManager::V1b\x06proto3"
19
19
 
20
20
  pool = Google::Protobuf::DescriptorPool.generated_pool
21
21
 
@@ -41,51 +41,61 @@ module Google
41
41
 
42
42
  # Lists [Secrets][google.cloud.secretmanager.v1.Secret].
43
43
  rpc :ListSecrets, ::Google::Cloud::SecretManager::V1::ListSecretsRequest, ::Google::Cloud::SecretManager::V1::ListSecretsResponse
44
- # Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
44
+ # Creates a new [Secret][google.cloud.secretmanager.v1.Secret] containing no
45
+ # [SecretVersions][google.cloud.secretmanager.v1.SecretVersion].
45
46
  rpc :CreateSecret, ::Google::Cloud::SecretManager::V1::CreateSecretRequest, ::Google::Cloud::SecretManager::V1::Secret
46
- # Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] containing secret data and attaches
47
- # it to an existing [Secret][google.cloud.secretmanager.v1.Secret].
47
+ # Creates a new [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]
48
+ # containing secret data and attaches it to an existing
49
+ # [Secret][google.cloud.secretmanager.v1.Secret].
48
50
  rpc :AddSecretVersion, ::Google::Cloud::SecretManager::V1::AddSecretVersionRequest, ::Google::Cloud::SecretManager::V1::SecretVersion
49
51
  # Gets metadata for a given [Secret][google.cloud.secretmanager.v1.Secret].
50
52
  rpc :GetSecret, ::Google::Cloud::SecretManager::V1::GetSecretRequest, ::Google::Cloud::SecretManager::V1::Secret
51
- # Updates metadata of an existing [Secret][google.cloud.secretmanager.v1.Secret].
53
+ # Updates metadata of an existing
54
+ # [Secret][google.cloud.secretmanager.v1.Secret].
52
55
  rpc :UpdateSecret, ::Google::Cloud::SecretManager::V1::UpdateSecretRequest, ::Google::Cloud::SecretManager::V1::Secret
53
56
  # Deletes a [Secret][google.cloud.secretmanager.v1.Secret].
54
57
  rpc :DeleteSecret, ::Google::Cloud::SecretManager::V1::DeleteSecretRequest, ::Google::Protobuf::Empty
55
- # Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This call does not return secret
56
- # data.
58
+ # Lists [SecretVersions][google.cloud.secretmanager.v1.SecretVersion]. This
59
+ # call does not return secret data.
57
60
  rpc :ListSecretVersions, ::Google::Cloud::SecretManager::V1::ListSecretVersionsRequest, ::Google::Cloud::SecretManager::V1::ListSecretVersionsResponse
58
- # Gets metadata for a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
61
+ # Gets metadata for a
62
+ # [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
59
63
  #
60
64
  # `projects/*/secrets/*/versions/latest` is an alias to the most recently
61
65
  # created [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
62
66
  rpc :GetSecretVersion, ::Google::Cloud::SecretManager::V1::GetSecretVersionRequest, ::Google::Cloud::SecretManager::V1::SecretVersion
63
- # Accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion]. This call returns the secret data.
67
+ # Accesses a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
68
+ # This call returns the secret data.
64
69
  #
65
70
  # `projects/*/secrets/*/versions/latest` is an alias to the most recently
66
71
  # created [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
67
72
  rpc :AccessSecretVersion, ::Google::Cloud::SecretManager::V1::AccessSecretVersionRequest, ::Google::Cloud::SecretManager::V1::AccessSecretVersionResponse
68
73
  # Disables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
69
74
  #
70
- # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
75
+ # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the
76
+ # [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
71
77
  # [DISABLED][google.cloud.secretmanager.v1.SecretVersion.State.DISABLED].
72
78
  rpc :DisableSecretVersion, ::Google::Cloud::SecretManager::V1::DisableSecretVersionRequest, ::Google::Cloud::SecretManager::V1::SecretVersion
73
79
  # Enables a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
74
80
  #
75
- # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
81
+ # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the
82
+ # [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
76
83
  # [ENABLED][google.cloud.secretmanager.v1.SecretVersion.State.ENABLED].
77
84
  rpc :EnableSecretVersion, ::Google::Cloud::SecretManager::V1::EnableSecretVersionRequest, ::Google::Cloud::SecretManager::V1::SecretVersion
78
85
  # Destroys a [SecretVersion][google.cloud.secretmanager.v1.SecretVersion].
79
86
  #
80
- # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
81
- # [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED] and irrevocably destroys the
82
- # secret data.
87
+ # Sets the [state][google.cloud.secretmanager.v1.SecretVersion.state] of the
88
+ # [SecretVersion][google.cloud.secretmanager.v1.SecretVersion] to
89
+ # [DESTROYED][google.cloud.secretmanager.v1.SecretVersion.State.DESTROYED]
90
+ # and irrevocably destroys the secret data.
83
91
  rpc :DestroySecretVersion, ::Google::Cloud::SecretManager::V1::DestroySecretVersionRequest, ::Google::Cloud::SecretManager::V1::SecretVersion
84
92
  # Sets the access control policy on the specified secret. Replaces any
85
93
  # existing policy.
86
94
  #
87
- # Permissions on [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced according
88
- # to the policy set on the associated [Secret][google.cloud.secretmanager.v1.Secret].
95
+ # Permissions on
96
+ # [SecretVersions][google.cloud.secretmanager.v1.SecretVersion] are enforced
97
+ # according to the policy set on the associated
98
+ # [Secret][google.cloud.secretmanager.v1.Secret].
89
99
  rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
90
100
  # Gets the access control policy for a secret.
91
101
  # Returns empty policy if the secret exists and does not have a policy set.
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -34,7 +34,7 @@ module Google
34
34
  # `projects/*/secrets/*`.
35
35
  # @!attribute [rw] replication
36
36
  # @return [::Google::Cloud::SecretManager::V1::Replication]
37
- # Required. Immutable. The replication policy of the secret data attached to
37
+ # Optional. Immutable. The replication policy of the secret data attached to
38
38
  # the {::Google::Cloud::SecretManager::V1::Secret Secret}.
39
39
  #
40
40
  # The replication policy cannot be changed after the Secret has been created.
@@ -88,7 +88,7 @@ module Google
88
88
  # No more than 50 aliases can be assigned to a given secret.
89
89
  #
90
90
  # Version-Alias pairs will be viewable via GetSecret and modifiable via
91
- # UpdateSecret. At launch access by alias will only be supported on
91
+ # UpdateSecret. Access by alias is only be supported on
92
92
  # GetSecretVersion and AccessSecretVersion.
93
93
  # @!attribute [rw] annotations
94
94
  # @return [::Google::Protobuf::Map{::String => ::String}]
@@ -104,6 +104,25 @@ module Google
104
104
  # alphanumerics in between these symbols.
105
105
  #
106
106
  # The total size of annotation keys and values must be less than 16KiB.
107
+ # @!attribute [rw] version_destroy_ttl
108
+ # @return [::Google::Protobuf::Duration]
109
+ # Optional. Secret Version TTL after destruction request
110
+ #
111
+ # This is a part of the Delayed secret version destroy feature.
112
+ # For secret with TTL>0, version destruction doesn't happen immediately
113
+ # on calling destroy instead the version goes to a disabled state and
114
+ # destruction happens after the TTL expires.
115
+ # @!attribute [rw] customer_managed_encryption
116
+ # @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryption]
117
+ # Optional. The customer-managed encryption configuration of the Regionalised
118
+ # Secrets. If no configuration is provided, Google-managed default encryption
119
+ # is used.
120
+ #
121
+ # Updates to the {::Google::Cloud::SecretManager::V1::Secret Secret} encryption
122
+ # configuration only apply to
123
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions} added
124
+ # afterwards. They do not apply retroactively to existing
125
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions}.
107
126
  class Secret
108
127
  include ::Google::Protobuf::MessageExts
109
128
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -177,6 +196,20 @@ module Google
177
196
  # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client SecretManagerService}
178
197
  # on
179
198
  # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
199
+ # @!attribute [r] scheduled_destroy_time
200
+ # @return [::Google::Protobuf::Timestamp]
201
+ # Optional. Output only. Scheduled destroy time for secret version.
202
+ # This is a part of the Delayed secret version destroy feature. For a
203
+ # Secret with a valid version destroy TTL, when a secert version is
204
+ # destroyed, the version is moved to disabled state and it is scheduled for
205
+ # destruction. The version is destroyed only after the
206
+ # `scheduled_destroy_time`.
207
+ # @!attribute [r] customer_managed_encryption
208
+ # @return [::Google::Cloud::SecretManager::V1::CustomerManagedEncryptionStatus]
209
+ # Output only. The customer-managed encryption status of the
210
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. Only
211
+ # populated if customer-managed encryption is used and
212
+ # {::Google::Cloud::SecretManager::V1::Secret Secret} is a Regionalised Secret.
180
213
  class SecretVersion
181
214
  include ::Google::Protobuf::MessageExts
182
215
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -386,8 +419,9 @@ module Google
386
419
  # @return [::String]
387
420
  # Required. The resource name of the Pub/Sub topic that will be published to,
388
421
  # in the following format: `projects/*/topics/*`. For publication to succeed,
389
- # the Secret Manager P4SA must have `pubsub.publisher` permissions on the
390
- # topic.
422
+ # the Secret Manager service agent must have the `pubsub.topic.publish`
423
+ # permission on the topic. The Pub/Sub Publisher role
424
+ # (`roles/pubsub.publisher`) includes this permission.
391
425
  class Topic
392
426
  include ::Google::Protobuf::MessageExts
393
427
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -21,11 +21,13 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1
24
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
24
+ # Request message for
25
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
25
26
  # @!attribute [rw] parent
26
27
  # @return [::String]
27
28
  # Required. The resource name of the project associated with the
28
- # {::Google::Cloud::SecretManager::V1::Secret Secrets}, in the format `projects/*`.
29
+ # {::Google::Cloud::SecretManager::V1::Secret Secrets}, in the format `projects/*`
30
+ # or `projects/*/locations/*`
29
31
  # @!attribute [rw] page_size
30
32
  # @return [::Integer]
31
33
  # Optional. The maximum number of results to be returned in a single page. If
@@ -47,28 +49,35 @@ module Google
47
49
  extend ::Google::Protobuf::MessageExts::ClassMethods
48
50
  end
49
51
 
50
- # Response message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
52
+ # Response message for
53
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
51
54
  # @!attribute [rw] secrets
52
55
  # @return [::Array<::Google::Cloud::SecretManager::V1::Secret>]
53
- # The list of {::Google::Cloud::SecretManager::V1::Secret Secrets} sorted in reverse by create_time (newest
54
- # first).
56
+ # The list of {::Google::Cloud::SecretManager::V1::Secret Secrets} sorted in
57
+ # reverse by create_time (newest first).
55
58
  # @!attribute [rw] next_page_token
56
59
  # @return [::String]
57
60
  # A token to retrieve the next page of results. Pass this value in
58
- # {::Google::Cloud::SecretManager::V1::ListSecretsRequest#page_token ListSecretsRequest.page_token} to retrieve the next page.
61
+ # {::Google::Cloud::SecretManager::V1::ListSecretsRequest#page_token ListSecretsRequest.page_token}
62
+ # to retrieve the next page.
59
63
  # @!attribute [rw] total_size
60
64
  # @return [::Integer]
61
- # The total number of {::Google::Cloud::SecretManager::V1::Secret Secrets}.
65
+ # The total number of {::Google::Cloud::SecretManager::V1::Secret Secrets} but 0
66
+ # when the
67
+ # {::Google::Cloud::SecretManager::V1::ListSecretsRequest#filter ListSecretsRequest.filter}
68
+ # field is set.
62
69
  class ListSecretsResponse
63
70
  include ::Google::Protobuf::MessageExts
64
71
  extend ::Google::Protobuf::MessageExts::ClassMethods
65
72
  end
66
73
 
67
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
74
+ # Request message for
75
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
68
76
  # @!attribute [rw] parent
69
77
  # @return [::String]
70
78
  # Required. The resource name of the project to associate with the
71
- # {::Google::Cloud::SecretManager::V1::Secret Secret}, in the format `projects/*`.
79
+ # {::Google::Cloud::SecretManager::V1::Secret Secret}, in the format `projects/*`
80
+ # or `projects/*/locations/*`.
72
81
  # @!attribute [rw] secret_id
73
82
  # @return [::String]
74
83
  # Required. This must be unique within the project.
@@ -78,40 +87,50 @@ module Google
78
87
  # underscore (`_`) characters.
79
88
  # @!attribute [rw] secret
80
89
  # @return [::Google::Cloud::SecretManager::V1::Secret]
81
- # Required. A {::Google::Cloud::SecretManager::V1::Secret Secret} with initial field values.
90
+ # Required. A {::Google::Cloud::SecretManager::V1::Secret Secret} with initial
91
+ # field values.
82
92
  class CreateSecretRequest
83
93
  include ::Google::Protobuf::MessageExts
84
94
  extend ::Google::Protobuf::MessageExts::ClassMethods
85
95
  end
86
96
 
87
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
97
+ # Request message for
98
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
88
99
  # @!attribute [rw] parent
89
100
  # @return [::String]
90
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::Secret Secret} to associate with the
91
- # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
101
+ # Required. The resource name of the
102
+ # {::Google::Cloud::SecretManager::V1::Secret Secret} to associate with the
103
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
104
+ # `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`.
92
105
  # @!attribute [rw] payload
93
106
  # @return [::Google::Cloud::SecretManager::V1::SecretPayload]
94
- # Required. The secret payload of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
107
+ # Required. The secret payload of the
108
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
95
109
  class AddSecretVersionRequest
96
110
  include ::Google::Protobuf::MessageExts
97
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
98
112
  end
99
113
 
100
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
114
+ # Request message for
115
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
101
116
  # @!attribute [rw] name
102
117
  # @return [::String]
103
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::Secret Secret}, in the format `projects/*/secrets/*`.
118
+ # Required. The resource name of the
119
+ # {::Google::Cloud::SecretManager::V1::Secret Secret}, in the format
120
+ # `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`.
104
121
  class GetSecretRequest
105
122
  include ::Google::Protobuf::MessageExts
106
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
107
124
  end
108
125
 
109
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
126
+ # Request message for
127
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
110
128
  # @!attribute [rw] parent
111
129
  # @return [::String]
112
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::Secret Secret} associated with the
113
- # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions} to list, in the format
114
- # `projects/*/secrets/*`.
130
+ # Required. The resource name of the
131
+ # {::Google::Cloud::SecretManager::V1::Secret Secret} associated with the
132
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions} to list, in
133
+ # the format `projects/*/secrets/*` or `projects/*/locations/*/secrets/*`.
115
134
  # @!attribute [rw] page_size
116
135
  # @return [::Integer]
117
136
  # Optional. The maximum number of results to be returned in a single page. If
@@ -133,40 +152,53 @@ module Google
133
152
  extend ::Google::Protobuf::MessageExts::ClassMethods
134
153
  end
135
154
 
136
- # Response message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
155
+ # Response message for
156
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
137
157
  # @!attribute [rw] versions
138
158
  # @return [::Array<::Google::Cloud::SecretManager::V1::SecretVersion>]
139
- # The list of {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions} sorted in reverse by
140
- # create_time (newest first).
159
+ # The list of {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions}
160
+ # sorted in reverse by create_time (newest first).
141
161
  # @!attribute [rw] next_page_token
142
162
  # @return [::String]
143
163
  # A token to retrieve the next page of results. Pass this value in
144
- # {::Google::Cloud::SecretManager::V1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token} to retrieve the next page.
164
+ # {::Google::Cloud::SecretManager::V1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token}
165
+ # to retrieve the next page.
145
166
  # @!attribute [rw] total_size
146
167
  # @return [::Integer]
147
- # The total number of {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions}.
168
+ # The total number of
169
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersions} but 0 when
170
+ # the
171
+ # {::Google::Cloud::SecretManager::V1::ListSecretsRequest#filter ListSecretsRequest.filter}
172
+ # field is set.
148
173
  class ListSecretVersionsResponse
149
174
  include ::Google::Protobuf::MessageExts
150
175
  extend ::Google::Protobuf::MessageExts::ClassMethods
151
176
  end
152
177
 
153
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
178
+ # Request message for
179
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
154
180
  # @!attribute [rw] name
155
181
  # @return [::String]
156
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
157
- # `projects/*/secrets/*/versions/*`.
182
+ # Required. The resource name of the
183
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
184
+ # `projects/*/secrets/*/versions/*` or
185
+ # `projects/*/locations/*/secrets/*/versions/*`.
158
186
  #
159
- # `projects/*/secrets/*/versions/latest` is an alias to the most recently
160
- # created {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
187
+ # `projects/*/secrets/*/versions/latest` or
188
+ # `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most
189
+ # recently created
190
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
161
191
  class GetSecretVersionRequest
162
192
  include ::Google::Protobuf::MessageExts
163
193
  extend ::Google::Protobuf::MessageExts::ClassMethods
164
194
  end
165
195
 
166
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
196
+ # Request message for
197
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
167
198
  # @!attribute [rw] secret
168
199
  # @return [::Google::Cloud::SecretManager::V1::Secret]
169
- # Required. {::Google::Cloud::SecretManager::V1::Secret Secret} with updated field values.
200
+ # Required. {::Google::Cloud::SecretManager::V1::Secret Secret} with updated field
201
+ # values.
170
202
  # @!attribute [rw] update_mask
171
203
  # @return [::Google::Protobuf::FieldMask]
172
204
  # Required. Specifies the fields to be updated.
@@ -175,24 +207,32 @@ module Google
175
207
  extend ::Google::Protobuf::MessageExts::ClassMethods
176
208
  end
177
209
 
178
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
210
+ # Request message for
211
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
179
212
  # @!attribute [rw] name
180
213
  # @return [::String]
181
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
182
- # `projects/*/secrets/*/versions/*`.
214
+ # Required. The resource name of the
215
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
216
+ # `projects/*/secrets/*/versions/*` or
217
+ # `projects/*/locations/*/secrets/*/versions/*`.
183
218
  #
184
- # `projects/*/secrets/*/versions/latest` is an alias to the most recently
185
- # created {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
219
+ # `projects/*/secrets/*/versions/latest` or
220
+ # `projects/*/locations/*/secrets/*/versions/latest` is an alias to the most
221
+ # recently created
222
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}.
186
223
  class AccessSecretVersionRequest
187
224
  include ::Google::Protobuf::MessageExts
188
225
  extend ::Google::Protobuf::MessageExts::ClassMethods
189
226
  end
190
227
 
191
- # Response message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
228
+ # Response message for
229
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
192
230
  # @!attribute [rw] name
193
231
  # @return [::String]
194
- # The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
195
- # `projects/*/secrets/*/versions/*`.
232
+ # The resource name of the
233
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} in the format
234
+ # `projects/*/secrets/*/versions/*` or
235
+ # `projects/*/locations/*/secrets/*/versions/*`.
196
236
  # @!attribute [rw] payload
197
237
  # @return [::Google::Cloud::SecretManager::V1::SecretPayload]
198
238
  # Secret payload
@@ -201,61 +241,75 @@ module Google
201
241
  extend ::Google::Protobuf::MessageExts::ClassMethods
202
242
  end
203
243
 
204
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
244
+ # Request message for
245
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
205
246
  # @!attribute [rw] name
206
247
  # @return [::String]
207
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::Secret Secret} to delete in the format
248
+ # Required. The resource name of the
249
+ # {::Google::Cloud::SecretManager::V1::Secret Secret} to delete in the format
208
250
  # `projects/*/secrets/*`.
209
251
  # @!attribute [rw] etag
210
252
  # @return [::String]
211
- # Optional. Etag of the {::Google::Cloud::SecretManager::V1::Secret Secret}. The request succeeds if it matches
212
- # the etag of the currently stored secret object. If the etag is omitted,
213
- # the request succeeds.
253
+ # Optional. Etag of the {::Google::Cloud::SecretManager::V1::Secret Secret}. The
254
+ # request succeeds if it matches the etag of the currently stored secret
255
+ # object. If the etag is omitted, the request succeeds.
214
256
  class DeleteSecretRequest
215
257
  include ::Google::Protobuf::MessageExts
216
258
  extend ::Google::Protobuf::MessageExts::ClassMethods
217
259
  end
218
260
 
219
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
261
+ # Request message for
262
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
220
263
  # @!attribute [rw] name
221
264
  # @return [::String]
222
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to disable in the format
223
- # `projects/*/secrets/*/versions/*`.
265
+ # Required. The resource name of the
266
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to disable in
267
+ # the format `projects/*/secrets/*/versions/*` or
268
+ # `projects/*/locations/*/secrets/*/versions/*`.
224
269
  # @!attribute [rw] etag
225
270
  # @return [::String]
226
- # Optional. Etag of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request succeeds if it matches
227
- # the etag of the currently stored secret version object. If the etag is
228
- # omitted, the request succeeds.
271
+ # Optional. Etag of the
272
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request
273
+ # succeeds if it matches the etag of the currently stored secret version
274
+ # object. If the etag is omitted, the request succeeds.
229
275
  class DisableSecretVersionRequest
230
276
  include ::Google::Protobuf::MessageExts
231
277
  extend ::Google::Protobuf::MessageExts::ClassMethods
232
278
  end
233
279
 
234
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
280
+ # Request message for
281
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
235
282
  # @!attribute [rw] name
236
283
  # @return [::String]
237
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to enable in the format
238
- # `projects/*/secrets/*/versions/*`.
284
+ # Required. The resource name of the
285
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to enable in
286
+ # the format `projects/*/secrets/*/versions/*` or
287
+ # `projects/*/locations/*/secrets/*/versions/*`.
239
288
  # @!attribute [rw] etag
240
289
  # @return [::String]
241
- # Optional. Etag of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request succeeds if it matches
242
- # the etag of the currently stored secret version object. If the etag is
243
- # omitted, the request succeeds.
290
+ # Optional. Etag of the
291
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request
292
+ # succeeds if it matches the etag of the currently stored secret version
293
+ # object. If the etag is omitted, the request succeeds.
244
294
  class EnableSecretVersionRequest
245
295
  include ::Google::Protobuf::MessageExts
246
296
  extend ::Google::Protobuf::MessageExts::ClassMethods
247
297
  end
248
298
 
249
- # Request message for {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
299
+ # Request message for
300
+ # {::Google::Cloud::SecretManager::V1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
250
301
  # @!attribute [rw] name
251
302
  # @return [::String]
252
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to destroy in the format
253
- # `projects/*/secrets/*/versions/*`.
303
+ # Required. The resource name of the
304
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion} to destroy in
305
+ # the format `projects/*/secrets/*/versions/*` or
306
+ # `projects/*/locations/*/secrets/*/versions/*`.
254
307
  # @!attribute [rw] etag
255
308
  # @return [::String]
256
- # Optional. Etag of the {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request succeeds if it matches
257
- # the etag of the currently stored secret version object. If the etag is
258
- # omitted, the request succeeds.
309
+ # Optional. Etag of the
310
+ # {::Google::Cloud::SecretManager::V1::SecretVersion SecretVersion}. The request
311
+ # succeeds if it matches the etag of the currently stored secret version
312
+ # object. If the etag is omitted, the request succeeds.
259
313
  class DestroySecretVersionRequest
260
314
  include ::Google::Protobuf::MessageExts
261
315
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -44,6 +44,26 @@ dependencies:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
46
  version: '1.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: google-cloud-location
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0.7'
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 2.a
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: '0.7'
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 2.a
47
67
  - !ruby/object:Gem::Dependency
48
68
  name: grpc-google-iam-v1
49
69
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +95,7 @@ files:
75
95
  - README.md
76
96
  - lib/google-cloud-secret_manager-v1.rb
77
97
  - lib/google/cloud/secret_manager/v1.rb
98
+ - lib/google/cloud/secret_manager/v1/bindings_override.rb
78
99
  - lib/google/cloud/secret_manager/v1/rest.rb
79
100
  - lib/google/cloud/secret_manager/v1/secret_manager_service.rb
80
101
  - lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb