Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaDeleteWorkerPoolRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v1alpha/classes.rb,
lib/google/apis/remotebuildexecution_v1alpha/representations.rb,
lib/google/apis/remotebuildexecution_v1alpha/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.



1923
1924
1925
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1923

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)


1921
1922
1923
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1921

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1928
1929
1930
# File 'lib/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1928

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