Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest

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 DeleteWorkerPool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest.



1754
1755
1756
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1754

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


1752
1753
1754
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1752

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1759
1760
1761
# File 'generated/google/apis/remotebuildexecution_v1/classes.rb', line 1759

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