Class: Google::Cloud::SecretManager::V1::CreateSecretRequest
- Inherits:
-
Object
- Object
- Google::Cloud::SecretManager::V1::CreateSecretRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/secretmanager/v1/service.rb
Overview
Request message for SecretManagerService.CreateSecret.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#secret ⇒ ::Google::Cloud::SecretManager::V1::Secret
Required.
-
#secret_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The resource name of the project to associate with the
Secret, in the format projects/*
.
75 76 77 78 |
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 75 class CreateSecretRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#secret ⇒ ::Google::Cloud::SecretManager::V1::Secret
Returns Required. A Secret with initial field values.
75 76 77 78 |
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 75 class CreateSecretRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#secret_id ⇒ ::String
Returns Required. This must be unique within the project.
A secret ID is a string with a maximum length of 255 characters and can
contain uppercase and lowercase letters, numerals, and the hyphen (-
) and
underscore (_
) characters.
75 76 77 78 |
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 75 class CreateSecretRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |