1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="remotebuildexecution_v2.html">Remote Build Execution API</a> . <a href="remotebuildexecution_v2.v2.html">v2</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#getCapabilities">getCapabilities(instanceName, x__xgafv=None)</a></code></p> 79<p class="firstline">GetCapabilities returns the server capabilities configuration of the</p> 80<h3>Method Details</h3> 81<div class="method"> 82 <code class="details" id="getCapabilities">getCapabilities(instanceName, x__xgafv=None)</code> 83 <pre>GetCapabilities returns the server capabilities configuration of the 84remote endpoint. 85Only the capabilities of the services supported by the endpoint will 86be returned: 87* Execution + CAS + Action Cache endpoints should return both 88 CacheCapabilities and ExecutionCapabilities. 89* Execution only endpoints should return ExecutionCapabilities. 90* CAS + Action Cache only endpoints should return CacheCapabilities. 91 92Args: 93 instanceName: string, The instance of the execution system to operate against. A server may 94support multiple instances of the execution system (with their own workers, 95storage, caches, etc.). The server MAY require use of this field to select 96between them in an implementation-defined fashion, otherwise it can be 97omitted. (required) 98 x__xgafv: string, V1 error format. 99 Allowed values 100 1 - v1 error format 101 2 - v2 error format 102 103Returns: 104 An object of the form: 105 106 { # A response message for 107 # Capabilities.GetCapabilities. 108 "deprecatedApiVersion": { # The full version of a given tool. # Earliest RE API version supported, including deprecated versions. 109 "major": 42, # The major version, e.g 10 for 10.2.3. 110 "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields 111 # must be filled. They are mutually exclusive. Pre-release versions are 112 # assumed to be earlier than any released versions. 113 "minor": 42, # The minor version, e.g. 2 for 10.2.3. 114 "patch": 42, # The patch version, e.g 3 for 10.2.3. 115 }, 116 "cacheCapabilities": { # Capabilities of the remote cache system. # Capabilities of the remote cache system. 117 "cachePriorityCapabilities": { # Allowed values for priority in # Supported cache priority range for both CAS and ActionCache. 118 # ResultsCachePolicy 119 # Used for querying both cache and execution valid priority ranges. 120 "priorities": [ 121 { # Supported range of priorities, including boundaries. 122 "maxPriority": 42, 123 "minPriority": 42, 124 }, 125 ], 126 }, 127 "maxBatchTotalSizeBytes": "A String", # Maximum total size of blobs to be uploaded/downloaded using 128 # batch methods. A value of 0 means no limit is set, although 129 # in practice there will always be a message size limitation 130 # of the protocol in use, e.g. GRPC. 131 "actionCacheUpdateCapabilities": { # Describes the server/instance capabilities for updating the action cache. # Capabilities for updating the action cache. 132 "updateEnabled": True or False, 133 }, 134 "digestFunction": [ # All the digest functions supported by the remote cache. 135 # Remote cache may support multiple digest functions simultaneously. 136 "A String", 137 ], 138 "symlinkAbsolutePathStrategy": "A String", # Whether absolute symlink targets are supported. 139 }, 140 "executionCapabilities": { # Capabilities of the remote execution system. # Capabilities of the remote execution system. 141 "executionPriorityCapabilities": { # Allowed values for priority in # Supported execution priority range. 142 # ResultsCachePolicy 143 # Used for querying both cache and execution valid priority ranges. 144 "priorities": [ 145 { # Supported range of priorities, including boundaries. 146 "maxPriority": 42, 147 "minPriority": 42, 148 }, 149 ], 150 }, 151 "execEnabled": True or False, # Whether remote execution is enabled for the particular server/instance. 152 "digestFunction": "A String", # Remote execution may only support a single digest function. 153 }, 154 "highApiVersion": { # The full version of a given tool. # Latest RE API version supported. 155 "major": 42, # The major version, e.g 10 for 10.2.3. 156 "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields 157 # must be filled. They are mutually exclusive. Pre-release versions are 158 # assumed to be earlier than any released versions. 159 "minor": 42, # The minor version, e.g. 2 for 10.2.3. 160 "patch": 42, # The patch version, e.g 3 for 10.2.3. 161 }, 162 "lowApiVersion": { # The full version of a given tool. # Earliest non-deprecated RE API version supported. 163 "major": 42, # The major version, e.g 10 for 10.2.3. 164 "prerelease": "A String", # The pre-release version. Either this field or major/minor/patch fields 165 # must be filled. They are mutually exclusive. Pre-release versions are 166 # assumed to be earlier than any released versions. 167 "minor": 42, # The minor version, e.g. 2 for 10.2.3. 168 "patch": 42, # The patch version, e.g 3 for 10.2.3. 169 }, 170 }</pre> 171</div> 172 173</body></html>