Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb
Instance Attribute Summary collapse
-
#filter ⇒ String
Optional.
-
#parent ⇒ String
Resource name of the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
constructor
A new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest
Returns a new instance of GoogleDevtoolsRemotebuildexecutionAdminV1alphaListWorkerPoolsRequest.
2205 2206 2207 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2205 def initialize(**args) update!(**args) end |
Instance Attribute Details
#filter ⇒ String
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 e2-standard family:
worker_config.labels.key1 : * OR worker_config.machine_type: e2-standard
Corresponds to the JSON property filter
2197 2198 2199 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2197 def filter @filter end |
#parent ⇒ String
Resource name of the instance. Format: projects/[PROJECT_ID]/instances/[
INSTANCE_ID].
Corresponds to the JSON property parent
2203 2204 2205 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2203 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2210 2211 2212 2213 |
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2210 def update!(**args) @filter = args[:filter] if args.key?(:filter) @parent = args[:parent] if args.key?(:parent) end |