Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::CreateSecretRequest.
Request message for SecretManagerService.CreateSecret.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
-
(::String) — Required. The resource name of the project to associate with the
Secret, in the format
projects/*
orprojects/*/locations/*
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Required. The resource name of the project to associate with the
Secret, in the format
projects/*
orprojects/*/locations/*
.
-
(::String) — Required. The resource name of the project to associate with the
Secret, in the format
projects/*
orprojects/*/locations/*
.
#secret
def secret() -> ::Google::Cloud::SecretManager::V1beta2::Secret
- (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. A Secret with initial field values.
#secret=
def secret=(value) -> ::Google::Cloud::SecretManager::V1beta2::Secret
- value (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. A Secret with initial field values.
- (::Google::Cloud::SecretManager::V1beta2::Secret) — Required. A Secret with initial field values.
#secret_id
def secret_id() -> ::String
-
(::String) — 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.
#secret_id=
def secret_id=(value) -> ::String
-
value (::String) — 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.
-
(::String) — 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.