Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest

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



1856
1857
1858
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1856

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

Instance Attribute Details

#filterString

Optional. A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. String values are case-insensitive. The comparison operator must be either :, =, !=, >, >=, <= or <. The : operator can be used with string fields to match substrings. For non-string fields it is equivalent to the = operator. The :* comparison can be used to test whether a key has been defined. You can also filter on nested fields. To filter on multiple expressions, you can separate expression using AND and OR operators, using parentheses to specify precedence. If neither operator is specified, AND is assumed. Examples: Include only pools with more than 100 reserved workers: (worker_count > 100) (worker_config.reserved = true) Include only pools with a certain label or machines of the n1-standard family: worker_config.labels.key1 : * OR worker_config.machine_type: n1-standard Corresponds to the JSON property filter

Returns:

  • (String)


1848
1849
1850
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1848

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)


1854
1855
1856
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1854

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1861
1862
1863
1864
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 1861

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