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- (::Google::Cloud::StorageTransfer::V1::AgentPool) — Required. The agent pool to create.
#agent_pool=
def agent_pool=(value) -> ::Google::Cloud::StorageTransfer::V1::AgentPool- value (::Google::Cloud::StorageTransfer::V1::AgentPool) — Required. The agent pool to create.
- (::Google::Cloud::StorageTransfer::V1::AgentPool) — Required. The agent pool to create.
#agent_pool_id
def agent_pool_id() -> ::String-
(::String) — Required. The ID of the agent pool to create.
The
agent_pool_idmust 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.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
As expressed by the regular expression:
^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.
#agent_pool_id=
def agent_pool_id=(value) -> ::String-
value (::String) — Required. The ID of the agent pool to create.
The
agent_pool_idmust 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.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
As expressed by the regular expression:
^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.
-
(::String) — Required. The ID of the agent pool to create.
The
agent_pool_idmust 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.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
As expressed by the regular expression:
^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$.
#project_id
def project_id() -> ::String- (::String) — Required. The ID of the Google Cloud project that owns the agent pool.
#project_id=
def project_id=(value) -> ::String- value (::String) — Required. The ID of the Google Cloud project that owns the agent pool.
- (::String) — Required. The ID of the Google Cloud project that owns the agent pool.