Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Overview
The request used for UpdateWorkerPool.
Instance Attribute Summary collapse
-
#update_mask ⇒ String
The update mask applies to worker_pool.
-
#worker_pool ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
A worker pool resource in the Remote Build Execution API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateWorkerPoolRequest.
2217 2218 2219 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2217 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_mask ⇒ String
The update mask applies to worker_pool. For the FieldMask definition, see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
fieldmask If an empty update_mask is provided, only the non-default valued
field in the worker pool field will be updated. Note that in order to update a
field to the default value (zero, false, empty string) an explicit update_mask
must be provided.
Corresponds to the JSON property updateMask
2210 2211 2212 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2210 def update_mask @update_mask end |
#worker_pool ⇒ Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
A worker pool resource in the Remote Build Execution API.
Corresponds to the JSON property workerPool
2215 2216 2217 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2215 def worker_pool @worker_pool end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2222 2223 2224 2225 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2222 def update!(**args) @update_mask = args[:update_mask] if args.key?(:update_mask) @worker_pool = args[:worker_pool] if args.key?(:worker_pool) end |