Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange
- 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
Overview
Supported range of priorities, including boundaries.
Instance Attribute Summary collapse
-
#max_priority ⇒ Fixnum
Corresponds to the JSON property
maxPriority
. -
#min_priority ⇒ Fixnum
Corresponds to the JSON property
minPriority
.
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.
1749 1750 1751 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_priority ⇒ Fixnum
Corresponds to the JSON property maxPriority
1742 1743 1744 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1742 def max_priority @max_priority end |
#min_priority ⇒ Fixnum
Corresponds to the JSON property minPriority
1747 1748 1749 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1747 def min_priority @min_priority end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1754 1755 1756 1757 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1754 def update!(**args) @max_priority = args[:max_priority] if args.key?(:max_priority) @min_priority = args[:min_priority] if args.key?(:min_priority) end |