Storage Transfer Service V1 API - Class Google::Cloud::StorageTransfer::V1::CreateAgentPoolRequest (v0.7.0)

Reference documentation and code samples for the Storage Transfer Service V1 API class Google::Cloud::StorageTransfer::V1::CreateAgentPoolRequest.

Specifies the request passed to CreateAgentPool.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_pool

def agent_pool() -> ::Google::Cloud::StorageTransfer::V1::AgentPool
Returns

#agent_pool=

def agent_pool=(value) -> ::Google::Cloud::StorageTransfer::V1::AgentPool
Parameter
Returns

#agent_pool_id

def agent_pool_id() -> ::String
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])?$.

#agent_pool_id=

def agent_pool_id=(value) -> ::String
Parameter
  • value (::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])?$.

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])?$.

#project_id

def project_id() -> ::String
Returns
  • (::String) — Required. The ID of the Google Cloud project that owns the agent pool.

#project_id=

def project_id=(value) -> ::String
Parameter
  • value (::String) — 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.