Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities

Inherits:
Object
  • Object
show all
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

Allowed values for priority in ResultsCachePolicy Used for querying both cache and execution valid priority ranges.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2PriorityCapabilities.



1725
1726
1727
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1725

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

Instance Attribute Details

#prioritiesArray<Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilitiesPriorityRange>

Corresponds to the JSON property priorities



1723
1724
1725
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1723

def priorities
  @priorities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1730
1731
1732
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1730

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