OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloudruntimeconfig": { |
| 6 "description": "Manage your Google Cloud Platform services'
runtime configuration" |
| 7 }, |
5 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
7 }, | |
8 "https://www.googleapis.com/auth/cloudruntimeconfig": { | |
9 "description": "Manage your Google Cloud Platform services'
runtime configuration" | |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "", | 14 "basePath": "", |
15 "baseUrl": "https://runtimeconfig.googleapis.com/", | 15 "baseUrl": "https://runtimeconfig.googleapis.com/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "canonicalName": "Cloud RuntimeConfig", | 17 "canonicalName": "Cloud RuntimeConfig", |
18 "description": "Provides capabilities for dynamic configuration and coordina
tion for applications running on Google Cloud Platform.\n", | 18 "description": "Provides capabilities for dynamic configuration and coordina
tion for applications running on Google Cloud Platform.\n", |
19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
20 "documentationLink": "https://cloud.google.com/deployment-manager/runtime-co
nfigurator/", | 20 "documentationLink": "https://cloud.google.com/deployment-manager/runtime-co
nfigurator/", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "runtimeconfig:v1beta1", | 25 "id": "runtimeconfig:v1beta1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "name": "runtimeconfig", | 27 "name": "runtimeconfig", |
28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
29 "ownerName": "Google", | 29 "ownerName": "Google", |
30 "parameters": { | 30 "parameters": { |
31 "access_token": { | 31 "upload_protocol": { |
32 "description": "OAuth access token.", | 32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
33 "location": "query", | 33 "location": "query", |
34 "type": "string" | 34 "type": "string" |
35 }, | 35 }, |
36 "prettyPrint": { | 36 "prettyPrint": { |
37 "default": "true", | 37 "default": "true", |
38 "description": "Returns response with indentations and line breaks."
, | 38 "description": "Returns response with indentations and line breaks."
, |
39 "location": "query", | 39 "location": "query", |
40 "type": "boolean" | 40 "type": "boolean" |
41 }, | 41 }, |
42 "key": { | |
43 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
44 "location": "query", | |
45 "type": "string" | |
46 }, | |
47 "quotaUser": { | |
48 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "pp": { | |
53 "default": "true", | |
54 "description": "Pretty-print response.", | |
55 "location": "query", | |
56 "type": "boolean" | |
57 }, | |
58 "fields": { | 42 "fields": { |
59 "description": "Selector specifying which fields to include in a par
tial response.", | 43 "description": "Selector specifying which fields to include in a par
tial response.", |
60 "location": "query", | 44 "location": "query", |
61 "type": "string" | 45 "type": "string" |
62 }, | 46 }, |
| 47 "uploadType": { |
| 48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 52 "$.xgafv": { |
| 53 "description": "V1 error format.", |
| 54 "enum": [ |
| 55 "1", |
| 56 "2" |
| 57 ], |
| 58 "enumDescriptions": [ |
| 59 "v1 error format", |
| 60 "v2 error format" |
| 61 ], |
| 62 "location": "query", |
| 63 "type": "string" |
| 64 }, |
| 65 "callback": { |
| 66 "description": "JSONP", |
| 67 "location": "query", |
| 68 "type": "string" |
| 69 }, |
63 "alt": { | 70 "alt": { |
64 "default": "json", | 71 "default": "json", |
65 "description": "Data format for response.", | 72 "description": "Data format for response.", |
66 "enum": [ | 73 "enum": [ |
67 "json", | 74 "json", |
68 "media", | 75 "media", |
69 "proto" | 76 "proto" |
70 ], | 77 ], |
71 "enumDescriptions": [ | 78 "enumDescriptions": [ |
72 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
73 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
74 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
75 ], | 82 ], |
76 "location": "query", | 83 "location": "query", |
77 "type": "string" | 84 "type": "string" |
78 }, | 85 }, |
79 "$.xgafv": { | 86 "access_token": { |
80 "description": "V1 error format.", | 87 "description": "OAuth access token.", |
81 "enum": [ | |
82 "1", | |
83 "2" | |
84 ], | |
85 "enumDescriptions": [ | |
86 "v1 error format", | |
87 "v2 error format" | |
88 ], | |
89 "location": "query", | 88 "location": "query", |
90 "type": "string" | 89 "type": "string" |
91 }, | 90 }, |
92 "callback": { | 91 "key": { |
93 "description": "JSONP", | 92 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 }, |
| 96 "quotaUser": { |
| 97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 98 "location": "query", |
| 99 "type": "string" |
| 100 }, |
| 101 "pp": { |
| 102 "default": "true", |
| 103 "description": "Pretty-print response.", |
| 104 "location": "query", |
| 105 "type": "boolean" |
| 106 }, |
| 107 "bearer_token": { |
| 108 "description": "OAuth bearer token.", |
94 "location": "query", | 109 "location": "query", |
95 "type": "string" | 110 "type": "string" |
96 }, | 111 }, |
97 "oauth_token": { | 112 "oauth_token": { |
98 "description": "OAuth 2.0 token for the current user.", | 113 "description": "OAuth 2.0 token for the current user.", |
99 "location": "query", | 114 "location": "query", |
100 "type": "string" | 115 "type": "string" |
101 }, | |
102 "uploadType": { | |
103 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
104 "location": "query", | |
105 "type": "string" | |
106 }, | |
107 "bearer_token": { | |
108 "description": "OAuth bearer token.", | |
109 "location": "query", | |
110 "type": "string" | |
111 }, | |
112 "upload_protocol": { | |
113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
114 "location": "query", | |
115 "type": "string" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "projects": { | 120 "projects": { |
121 "resources": { | 121 "resources": { |
122 "configs": { | 122 "configs": { |
123 "methods": { | 123 "methods": { |
124 "getIamPolicy": { | 124 "getIamPolicy": { |
125 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", | 125 "description": "Gets the access control policy for a
resource.\nReturns an empty policy if the resource exists and does not have a p
olicy\nset.", |
(...skipping 13 matching lines...) Expand all Loading... |
139 }, | 139 }, |
140 "path": "v1beta1/{+resource}:getIamPolicy", | 140 "path": "v1beta1/{+resource}:getIamPolicy", |
141 "response": { | 141 "response": { |
142 "$ref": "Policy" | 142 "$ref": "Policy" |
143 }, | 143 }, |
144 "scopes": [ | 144 "scopes": [ |
145 "https://www.googleapis.com/auth/cloud-platform"
, | 145 "https://www.googleapis.com/auth/cloud-platform"
, |
146 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 146 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
147 ] | 147 ] |
148 }, | 148 }, |
149 "list": { | |
150 "description": "Lists all the RuntimeConfig resource
s within project.", | |
151 "httpMethod": "GET", | |
152 "id": "runtimeconfig.projects.configs.list", | |
153 "parameterOrder": [ | |
154 "parent" | |
155 ], | |
156 "parameters": { | |
157 "pageSize": { | |
158 "description": "Specifies the number of resu
lts to return per page. If there are fewer\nelements than the specified number,
returns all elements.", | |
159 "format": "int32", | |
160 "location": "query", | |
161 "type": "integer" | |
162 }, | |
163 "parent": { | |
164 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", | |
165 "location": "path", | |
166 "pattern": "^projects/[^/]+$", | |
167 "required": true, | |
168 "type": "string" | |
169 }, | |
170 "pageToken": { | |
171 "description": "Specifies a page token to us
e. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to
get the next page of results.", | |
172 "location": "query", | |
173 "type": "string" | |
174 } | |
175 }, | |
176 "path": "v1beta1/{+parent}/configs", | |
177 "response": { | |
178 "$ref": "ListConfigsResponse" | |
179 }, | |
180 "scopes": [ | |
181 "https://www.googleapis.com/auth/cloud-platform"
, | |
182 "https://www.googleapis.com/auth/cloudruntimecon
fig" | |
183 ] | |
184 }, | |
185 "get": { | 149 "get": { |
186 "description": "Gets information about a RuntimeConf
ig resource.", | 150 "description": "Gets information about a RuntimeConf
ig resource.", |
187 "httpMethod": "GET", | 151 "httpMethod": "GET", |
188 "id": "runtimeconfig.projects.configs.get", | 152 "id": "runtimeconfig.projects.configs.get", |
189 "parameterOrder": [ | 153 "parameterOrder": [ |
190 "name" | 154 "name" |
191 ], | 155 ], |
192 "parameters": { | 156 "parameters": { |
193 "name": { | 157 "name": { |
194 "description": "The name of the RuntimeConfi
g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG
_NAME]`", | 158 "description": "The name of the RuntimeConfi
g resource to retrieve, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG
_NAME]`", |
195 "location": "path", | 159 "location": "path", |
196 "pattern": "^projects/[^/]+/configs/[^/]+$", | 160 "pattern": "^projects/[^/]+/configs/[^/]+$", |
197 "required": true, | 161 "required": true, |
| 162 "type": "string" |
| 163 } |
| 164 }, |
| 165 "path": "v1beta1/{+name}", |
| 166 "response": { |
| 167 "$ref": "RuntimeConfig" |
| 168 }, |
| 169 "scopes": [ |
| 170 "https://www.googleapis.com/auth/cloud-platform"
, |
| 171 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
| 172 ] |
| 173 }, |
| 174 "update": { |
| 175 "description": "Updates a RuntimeConfig resource. Th
e configuration must exist beforehand.", |
| 176 "httpMethod": "PUT", |
| 177 "id": "runtimeconfig.projects.configs.update", |
| 178 "parameterOrder": [ |
| 179 "name" |
| 180 ], |
| 181 "parameters": { |
| 182 "name": { |
| 183 "description": "The name of the RuntimeConfi
g resource to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_N
AME]`", |
| 184 "location": "path", |
| 185 "pattern": "^projects/[^/]+/configs/[^/]+$", |
| 186 "required": true, |
198 "type": "string" | 187 "type": "string" |
199 } | 188 } |
200 }, | 189 }, |
201 "path": "v1beta1/{+name}", | 190 "path": "v1beta1/{+name}", |
| 191 "request": { |
| 192 "$ref": "RuntimeConfig" |
| 193 }, |
202 "response": { | 194 "response": { |
203 "$ref": "RuntimeConfig" | 195 "$ref": "RuntimeConfig" |
204 }, | 196 }, |
205 "scopes": [ | 197 "scopes": [ |
206 "https://www.googleapis.com/auth/cloud-platform"
, | 198 "https://www.googleapis.com/auth/cloud-platform"
, |
207 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 199 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
208 ] | 200 ] |
209 }, | 201 }, |
210 "create": { | 202 "testIamPermissions": { |
211 "description": "Creates a new RuntimeConfig resource
. The configuration name must be\nunique within project.", | 203 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.", |
212 "httpMethod": "POST", | 204 "httpMethod": "POST", |
213 "id": "runtimeconfig.projects.configs.create", | 205 "id": "runtimeconfig.projects.configs.testIamPermiss
ions", |
214 "parameterOrder": [ | 206 "parameterOrder": [ |
215 "parent" | 207 "resource" |
216 ], | 208 ], |
217 "parameters": { | 209 "parameters": { |
218 "requestId": { | 210 "resource": { |
219 "description": "An optional but recommended
unique <code>request_id</code>. If the server\nreceives two <code>create()</code
> requests with the same\n<code>request_id</code>, then the second request will
be ignored and the\nfirst resource created and stored in the backend is returne
d.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsibility of
the client to ensure uniqueness of the\n<code>request_id</code> strings.\n\n<co
de>request_id</code> strings are limited to 64 characters.", | 211 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\n`resource` is usually specified as a
path. For example, a Project\nresource is specified as `projects/{project}`.", |
220 "location": "query", | |
221 "type": "string" | |
222 }, | |
223 "parent": { | |
224 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", | |
225 "location": "path", | 212 "location": "path", |
226 "pattern": "^projects/[^/]+$", | 213 "pattern": "^projects/[^/]+/configs/[^/]+$", |
227 "required": true, | 214 "required": true, |
228 "type": "string" | 215 "type": "string" |
229 } | 216 } |
230 }, | 217 }, |
231 "path": "v1beta1/{+parent}/configs", | 218 "path": "v1beta1/{+resource}:testIamPermissions", |
232 "request": { | 219 "request": { |
233 "$ref": "RuntimeConfig" | 220 "$ref": "TestIamPermissionsRequest" |
234 }, | 221 }, |
235 "response": { | 222 "response": { |
236 "$ref": "RuntimeConfig" | 223 "$ref": "TestIamPermissionsResponse" |
237 }, | 224 }, |
238 "scopes": [ | 225 "scopes": [ |
239 "https://www.googleapis.com/auth/cloud-platform"
, | 226 "https://www.googleapis.com/auth/cloud-platform"
, |
240 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 227 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
241 ] | 228 ] |
242 }, | 229 }, |
243 "update": { | 230 "delete": { |
244 "description": "Updates a RuntimeConfig resource. Th
e configuration must exist beforehand.", | 231 "description": "Deletes a RuntimeConfig resource.", |
245 "httpMethod": "PUT", | 232 "httpMethod": "DELETE", |
246 "id": "runtimeconfig.projects.configs.update", | 233 "id": "runtimeconfig.projects.configs.delete", |
247 "parameterOrder": [ | 234 "parameterOrder": [ |
248 "name" | 235 "name" |
249 ], | 236 ], |
250 "parameters": { | 237 "parameters": { |
251 "name": { | 238 "name": { |
252 "description": "The name of the RuntimeConfi
g resource to update, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_N
AME]`", | 239 "description": "The RuntimeConfig resource t
o delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
253 "location": "path", | 240 "location": "path", |
254 "pattern": "^projects/[^/]+/configs/[^/]+$", | 241 "pattern": "^projects/[^/]+/configs/[^/]+$", |
255 "required": true, | 242 "required": true, |
256 "type": "string" | 243 "type": "string" |
257 } | 244 } |
258 }, | 245 }, |
259 "path": "v1beta1/{+name}", | 246 "path": "v1beta1/{+name}", |
260 "request": { | 247 "response": { |
261 "$ref": "RuntimeConfig" | 248 "$ref": "Empty" |
262 }, | 249 }, |
| 250 "scopes": [ |
| 251 "https://www.googleapis.com/auth/cloud-platform"
, |
| 252 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
| 253 ] |
| 254 }, |
| 255 "list": { |
| 256 "description": "Lists all the RuntimeConfig resource
s within project.", |
| 257 "httpMethod": "GET", |
| 258 "id": "runtimeconfig.projects.configs.list", |
| 259 "parameterOrder": [ |
| 260 "parent" |
| 261 ], |
| 262 "parameters": { |
| 263 "parent": { |
| 264 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", |
| 265 "location": "path", |
| 266 "pattern": "^projects/[^/]+$", |
| 267 "required": true, |
| 268 "type": "string" |
| 269 }, |
| 270 "pageToken": { |
| 271 "description": "Specifies a page token to us
e. Set `pageToken` to a `nextPageToken`\nreturned by a previous list request to
get the next page of results.", |
| 272 "location": "query", |
| 273 "type": "string" |
| 274 }, |
| 275 "pageSize": { |
| 276 "description": "Specifies the number of resu
lts to return per page. If there are fewer\nelements than the specified number,
returns all elements.", |
| 277 "format": "int32", |
| 278 "location": "query", |
| 279 "type": "integer" |
| 280 } |
| 281 }, |
| 282 "path": "v1beta1/{+parent}/configs", |
263 "response": { | 283 "response": { |
264 "$ref": "RuntimeConfig" | 284 "$ref": "ListConfigsResponse" |
265 }, | 285 }, |
266 "scopes": [ | 286 "scopes": [ |
267 "https://www.googleapis.com/auth/cloud-platform"
, | 287 "https://www.googleapis.com/auth/cloud-platform"
, |
268 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 288 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
269 ] | 289 ] |
270 }, | 290 }, |
271 "setIamPolicy": { | 291 "setIamPolicy": { |
272 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", | 292 "description": "Sets the access control policy on th
e specified resource. Replaces any\nexisting policy.", |
273 "httpMethod": "POST", | 293 "httpMethod": "POST", |
274 "id": "runtimeconfig.projects.configs.setIamPolicy", | 294 "id": "runtimeconfig.projects.configs.setIamPolicy", |
(...skipping 14 matching lines...) Expand all Loading... |
289 "$ref": "SetIamPolicyRequest" | 309 "$ref": "SetIamPolicyRequest" |
290 }, | 310 }, |
291 "response": { | 311 "response": { |
292 "$ref": "Policy" | 312 "$ref": "Policy" |
293 }, | 313 }, |
294 "scopes": [ | 314 "scopes": [ |
295 "https://www.googleapis.com/auth/cloud-platform"
, | 315 "https://www.googleapis.com/auth/cloud-platform"
, |
296 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 316 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
297 ] | 317 ] |
298 }, | 318 }, |
299 "delete": { | 319 "create": { |
300 "description": "Deletes a RuntimeConfig resource.", | 320 "description": "Creates a new RuntimeConfig resource
. The configuration name must be\nunique within project.", |
301 "httpMethod": "DELETE", | 321 "httpMethod": "POST", |
302 "id": "runtimeconfig.projects.configs.delete", | 322 "id": "runtimeconfig.projects.configs.create", |
303 "parameterOrder": [ | 323 "parameterOrder": [ |
304 "name" | 324 "parent" |
305 ], | 325 ], |
306 "parameters": { | 326 "parameters": { |
307 "name": { | 327 "requestId": { |
308 "description": "The RuntimeConfig resource t
o delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", | 328 "description": "An optional but recommended
unique <code>request_id</code>. If the server\nreceives two <code>create()</code
> requests with the same\n<code>request_id</code>, then the second request will
be ignored and the\nfirst resource created and stored in the backend is returne
d.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsibility of
the client to ensure uniqueness of the\n<code>request_id</code> strings.\n\n<co
de>request_id</code> strings are limited to 64 characters.", |
| 329 "location": "query", |
| 330 "type": "string" |
| 331 }, |
| 332 "parent": { |
| 333 "description": "The [project ID](https://sup
port.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848)\nfor this request,
in the format `projects/[PROJECT_ID]`.", |
309 "location": "path", | 334 "location": "path", |
310 "pattern": "^projects/[^/]+/configs/[^/]+$", | 335 "pattern": "^projects/[^/]+$", |
311 "required": true, | 336 "required": true, |
312 "type": "string" | 337 "type": "string" |
313 } | 338 } |
314 }, | 339 }, |
315 "path": "v1beta1/{+name}", | 340 "path": "v1beta1/{+parent}/configs", |
| 341 "request": { |
| 342 "$ref": "RuntimeConfig" |
| 343 }, |
316 "response": { | 344 "response": { |
317 "$ref": "Empty" | 345 "$ref": "RuntimeConfig" |
318 }, | 346 }, |
319 "scopes": [ | 347 "scopes": [ |
320 "https://www.googleapis.com/auth/cloud-platform"
, | 348 "https://www.googleapis.com/auth/cloud-platform"
, |
321 "https://www.googleapis.com/auth/cloudruntimecon
fig" | |
322 ] | |
323 }, | |
324 "testIamPermissions": { | |
325 "description": "Returns permissions that a caller ha
s on the specified resource.\nIf the resource does not exist, this will return a
n empty set of\npermissions, not a NOT_FOUND error.", | |
326 "httpMethod": "POST", | |
327 "id": "runtimeconfig.projects.configs.testIamPermiss
ions", | |
328 "parameterOrder": [ | |
329 "resource" | |
330 ], | |
331 "parameters": { | |
332 "resource": { | |
333 "description": "REQUIRED: The resource for w
hich the policy detail is being requested.\n`resource` is usually specified as a
path. For example, a Project\nresource is specified as `projects/{project}`.", | |
334 "location": "path", | |
335 "pattern": "^projects/[^/]+/configs/[^/]+$", | |
336 "required": true, | |
337 "type": "string" | |
338 } | |
339 }, | |
340 "path": "v1beta1/{+resource}:testIamPermissions", | |
341 "request": { | |
342 "$ref": "TestIamPermissionsRequest" | |
343 }, | |
344 "response": { | |
345 "$ref": "TestIamPermissionsResponse" | |
346 }, | |
347 "scopes": [ | |
348 "https://www.googleapis.com/auth/cloud-platform"
, | |
349 "https://www.googleapis.com/auth/cloudruntimecon
fig" | 349 "https://www.googleapis.com/auth/cloudruntimecon
fig" |
350 ] | 350 ] |
351 } | 351 } |
352 }, | 352 }, |
353 "resources": { | 353 "resources": { |
354 "variables": { | 354 "variables": { |
355 "methods": { | 355 "methods": { |
356 "watch": { | |
357 "description": "Watches a specific variable
and waits for a change in the variable's value.\nWhen there is a change, this me
thod returns the new value or times out.\n\nIf a variable is deleted while being
watched, the `variableState` state is\nset to `DELETED` and the method returns
the last known variable `value`.\n\nIf you set the deadline for watching to a la
rger value than internal timeout\n(60 seconds), the current variable value is re
turned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo lear
n more about creating a watcher, read the\n[Watching a Variable for Changes](/de
ployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", | |
358 "httpMethod": "POST", | |
359 "id": "runtimeconfig.projects.configs.variab
les.watch", | |
360 "parameterOrder": [ | |
361 "name" | |
362 ], | |
363 "parameters": { | |
364 "name": { | |
365 "description": "The name of the vari
able to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", | |
366 "location": "path", | |
367 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
368 "required": true, | |
369 "type": "string" | |
370 } | |
371 }, | |
372 "path": "v1beta1/{+name}:watch", | |
373 "request": { | |
374 "$ref": "WatchVariableRequest" | |
375 }, | |
376 "response": { | |
377 "$ref": "Variable" | |
378 }, | |
379 "scopes": [ | |
380 "https://www.googleapis.com/auth/cloud-p
latform", | |
381 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
382 ] | |
383 }, | |
384 "list": { | 356 "list": { |
385 "description": "Lists variables within given
a configuration, matching any provided filters.\nThis only lists variable names
, not the values.", | 357 "description": "Lists variables within given
a configuration, matching any provided filters.\nThis only lists variable names
, not the values.", |
386 "httpMethod": "GET", | 358 "httpMethod": "GET", |
387 "id": "runtimeconfig.projects.configs.variab
les.list", | 359 "id": "runtimeconfig.projects.configs.variab
les.list", |
388 "parameterOrder": [ | 360 "parameterOrder": [ |
389 "parent" | 361 "parent" |
390 ], | 362 ], |
391 "parameters": { | 363 "parameters": { |
| 364 "pageToken": { |
| 365 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", |
| 366 "location": "query", |
| 367 "type": "string" |
| 368 }, |
392 "pageSize": { | 369 "pageSize": { |
393 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", | 370 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", |
394 "format": "int32", | 371 "format": "int32", |
395 "location": "query", | 372 "location": "query", |
396 "type": "integer" | 373 "type": "integer" |
397 }, | 374 }, |
398 "filter": { | |
399 "description": "Filters variables by
matching the specified filter. For example:\n\n`projects/example-project/config
/[CONFIG_NAME]/variables/example-variable`.", | |
400 "location": "query", | |
401 "type": "string" | |
402 }, | |
403 "parent": { | 375 "parent": { |
404 "description": "The path to the Runt
imeConfig resource for which you want to list variables.\nThe configuration must
exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/con
figs/[CONFIG_NAME]`", | 376 "description": "The path to the Runt
imeConfig resource for which you want to list variables.\nThe configuration must
exist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/con
figs/[CONFIG_NAME]`", |
405 "location": "path", | 377 "location": "path", |
406 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 378 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
407 "required": true, | 379 "required": true, |
408 "type": "string" | 380 "type": "string" |
409 }, | 381 }, |
410 "pageToken": { | 382 "filter": { |
411 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", | 383 "description": "Filters variables by
matching the specified filter. For example:\n\n`projects/example-project/config
/[CONFIG_NAME]/variables/example-variable`.", |
412 "location": "query", | 384 "location": "query", |
413 "type": "string" | 385 "type": "string" |
414 } | 386 } |
415 }, | 387 }, |
416 "path": "v1beta1/{+parent}/variables", | 388 "path": "v1beta1/{+parent}/variables", |
417 "response": { | 389 "response": { |
418 "$ref": "ListVariablesResponse" | 390 "$ref": "ListVariablesResponse" |
419 }, | 391 }, |
420 "scopes": [ | 392 "scopes": [ |
421 "https://www.googleapis.com/auth/cloud-p
latform", | 393 "https://www.googleapis.com/auth/cloud-p
latform", |
| 394 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 395 ] |
| 396 }, |
| 397 "create": { |
| 398 "description": "Creates a variable within th
e given configuration. You cannot create\na variable with a name that is a prefi
x of an existing variable name, or a\nname that has an existing variable name as
a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Ge
tting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndoc
umentation.", |
| 399 "httpMethod": "POST", |
| 400 "id": "runtimeconfig.projects.configs.variab
les.create", |
| 401 "parameterOrder": [ |
| 402 "parent" |
| 403 ], |
| 404 "parameters": { |
| 405 "requestId": { |
| 406 "description": "An optional but reco
mmended unique <code>request_id</code>. If the server\nreceives two <code>create
()</code> requests with the same\n<code>request_id</code>, then the second requ
est will be ignored and the\nfirst resource created and stored in the backend is
returned.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsib
ility of the client to ensure uniqueness of the\n<code>request_id</code> strings
.\n\n<code>request_id</code> strings are limited to 64 characters.", |
| 407 "location": "query", |
| 408 "type": "string" |
| 409 }, |
| 410 "parent": { |
| 411 "description": "The path to the Ruti
meConfig resource that this variable should belong to.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", |
| 412 "location": "path", |
| 413 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
| 414 "required": true, |
| 415 "type": "string" |
| 416 } |
| 417 }, |
| 418 "path": "v1beta1/{+parent}/variables", |
| 419 "request": { |
| 420 "$ref": "Variable" |
| 421 }, |
| 422 "response": { |
| 423 "$ref": "Variable" |
| 424 }, |
| 425 "scopes": [ |
| 426 "https://www.googleapis.com/auth/cloud-p
latform", |
422 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 427 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
423 ] | 428 ] |
424 }, | 429 }, |
425 "get": { | 430 "get": { |
426 "description": "Gets information about a sin
gle variable.", | 431 "description": "Gets information about a sin
gle variable.", |
427 "httpMethod": "GET", | 432 "httpMethod": "GET", |
428 "id": "runtimeconfig.projects.configs.variab
les.get", | 433 "id": "runtimeconfig.projects.configs.variab
les.get", |
429 "parameterOrder": [ | 434 "parameterOrder": [ |
430 "name" | 435 "name" |
431 ], | 436 ], |
432 "parameters": { | 437 "parameters": { |
433 "name": { | 438 "name": { |
434 "description": "The name of the vari
able to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIBLE_NAME]`", | 439 "description": "The name of the vari
able to return, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIBLE_NAME]`", |
435 "location": "path", | 440 "location": "path", |
436 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | 441 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
437 "required": true, | 442 "required": true, |
438 "type": "string" | 443 "type": "string" |
439 } | 444 } |
440 }, | 445 }, |
441 "path": "v1beta1/{+name}", | 446 "path": "v1beta1/{+name}", |
442 "response": { | 447 "response": { |
443 "$ref": "Variable" | 448 "$ref": "Variable" |
444 }, | 449 }, |
445 "scopes": [ | 450 "scopes": [ |
446 "https://www.googleapis.com/auth/cloud-p
latform", | 451 "https://www.googleapis.com/auth/cloud-p
latform", |
447 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 452 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
448 ] | 453 ] |
449 }, | 454 }, |
450 "create": { | 455 "watch": { |
451 "description": "Creates a variable within th
e given configuration. You cannot create\na variable with a name that is a prefi
x of an existing variable name, or a\nname that has an existing variable name as
a prefix.\n\nTo learn more about creating a variable, read the\n[Setting and Ge
tting Data](/deployment-manager/runtime-configurator/set-and-get-variables)\ndoc
umentation.", | 456 "description": "Watches a specific variable
and waits for a change in the variable's value.\nWhen there is a change, this me
thod returns the new value or times out.\n\nIf a variable is deleted while being
watched, the `variableState` state is\nset to `DELETED` and the method returns
the last known variable `value`.\n\nIf you set the deadline for watching to a la
rger value than internal timeout\n(60 seconds), the current variable value is re
turned and the `variableState`\nwill be `VARIABLE_STATE_UNSPECIFIED`.\n\nTo lear
n more about creating a watcher, read the\n[Watching a Variable for Changes](/de
ployment-manager/runtime-configurator/watching-a-variable)\ndocumentation.", |
452 "httpMethod": "POST", | 457 "httpMethod": "POST", |
453 "id": "runtimeconfig.projects.configs.variab
les.create", | 458 "id": "runtimeconfig.projects.configs.variab
les.watch", |
454 "parameterOrder": [ | 459 "parameterOrder": [ |
455 "parent" | 460 "name" |
456 ], | 461 ], |
457 "parameters": { | 462 "parameters": { |
458 "requestId": { | 463 "name": { |
459 "description": "An optional but reco
mmended unique <code>request_id</code>. If the server\nreceives two <code>create
()</code> requests with the same\n<code>request_id</code>, then the second requ
est will be ignored and the\nfirst resource created and stored in the backend is
returned.\nEmpty <code>request_id</code> fields are ignored.\n\nIt is responsib
ility of the client to ensure uniqueness of the\n<code>request_id</code> strings
.\n\n<code>request_id</code> strings are limited to 64 characters.", | 464 "description": "The name of the vari
able to watch, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]`", |
460 "location": "query", | |
461 "type": "string" | |
462 }, | |
463 "parent": { | |
464 "description": "The path to the Ruti
meConfig resource that this variable should belong to.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", | |
465 "location": "path", | 465 "location": "path", |
466 "pattern": "^projects/[^/]+/configs/
[^/]+$", | 466 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
467 "required": true, | 467 "required": true, |
468 "type": "string" | 468 "type": "string" |
469 } | 469 } |
470 }, | 470 }, |
471 "path": "v1beta1/{+parent}/variables", | 471 "path": "v1beta1/{+name}:watch", |
472 "request": { | 472 "request": { |
473 "$ref": "Variable" | 473 "$ref": "WatchVariableRequest" |
474 }, | 474 }, |
475 "response": { | 475 "response": { |
476 "$ref": "Variable" | 476 "$ref": "Variable" |
477 }, | 477 }, |
478 "scopes": [ | 478 "scopes": [ |
479 "https://www.googleapis.com/auth/cloud-p
latform", | 479 "https://www.googleapis.com/auth/cloud-p
latform", |
480 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 480 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
481 ] | 481 ] |
482 }, | 482 }, |
483 "update": { | 483 "update": { |
(...skipping 17 matching lines...) Expand all Loading... |
501 "$ref": "Variable" | 501 "$ref": "Variable" |
502 }, | 502 }, |
503 "response": { | 503 "response": { |
504 "$ref": "Variable" | 504 "$ref": "Variable" |
505 }, | 505 }, |
506 "scopes": [ | 506 "scopes": [ |
507 "https://www.googleapis.com/auth/cloud-p
latform", | 507 "https://www.googleapis.com/auth/cloud-p
latform", |
508 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 508 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
509 ] | 509 ] |
510 }, | 510 }, |
| 511 "testIamPermissions": { |
| 512 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", |
| 513 "httpMethod": "GET", |
| 514 "id": "runtimeconfig.projects.configs.variab
les.testIamPermissions", |
| 515 "parameterOrder": [ |
| 516 "resource" |
| 517 ], |
| 518 "parameters": { |
| 519 "resource": { |
| 520 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", |
| 521 "location": "path", |
| 522 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
| 523 "required": true, |
| 524 "type": "string" |
| 525 }, |
| 526 "permissions": { |
| 527 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
| 528 "location": "query", |
| 529 "repeated": true, |
| 530 "type": "string" |
| 531 } |
| 532 }, |
| 533 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
| 534 "response": { |
| 535 "$ref": "TestIamPermissionsResponse" |
| 536 }, |
| 537 "scopes": [ |
| 538 "https://www.googleapis.com/auth/cloud-p
latform", |
| 539 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 540 ] |
| 541 }, |
511 "delete": { | 542 "delete": { |
512 "description": "Deletes a variable or multip
le variables.\n\nIf you specify a variable name, then that variable is deleted.
If you\nspecify a prefix and `recursive` is true, then all variables with that\n
prefix are deleted. You must set a `recursive` to true if you delete\nvariables
by prefix.", | 543 "description": "Deletes a variable or multip
le variables.\n\nIf you specify a variable name, then that variable is deleted.
If you\nspecify a prefix and `recursive` is true, then all variables with that\n
prefix are deleted. You must set a `recursive` to true if you delete\nvariables
by prefix.", |
513 "httpMethod": "DELETE", | 544 "httpMethod": "DELETE", |
514 "id": "runtimeconfig.projects.configs.variab
les.delete", | 545 "id": "runtimeconfig.projects.configs.variab
les.delete", |
515 "parameterOrder": [ | 546 "parameterOrder": [ |
516 "name" | 547 "name" |
517 ], | 548 ], |
518 "parameters": { | 549 "parameters": { |
519 "recursive": { | 550 "recursive": { |
520 "description": "Set to `true` to rec
ursively delete multiple variables with the same\nprefix.", | 551 "description": "Set to `true` to rec
ursively delete multiple variables with the same\nprefix.", |
521 "location": "query", | 552 "location": "query", |
522 "type": "boolean" | 553 "type": "boolean" |
523 }, | 554 }, |
524 "name": { | 555 "name": { |
525 "description": "The name of the vari
able to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", | 556 "description": "The name of the vari
able to delete, in the format:\n\n`projects/[PROJECT_ID]/configs/[CONFIG_NAME]/v
ariables/[VARIABLE_NAME]`", |
526 "location": "path", | 557 "location": "path", |
527 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | 558 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", |
528 "required": true, | 559 "required": true, |
529 "type": "string" | 560 "type": "string" |
530 } | 561 } |
531 }, | 562 }, |
532 "path": "v1beta1/{+name}", | 563 "path": "v1beta1/{+name}", |
533 "response": { | 564 "response": { |
534 "$ref": "Empty" | 565 "$ref": "Empty" |
535 }, | 566 }, |
536 "scopes": [ | 567 "scopes": [ |
537 "https://www.googleapis.com/auth/cloud-p
latform", | 568 "https://www.googleapis.com/auth/cloud-p
latform", |
538 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 569 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
539 ] | 570 ] |
| 571 } |
| 572 } |
| 573 }, |
| 574 "operations": { |
| 575 "methods": { |
| 576 "get": { |
| 577 "description": "Gets the latest state of a l
ong-running operation. Clients can use this\nmethod to poll the operation resul
t at intervals as recommended by the API\nservice.", |
| 578 "httpMethod": "GET", |
| 579 "id": "runtimeconfig.projects.configs.operat
ions.get", |
| 580 "parameterOrder": [ |
| 581 "name" |
| 582 ], |
| 583 "parameters": { |
| 584 "name": { |
| 585 "description": "The name of the oper
ation resource.", |
| 586 "location": "path", |
| 587 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", |
| 588 "required": true, |
| 589 "type": "string" |
| 590 } |
| 591 }, |
| 592 "path": "v1beta1/{+name}", |
| 593 "response": { |
| 594 "$ref": "Operation" |
| 595 }, |
| 596 "scopes": [ |
| 597 "https://www.googleapis.com/auth/cloud-p
latform", |
| 598 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 599 ] |
540 }, | 600 }, |
541 "testIamPermissions": { | 601 "testIamPermissions": { |
542 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | 602 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", |
543 "httpMethod": "GET", | 603 "httpMethod": "GET", |
544 "id": "runtimeconfig.projects.configs.variab
les.testIamPermissions", | 604 "id": "runtimeconfig.projects.configs.operat
ions.testIamPermissions", |
545 "parameterOrder": [ | 605 "parameterOrder": [ |
546 "resource" | 606 "resource" |
547 ], | 607 ], |
548 "parameters": { | 608 "parameters": { |
| 609 "resource": { |
| 610 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", |
| 611 "location": "path", |
| 612 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", |
| 613 "required": true, |
| 614 "type": "string" |
| 615 }, |
549 "permissions": { | 616 "permissions": { |
550 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | 617 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
551 "location": "query", | 618 "location": "query", |
552 "repeated": true, | 619 "repeated": true, |
553 "type": "string" | 620 "type": "string" |
554 }, | |
555 "resource": { | |
556 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | |
557 "location": "path", | |
558 "pattern": "^projects/[^/]+/configs/
[^/]+/variables/.+$", | |
559 "required": true, | |
560 "type": "string" | |
561 } | 621 } |
562 }, | 622 }, |
563 "path": "v1beta1/{+resource}:testIamPermissi
ons", | 623 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
564 "response": { | 624 "response": { |
565 "$ref": "TestIamPermissionsResponse" | 625 "$ref": "TestIamPermissionsResponse" |
566 }, | 626 }, |
567 "scopes": [ | 627 "scopes": [ |
568 "https://www.googleapis.com/auth/cloud-p
latform", | 628 "https://www.googleapis.com/auth/cloud-p
latform", |
569 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 629 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
570 ] | 630 ] |
571 } | 631 } |
572 } | 632 } |
573 }, | 633 }, |
574 "waiters": { | 634 "waiters": { |
575 "methods": { | 635 "methods": { |
| 636 "list": { |
| 637 "description": "List waiters within the give
n configuration.", |
| 638 "httpMethod": "GET", |
| 639 "id": "runtimeconfig.projects.configs.waiter
s.list", |
| 640 "parameterOrder": [ |
| 641 "parent" |
| 642 ], |
| 643 "parameters": { |
| 644 "pageToken": { |
| 645 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", |
| 646 "location": "query", |
| 647 "type": "string" |
| 648 }, |
| 649 "pageSize": { |
| 650 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", |
| 651 "format": "int32", |
| 652 "location": "query", |
| 653 "type": "integer" |
| 654 }, |
| 655 "parent": { |
| 656 "description": "The path to the conf
iguration for which you want to get a list of waiters.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", |
| 657 "location": "path", |
| 658 "pattern": "^projects/[^/]+/configs/
[^/]+$", |
| 659 "required": true, |
| 660 "type": "string" |
| 661 } |
| 662 }, |
| 663 "path": "v1beta1/{+parent}/waiters", |
| 664 "response": { |
| 665 "$ref": "ListWaitersResponse" |
| 666 }, |
| 667 "scopes": [ |
| 668 "https://www.googleapis.com/auth/cloud-p
latform", |
| 669 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
| 670 ] |
| 671 }, |
576 "get": { | 672 "get": { |
577 "description": "Gets information about a sin
gle waiter.", | 673 "description": "Gets information about a sin
gle waiter.", |
578 "httpMethod": "GET", | 674 "httpMethod": "GET", |
579 "id": "runtimeconfig.projects.configs.waiter
s.get", | 675 "id": "runtimeconfig.projects.configs.waiter
s.get", |
580 "parameterOrder": [ | 676 "parameterOrder": [ |
581 "name" | 677 "name" |
582 ], | 678 ], |
583 "parameters": { | 679 "parameters": { |
584 "name": { | 680 "name": { |
585 "description": "The fully-qualified
name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PR
OJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", | 681 "description": "The fully-qualified
name of the Waiter resource object to retrieve, in the\nformat:\n\n`projects/[PR
OJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]`", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
632 ] | 728 ] |
633 }, | 729 }, |
634 "testIamPermissions": { | 730 "testIamPermissions": { |
635 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | 731 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", |
636 "httpMethod": "GET", | 732 "httpMethod": "GET", |
637 "id": "runtimeconfig.projects.configs.waiter
s.testIamPermissions", | 733 "id": "runtimeconfig.projects.configs.waiter
s.testIamPermissions", |
638 "parameterOrder": [ | 734 "parameterOrder": [ |
639 "resource" | 735 "resource" |
640 ], | 736 ], |
641 "parameters": { | 737 "parameters": { |
642 "permissions": { | |
643 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | |
644 "location": "query", | |
645 "repeated": true, | |
646 "type": "string" | |
647 }, | |
648 "resource": { | 738 "resource": { |
649 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | 739 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", |
650 "location": "path", | 740 "location": "path", |
651 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", | 741 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", |
652 "required": true, | 742 "required": true, |
653 "type": "string" | 743 "type": "string" |
| 744 }, |
| 745 "permissions": { |
| 746 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", |
| 747 "location": "query", |
| 748 "repeated": true, |
| 749 "type": "string" |
654 } | 750 } |
655 }, | 751 }, |
656 "path": "v1beta1/{+resource}:testIamPermissi
ons", | 752 "path": "v1beta1/{+resource}:testIamPermissi
ons", |
657 "response": { | 753 "response": { |
658 "$ref": "TestIamPermissionsResponse" | 754 "$ref": "TestIamPermissionsResponse" |
659 }, | 755 }, |
660 "scopes": [ | 756 "scopes": [ |
661 "https://www.googleapis.com/auth/cloud-p
latform", | 757 "https://www.googleapis.com/auth/cloud-p
latform", |
662 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
663 ] | |
664 }, | |
665 "list": { | |
666 "description": "List waiters within the give
n configuration.", | |
667 "httpMethod": "GET", | |
668 "id": "runtimeconfig.projects.configs.waiter
s.list", | |
669 "parameterOrder": [ | |
670 "parent" | |
671 ], | |
672 "parameters": { | |
673 "pageSize": { | |
674 "description": "Specifies the number
of results to return per page. If there are fewer\nelements than the specified
number, returns all elements.", | |
675 "format": "int32", | |
676 "location": "query", | |
677 "type": "integer" | |
678 }, | |
679 "parent": { | |
680 "description": "The path to the conf
iguration for which you want to get a list of waiters.\nThe configuration must e
xist beforehand; the path must by in the format:\n\n`projects/[PROJECT_ID]/confi
gs/[CONFIG_NAME]`", | |
681 "location": "path", | |
682 "pattern": "^projects/[^/]+/configs/
[^/]+$", | |
683 "required": true, | |
684 "type": "string" | |
685 }, | |
686 "pageToken": { | |
687 "description": "Specifies a page tok
en to use. Set `pageToken` to a `nextPageToken`\nreturned by a previous list req
uest to get the next page of results.", | |
688 "location": "query", | |
689 "type": "string" | |
690 } | |
691 }, | |
692 "path": "v1beta1/{+parent}/waiters", | |
693 "response": { | |
694 "$ref": "ListWaitersResponse" | |
695 }, | |
696 "scopes": [ | |
697 "https://www.googleapis.com/auth/cloud-p
latform", | |
698 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 758 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
699 ] | 759 ] |
700 }, | 760 }, |
701 "delete": { | 761 "delete": { |
702 "description": "Deletes the waiter with the
specified name.", | 762 "description": "Deletes the waiter with the
specified name.", |
703 "httpMethod": "DELETE", | 763 "httpMethod": "DELETE", |
704 "id": "runtimeconfig.projects.configs.waiter
s.delete", | 764 "id": "runtimeconfig.projects.configs.waiter
s.delete", |
705 "parameterOrder": [ | 765 "parameterOrder": [ |
706 "name" | 766 "name" |
707 ], | 767 ], |
708 "parameters": { | 768 "parameters": { |
709 "name": { | 769 "name": { |
710 "description": "The Waiter resource
to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waite
rs/[WAITER_NAME]`", | 770 "description": "The Waiter resource
to delete, in the format:\n\n `projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waite
rs/[WAITER_NAME]`", |
711 "location": "path", | 771 "location": "path", |
712 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", | 772 "pattern": "^projects/[^/]+/configs/
[^/]+/waiters/[^/]+$", |
713 "required": true, | 773 "required": true, |
714 "type": "string" | 774 "type": "string" |
715 } | 775 } |
716 }, | 776 }, |
717 "path": "v1beta1/{+name}", | 777 "path": "v1beta1/{+name}", |
718 "response": { | 778 "response": { |
719 "$ref": "Empty" | 779 "$ref": "Empty" |
720 }, | 780 }, |
721 "scopes": [ | 781 "scopes": [ |
722 "https://www.googleapis.com/auth/cloud-p
latform", | 782 "https://www.googleapis.com/auth/cloud-p
latform", |
723 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | 783 "https://www.googleapis.com/auth/cloudru
ntimeconfig" |
724 ] | 784 ] |
725 } | 785 } |
726 } | 786 } |
727 }, | |
728 "operations": { | |
729 "methods": { | |
730 "get": { | |
731 "description": "Gets the latest state of a l
ong-running operation. Clients can use this\nmethod to poll the operation resul
t at intervals as recommended by the API\nservice.", | |
732 "httpMethod": "GET", | |
733 "id": "runtimeconfig.projects.configs.operat
ions.get", | |
734 "parameterOrder": [ | |
735 "name" | |
736 ], | |
737 "parameters": { | |
738 "name": { | |
739 "description": "The name of the oper
ation resource.", | |
740 "location": "path", | |
741 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", | |
742 "required": true, | |
743 "type": "string" | |
744 } | |
745 }, | |
746 "path": "v1beta1/{+name}", | |
747 "response": { | |
748 "$ref": "Operation" | |
749 }, | |
750 "scopes": [ | |
751 "https://www.googleapis.com/auth/cloud-p
latform", | |
752 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
753 ] | |
754 }, | |
755 "testIamPermissions": { | |
756 "description": "Returns permissions that a c
aller has on the specified resource.\nIf the resource does not exist, this will
return an empty set of\npermissions, not a NOT_FOUND error.", | |
757 "httpMethod": "GET", | |
758 "id": "runtimeconfig.projects.configs.operat
ions.testIamPermissions", | |
759 "parameterOrder": [ | |
760 "resource" | |
761 ], | |
762 "parameters": { | |
763 "permissions": { | |
764 "description": "The set of permissio
ns to check for the `resource`. Permissions with\nwildcards (such as '*' or 'sto
rage.*') are not allowed. For more\ninformation see\n[IAM Overview](https://clou
d.google.com/iam/docs/overview#permissions).", | |
765 "location": "query", | |
766 "repeated": true, | |
767 "type": "string" | |
768 }, | |
769 "resource": { | |
770 "description": "REQUIRED: The resour
ce for which the policy detail is being requested.\n`resource` is usually specif
ied as a path. For example, a Project\nresource is specified as `projects/{proje
ct}`.", | |
771 "location": "path", | |
772 "pattern": "^projects/[^/]+/configs/
[^/]+/operations/.+$", | |
773 "required": true, | |
774 "type": "string" | |
775 } | |
776 }, | |
777 "path": "v1beta1/{+resource}:testIamPermissi
ons", | |
778 "response": { | |
779 "$ref": "TestIamPermissionsResponse" | |
780 }, | |
781 "scopes": [ | |
782 "https://www.googleapis.com/auth/cloud-p
latform", | |
783 "https://www.googleapis.com/auth/cloudru
ntimeconfig" | |
784 ] | |
785 } | |
786 } | |
787 } | 787 } |
788 } | 788 } |
789 } | 789 } |
790 } | 790 } |
791 } | 791 } |
792 }, | 792 }, |
793 "revision": "20170109", | 793 "revision": "20170123", |
794 "rootUrl": "https://runtimeconfig.googleapis.com/", | 794 "rootUrl": "https://runtimeconfig.googleapis.com/", |
795 "schemas": { | 795 "schemas": { |
796 "Status": { | 796 "Status": { |
797 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | 797 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
798 "id": "Status", | 798 "id": "Status", |
799 "properties": { | 799 "properties": { |
800 "code": { | |
801 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
802 "format": "int32", | |
803 "type": "integer" | |
804 }, | |
805 "details": { | 800 "details": { |
806 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 801 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
807 "items": { | 802 "items": { |
808 "additionalProperties": { | 803 "additionalProperties": { |
809 "description": "Properties of the object. Contains f
ield @type with type URL.", | 804 "description": "Properties of the object. Contains f
ield @type with type URL.", |
810 "type": "any" | 805 "type": "any" |
811 }, | 806 }, |
812 "type": "object" | 807 "type": "object" |
813 }, | 808 }, |
814 "type": "array" | 809 "type": "array" |
815 }, | 810 }, |
| 811 "code": { |
| 812 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 813 "format": "int32", |
| 814 "type": "integer" |
| 815 }, |
816 "message": { | 816 "message": { |
817 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | 817 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
818 "type": "string" | 818 "type": "string" |
819 } | 819 } |
820 }, | 820 }, |
821 "type": "object" | 821 "type": "object" |
822 }, | 822 }, |
823 "Variable": { | 823 "Binding": { |
824 "description": "Describes a single variable within a RuntimeConfig r
esource.\nThe name denotes the hierarchical variable name. For example,\n`ports/
serving_port` is a valid variable name. The variable value is an\nopaque string
and only leaf variables can have values (that is, variables\nthat do not have an
y child variables).", | 824 "description": "Associates `members` with a `role`.", |
825 "id": "Variable", | 825 "id": "Binding", |
826 "properties": { | 826 "properties": { |
827 "value": { | 827 "role": { |
828 "description": "The binary value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. The
value must be\nbase64 encoded. Only one of `value` or `text` can be set.", | 828 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
829 "format": "byte", | |
830 "type": "string" | 829 "type": "string" |
831 }, | 830 }, |
832 "text": { | 831 "members": { |
833 "description": "The string value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. For
example,\n<code>text: \"my text value\"</code>.", | 832 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
| 833 "items": { |
| 834 "type": "string" |
| 835 }, |
| 836 "type": "array" |
| 837 } |
| 838 }, |
| 839 "type": "object" |
| 840 }, |
| 841 "Cardinality": { |
| 842 "description": "A Cardinality condition for the Waiter resource. A c
ardinality condition is\nmet when the number of variables under a specified path
prefix reaches a\npredefined number. For example, if you set a Cardinality cond
ition where\nthe `path` is set to `/foo` and the number of paths is set to 2, th
e\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n
+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variab
le3 = \"value3\"`\n\nIt would not would not satisify the same condition with the
`number` set to\n3, however, because there is only 2 paths that start with `/fo
o`.\nCardinality conditions are recursive; all subtrees under the specific\npath
prefix are counted.", |
| 843 "id": "Cardinality", |
| 844 "properties": { |
| 845 "path": { |
| 846 "description": "The root of the variable subtree to monitor.
For example, `/foo`.", |
834 "type": "string" | 847 "type": "string" |
835 }, | 848 }, |
836 "updateTime": { | 849 "number": { |
837 "description": "[Output Only] The time of the last variable
update.", | 850 "description": "The number variables under the `path` that m
ust exist to meet this\ncondition. Defaults to 1 if not specified.", |
838 "format": "google-datetime", | 851 "format": "int32", |
839 "type": "string" | 852 "type": "integer" |
840 }, | |
841 "state": { | |
842 "description": "[Ouput only] The current state of the variab
le. The variable state indicates\nthe outcome of the `variables().watch` call an
d is visible through the\n`get` and `list` calls.", | |
843 "enum": [ | |
844 "VARIABLE_STATE_UNSPECIFIED", | |
845 "UPDATED", | |
846 "DELETED" | |
847 ], | |
848 "enumDescriptions": [ | |
849 "Default variable state.", | |
850 "The variable was updated, while `variables().watch` was
executing.", | |
851 "The variable was deleted, while `variables().watch` was
executing." | |
852 ], | |
853 "type": "string" | |
854 }, | |
855 "name": { | |
856 "description": "The name of the variable resource, in the fo
rmat:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
E]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\n
valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile
path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slash
es and\ndashes. Slashes are used as path element separators and are not part of
the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nn
on-slash character. Multiple slashes are coalesced into single slash\ncharacter.
Each path segment should follow RFC 1035 segment specification.\nThe length of
a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable,
you cannot change the variable name.", | |
857 "type": "string" | |
858 } | 853 } |
859 }, | 854 }, |
860 "type": "object" | 855 "type": "object" |
861 }, | 856 }, |
| 857 "Empty": { |
| 858 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 859 "id": "Empty", |
| 860 "properties": {}, |
| 861 "type": "object" |
| 862 }, |
862 "ListConfigsResponse": { | 863 "ListConfigsResponse": { |
863 "description": "`ListConfigs()` returns the following response. The
order of returned\nobjects is arbitrary; that is, it is not ordered in any parti
cular way.", | 864 "description": "`ListConfigs()` returns the following response. The
order of returned\nobjects is arbitrary; that is, it is not ordered in any parti
cular way.", |
864 "id": "ListConfigsResponse", | 865 "id": "ListConfigsResponse", |
865 "properties": { | 866 "properties": { |
866 "nextPageToken": { | |
867 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", | |
868 "type": "string" | |
869 }, | |
870 "configs": { | 867 "configs": { |
871 "description": "A list of the configurations in the project.
The order of returned\nobjects is arbitrary; that is, it is not ordered in any
particular way.", | 868 "description": "A list of the configurations in the project.
The order of returned\nobjects is arbitrary; that is, it is not ordered in any
particular way.", |
872 "items": { | 869 "items": { |
873 "$ref": "RuntimeConfig" | 870 "$ref": "RuntimeConfig" |
874 }, | 871 }, |
875 "type": "array" | 872 "type": "array" |
876 } | |
877 }, | |
878 "type": "object" | |
879 }, | |
880 "Operation": { | |
881 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | |
882 "id": "Operation", | |
883 "properties": { | |
884 "error": { | |
885 "$ref": "Status", | |
886 "description": "The error result of the operation in case of
failure or cancellation." | |
887 }, | 873 }, |
888 "done": { | 874 "nextPageToken": { |
889 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | 875 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", |
890 "type": "boolean" | |
891 }, | |
892 "metadata": { | |
893 "additionalProperties": { | |
894 "description": "Properties of the object. Contains field
@type with type URL.", | |
895 "type": "any" | |
896 }, | |
897 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | |
898 "type": "object" | |
899 }, | |
900 "response": { | |
901 "additionalProperties": { | |
902 "description": "Properties of the object. Contains field
@type with type URL.", | |
903 "type": "any" | |
904 }, | |
905 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | |
906 "type": "object" | |
907 }, | |
908 "name": { | |
909 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | |
910 "type": "string" | 876 "type": "string" |
911 } | 877 } |
912 }, | 878 }, |
913 "type": "object" | 879 "type": "object" |
914 }, | 880 }, |
915 "SetIamPolicyRequest": { | 881 "EndCondition": { |
916 "description": "Request message for `SetIamPolicy` method.", | 882 "description": "The condition that a Waiter resource is waiting for.
", |
917 "id": "SetIamPolicyRequest", | 883 "id": "EndCondition", |
918 "properties": { | 884 "properties": { |
919 "policy": { | 885 "cardinality": { |
920 "$ref": "Policy", | 886 "$ref": "Cardinality", |
921 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." | 887 "description": "The cardinality of the `EndCondition`." |
922 } | 888 } |
923 }, | 889 }, |
924 "type": "object" | 890 "type": "object" |
925 }, | 891 }, |
926 "TestIamPermissionsResponse": { | 892 "TestIamPermissionsResponse": { |
927 "description": "Response message for `TestIamPermissions` method.", | 893 "description": "Response message for `TestIamPermissions` method.", |
928 "id": "TestIamPermissionsResponse", | 894 "id": "TestIamPermissionsResponse", |
929 "properties": { | 895 "properties": { |
930 "permissions": { | 896 "permissions": { |
931 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 897 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
932 "items": { | 898 "items": { |
933 "type": "string" | 899 "type": "string" |
934 }, | 900 }, |
935 "type": "array" | 901 "type": "array" |
936 } | 902 } |
937 }, | 903 }, |
938 "type": "object" | 904 "type": "object" |
939 }, | 905 }, |
940 "Waiter": { | 906 "ListVariablesResponse": { |
941 "description": "A Waiter resource waits for some end condition withi
n a RuntimeConfig resource\nto be met before it returns. For example, assume you
have a distributed\nsystem where each node writes to a Variable resource indidi
cating the node's\nreadiness as part of the startup process.\n\nYou then configu
re a Waiter resource with the success condition set to wait\nuntil some number o
f nodes have checked in. Afterwards, your application\nruns some arbitrary code
after the condition has been met and the waiter\nreturns successfully.\n\nOnce c
reated, a Waiter resource is immutable.\n\nTo learn more about using waiters, re
ad the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-
waiter)\ndocumentation.", | 907 "description": "Response for the `ListVariables()` method.", |
942 "id": "Waiter", | 908 "id": "ListVariablesResponse", |
943 "properties": { | 909 "properties": { |
944 "timeout": { | 910 "variables": { |
945 "description": "[Required] Specifies the timeout of the wait
er in seconds, beginning from\nthe instant that `waiters().create` method is cal
led. If this time elapses\nbefore the success or failure conditions are met, the
waiter fails and sets\nthe `error` code to `DEADLINE_EXCEEDED`.", | 911 "description": "A list of variables and their values. The or
der of returned variable\nobjects is arbitrary.", |
946 "format": "google-duration", | 912 "items": { |
| 913 "$ref": "Variable" |
| 914 }, |
| 915 "type": "array" |
| 916 }, |
| 917 "nextPageToken": { |
| 918 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", |
947 "type": "string" | 919 "type": "string" |
948 }, | |
949 "success": { | |
950 "$ref": "EndCondition", | |
951 "description": "[Required] The success condition. If this co
ndition is met, `done` will be\nset to `true` and the `error` value will remain
unset. The failure condition\ntakes precedence over the success condition. If bo
th conditions are met, a\nfailure will be indicated." | |
952 }, | |
953 "failure": { | |
954 "$ref": "EndCondition", | |
955 "description": "[Optional] The failure condition of this wai
ter. If this condition is met,\n`done` will be set to `true` and the `error` cod
e will be set to `ABORTED`.\nThe failure condition takes precedence over the suc
cess condition. If both\nconditions are met, a failure will be indicated. This v
alue is optional; if\nno failure condition is set, the only failure scenario wil
l be a timeout." | |
956 }, | |
957 "createTime": { | |
958 "description": "[Output Only] The instant at which this Wait
er resource was created. Adding\nthe value of `timeout` to this instant yields t
he timeout deadline for the\nwaiter.", | |
959 "format": "google-datetime", | |
960 "type": "string" | |
961 }, | |
962 "name": { | |
963 "description": "The name of the Waiter resource, in the form
at:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\n
The `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]`
must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 103
5 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64
bytes.\n\nAfter you create a Waiter resource, you cannot change the resource na
me.", | |
964 "type": "string" | |
965 }, | |
966 "error": { | |
967 "$ref": "Status", | |
968 "description": "[Output Only] If the waiter ended due to a f
ailure or timeout, this value\nwill be set." | |
969 }, | |
970 "done": { | |
971 "description": "[Output Only] If the value is `false`, it me
ans the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true
, the waiter has finished. If the waiter finished due to a timeout\nor failure,
`error` will be set.", | |
972 "type": "boolean" | |
973 } | 920 } |
974 }, | 921 }, |
975 "type": "object" | 922 "type": "object" |
976 }, | |
977 "Policy": { | |
978 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", | |
979 "id": "Policy", | |
980 "properties": { | |
981 "bindings": { | |
982 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", | |
983 "items": { | |
984 "$ref": "Binding" | |
985 }, | |
986 "type": "array" | |
987 }, | |
988 "etag": { | |
989 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", | |
990 "format": "byte", | |
991 "type": "string" | |
992 }, | |
993 "version": { | |
994 "description": "Version of the `Policy`. The default version
is 0.", | |
995 "format": "int32", | |
996 "type": "integer" | |
997 } | |
998 }, | |
999 "type": "object" | |
1000 }, | 923 }, |
1001 "RuntimeConfig": { | 924 "RuntimeConfig": { |
1002 "description": "A RuntimeConfig resource is the primary resource in
the Cloud RuntimeConfig\nservice. A RuntimeConfig resource consists of metadata
and a hierarchy of\nvariables.", | 925 "description": "A RuntimeConfig resource is the primary resource in
the Cloud RuntimeConfig\nservice. A RuntimeConfig resource consists of metadata
and a hierarchy of\nvariables.", |
1003 "id": "RuntimeConfig", | 926 "id": "RuntimeConfig", |
1004 "properties": { | 927 "properties": { |
| 928 "name": { |
| 929 "description": "The resource name of a runtime config. The n
ame must have the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]\n\n
The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an\narbitr
ary name that matches RFC 1035 segment specification. The length of\n`[CONFIG_NA
ME]` must be less than 64 bytes.\n\nYou pick the RuntimeConfig resource name, bu
t the server will validate that\nthe name adheres to this format. After you crea
te the resource, you cannot\nchange the resource's name.", |
| 930 "type": "string" |
| 931 }, |
1005 "description": { | 932 "description": { |
1006 "description": "An optional description of the RuntimeConfig
object.", | 933 "description": "An optional description of the RuntimeConfig
object.", |
1007 "type": "string" | 934 "type": "string" |
1008 }, | |
1009 "name": { | |
1010 "description": "The resource name of a runtime config. The n
ame must have the format:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]\n\n
The `[PROJECT_ID]` must be a valid project ID, and `[CONFIG_NAME]` is an\narbitr
ary name that matches RFC 1035 segment specification. The length of\n`[CONFIG_NA
ME]` must be less than 64 bytes.\n\nYou pick the RuntimeConfig resource name, bu
t the server will validate that\nthe name adheres to this format. After you crea
te the resource, you cannot\nchange the resource's name.", | |
1011 "type": "string" | |
1012 } | 935 } |
1013 }, | 936 }, |
1014 "type": "object" | 937 "type": "object" |
1015 }, | 938 }, |
1016 "TestIamPermissionsRequest": { | 939 "WatchVariableRequest": { |
1017 "description": "Request message for `TestIamPermissions` method.", | 940 "description": "Request for the `WatchVariable()` method.", |
1018 "id": "TestIamPermissionsRequest", | 941 "id": "WatchVariableRequest", |
1019 "properties": { | 942 "properties": { |
1020 "permissions": { | 943 "newerThan": { |
1021 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", | 944 "description": "If specified, checks the current timestamp o
f the variable and if the\ncurrent timestamp is newer than `newerThan` timestamp
, the method returns\nimmediately.\n\nIf not specified or the variable has an ol
der timestamp, the watcher waits\nfor a the value to change before returning.", |
1022 "items": { | 945 "format": "google-datetime", |
1023 "type": "string" | 946 "type": "string" |
1024 }, | |
1025 "type": "array" | |
1026 } | 947 } |
1027 }, | 948 }, |
1028 "type": "object" | 949 "type": "object" |
1029 }, | 950 }, |
1030 "ListWaitersResponse": { | 951 "ListWaitersResponse": { |
1031 "description": "Response for the `ListWaiters()` method.\nOrder of r
eturned waiter objects is arbitrary.", | 952 "description": "Response for the `ListWaiters()` method.\nOrder of r
eturned waiter objects is arbitrary.", |
1032 "id": "ListWaitersResponse", | 953 "id": "ListWaitersResponse", |
1033 "properties": { | 954 "properties": { |
1034 "nextPageToken": { | 955 "nextPageToken": { |
1035 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", | 956 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", |
1036 "type": "string" | 957 "type": "string" |
1037 }, | 958 }, |
1038 "waiters": { | 959 "waiters": { |
1039 "description": "Found waiters in the project.", | 960 "description": "Found waiters in the project.", |
1040 "items": { | 961 "items": { |
1041 "$ref": "Waiter" | 962 "$ref": "Waiter" |
1042 }, | 963 }, |
1043 "type": "array" | 964 "type": "array" |
1044 } | 965 } |
1045 }, | 966 }, |
1046 "type": "object" | 967 "type": "object" |
1047 }, | 968 }, |
1048 "EndCondition": { | 969 "TestIamPermissionsRequest": { |
1049 "description": "The condition that a Waiter resource is waiting for.
", | 970 "description": "Request message for `TestIamPermissions` method.", |
1050 "id": "EndCondition", | 971 "id": "TestIamPermissionsRequest", |
1051 "properties": { | 972 "properties": { |
1052 "cardinality": { | 973 "permissions": { |
1053 "$ref": "Cardinality", | 974 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", |
1054 "description": "The cardinality of the `EndCondition`." | 975 "items": { |
| 976 "type": "string" |
| 977 }, |
| 978 "type": "array" |
1055 } | 979 } |
1056 }, | 980 }, |
1057 "type": "object" | 981 "type": "object" |
1058 }, | 982 }, |
1059 "Cardinality": { | 983 "Waiter": { |
1060 "description": "A Cardinality condition for the Waiter resource. A c
ardinality condition is\nmet when the number of variables under a specified path
prefix reaches a\npredefined number. For example, if you set a Cardinality cond
ition where\nthe `path` is set to `/foo` and the number of paths is set to 2, th
e\nfollowing variables would meet the condition in a RuntimeConfig resource:\n\n
+ `/foo/variable1 = \"value1\"`\n+ `/foo/variable2 = \"value2\"`\n+ `/bar/variab
le3 = \"value3\"`\n\nIt would not would not satisify the same condition with the
`number` set to\n3, however, because there is only 2 paths that start with `/fo
o`.\nCardinality conditions are recursive; all subtrees under the specific\npath
prefix are counted.", | 984 "description": "A Waiter resource waits for some end condition withi
n a RuntimeConfig resource\nto be met before it returns. For example, assume you
have a distributed\nsystem where each node writes to a Variable resource indidi
cating the node's\nreadiness as part of the startup process.\n\nYou then configu
re a Waiter resource with the success condition set to wait\nuntil some number o
f nodes have checked in. Afterwards, your application\nruns some arbitrary code
after the condition has been met and the waiter\nreturns successfully.\n\nOnce c
reated, a Waiter resource is immutable.\n\nTo learn more about using waiters, re
ad the\n[Creating a Waiter](/deployment-manager/runtime-configurator/creating-a-
waiter)\ndocumentation.", |
1061 "id": "Cardinality", | 985 "id": "Waiter", |
1062 "properties": { | 986 "properties": { |
1063 "path": { | 987 "error": { |
1064 "description": "The root of the variable subtree to monitor.
For example, `/foo`.", | 988 "$ref": "Status", |
| 989 "description": "[Output Only] If the waiter ended due to a f
ailure or timeout, this value\nwill be set." |
| 990 }, |
| 991 "failure": { |
| 992 "$ref": "EndCondition", |
| 993 "description": "[Optional] The failure condition of this wai
ter. If this condition is met,\n`done` will be set to `true` and the `error` cod
e will be set to `ABORTED`.\nThe failure condition takes precedence over the suc
cess condition. If both\nconditions are met, a failure will be indicated. This v
alue is optional; if\nno failure condition is set, the only failure scenario wil
l be a timeout." |
| 994 }, |
| 995 "success": { |
| 996 "$ref": "EndCondition", |
| 997 "description": "[Required] The success condition. If this co
ndition is met, `done` will be\nset to `true` and the `error` value will remain
unset. The failure condition\ntakes precedence over the success condition. If bo
th conditions are met, a\nfailure will be indicated." |
| 998 }, |
| 999 "createTime": { |
| 1000 "description": "[Output Only] The instant at which this Wait
er resource was created. Adding\nthe value of `timeout` to this instant yields t
he timeout deadline for the\nwaiter.", |
| 1001 "format": "google-datetime", |
1065 "type": "string" | 1002 "type": "string" |
1066 }, | 1003 }, |
1067 "number": { | 1004 "done": { |
1068 "description": "The number variables under the `path` that m
ust exist to meet this\ncondition. Defaults to 1 if not specified.", | 1005 "description": "[Output Only] If the value is `false`, it me
ans the waiter is still waiting\nfor one of its conditions to be met.\n\nIf true
, the waiter has finished. If the waiter finished due to a timeout\nor failure,
`error` will be set.", |
| 1006 "type": "boolean" |
| 1007 }, |
| 1008 "timeout": { |
| 1009 "description": "[Required] Specifies the timeout of the wait
er in seconds, beginning from\nthe instant that `waiters().create` method is cal
led. If this time elapses\nbefore the success or failure conditions are met, the
waiter fails and sets\nthe `error` code to `DEADLINE_EXCEEDED`.", |
| 1010 "format": "google-duration", |
| 1011 "type": "string" |
| 1012 }, |
| 1013 "name": { |
| 1014 "description": "The name of the Waiter resource, in the form
at:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/waiters/[WAITER_NAME]\n\n
The `[PROJECT_ID]` must be a valid Google Cloud project ID,\nthe `[CONFIG_NAME]`
must be a valid RuntimeConfig resource, the\n`[WAITER_NAME]` must match RFC 103
5 segment specification, and the length\nof `[WAITER_NAME]` must be less than 64
bytes.\n\nAfter you create a Waiter resource, you cannot change the resource na
me.", |
| 1015 "type": "string" |
| 1016 } |
| 1017 }, |
| 1018 "type": "object" |
| 1019 }, |
| 1020 "Policy": { |
| 1021 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", |
| 1022 "id": "Policy", |
| 1023 "properties": { |
| 1024 "bindings": { |
| 1025 "description": "Associates a list of `members` to a `role`.\
nMultiple `bindings` must not be specified for the same `role`.\n`bindings` with
no members will result in an error.", |
| 1026 "items": { |
| 1027 "$ref": "Binding" |
| 1028 }, |
| 1029 "type": "array" |
| 1030 }, |
| 1031 "etag": { |
| 1032 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", |
| 1033 "format": "byte", |
| 1034 "type": "string" |
| 1035 }, |
| 1036 "version": { |
| 1037 "description": "Version of the `Policy`. The default version
is 0.", |
1069 "format": "int32", | 1038 "format": "int32", |
1070 "type": "integer" | 1039 "type": "integer" |
1071 } | 1040 } |
1072 }, | 1041 }, |
1073 "type": "object" | 1042 "type": "object" |
1074 }, | 1043 }, |
1075 "Empty": { | 1044 "Variable": { |
1076 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | 1045 "description": "Describes a single variable within a RuntimeConfig r
esource.\nThe name denotes the hierarchical variable name. For example,\n`ports/
serving_port` is a valid variable name. The variable value is an\nopaque string
and only leaf variables can have values (that is, variables\nthat do not have an
y child variables).", |
1077 "id": "Empty", | 1046 "id": "Variable", |
1078 "properties": {}, | |
1079 "type": "object" | |
1080 }, | |
1081 "WatchVariableRequest": { | |
1082 "description": "Request for the `WatchVariable()` method.", | |
1083 "id": "WatchVariableRequest", | |
1084 "properties": { | 1047 "properties": { |
1085 "newerThan": { | 1048 "text": { |
1086 "description": "If specified, checks the current timestamp o
f the variable and if the\ncurrent timestamp is newer than `newerThan` timestamp
, the method returns\nimmediately.\n\nIf not specified or the variable has an ol
der timestamp, the watcher waits\nfor a the value to change before returning.", | 1049 "description": "The string value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. For
example,\n<code>text: \"my text value\"</code>.", |
| 1050 "type": "string" |
| 1051 }, |
| 1052 "value": { |
| 1053 "description": "The binary value of the variable. The length
of the value must be less\nthan 4096 bytes. Empty values are also accepted. The
value must be\nbase64 encoded. Only one of `value` or `text` can be set.", |
| 1054 "format": "byte", |
| 1055 "type": "string" |
| 1056 }, |
| 1057 "updateTime": { |
| 1058 "description": "[Output Only] The time of the last variable
update.", |
1087 "format": "google-datetime", | 1059 "format": "google-datetime", |
1088 "type": "string" | 1060 "type": "string" |
| 1061 }, |
| 1062 "state": { |
| 1063 "description": "[Ouput only] The current state of the variab
le. The variable state indicates\nthe outcome of the `variables().watch` call an
d is visible through the\n`get` and `list` calls.", |
| 1064 "enum": [ |
| 1065 "VARIABLE_STATE_UNSPECIFIED", |
| 1066 "UPDATED", |
| 1067 "DELETED" |
| 1068 ], |
| 1069 "enumDescriptions": [ |
| 1070 "Default variable state.", |
| 1071 "The variable was updated, while `variables().watch` was
executing.", |
| 1072 "The variable was deleted, while `variables().watch` was
executing." |
| 1073 ], |
| 1074 "type": "string" |
| 1075 }, |
| 1076 "name": { |
| 1077 "description": "The name of the variable resource, in the fo
rmat:\n\n projects/[PROJECT_ID]/configs/[CONFIG_NAME]/variables/[VARIABLE_NAM
E]\n\nThe `[PROJECT_ID]` must be a valid project ID, `[CONFIG_NAME]` must be a\n
valid RuntimeConfig reource and `[VARIABLE_NAME]` follows Unix file system\nfile
path naming.\n\nThe `[VARIABLE_NAME]` can contain ASCII letters, numbers, slash
es and\ndashes. Slashes are used as path element separators and are not part of
the\n`[VARIABLE_NAME]` itself, so `[VARIABLE_NAME]` must contain at least one\nn
on-slash character. Multiple slashes are coalesced into single slash\ncharacter.
Each path segment should follow RFC 1035 segment specification.\nThe length of
a `[VARIABLE_NAME]` must be less than 256 bytes.\n\nOnce you create a variable,
you cannot change the variable name.", |
| 1078 "type": "string" |
1089 } | 1079 } |
1090 }, | 1080 }, |
1091 "type": "object" | 1081 "type": "object" |
1092 }, | 1082 }, |
1093 "Binding": { | 1083 "Operation": { |
1094 "description": "Associates `members` with a `role`.", | 1084 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
1095 "id": "Binding", | 1085 "id": "Operation", |
1096 "properties": { | 1086 "properties": { |
1097 "members": { | 1087 "metadata": { |
1098 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", | 1088 "additionalProperties": { |
1099 "items": { | 1089 "description": "Properties of the object. Contains field
@type with type URL.", |
1100 "type": "string" | 1090 "type": "any" |
1101 }, | 1091 }, |
1102 "type": "array" | 1092 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
| 1093 "type": "object" |
1103 }, | 1094 }, |
1104 "role": { | 1095 "done": { |
1105 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 1096 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
| 1097 "type": "boolean" |
| 1098 }, |
| 1099 "response": { |
| 1100 "additionalProperties": { |
| 1101 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1102 "type": "any" |
| 1103 }, |
| 1104 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
| 1105 "type": "object" |
| 1106 }, |
| 1107 "name": { |
| 1108 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
1106 "type": "string" | 1109 "type": "string" |
| 1110 }, |
| 1111 "error": { |
| 1112 "$ref": "Status", |
| 1113 "description": "The error result of the operation in case of
failure or cancellation." |
1107 } | 1114 } |
1108 }, | 1115 }, |
1109 "type": "object" | 1116 "type": "object" |
1110 }, | 1117 }, |
1111 "ListVariablesResponse": { | 1118 "SetIamPolicyRequest": { |
1112 "description": "Response for the `ListVariables()` method.", | 1119 "description": "Request message for `SetIamPolicy` method.", |
1113 "id": "ListVariablesResponse", | 1120 "id": "SetIamPolicyRequest", |
1114 "properties": { | 1121 "properties": { |
1115 "variables": { | 1122 "policy": { |
1116 "description": "A list of variables and their values. The or
der of returned variable\nobjects is arbitrary.", | 1123 "$ref": "Policy", |
1117 "items": { | 1124 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." |
1118 "$ref": "Variable" | |
1119 }, | |
1120 "type": "array" | |
1121 }, | |
1122 "nextPageToken": { | |
1123 "description": "This token allows you to get the next page o
f results for list requests.\nIf the number of results is larger than `pageSize`
, use the `nextPageToken`\nas a value for the query parameter `pageToken` in the
next list request.\nSubsequent list requests will have their own `nextPageToken
` to continue\npaging through the results", | |
1124 "type": "string" | |
1125 } | 1125 } |
1126 }, | 1126 }, |
1127 "type": "object" | 1127 "type": "object" |
1128 } | 1128 } |
1129 }, | 1129 }, |
1130 "servicePath": "", | 1130 "servicePath": "", |
1131 "title": "Google Cloud RuntimeConfig API", | 1131 "title": "Google Cloud RuntimeConfig API", |
1132 "version": "v1beta1" | 1132 "version": "v1beta1" |
1133 } | 1133 } |
OLD | NEW |