Class: Google::Cloud::SecretManager::V1::CreateSecretRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#parent::String

Returns 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/*.



82
83
84
85
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 82

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.

Returns:



82
83
84
85
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 82

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.

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.



82
83
84
85
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 82

class CreateSecretRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end