Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
The request used for CreateWorkerPool
.
Instance Attribute Summary collapse
-
#parent ⇒ String
Resource name of the instance in which to create the new worker pool.
-
#pool_id ⇒ String
ID of the created worker pool.
-
#worker_pool ⇒ Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
A worker pool resource in the Remote Build Execution API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateWorkerPoolRequest.
1693 1694 1695 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ String
Resource name of the instance in which to create the new worker pool. Format:
projects/[PROJECT_ID]/instances/[INSTANCE_ID]
.
Corresponds to the JSON property parent
1679 1680 1681 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1679 def parent @parent end |
#pool_id ⇒ String
ID of the created worker pool. A valid pool ID must: be 6-50 characters long,
contain only lowercase letters, digits, hyphens and underscores, start with a
lowercase letter, and end with a lowercase letter or a digit.
Corresponds to the JSON property poolId
1686 1687 1688 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1686 def pool_id @pool_id end |
#worker_pool ⇒ Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
A worker pool resource in the Remote Build Execution API.
Corresponds to the JSON property workerPool
1691 1692 1693 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1691 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1698 1699 1700 1701 1702 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1698 def update!(**args) @parent = args[:parent] if args.key?(:parent) @pool_id = args[:pool_id] if args.key?(:pool_id) @worker_pool = args[:worker_pool] if args.key?(:worker_pool) end |