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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2PriorityCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2PriorityCapabilities



1860
1861
1862
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1860

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

Instance Attribute Details

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

Corresponds to the JSON property priorities



1858
1859
1860
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1858

def priorities
  @priorities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1865
1866
1867
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 1865

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