Class: Google::Cloud::SecretManager::V1beta1::CreateSecretRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/secrets/v1beta1/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/*.



75
76
77
78
# File 'proto_docs/google/cloud/secrets/v1beta1/service.rb', line 75

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

#secret::Google::Cloud::SecretManager::V1beta1::Secret

Returns Required. A Secret with initial field values.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/secrets/v1beta1/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.

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.



75
76
77
78
# File 'proto_docs/google/cloud/secrets/v1beta1/service.rb', line 75

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