Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2CacheCapabilities

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

Capabilities of the remote cache system.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BuildBazelRemoteExecutionV2CacheCapabilities

Returns a new instance of BuildBazelRemoteExecutionV2CacheCapabilities.



632
633
634
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 632

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

Instance Attribute Details

#action_cache_update_capabilitiesGoogle::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities

Describes the server/instance capabilities for updating the action cache. Corresponds to the JSON property actionCacheUpdateCapabilities



606
607
608
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 606

def action_cache_update_capabilities
  @action_cache_update_capabilities
end

#cache_priority_capabilitiesGoogle::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities

Allowed values for priority in ResultsCachePolicy Used for querying both cache and execution valid priority ranges. Corresponds to the JSON property cachePriorityCapabilities



612
613
614
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 612

def cache_priority_capabilities
  @cache_priority_capabilities
end

#digest_functionArray<String>

All the digest functions supported by the remote cache. Remote cache may support multiple digest functions simultaneously. Corresponds to the JSON property digestFunction

Returns:

  • (Array<String>)


618
619
620
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 618

def digest_function
  @digest_function
end

#max_batch_total_size_bytesFixnum

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

Returns:

  • (Fixnum)


625
626
627
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 625

def max_batch_total_size_bytes
  @max_batch_total_size_bytes
end

Whether absolute symlink targets are supported. Corresponds to the JSON property symlinkAbsolutePathStrategy

Returns:

  • (String)


630
631
632
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 630

def symlink_absolute_path_strategy
  @symlink_absolute_path_strategy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



637
638
639
640
641
642
643
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 637

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)
  @symlink_absolute_path_strategy = args[:symlink_absolute_path_strategy] if args.key?(:symlink_absolute_path_strategy)
end