Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
- 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
Supported range of priorities, including boundaries.
Instance Attribute Summary collapse
-
#max_priority ⇒ Fixnum
The maximum numeric value for this priority range, which represents the least urgent task or shortest retained item.
-
#min_priority ⇒ Fixnum
The minimum numeric value for this priority range, which represents the most urgent task or longest retained item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
constructor
A new instance of BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
Returns a new instance of BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange.
1833 1834 1835 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_priority ⇒ Fixnum
The maximum numeric value for this priority range, which represents the least
urgent task or shortest retained item.
Corresponds to the JSON property maxPriority
1825 1826 1827 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1825 def max_priority @max_priority end |
#min_priority ⇒ Fixnum
The minimum numeric value for this priority range, which represents the most
urgent task or longest retained item.
Corresponds to the JSON property minPriority
1831 1832 1833 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1831 def min_priority @min_priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1838 1839 1840 1841 |
# File 'lib/google/apis/remotebuildexecution_v2/classes.rb', line 1838 def update!(**args) @max_priority = args[:max_priority] if args.key?(:max_priority) @min_priority = args[:min_priority] if args.key?(:min_priority) end |