Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest

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

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) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest

Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest



2545
2546
2547
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2545

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

Instance Attribute Details

#filterString

Optional. A filter to constrain the pools returned. Filters have the form: [[AND|OR] ]... is the path for a field or map key in the Pool proto message. e.g. "configuration.disk_size_gb" or "configuration.labels.key". can be one of "<", "<=", ">=", ">", "=", "!=", ":". ":" is a HAS operation for strings and repeated primitive fields. is the value to test, case-insensitive for strings. "*" stands for any value and can be used to test for key presence. Parenthesis determine AND/OR precedence. In space separated restrictions, AND is implicit, e.g. "a = b x = y" is equivalent to "a = b AND x = y". Example filter: configuration.labels.key1 = * AND (state = RUNNING OR state = UPDATING) Corresponds to the JSON property filter

Returns:

  • (String)


2537
2538
2539
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2537

def filter
  @filter
end

#parentString

Resource name of the instance. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Corresponds to the JSON property parent

Returns:

  • (String)


2543
2544
2545
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2543

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2550
2551
2552
2553
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 2550

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