class Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ResultsCachePolicy
A `ResultsCachePolicy` is used for fine-grained control over how action outputs are stored in the CAS and Action Cache.
Attributes
priority[RW]
The priority (relative importance) of this content in the overall cache. Generally, a lower value means a longer retention time or other advantage, but the interpretation of a given value is server-dependent. A priority of 0 means a default value, decided by the server. The particular semantics of this field is up to the server. In particular, every server will have their own supported range of priorities, and will decide how these map into retention/ eviction policy. Corresponds to the JSON property `priority` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 1934 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 1939 def update!(**args) @priority = args[:priority] if args.key?(:priority) end