public sealed class CreateAgentPoolRequest : IMessage<CreateAgentPoolRequest>, IEquatable<CreateAgentPoolRequest>, IDeepCloneable<CreateAgentPoolRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Storage Transfer v1 API class CreateAgentPoolRequest.
Specifies the request passed to CreateAgentPool.
Implements
IMessageCreateAgentPoolRequest, IEquatableCreateAgentPoolRequest, IDeepCloneableCreateAgentPoolRequest, IBufferMessage, IMessageNamespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
CreateAgentPoolRequest()
public CreateAgentPoolRequest()
CreateAgentPoolRequest(CreateAgentPoolRequest)
public CreateAgentPoolRequest(CreateAgentPoolRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateAgentPoolRequest |
Properties
AgentPool
public AgentPool AgentPool { get; set; }
Required. The agent pool to create.
Property Value | |
---|---|
Type | Description |
AgentPool |
AgentPoolId
public string AgentPoolId { get; set; }
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.
- Zero or more: lowercase Latin alphabet characters, numerals,
hyphens (
As expressed by the regular expression:
^(?!goog)[a-z]([a-z0-9-._~]*[a-z0-9])?$
.
Property Value | |
---|---|
Type | Description |
string |
ProjectId
public string ProjectId { get; set; }
Required. The ID of the Google Cloud project that owns the agent pool.
Property Value | |
---|---|
Type | Description |
string |