Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb

Overview

The request used for GetWorkerPool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest.



2742
2743
2744
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2742

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#nameString

Name of the worker pool to retrieve. Format: projects/[PROJECT_ID]/instances/[ INSTANCE_ID]/workerpools/[POOL_ID]. Corresponds to the JSON property name

Returns:

  • (String)


2740
2741
2742
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2740

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2747
2748
2749
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 2747

def update!(**args)
  @name = args[:name] if args.key?(:name)
end