blob: bbe6d270ecb54cb83a1997d0c09754274f919e6d [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 &quot;executionCapabilities&quot;: { # Capabilities of the remote execution system. # Capabilities of the remote execution system.
109 &quot;digestFunction&quot;: &quot;A String&quot;, # Remote execution may only support a single digest function.
110 &quot;executionPriorityCapabilities&quot;: { # Allowed values for priority in # Supported execution priority range.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700111 # ResultsCachePolicy
112 # Used for querying both cache and execution valid priority ranges.
Bu Sun Kim65020912020-05-20 12:08:20 -0700113 &quot;priorities&quot;: [
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700114 { # Supported range of priorities, including boundaries.
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;maxPriority&quot;: 42,
116 &quot;minPriority&quot;: 42,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700117 },
118 ],
119 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700120 &quot;supportedNodeProperties&quot;: [ # Supported node properties.
121 &quot;A String&quot;,
122 ],
123 &quot;execEnabled&quot;: True or False, # Whether remote execution is enabled for the particular server/instance.
124 },
125 &quot;deprecatedApiVersion&quot;: { # The full version of a given tool. # Earliest RE API version supported, including deprecated versions.
126 &quot;prerelease&quot;: &quot;A String&quot;, # The pre-release version. Either this field or major/minor/patch fields
127 # must be filled. They are mutually exclusive. Pre-release versions are
128 # assumed to be earlier than any released versions.
129 &quot;major&quot;: 42, # The major version, e.g 10 for 10.2.3.
130 &quot;minor&quot;: 42, # The minor version, e.g. 2 for 10.2.3.
131 &quot;patch&quot;: 42, # The patch version, e.g 3 for 10.2.3.
132 },
133 &quot;lowApiVersion&quot;: { # The full version of a given tool. # Earliest non-deprecated RE API version supported.
134 &quot;prerelease&quot;: &quot;A String&quot;, # The pre-release version. Either this field or major/minor/patch fields
135 # must be filled. They are mutually exclusive. Pre-release versions are
136 # assumed to be earlier than any released versions.
137 &quot;major&quot;: 42, # The major version, e.g 10 for 10.2.3.
138 &quot;minor&quot;: 42, # The minor version, e.g. 2 for 10.2.3.
139 &quot;patch&quot;: 42, # The patch version, e.g 3 for 10.2.3.
140 },
141 &quot;cacheCapabilities&quot;: { # Capabilities of the remote cache system. # Capabilities of the remote cache system.
142 &quot;symlinkAbsolutePathStrategy&quot;: &quot;A String&quot;, # Whether absolute symlink targets are supported.
143 &quot;actionCacheUpdateCapabilities&quot;: { # Describes the server/instance capabilities for updating the action cache. # Capabilities for updating the action cache.
144 &quot;updateEnabled&quot;: True or False,
145 },
146 &quot;digestFunction&quot;: [ # All the digest functions supported by the remote cache.
147 # Remote cache may support multiple digest functions simultaneously.
148 &quot;A String&quot;,
149 ],
150 &quot;cachePriorityCapabilities&quot;: { # Allowed values for priority in # Supported cache priority range for both CAS and ActionCache.
151 # ResultsCachePolicy
152 # Used for querying both cache and execution valid priority ranges.
153 &quot;priorities&quot;: [
154 { # Supported range of priorities, including boundaries.
155 &quot;maxPriority&quot;: 42,
156 &quot;minPriority&quot;: 42,
157 },
158 ],
159 },
160 &quot;maxBatchTotalSizeBytes&quot;: &quot;A String&quot;, # Maximum total size of blobs to be uploaded/downloaded using
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700161 # batch methods. A value of 0 means no limit is set, although
162 # in practice there will always be a message size limitation
163 # of the protocol in use, e.g. GRPC.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700164 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700165 &quot;highApiVersion&quot;: { # The full version of a given tool. # Latest RE API version supported.
166 &quot;prerelease&quot;: &quot;A String&quot;, # The pre-release version. Either this field or major/minor/patch fields
Dan O'Mearadd494642020-05-01 07:42:23 -0700167 # must be filled. They are mutually exclusive. Pre-release versions are
168 # assumed to be earlier than any released versions.
Bu Sun Kim65020912020-05-20 12:08:20 -0700169 &quot;major&quot;: 42, # The major version, e.g 10 for 10.2.3.
170 &quot;minor&quot;: 42, # The minor version, e.g. 2 for 10.2.3.
171 &quot;patch&quot;: 42, # The patch version, e.g 3 for 10.2.3.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700172 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700173 }</pre>
174</div>
175
176</body></html>