class Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2CacheCapabilities

Capabilities of the remote cache system.

Attributes

action_cache_update_capabilities[RW]

Describes the server/instance capabilities for updating the action cache. Corresponds to the JSON property `actionCacheUpdateCapabilities` @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities]

cache_priority_capabilities[RW]

Allowed values for priority in ResultsCachePolicy and ExecutionPolicy Used for querying both cache and execution valid priority ranges. Corresponds to the JSON property `cachePriorityCapabilities` @return [Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities]

digest_function[RW]

All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously. Corresponds to the JSON property `digestFunction` @return [Array<String>]

max_batch_total_size_bytes[RW]

Maximum total size of blobs to be uploaded/downloaded using batch methods. A value of 0 means no limit is set, although in practice there will always be a message size limitation of the protocol in use, e.g. GRPC. Corresponds to the JSON property `maxBatchTotalSizeBytes` @return [Fixnum]

supported_compressor[RW]

Compressors supported by the “compressed-blobs” bytestream resources. Servers MUST support identity/no-compression, even if it is not listed here. Note that this does not imply which if any compressors are supported by the server at the gRPC level. Corresponds to the JSON property `supportedCompressor` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/remotebuildexecution_v2/classes.rb, line 652
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 657
def update!(**args)
  @action_cache_update_capabilities = args[:action_cache_update_capabilities] if args.key?(:action_cache_update_capabilities)
  @cache_priority_capabilities = args[:cache_priority_capabilities] if args.key?(:cache_priority_capabilities)
  @digest_function = args[:digest_function] if args.key?(:digest_function)
  @max_batch_total_size_bytes = args[:max_batch_total_size_bytes] if args.key?(:max_batch_total_size_bytes)
  @supported_compressor = args[:supported_compressor] if args.key?(:supported_compressor)
  @symlink_absolute_path_strategy = args[:symlink_absolute_path_strategy] if args.key?(:symlink_absolute_path_strategy)
end