Storage Transfer v1 API - Class UpdateAgentPoolRequest (2.5.0)

public sealed class UpdateAgentPoolRequest : IMessage<UpdateAgentPoolRequest>, IEquatable<UpdateAgentPoolRequest>, IDeepCloneable<UpdateAgentPoolRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Storage Transfer v1 API class UpdateAgentPoolRequest.

Specifies the request passed to UpdateAgentPool.

Inheritance

object > UpdateAgentPoolRequest

Namespace

Google.Cloud.StorageTransfer.V1

Assembly

Google.Cloud.StorageTransfer.V1.dll

Constructors

UpdateAgentPoolRequest()

public UpdateAgentPoolRequest()

UpdateAgentPoolRequest(UpdateAgentPoolRequest)

public UpdateAgentPoolRequest(UpdateAgentPoolRequest other)
Parameter
Name Description
other UpdateAgentPoolRequest

Properties

AgentPool

public AgentPool AgentPool { get; set; }

Required. The agent pool to update. agent_pool is expected to specify following fields:

  • [name][google.storagetransfer.v1.AgentPool.name]

  • [display_name][google.storagetransfer.v1.AgentPool.display_name]

  • [bandwidth_limit][google.storagetransfer.v1.AgentPool.bandwidth_limit] An UpdateAgentPoolRequest with any other fields is rejected with the error [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT].

Property Value
Type Description
AgentPool

UpdateMask

public FieldMask UpdateMask { get; set; }

The field mask of the fields in agentPool to update in this request. The following agentPool fields can be updated:

  • [display_name][google.storagetransfer.v1.AgentPool.display_name]

  • [bandwidth_limit][google.storagetransfer.v1.AgentPool.bandwidth_limit]

Property Value
Type Description
FieldMask