Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/remotebuildexecution_v2/classes.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb,
lib/google/apis/remotebuildexecution_v2/representations.rb
Overview
Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges.
Instance Attribute Summary collapse
-
#priorities ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange>
Corresponds to the JSON property
priorities
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilities
constructor
A new instance of BuildBazelRemoteExecutionV2PriorityCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilities
Returns a new instance of BuildBazelRemoteExecutionV2PriorityCapabilities.
1807 1808 1809 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1807 def initialize(**args) update!(**args) end |
Instance Attribute Details
#priorities ⇒ Array<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange>
Corresponds to the JSON property priorities
1805 1806 1807 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1805 def priorities @priorities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1812 1813 1814 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1812 def update!(**args) @priorities = args[:priorities] if args.key?(:priorities) end |