Class: Google::Cloud::StorageTransfer::V1::AgentPool
- Inherits:
-
Object
- Object
- Google::Cloud::StorageTransfer::V1::AgentPool
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/storagetransfer/v1/transfer_types.rb
Overview
Represents an agent pool.
Defined Under Namespace
Modules: State Classes: BandwidthLimit
Instance Attribute Summary collapse
-
#bandwidth_limit ⇒ ::Google::Cloud::StorageTransfer::V1::AgentPool::BandwidthLimit
Specifies the bandwidth limit details.
-
#display_name ⇒ ::String
Specifies the client-specified AgentPool description.
-
#name ⇒ ::String
Required.
-
#state ⇒ ::Google::Cloud::StorageTransfer::V1::AgentPool::State
readonly
Output only.
Instance Attribute Details
#bandwidth_limit ⇒ ::Google::Cloud::StorageTransfer::V1::AgentPool::BandwidthLimit
Returns Specifies the bandwidth limit details. If this field is unspecified, the default value is set as 'No Limit'.
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 550 class AgentPool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies a bandwidth limit for an agent pool. # @!attribute [rw] limit_mbps # @return [::Integer] # Bandwidth rate in megabytes per second, distributed across all the agents # in the pool. class BandwidthLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of an AgentPool. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # This is an initialization state. During this stage, resources are # allocated for the AgentPool. CREATING = 1 # Determines that the AgentPool is created for use. At this state, Agents # can join the AgentPool and participate in the transfer jobs in that pool. CREATED = 2 # Determines that the AgentPool deletion has been initiated, and all the # resources are scheduled to be cleaned up and freed. DELETING = 3 end end |
#display_name ⇒ ::String
Returns Specifies the client-specified AgentPool description.
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 550 class AgentPool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies a bandwidth limit for an agent pool. # @!attribute [rw] limit_mbps # @return [::Integer] # Bandwidth rate in megabytes per second, distributed across all the agents # in the pool. class BandwidthLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of an AgentPool. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # This is an initialization state. During this stage, resources are # allocated for the AgentPool. CREATING = 1 # Determines that the AgentPool is created for use. At this state, Agents # can join the AgentPool and participate in the transfer jobs in that pool. CREATED = 2 # Determines that the AgentPool deletion has been initiated, and all the # resources are scheduled to be cleaned up and freed. DELETING = 3 end end |
#name ⇒ ::String
Returns Required. Specifies a unique string that identifies the agent pool.
Format: projects/{project_id}/agentPools/{agent_pool_id}
.
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 550 class AgentPool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies a bandwidth limit for an agent pool. # @!attribute [rw] limit_mbps # @return [::Integer] # Bandwidth rate in megabytes per second, distributed across all the agents # in the pool. class BandwidthLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of an AgentPool. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # This is an initialization state. During this stage, resources are # allocated for the AgentPool. CREATING = 1 # Determines that the AgentPool is created for use. At this state, Agents # can join the AgentPool and participate in the transfer jobs in that pool. CREATED = 2 # Determines that the AgentPool deletion has been initiated, and all the # resources are scheduled to be cleaned up and freed. DELETING = 3 end end |
#state ⇒ ::Google::Cloud::StorageTransfer::V1::AgentPool::State (readonly)
Returns Output only. Specifies the state of the AgentPool.
550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
# File 'proto_docs/google/storagetransfer/v1/transfer_types.rb', line 550 class AgentPool include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies a bandwidth limit for an agent pool. # @!attribute [rw] limit_mbps # @return [::Integer] # Bandwidth rate in megabytes per second, distributed across all the agents # in the pool. class BandwidthLimit include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The state of an AgentPool. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # This is an initialization state. During this stage, resources are # allocated for the AgentPool. CREATING = 1 # Determines that the AgentPool is created for use. At this state, Agents # can join the AgentPool and participate in the transfer jobs in that pool. CREATED = 2 # Determines that the AgentPool deletion has been initiated, and all the # resources are scheduled to be cleaned up and freed. DELETING = 3 end end |