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/* or projects/*/locations/*.

Returns:

  • (::String)

    Required. The resource name of the project to associate with the Secret, in the format projects/* or projects/*/locations/*.



92
93
94
95
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 92

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:



92
93
94
95
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 92

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.



92
93
94
95
# File 'proto_docs/google/cloud/secretmanager/v1/service.rb', line 92

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