Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest

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

Overview

The request used for GetWorkerPool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaGetWorkerPoolRequest



1713
1714
1715
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1713

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)


1711
1712
1713
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1711

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1718
1719
1720
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1718

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