Class: Google::Cloud::StorageTransfer::V1::CreateAgentPoolRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/storagetransfer/v1/transfer.rb

Overview

Specifies the request passed to CreateAgentPool.

Instance Attribute Summary collapse

Instance Attribute Details

#agent_pool::Google::Cloud::StorageTransfer::V1::AgentPool

Returns Required. The agent pool to create.

Returns:



202
203
204
205
# File 'proto_docs/google/storagetransfer/v1/transfer.rb', line 202

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

#agent_pool_id::String

Returns Required. The ID of the agent pool to create.

The agent_pool_id must meet the following requirements:

  • Length of 128 characters or less.
  • Not start with the string goog.
  • Start with a lowercase ASCII character, followed by:
    • Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~).
    • One or more numerals or lowercase ASCII characters.

As expressed by the regular expression: ^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.

Returns:

  • (::String)

    Required. The ID of the agent pool to create.

    The agent_pool_id must meet the following requirements:

    • Length of 128 characters or less.
    • Not start with the string goog.
    • Start with a lowercase ASCII character, followed by:
      • Zero or more: lowercase Latin alphabet characters, numerals, hyphens (-), periods (.), underscores (_), or tildes (~).
      • One or more numerals or lowercase ASCII characters.

    As expressed by the regular expression: ^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.



202
203
204
205
# File 'proto_docs/google/storagetransfer/v1/transfer.rb', line 202

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

#project_id::String

Returns Required. The ID of the Google Cloud project that owns the agent pool.

Returns:

  • (::String)

    Required. The ID of the Google Cloud project that owns the agent pool.



202
203
204
205
# File 'proto_docs/google/storagetransfer/v1/transfer.rb', line 202

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