Reference documentation and code samples for the Google Cloud Storage Transfer V1 Client class CreateAgentPoolRequest.
Specifies the request passed to CreateAgentPool.
Generated from protobuf message google.storagetransfer.v1.CreateAgentPoolRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ project_id
string
Required. The ID of the Google Cloud project that owns the agent pool.
↳ agent_pool
↳ agent_pool_id
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])?$
.
getProjectId
Required. The ID of the Google Cloud project that owns the agent pool.
string
setProjectId
Required. The ID of the Google Cloud project that owns the agent pool.
var
string
$this
getAgentPool
Required. The agent pool to create.
hasAgentPool
clearAgentPool
setAgentPool
Required. The agent pool to create.
$this
getAgentPoolId
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])?$
.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
string
setAgentPoolId
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])?$
.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
var
string
$this