Class: Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2CacheCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2CacheCapabilities
- 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
-
#action_cache_update_capabilities ⇒ Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
Describes the server/instance capabilities for updating the action cache.
-
#cache_priority_capabilities ⇒ Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2PriorityCapabilities
Allowed values for priority in ResultsCachePolicy Used for querying both cache and execution valid priority ranges.
-
#digest_function ⇒ Array<String>
All the digest functions supported by the remote cache.
-
#max_batch_total_size_bytes ⇒ Fixnum
Maximum total size of blobs to be uploaded/downloaded using batch methods.
-
#symlink_absolute_path_strategy ⇒ String
Whether absolute symlink targets are supported.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2CacheCapabilities
constructor
A new instance of BuildBazelRemoteExecutionV2CacheCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ BuildBazelRemoteExecutionV2CacheCapabilities
Returns a new instance of BuildBazelRemoteExecutionV2CacheCapabilities
744 745 746 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_cache_update_capabilities ⇒ Google::Apis::RemotebuildexecutionV2::BuildBazelRemoteExecutionV2ActionCacheUpdateCapabilities
Describes the server/instance capabilities for updating the action cache.
Corresponds to the JSON property actionCacheUpdateCapabilities
716 717 718 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 716 def action_cache_update_capabilities @action_cache_update_capabilities end |
#cache_priority_capabilities ⇒ Google::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
723 724 725 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 723 def cache_priority_capabilities @cache_priority_capabilities end |
#digest_function ⇒ Array<String>
All the digest functions supported by the remote cache.
Remote cache may support multiple digest functions simultaneously.
Corresponds to the JSON property digestFunction
729 730 731 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 729 def digest_function @digest_function end |
#max_batch_total_size_bytes ⇒ Fixnum
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
737 738 739 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 737 def max_batch_total_size_bytes @max_batch_total_size_bytes end |
#symlink_absolute_path_strategy ⇒ String
Whether absolute symlink targets are supported.
Corresponds to the JSON property symlinkAbsolutePathStrategy
742 743 744 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 742 def symlink_absolute_path_strategy @symlink_absolute_path_strategy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
749 750 751 752 753 754 755 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 749 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 |