Class Google::Cloud::SecretManager::V1beta1::CreateSecretRequest (v0.8.5)

Request message for SecretManagerService.CreateSecret.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the project to associate with the Secret, in the format projects/*.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the project to associate with the Secret, in the format projects/*.
Returns
  • (::String) — Required. The resource name of the project to associate with the Secret, in the format projects/*.

#secret

def secret() -> ::Google::Cloud::SecretManager::V1beta1::Secret
Returns

#secret=

def secret=(value) -> ::Google::Cloud::SecretManager::V1beta1::Secret
Parameter
Returns

#secret_id

def secret_id() -> ::String
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.