Class UpdateAgentPoolRequest (1.2.0)

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

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
NameDescription
otherUpdateAgentPoolRequest

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
TypeDescription
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
TypeDescription
FieldMask