Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: discovery/googleapis/cloudkms__v1.json

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://cloudkms.googleapis.com/", 12 "baseUrl": "https://cloudkms.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud KMS", 14 "canonicalName": "Cloud KMS",
15 "description": "Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys .", 15 "description": "Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys .",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/kms/", 17 "documentationLink": "https://cloud.google.com/kms/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "cloudkms:v1", 22 "id": "cloudkms:v1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "cloudkms", 24 "name": "cloudkms",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "quotaUser": {
29 "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.",
30 "location": "query",
31 "type": "string"
32 },
33 "pp": {
34 "default": "true",
35 "description": "Pretty-print response.",
36 "location": "query",
37 "type": "boolean"
38 },
39 "oauth_token": {
40 "description": "OAuth 2.0 token for the current user.",
41 "location": "query",
42 "type": "string"
43 },
44 "bearer_token": {
45 "description": "OAuth bearer token.",
46 "location": "query",
47 "type": "string"
48 },
49 "upload_protocol": { 28 "upload_protocol": {
50 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
51 "location": "query", 30 "location": "query",
52 "type": "string" 31 "type": "string"
53 }, 32 },
54 "prettyPrint": { 33 "prettyPrint": {
55 "default": "true", 34 "default": "true",
56 "description": "Returns response with indentations and line breaks." , 35 "description": "Returns response with indentations and line breaks." ,
57 "location": "query", 36 "location": "query",
58 "type": "boolean" 37 "type": "boolean"
59 }, 38 },
39 "fields": {
40 "description": "Selector specifying which fields to include in a par tial response.",
41 "location": "query",
42 "type": "string"
43 },
60 "uploadType": { 44 "uploadType": {
61 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 45 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
62 "location": "query", 46 "location": "query",
63 "type": "string" 47 "type": "string"
64 }, 48 },
65 "fields": {
66 "description": "Selector specifying which fields to include in a par tial response.",
67 "location": "query",
68 "type": "string"
69 },
70 "callback": {
71 "description": "JSONP",
72 "location": "query",
73 "type": "string"
74 },
75 "$.xgafv": { 49 "$.xgafv": {
76 "description": "V1 error format.", 50 "description": "V1 error format.",
77 "enum": [ 51 "enum": [
78 "1", 52 "1",
79 "2" 53 "2"
80 ], 54 ],
81 "enumDescriptions": [ 55 "enumDescriptions": [
82 "v1 error format", 56 "v1 error format",
83 "v2 error format" 57 "v2 error format"
84 ], 58 ],
85 "location": "query", 59 "location": "query",
86 "type": "string" 60 "type": "string"
87 }, 61 },
62 "callback": {
63 "description": "JSONP",
64 "location": "query",
65 "type": "string"
66 },
88 "alt": { 67 "alt": {
89 "default": "json", 68 "default": "json",
90 "description": "Data format for response.", 69 "description": "Data format for response.",
91 "enum": [ 70 "enum": [
92 "json", 71 "json",
93 "media", 72 "media",
94 "proto" 73 "proto"
95 ], 74 ],
96 "enumDescriptions": [ 75 "enumDescriptions": [
97 "Responses with Content-Type of application/json", 76 "Responses with Content-Type of application/json",
98 "Media download with context-dependent Content-Type", 77 "Media download with context-dependent Content-Type",
99 "Responses with Content-Type of application/x-protobuf" 78 "Responses with Content-Type of application/x-protobuf"
100 ], 79 ],
101 "location": "query", 80 "location": "query",
102 "type": "string" 81 "type": "string"
103 }, 82 },
104 "access_token": { 83 "access_token": {
105 "description": "OAuth access token.", 84 "description": "OAuth access token.",
106 "location": "query", 85 "location": "query",
107 "type": "string" 86 "type": "string"
108 }, 87 },
109 "key": { 88 "key": {
110 "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.", 89 "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.",
111 "location": "query", 90 "location": "query",
112 "type": "string" 91 "type": "string"
92 },
93 "quotaUser": {
94 "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.",
95 "location": "query",
96 "type": "string"
97 },
98 "pp": {
99 "default": "true",
100 "description": "Pretty-print response.",
101 "location": "query",
102 "type": "boolean"
103 },
104 "oauth_token": {
105 "description": "OAuth 2.0 token for the current user.",
106 "location": "query",
107 "type": "string"
108 },
109 "bearer_token": {
110 "description": "OAuth bearer token.",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "projects": { 117 "projects": {
118 "resources": { 118 "resources": {
119 "locations": { 119 "locations": {
120 "methods": { 120 "methods": {
121 "list": { 121 "list": {
122 "description": "Lists information about the supporte d locations for this service.", 122 "description": "Lists information about the supporte d locations for this service.",
123 "httpMethod": "GET", 123 "httpMethod": "GET",
124 "id": "cloudkms.projects.locations.list", 124 "id": "cloudkms.projects.locations.list",
125 "parameterOrder": [ 125 "parameterOrder": [
126 "name" 126 "name"
127 ], 127 ],
128 "parameters": { 128 "parameters": {
129 "pageSize": {
130 "description": "The standard list page size. ",
131 "format": "int32",
132 "location": "query",
133 "type": "integer"
134 },
129 "filter": { 135 "filter": {
130 "description": "The standard list filter.", 136 "description": "The standard list filter.",
131 "location": "query", 137 "location": "query",
132 "type": "string" 138 "type": "string"
133 }, 139 },
134 "name": { 140 "name": {
135 "description": "The resource that owns the l ocations collection, if applicable.", 141 "description": "The resource that owns the l ocations collection, if applicable.",
136 "location": "path", 142 "location": "path",
137 "pattern": "^projects/[^/]+$", 143 "pattern": "^projects/[^/]+$",
138 "required": true, 144 "required": true,
139 "type": "string" 145 "type": "string"
140 }, 146 },
141 "pageToken": { 147 "pageToken": {
142 "description": "The standard list page token .", 148 "description": "The standard list page token .",
143 "location": "query", 149 "location": "query",
144 "type": "string" 150 "type": "string"
145 },
146 "pageSize": {
147 "description": "The standard list page size. ",
148 "format": "int32",
149 "location": "query",
150 "type": "integer"
151 } 151 }
152 }, 152 },
153 "path": "v1/{+name}/locations", 153 "path": "v1/{+name}/locations",
154 "response": { 154 "response": {
155 "$ref": "ListLocationsResponse" 155 "$ref": "ListLocationsResponse"
156 }, 156 },
157 "scopes": [ 157 "scopes": [
158 "https://www.googleapis.com/auth/cloud-platform" 158 "https://www.googleapis.com/auth/cloud-platform"
159 ] 159 ]
160 }, 160 },
(...skipping 18 matching lines...) Expand all
179 "$ref": "Location" 179 "$ref": "Location"
180 }, 180 },
181 "scopes": [ 181 "scopes": [
182 "https://www.googleapis.com/auth/cloud-platform" 182 "https://www.googleapis.com/auth/cloud-platform"
183 ] 183 ]
184 } 184 }
185 }, 185 },
186 "resources": { 186 "resources": {
187 "keyRings": { 187 "keyRings": {
188 "methods": { 188 "methods": {
189 "create": { 189 "get": {
190 "description": "Create a new KeyRing in a gi ven Project and Location.", 190 "description": "Returns metadata for a given KeyRing.",
191 "httpMethod": "POST", 191 "httpMethod": "GET",
192 "id": "cloudkms.projects.locations.keyRings. create", 192 "id": "cloudkms.projects.locations.keyRings. get",
193 "parameterOrder": [ 193 "parameterOrder": [
194 "parent" 194 "name"
195 ], 195 ],
196 "parameters": { 196 "parameters": {
197 "parent": { 197 "name": {
198 "description": "Required. The resour ce name of the location associated with the\nKeyRings, in the format `projects/* /locations/*`.", 198 "description": "The name of the KeyR ing to get.",
199 "location": "path", 199 "location": "path",
200 "pattern": "^projects/[^/]+/location s/[^/]+$", 200 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
201 "required": true, 201 "required": true,
202 "type": "string" 202 "type": "string"
203 },
204 "keyRingId": {
205 "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63} `",
206 "location": "query",
207 "type": "string"
208 } 203 }
209 }, 204 },
210 "path": "v1/{+parent}/keyRings", 205 "path": "v1/{+name}",
211 "request": {
212 "$ref": "KeyRing"
213 },
214 "response": { 206 "response": {
215 "$ref": "KeyRing" 207 "$ref": "KeyRing"
216 }, 208 },
217 "scopes": [ 209 "scopes": [
218 "https://www.googleapis.com/auth/cloud-p latform" 210 "https://www.googleapis.com/auth/cloud-p latform"
219 ] 211 ]
220 }, 212 },
221 "setIamPolicy": {
222 "description": "Sets the access control poli cy on the specified resource. Replaces any\nexisting policy.",
223 "httpMethod": "POST",
224 "id": "cloudkms.projects.locations.keyRings. setIamPolicy",
225 "parameterOrder": [
226 "resource"
227 ],
228 "parameters": {
229 "resource": {
230 "description": "REQUIRED: The resour ce for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
231 "location": "path",
232 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
233 "required": true,
234 "type": "string"
235 }
236 },
237 "path": "v1/{+resource}:setIamPolicy",
238 "request": {
239 "$ref": "SetIamPolicyRequest"
240 },
241 "response": {
242 "$ref": "Policy"
243 },
244 "scopes": [
245 "https://www.googleapis.com/auth/cloud-p latform"
246 ]
247 },
248 "getIamPolicy": {
249 "description": "Gets the access control poli cy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
250 "httpMethod": "GET",
251 "id": "cloudkms.projects.locations.keyRings. getIamPolicy",
252 "parameterOrder": [
253 "resource"
254 ],
255 "parameters": {
256 "resource": {
257 "description": "REQUIRED: The resour ce for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
258 "location": "path",
259 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
260 "required": true,
261 "type": "string"
262 }
263 },
264 "path": "v1/{+resource}:getIamPolicy",
265 "response": {
266 "$ref": "Policy"
267 },
268 "scopes": [
269 "https://www.googleapis.com/auth/cloud-p latform"
270 ]
271 },
272 "get": {
273 "description": "Returns metadata for a given KeyRing.",
274 "httpMethod": "GET",
275 "id": "cloudkms.projects.locations.keyRings. get",
276 "parameterOrder": [
277 "name"
278 ],
279 "parameters": {
280 "name": {
281 "description": "The name of the KeyR ing to get.",
282 "location": "path",
283 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
284 "required": true,
285 "type": "string"
286 }
287 },
288 "path": "v1/{+name}",
289 "response": {
290 "$ref": "KeyRing"
291 },
292 "scopes": [
293 "https://www.googleapis.com/auth/cloud-p latform"
294 ]
295 },
296 "testIamPermissions": { 213 "testIamPermissions": {
297 "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.\n\nNote: This operat ion is designed to be used for building permission-aware\nUIs and command-line t ools, not for authorization checking. This operation\nmay \"fail open\" without warning.", 214 "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.\n\nNote: This operat ion is designed to be used for building permission-aware\nUIs and command-line t ools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
298 "httpMethod": "POST", 215 "httpMethod": "POST",
299 "id": "cloudkms.projects.locations.keyRings. testIamPermissions", 216 "id": "cloudkms.projects.locations.keyRings. testIamPermissions",
300 "parameterOrder": [ 217 "parameterOrder": [
301 "resource" 218 "resource"
302 ], 219 ],
303 "parameters": { 220 "parameters": {
304 "resource": { 221 "resource": {
305 "description": "REQUIRED: The resour ce for which the policy detail is being requested.\nSee the operation documentat ion for the appropriate value for this field.", 222 "description": "REQUIRED: The resour ce for which the policy detail is being requested.\nSee the operation documentat ion for the appropriate value for this field.",
(...skipping 15 matching lines...) Expand all
321 ] 238 ]
322 }, 239 },
323 "list": { 240 "list": {
324 "description": "Lists KeyRings.", 241 "description": "Lists KeyRings.",
325 "httpMethod": "GET", 242 "httpMethod": "GET",
326 "id": "cloudkms.projects.locations.keyRings. list", 243 "id": "cloudkms.projects.locations.keyRings. list",
327 "parameterOrder": [ 244 "parameterOrder": [
328 "parent" 245 "parent"
329 ], 246 ],
330 "parameters": { 247 "parameters": {
248 "pageToken": {
249 "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.",
250 "location": "query",
251 "type": "string"
252 },
331 "pageSize": { 253 "pageSize": {
332 "description": "Optional limit on th e number of KeyRings to include in the\nresponse. Further KeyRings can subseque ntly be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a sub sequent\nrequest. If unspecified, the server will pick an appropriate default." , 254 "description": "Optional limit on th e number of KeyRings to include in the\nresponse. Further KeyRings can subseque ntly be obtained by\nincluding the ListKeyRingsResponse.next_page_token in a sub sequent\nrequest. If unspecified, the server will pick an appropriate default." ,
333 "format": "int32", 255 "format": "int32",
334 "location": "query", 256 "location": "query",
335 "type": "integer" 257 "type": "integer"
336 }, 258 },
337 "parent": { 259 "parent": {
338 "description": "Required. The resour ce name of the location associated with the\nKeyRings, in the format `projects/* /locations/*`.", 260 "description": "Required. The resour ce name of the location associated with the\nKeyRings, in the format `projects/* /locations/*`.",
339 "location": "path", 261 "location": "path",
340 "pattern": "^projects/[^/]+/location s/[^/]+$", 262 "pattern": "^projects/[^/]+/location s/[^/]+$",
341 "required": true, 263 "required": true,
342 "type": "string" 264 "type": "string"
343 },
344 "pageToken": {
345 "description": "Optional pagination token, returned earlier via\nListKeyRingsResponse.next_page_token.",
346 "location": "query",
347 "type": "string"
348 } 265 }
349 }, 266 },
350 "path": "v1/{+parent}/keyRings", 267 "path": "v1/{+parent}/keyRings",
351 "response": { 268 "response": {
352 "$ref": "ListKeyRingsResponse" 269 "$ref": "ListKeyRingsResponse"
353 }, 270 },
354 "scopes": [ 271 "scopes": [
355 "https://www.googleapis.com/auth/cloud-p latform" 272 "https://www.googleapis.com/auth/cloud-p latform"
273 ]
274 },
275 "setIamPolicy": {
276 "description": "Sets the access control poli cy on the specified resource. Replaces any\nexisting policy.",
277 "httpMethod": "POST",
278 "id": "cloudkms.projects.locations.keyRings. setIamPolicy",
279 "parameterOrder": [
280 "resource"
281 ],
282 "parameters": {
283 "resource": {
284 "description": "REQUIRED: The resour ce for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
285 "location": "path",
286 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
287 "required": true,
288 "type": "string"
289 }
290 },
291 "path": "v1/{+resource}:setIamPolicy",
292 "request": {
293 "$ref": "SetIamPolicyRequest"
294 },
295 "response": {
296 "$ref": "Policy"
297 },
298 "scopes": [
299 "https://www.googleapis.com/auth/cloud-p latform"
300 ]
301 },
302 "create": {
303 "description": "Create a new KeyRing in a gi ven Project and Location.",
304 "httpMethod": "POST",
305 "id": "cloudkms.projects.locations.keyRings. create",
306 "parameterOrder": [
307 "parent"
308 ],
309 "parameters": {
310 "parent": {
311 "description": "Required. The resour ce name of the location associated with the\nKeyRings, in the format `projects/* /locations/*`.",
312 "location": "path",
313 "pattern": "^projects/[^/]+/location s/[^/]+$",
314 "required": true,
315 "type": "string"
316 },
317 "keyRingId": {
318 "description": "Required. It must be unique within a location and match the regular\nexpression `[a-zA-Z0-9_-]{1,63} `",
319 "location": "query",
320 "type": "string"
321 }
322 },
323 "path": "v1/{+parent}/keyRings",
324 "request": {
325 "$ref": "KeyRing"
326 },
327 "response": {
328 "$ref": "KeyRing"
329 },
330 "scopes": [
331 "https://www.googleapis.com/auth/cloud-p latform"
332 ]
333 },
334 "getIamPolicy": {
335 "description": "Gets the access control poli cy for a resource.\nReturns an empty policy if the resource exists and does not have a policy\nset.",
336 "httpMethod": "GET",
337 "id": "cloudkms.projects.locations.keyRings. getIamPolicy",
338 "parameterOrder": [
339 "resource"
340 ],
341 "parameters": {
342 "resource": {
343 "description": "REQUIRED: The resour ce for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
344 "location": "path",
345 "pattern": "^projects/[^/]+/location s/[^/]+/keyRings/[^/]+$",
346 "required": true,
347 "type": "string"
348 }
349 },
350 "path": "v1/{+resource}:getIamPolicy",
351 "response": {
352 "$ref": "Policy"
353 },
354 "scopes": [
355 "https://www.googleapis.com/auth/cloud-p latform"
356 ] 356 ]
357 } 357 }
358 }, 358 },
359 "resources": { 359 "resources": {
360 "cryptoKeys": { 360 "cryptoKeys": {
361 "methods": { 361 "methods": {
362 "patch": {
363 "description": "Update a CryptoKey." ,
364 "httpMethod": "PATCH",
365 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.patch",
366 "parameterOrder": [
367 "name"
368 ],
369 "parameters": {
370 "updateMask": {
371 "description": "Required lis t of fields to be updated in this request.",
372 "format": "google-fieldmask" ,
373 "location": "query",
374 "type": "string"
375 },
376 "name": {
377 "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/key Rings/*/cryptoKeys/*`.",
378 "location": "path",
379 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
380 "required": true,
381 "type": "string"
382 }
383 },
384 "path": "v1/{+name}",
385 "request": {
386 "$ref": "CryptoKey"
387 },
388 "response": {
389 "$ref": "CryptoKey"
390 },
391 "scopes": [
392 "https://www.googleapis.com/auth /cloud-platform"
393 ]
394 },
395 "get": {
396 "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.",
397 "httpMethod": "GET",
398 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.get",
399 "parameterOrder": [
400 "name"
401 ],
402 "parameters": {
403 "name": {
404 "description": "The name of the CryptoKey to get.",
405 "location": "path",
406 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
407 "required": true,
408 "type": "string"
409 }
410 },
411 "path": "v1/{+name}",
412 "response": {
413 "$ref": "CryptoKey"
414 },
415 "scopes": [
416 "https://www.googleapis.com/auth /cloud-platform"
417 ]
418 },
419 "testIamPermissions": { 362 "testIamPermissions": {
420 "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, th is will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: Thi s operation is designed to be used for building permission-aware\nUIs and comman d-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.", 363 "description": "Returns permissions that a caller has on the specified resource.\nIf the resource does not exist, th is will return an empty set of\npermissions, not a NOT_FOUND error.\n\nNote: Thi s operation is designed to be used for building permission-aware\nUIs and comman d-line tools, not for authorization checking. This operation\nmay \"fail open\" without warning.",
421 "httpMethod": "POST", 364 "httpMethod": "POST",
422 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.testIamPermissions", 365 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.testIamPermissions",
423 "parameterOrder": [ 366 "parameterOrder": [
424 "resource" 367 "resource"
425 ], 368 ],
426 "parameters": { 369 "parameters": {
427 "resource": { 370 "resource": {
428 "description": "REQUIRED: Th e resource for which the policy detail is being requested.\nSee the operation do cumentation for the appropriate value for this field.", 371 "description": "REQUIRED: Th e resource for which the policy detail is being requested.\nSee the operation do cumentation for the appropriate value for this field.",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 ] 414 ]
472 }, 415 },
473 "list": { 416 "list": {
474 "description": "Lists CryptoKeys.", 417 "description": "Lists CryptoKeys.",
475 "httpMethod": "GET", 418 "httpMethod": "GET",
476 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.list", 419 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.list",
477 "parameterOrder": [ 420 "parameterOrder": [
478 "parent" 421 "parent"
479 ], 422 ],
480 "parameters": { 423 "parameters": {
424 "pageToken": {
425 "description": "Optional pag ination token, returned earlier via\nListCryptoKeysResponse.next_page_token.",
426 "location": "query",
427 "type": "string"
428 },
481 "pageSize": { 429 "pageSize": {
482 "description": "Optional lim it on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_ token in a subsequent\nrequest. If unspecified, the server will pick an appropr iate default.", 430 "description": "Optional lim it on the number of CryptoKeys to include in the\nresponse. Further CryptoKeys can subsequently be obtained by\nincluding the ListCryptoKeysResponse.next_page_ token in a subsequent\nrequest. If unspecified, the server will pick an appropr iate default.",
483 "format": "int32", 431 "format": "int32",
484 "location": "query", 432 "location": "query",
485 "type": "integer" 433 "type": "integer"
486 }, 434 },
487 "parent": { 435 "parent": {
488 "description": "Required. Th e resource name of the KeyRing to list, in the format\n`projects/*/locations/*/k eyRings/*`.", 436 "description": "Required. Th e resource name of the KeyRing to list, in the format\n`projects/*/locations/*/k eyRings/*`.",
489 "location": "path", 437 "location": "path",
490 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+$", 438 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+$",
491 "required": true, 439 "required": true,
492 "type": "string" 440 "type": "string"
493 },
494 "pageToken": {
495 "description": "Optional pag ination token, returned earlier via\nListCryptoKeysResponse.next_page_token.",
496 "location": "query",
497 "type": "string"
498 } 441 }
499 }, 442 },
500 "path": "v1/{+parent}/cryptoKeys", 443 "path": "v1/{+parent}/cryptoKeys",
501 "response": { 444 "response": {
502 "$ref": "ListCryptoKeysResponse" 445 "$ref": "ListCryptoKeysResponse"
503 }, 446 },
504 "scopes": [ 447 "scopes": [
505 "https://www.googleapis.com/auth /cloud-platform" 448 "https://www.googleapis.com/auth /cloud-platform"
506 ] 449 ]
507 }, 450 },
(...skipping 25 matching lines...) Expand all
533 ] 476 ]
534 }, 477 },
535 "create": { 478 "create": {
536 "description": "Create a new CryptoK ey within a KeyRing.\n\nCryptoKey.purpose is required.", 479 "description": "Create a new CryptoK ey within a KeyRing.\n\nCryptoKey.purpose is required.",
537 "httpMethod": "POST", 480 "httpMethod": "POST",
538 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.create", 481 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.create",
539 "parameterOrder": [ 482 "parameterOrder": [
540 "parent" 483 "parent"
541 ], 484 ],
542 "parameters": { 485 "parameters": {
543 "cryptoKeyId": {
544 "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_- ]{1,63}`",
545 "location": "query",
546 "type": "string"
547 },
548 "parent": { 486 "parent": {
549 "description": "Required. Th e name of the KeyRing associated with the\nCryptoKeys.", 487 "description": "Required. Th e name of the KeyRing associated with the\nCryptoKeys.",
550 "location": "path", 488 "location": "path",
551 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+$", 489 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+$",
552 "required": true, 490 "required": true,
553 "type": "string" 491 "type": "string"
492 },
493 "cryptoKeyId": {
494 "description": "Required. It must be unique within a KeyRing and match the regular\nexpression `[a-zA-Z0-9_- ]{1,63}`",
495 "location": "query",
496 "type": "string"
554 } 497 }
555 }, 498 },
556 "path": "v1/{+parent}/cryptoKeys", 499 "path": "v1/{+parent}/cryptoKeys",
557 "request": { 500 "request": {
558 "$ref": "CryptoKey" 501 "$ref": "CryptoKey"
559 }, 502 },
560 "response": { 503 "response": {
561 "$ref": "CryptoKey" 504 "$ref": "CryptoKey"
562 }, 505 },
563 "scopes": [ 506 "scopes": [
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 "type": "string" 577 "type": "string"
635 } 578 }
636 }, 579 },
637 "path": "v1/{+resource}:getIamPolicy ", 580 "path": "v1/{+resource}:getIamPolicy ",
638 "response": { 581 "response": {
639 "$ref": "Policy" 582 "$ref": "Policy"
640 }, 583 },
641 "scopes": [ 584 "scopes": [
642 "https://www.googleapis.com/auth /cloud-platform" 585 "https://www.googleapis.com/auth /cloud-platform"
643 ] 586 ]
587 },
588 "get": {
589 "description": "Returns metadata for a given CryptoKey, as well as its\nprimary CryptoKeyVersion.",
590 "httpMethod": "GET",
591 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.get",
592 "parameterOrder": [
593 "name"
594 ],
595 "parameters": {
596 "name": {
597 "description": "The name of the CryptoKey to get.",
598 "location": "path",
599 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
600 "required": true,
601 "type": "string"
602 }
603 },
604 "path": "v1/{+name}",
605 "response": {
606 "$ref": "CryptoKey"
607 },
608 "scopes": [
609 "https://www.googleapis.com/auth /cloud-platform"
610 ]
611 },
612 "patch": {
613 "description": "Update a CryptoKey." ,
614 "httpMethod": "PATCH",
615 "id": "cloudkms.projects.locations.k eyRings.cryptoKeys.patch",
616 "parameterOrder": [
617 "name"
618 ],
619 "parameters": {
620 "updateMask": {
621 "description": "Required lis t of fields to be updated in this request.",
622 "format": "google-fieldmask" ,
623 "location": "query",
624 "type": "string"
625 },
626 "name": {
627 "description": "Output only. The resource name for this CryptoKey in the format\n`projects/*/locations/*/key Rings/*/cryptoKeys/*`.",
628 "location": "path",
629 "pattern": "^projects/[^/]+/ locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
630 "required": true,
631 "type": "string"
632 }
633 },
634 "path": "v1/{+name}",
635 "request": {
636 "$ref": "CryptoKey"
637 },
638 "response": {
639 "$ref": "CryptoKey"
640 },
641 "scopes": [
642 "https://www.googleapis.com/auth /cloud-platform"
643 ]
644 } 644 }
645 }, 645 },
646 "resources": { 646 "resources": {
647 "cryptoKeyVersions": { 647 "cryptoKeyVersions": {
648 "methods": { 648 "methods": {
649 "get": {
650 "description": "Returns meta data for a given CryptoKeyVersion.",
651 "httpMethod": "GET",
652 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.get",
653 "parameterOrder": [
654 "name"
655 ],
656 "parameters": {
657 "name": {
658 "description": "The name of the CryptoKeyVersion to get.",
659 "location": "path",
660 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$ ",
661 "required": true,
662 "type": "string"
663 }
664 },
665 "path": "v1/{+name}",
666 "response": {
667 "$ref": "CryptoKeyVersio n"
668 },
669 "scopes": [
670 "https://www.googleapis. com/auth/cloud-platform"
671 ]
672 },
673 "patch": {
674 "description": "Update a Cry ptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\ nmove between other states.",
675 "httpMethod": "PATCH",
676 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.patch",
677 "parameterOrder": [
678 "name"
679 ],
680 "parameters": {
681 "updateMask": {
682 "description": "Requ ired list of fields to be updated in this request.",
683 "format": "google-fi eldmask",
684 "location": "query",
685 "type": "string"
686 },
687 "name": {
688 "description": "Outp ut only. The resource name for this CryptoKeyVersion in the format\n`projects/*/ locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.",
689 "location": "path",
690 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$ ",
691 "required": true,
692 "type": "string"
693 }
694 },
695 "path": "v1/{+name}",
696 "request": {
697 "$ref": "CryptoKeyVersio n"
698 },
699 "response": {
700 "$ref": "CryptoKeyVersio n"
701 },
702 "scopes": [
703 "https://www.googleapis. com/auth/cloud-platform"
704 ]
705 },
706 "list": { 649 "list": {
707 "description": "Lists Crypto KeyVersions.", 650 "description": "Lists Crypto KeyVersions.",
708 "httpMethod": "GET", 651 "httpMethod": "GET",
709 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.list", 652 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.list",
710 "parameterOrder": [ 653 "parameterOrder": [
711 "parent" 654 "parent"
712 ], 655 ],
713 "parameters": { 656 "parameters": {
657 "pageSize": {
658 "description": "Opti onal limit on the number of CryptoKeyVersions to\ninclude in the response. Furth er CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoK eyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.",
659 "format": "int32",
660 "location": "query",
661 "type": "integer"
662 },
714 "parent": { 663 "parent": {
715 "description": "Requ ired. The resource name of the CryptoKey to list, in the format\n`projects/*/loc ations/*/keyRings/*/cryptoKeys/*`.", 664 "description": "Requ ired. The resource name of the CryptoKey to list, in the format\n`projects/*/loc ations/*/keyRings/*/cryptoKeys/*`.",
716 "location": "path", 665 "location": "path",
717 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$", 666 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+$",
718 "required": true, 667 "required": true,
719 "type": "string" 668 "type": "string"
720 }, 669 },
721 "pageToken": { 670 "pageToken": {
722 "description": "Opti onal pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_ page_token.", 671 "description": "Opti onal pagination token, returned earlier via\nListCryptoKeyVersionsResponse.next_ page_token.",
723 "location": "query", 672 "location": "query",
724 "type": "string" 673 "type": "string"
725 },
726 "pageSize": {
727 "description": "Opti onal limit on the number of CryptoKeyVersions to\ninclude in the response. Furth er CryptoKeyVersions can\nsubsequently be obtained by including the\nListCryptoK eyVersionsResponse.next_page_token in a subsequent request.\nIf unspecified, the server will pick an appropriate default.",
728 "format": "int32",
729 "location": "query",
730 "type": "integer"
731 } 674 }
732 }, 675 },
733 "path": "v1/{+parent}/crypto KeyVersions", 676 "path": "v1/{+parent}/crypto KeyVersions",
734 "response": { 677 "response": {
735 "$ref": "ListCryptoKeyVe rsionsResponse" 678 "$ref": "ListCryptoKeyVe rsionsResponse"
736 }, 679 },
737 "scopes": [ 680 "scopes": [
738 "https://www.googleapis. com/auth/cloud-platform" 681 "https://www.googleapis. com/auth/cloud-platform"
739 ] 682 ]
740 }, 683 },
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 "path": "v1/{+name}:restore" , 754 "path": "v1/{+name}:restore" ,
812 "request": { 755 "request": {
813 "$ref": "RestoreCryptoKe yVersionRequest" 756 "$ref": "RestoreCryptoKe yVersionRequest"
814 }, 757 },
815 "response": { 758 "response": {
816 "$ref": "CryptoKeyVersio n" 759 "$ref": "CryptoKeyVersio n"
817 }, 760 },
818 "scopes": [ 761 "scopes": [
819 "https://www.googleapis. com/auth/cloud-platform" 762 "https://www.googleapis. com/auth/cloud-platform"
820 ] 763 ]
764 },
765 "get": {
766 "description": "Returns meta data for a given CryptoKeyVersion.",
767 "httpMethod": "GET",
768 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.get",
769 "parameterOrder": [
770 "name"
771 ],
772 "parameters": {
773 "name": {
774 "description": "The name of the CryptoKeyVersion to get.",
775 "location": "path",
776 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$ ",
777 "required": true,
778 "type": "string"
779 }
780 },
781 "path": "v1/{+name}",
782 "response": {
783 "$ref": "CryptoKeyVersio n"
784 },
785 "scopes": [
786 "https://www.googleapis. com/auth/cloud-platform"
787 ]
788 },
789 "patch": {
790 "description": "Update a Cry ptoKeyVersion's metadata.\n\nstate may be changed between\nENABLED and\nDISABLED using this\nmethod. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to\ nmove between other states.",
791 "httpMethod": "PATCH",
792 "id": "cloudkms.projects.loc ations.keyRings.cryptoKeys.cryptoKeyVersions.patch",
793 "parameterOrder": [
794 "name"
795 ],
796 "parameters": {
797 "name": {
798 "description": "Outp ut only. The resource name for this CryptoKeyVersion in the format\n`projects/*/ locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.",
799 "location": "path",
800 "pattern": "^project s/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$ ",
801 "required": true,
802 "type": "string"
803 },
804 "updateMask": {
805 "description": "Requ ired list of fields to be updated in this request.",
806 "format": "google-fi eldmask",
807 "location": "query",
808 "type": "string"
809 }
810 },
811 "path": "v1/{+name}",
812 "request": {
813 "$ref": "CryptoKeyVersio n"
814 },
815 "response": {
816 "$ref": "CryptoKeyVersio n"
817 },
818 "scopes": [
819 "https://www.googleapis. com/auth/cloud-platform"
820 ]
821 } 821 }
822 } 822 }
823 } 823 }
824 } 824 }
825 } 825 }
826 } 826 }
827 } 827 }
828 } 828 }
829 } 829 }
830 } 830 }
831 } 831 }
832 }, 832 },
833 "revision": "20170320", 833 "revision": "20170411",
834 "rootUrl": "https://cloudkms.googleapis.com/", 834 "rootUrl": "https://cloudkms.googleapis.com/",
835 "schemas": { 835 "schemas": {
836 "LogConfig": {
837 "description": "Specifies what kind of log the caller must write",
838 "id": "LogConfig",
839 "properties": {
840 "dataAccess": {
841 "$ref": "DataAccessOptions",
842 "description": "Data access options."
843 },
844 "cloudAudit": {
845 "$ref": "CloudAuditOptions",
846 "description": "Cloud audit options."
847 },
848 "counter": {
849 "$ref": "CounterOptions",
850 "description": "Counter options."
851 }
852 },
853 "type": "object"
854 },
855 "SetIamPolicyRequest": {
856 "description": "Request message for `SetIamPolicy` method.",
857 "id": "SetIamPolicyRequest",
858 "properties": {
859 "updateMask": {
860 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
861 "format": "google-fieldmask",
862 "type": "string"
863 },
864 "policy": {
865 "$ref": "Policy",
866 "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."
867 }
868 },
869 "type": "object"
870 },
871 "DecryptRequest": {
872 "description": "Request message for KeyManagementService.Decrypt.",
873 "id": "DecryptRequest",
874 "properties": {
875 "ciphertext": {
876 "description": "Required. The encrypted data originally retu rned in\nEncryptResponse.ciphertext.",
877 "format": "byte",
878 "type": "string"
879 },
880 "additionalAuthenticatedData": {
881 "description": "Optional data that must match the data origi nally supplied in\nEncryptRequest.additional_authenticated_data.",
882 "format": "byte",
883 "type": "string"
884 }
885 },
886 "type": "object"
887 },
888 "Location": { 836 "Location": {
889 "description": "A resource that represents Google Cloud Platform loc ation.", 837 "description": "A resource that represents Google Cloud Platform loc ation.",
890 "id": "Location", 838 "id": "Location",
891 "properties": { 839 "properties": {
892 "name": {
893 "description": "Resource name for the location, which may va ry between implementations.\nFor example: `\"projects/example-project/locations/ us-east1\"`",
894 "type": "string"
895 },
896 "locationId": {
897 "description": "The canonical id for this location. For exam ple: `\"us-east1\"`.",
898 "type": "string"
899 },
900 "metadata": { 840 "metadata": {
901 "additionalProperties": { 841 "additionalProperties": {
902 "description": "Properties of the object. Contains field @type with type URL.", 842 "description": "Properties of the object. Contains field @type with type URL.",
903 "type": "any" 843 "type": "any"
904 }, 844 },
905 "description": "Service-specific metadata. For example the a vailable capacity at the given\nlocation.", 845 "description": "Service-specific metadata. For example the a vailable capacity at the given\nlocation.",
906 "type": "object" 846 "type": "object"
907 }, 847 },
908 "labels": { 848 "labels": {
909 "additionalProperties": { 849 "additionalProperties": {
910 "type": "string" 850 "type": "string"
911 }, 851 },
912 "description": "Cross-service attributes for the location. F or example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}", 852 "description": "Cross-service attributes for the location. F or example\n\n {\"cloud.googleapis.com/region\": \"us-east1\"}",
913 "type": "object" 853 "type": "object"
854 },
855 "name": {
856 "description": "Resource name for the location, which may va ry between implementations.\nFor example: `\"projects/example-project/locations/ us-east1\"`",
857 "type": "string"
858 },
859 "locationId": {
860 "description": "The canonical id for this location. For exam ple: `\"us-east1\"`.",
861 "type": "string"
914 } 862 }
915 }, 863 },
916 "type": "object" 864 "type": "object"
917 }, 865 },
918 "ListCryptoKeysResponse": { 866 "ListCryptoKeysResponse": {
919 "description": "Response message for KeyManagementService.ListCrypto Keys.", 867 "description": "Response message for KeyManagementService.ListCrypto Keys.",
920 "id": "ListCryptoKeysResponse", 868 "id": "ListCryptoKeysResponse",
921 "properties": { 869 "properties": {
922 "nextPageToken": { 870 "nextPageToken": {
923 "description": "A token to retrieve next page of results. Pa ss this value in\nListCryptoKeysRequest.page_token to retrieve the next page of results.", 871 "description": "A token to retrieve next page of results. Pa ss this value in\nListCryptoKeysRequest.page_token to retrieve the next page of results.",
(...skipping 11 matching lines...) Expand all
935 "format": "int32", 883 "format": "int32",
936 "type": "integer" 884 "type": "integer"
937 } 885 }
938 }, 886 },
939 "type": "object" 887 "type": "object"
940 }, 888 },
941 "Condition": { 889 "Condition": {
942 "description": "A condition to be met.", 890 "description": "A condition to be met.",
943 "id": "Condition", 891 "id": "Condition",
944 "properties": { 892 "properties": {
945 "sys": {
946 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
947 "enum": [
948 "NO_ATTR",
949 "REGION",
950 "SERVICE",
951 "NAME",
952 "IP"
953 ],
954 "enumDescriptions": [
955 "Default non-attribute type",
956 "Region of the resource",
957 "Service name",
958 "Resource name",
959 "IP address of the caller"
960 ],
961 "type": "string"
962 },
963 "value": {
964 "description": "DEPRECATED. Use 'values' instead.",
965 "type": "string"
966 },
967 "iam": { 893 "iam": {
968 "description": "Trusted attributes supplied by the IAM syste m.", 894 "description": "Trusted attributes supplied by the IAM syste m.",
969 "enum": [ 895 "enum": [
970 "NO_ATTR", 896 "NO_ATTR",
971 "AUTHORITY", 897 "AUTHORITY",
972 "ATTRIBUTION", 898 "ATTRIBUTION",
973 "APPROVER", 899 "APPROVER",
974 "JUSTIFICATION_TYPE" 900 "JUSTIFICATION_TYPE"
975 ], 901 ],
976 "enumDescriptions": [ 902 "enumDescriptions": [
(...skipping 28 matching lines...) Expand all
1005 "DEPRECATED. Use NOT_IN instead.", 931 "DEPRECATED. Use NOT_IN instead.",
1006 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.", 932 "The condition is true if the subject (or any element of it if it is\na set) matches any of the supplied values.",
1007 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.", 933 "The condition is true if the subject (or every element of it if it is\na set) matches none of the supplied values.",
1008 "Subject is discharged" 934 "Subject is discharged"
1009 ], 935 ],
1010 "type": "string" 936 "type": "string"
1011 }, 937 },
1012 "svc": { 938 "svc": {
1013 "description": "Trusted attributes discharged by the service .", 939 "description": "Trusted attributes discharged by the service .",
1014 "type": "string" 940 "type": "string"
941 },
942 "value": {
943 "description": "DEPRECATED. Use 'values' instead.",
944 "type": "string"
945 },
946 "sys": {
947 "description": "Trusted attributes supplied by any service t hat owns resources and uses\nthe IAM system for access control.",
948 "enum": [
949 "NO_ATTR",
950 "REGION",
951 "SERVICE",
952 "NAME",
953 "IP"
954 ],
955 "enumDescriptions": [
956 "Default non-attribute type",
957 "Region of the resource",
958 "Service name",
959 "Resource name",
960 "IP address of the caller"
961 ],
962 "type": "string"
1015 } 963 }
1016 }, 964 },
1017 "type": "object" 965 "type": "object"
1018 }, 966 },
1019 "CounterOptions": { 967 "CounterOptions": {
1020 "description": "Options for counters", 968 "description": "Options for counters",
1021 "id": "CounterOptions", 969 "id": "CounterOptions",
1022 "properties": { 970 "properties": {
1023 "metric": { 971 "metric": {
1024 "description": "The metric to update.", 972 "description": "The metric to update.",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
1084 }, 1032 },
1085 "type": "array" 1033 "type": "array"
1086 } 1034 }
1087 }, 1035 },
1088 "type": "object" 1036 "type": "object"
1089 }, 1037 },
1090 "Policy": { 1038 "Policy": {
1091 "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).", 1039 "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).",
1092 "id": "Policy", 1040 "id": "Policy",
1093 "properties": { 1041 "properties": {
1094 "auditConfigs": {
1095 "description": "Specifies cloud audit logging configuration for this policy.",
1096 "items": {
1097 "$ref": "AuditConfig"
1098 },
1099 "type": "array"
1100 },
1101 "bindings": {
1102 "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.",
1103 "items": {
1104 "$ref": "Binding"
1105 },
1106 "type": "array"
1107 },
1108 "etag": { 1042 "etag": {
1109 "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.", 1043 "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.",
1110 "format": "byte", 1044 "format": "byte",
1111 "type": "string" 1045 "type": "string"
1112 }, 1046 },
1113 "iamOwned": { 1047 "iamOwned": {
1114 "type": "boolean" 1048 "type": "boolean"
1115 }, 1049 },
1116 "rules": { 1050 "rules": {
1117 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.", 1051 "description": "If more than one rule is specified, the rule s are applied in the following\nmanner:\n- All matching LOG rules are always app lied.\n- If any DENY/DENY_WITH_LOG rule matches, permission is denied.\n Loggin g will be applied if one or more matching rule requires logging.\n- Otherwise, i f any ALLOW/ALLOW_WITH_LOG rule matches, permission is\n granted.\n Logging wi ll be applied if one or more matching rule requires logging.\n- Otherwise, if no rule applies, permission is denied.",
1118 "items": { 1052 "items": {
1119 "$ref": "Rule" 1053 "$ref": "Rule"
1120 }, 1054 },
1121 "type": "array" 1055 "type": "array"
1122 }, 1056 },
1123 "version": { 1057 "version": {
1124 "description": "Version of the `Policy`. The default version is 0.", 1058 "description": "Version of the `Policy`. The default version is 0.",
1125 "format": "int32", 1059 "format": "int32",
1126 "type": "integer" 1060 "type": "integer"
1061 },
1062 "auditConfigs": {
1063 "description": "Specifies cloud audit logging configuration for this policy.",
1064 "items": {
1065 "$ref": "AuditConfig"
1066 },
1067 "type": "array"
1068 },
1069 "bindings": {
1070 "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.",
1071 "items": {
1072 "$ref": "Binding"
1073 },
1074 "type": "array"
1127 } 1075 }
1128 }, 1076 },
1129 "type": "object" 1077 "type": "object"
1130 }, 1078 },
1131 "ListLocationsResponse": { 1079 "ListLocationsResponse": {
1132 "description": "The response message for Locations.ListLocations.", 1080 "description": "The response message for Locations.ListLocations.",
1133 "id": "ListLocationsResponse", 1081 "id": "ListLocationsResponse",
1134 "properties": { 1082 "properties": {
1135 "locations": { 1083 "locations": {
1136 "description": "A list of locations that matches the specifi ed filter in the request.", 1084 "description": "A list of locations that matches the specifi ed filter in the request.",
1137 "items": { 1085 "items": {
1138 "$ref": "Location" 1086 "$ref": "Location"
1139 }, 1087 },
1140 "type": "array" 1088 "type": "array"
1141 }, 1089 },
1142 "nextPageToken": { 1090 "nextPageToken": {
1143 "description": "The standard List next-page token.", 1091 "description": "The standard List next-page token.",
1144 "type": "string" 1092 "type": "string"
1145 } 1093 }
1146 }, 1094 },
1147 "type": "object" 1095 "type": "object"
1148 }, 1096 },
1097 "KeyRing": {
1098 "description": "A KeyRing is a toplevel logical grouping of CryptoKe ys.",
1099 "id": "KeyRing",
1100 "properties": {
1101 "createTime": {
1102 "description": "Output only. The time at which this KeyRing was created.",
1103 "format": "google-datetime",
1104 "type": "string"
1105 },
1106 "name": {
1107 "description": "Output only. The resource name for the KeyRi ng in the format\n`projects/*/locations/*/keyRings/*`.",
1108 "type": "string"
1109 }
1110 },
1111 "type": "object"
1112 },
1149 "EncryptResponse": { 1113 "EncryptResponse": {
1150 "description": "Response message for KeyManagementService.Encrypt.", 1114 "description": "Response message for KeyManagementService.Encrypt.",
1151 "id": "EncryptResponse", 1115 "id": "EncryptResponse",
1152 "properties": { 1116 "properties": {
1153 "ciphertext": { 1117 "ciphertext": {
1154 "description": "The encrypted data.", 1118 "description": "The encrypted data.",
1155 "format": "byte", 1119 "format": "byte",
1156 "type": "string" 1120 "type": "string"
1157 }, 1121 },
1158 "name": { 1122 "name": {
1159 "description": "The resource name of the CryptoKeyVersion us ed in encryption.", 1123 "description": "The resource name of the CryptoKeyVersion us ed in encryption.",
1160 "type": "string" 1124 "type": "string"
1161 } 1125 }
1162 }, 1126 },
1163 "type": "object"
1164 },
1165 "KeyRing": {
1166 "description": "A KeyRing is a toplevel logical grouping of CryptoKe ys.",
1167 "id": "KeyRing",
1168 "properties": {
1169 "name": {
1170 "description": "Output only. The resource name for the KeyRi ng in the format\n`projects/*/locations/*/keyRings/*`.",
1171 "type": "string"
1172 },
1173 "createTime": {
1174 "description": "Output only. The time at which this KeyRing was created.",
1175 "format": "google-datetime",
1176 "type": "string"
1177 }
1178 },
1179 "type": "object" 1127 "type": "object"
1180 }, 1128 },
1181 "UpdateCryptoKeyPrimaryVersionRequest": { 1129 "UpdateCryptoKeyPrimaryVersionRequest": {
1182 "description": "Request message for KeyManagementService.UpdateCrypt oKeyPrimaryVersion.", 1130 "description": "Request message for KeyManagementService.UpdateCrypt oKeyPrimaryVersion.",
1183 "id": "UpdateCryptoKeyPrimaryVersionRequest", 1131 "id": "UpdateCryptoKeyPrimaryVersionRequest",
1184 "properties": { 1132 "properties": {
1185 "cryptoKeyVersionId": { 1133 "cryptoKeyVersionId": {
1186 "description": "The id of the child CryptoKeyVersion to use as primary.", 1134 "description": "The id of the child CryptoKeyVersion to use as primary.",
1187 "type": "string" 1135 "type": "string"
1188 } 1136 }
1189 }, 1137 },
1190 "type": "object" 1138 "type": "object"
1191 }, 1139 },
1192 "RestoreCryptoKeyVersionRequest": { 1140 "RestoreCryptoKeyVersionRequest": {
1193 "description": "Request message for KeyManagementService.RestoreCryp toKeyVersion.", 1141 "description": "Request message for KeyManagementService.RestoreCryp toKeyVersion.",
1194 "id": "RestoreCryptoKeyVersionRequest", 1142 "id": "RestoreCryptoKeyVersionRequest",
1195 "properties": {}, 1143 "properties": {},
1196 "type": "object" 1144 "type": "object"
1197 }, 1145 },
1146 "DataAccessOptions": {
1147 "description": "Write a Data Access (Gin) log",
1148 "id": "DataAccessOptions",
1149 "properties": {},
1150 "type": "object"
1151 },
1198 "ListKeyRingsResponse": { 1152 "ListKeyRingsResponse": {
1199 "description": "Response message for KeyManagementService.ListKeyRin gs.", 1153 "description": "Response message for KeyManagementService.ListKeyRin gs.",
1200 "id": "ListKeyRingsResponse", 1154 "id": "ListKeyRingsResponse",
1201 "properties": { 1155 "properties": {
1156 "keyRings": {
1157 "description": "The list of KeyRings.",
1158 "items": {
1159 "$ref": "KeyRing"
1160 },
1161 "type": "array"
1162 },
1202 "nextPageToken": { 1163 "nextPageToken": {
1203 "description": "A token to retrieve next page of results. Pa ss this value in\nListKeyRingsRequest.page_token to retrieve the next page of re sults.", 1164 "description": "A token to retrieve next page of results. Pa ss this value in\nListKeyRingsRequest.page_token to retrieve the next page of re sults.",
1204 "type": "string" 1165 "type": "string"
1205 }, 1166 },
1206 "totalSize": { 1167 "totalSize": {
1207 "description": "The total number of KeyRings that matched th e query.", 1168 "description": "The total number of KeyRings that matched th e query.",
1208 "format": "int32", 1169 "format": "int32",
1209 "type": "integer" 1170 "type": "integer"
1210 },
1211 "keyRings": {
1212 "description": "The list of KeyRings.",
1213 "items": {
1214 "$ref": "KeyRing"
1215 },
1216 "type": "array"
1217 } 1171 }
1218 }, 1172 },
1219 "type": "object" 1173 "type": "object"
1220 }, 1174 },
1221 "DataAccessOptions": {
1222 "description": "Write a Data Access (Gin) log",
1223 "id": "DataAccessOptions",
1224 "properties": {},
1225 "type": "object"
1226 },
1227 "AuditConfig": { 1175 "AuditConfig": {
1228 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConifg must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\nExample Policy with multiple AuditConfigs:\n{\n \ "audit_configs\": [\n {\n \"service\": \"allServices\"\n \"audit_lo g_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n \"e xempted_members\": [\n \"user:foo@gmail.com\"\n ]\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"log_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice@googleapis.com\"\n \"audit_log_configs\": [\n {\n \"log_type\": \"DATA_READ\",\n },\n {\n \"log_type\": \"DATA_WRITE\",\n \"exempted_members\": [\n \" user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n}\nFor fooser vice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@gmail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRIT E logging.", 1176 "description": "Specifies the audit configuration for a service.\nTh e configuration determines which permission types are logged, and what\nidentiti es, if any, are exempted from logging.\nAn AuditConifg must have one or more Aud itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific service,\nthe union of the two AuditConfigs is used for that service: the log_t ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n {\n \"audit_configs\": [\n {\n \"service\": \"allServices \"\n \"audit_log_configs\": [\n {\n \"log_type\ ": \"DATA_READ\",\n \"exempted_members\": [\n \"user :foo@gmail.com\"\n ]\n },\n {\n \"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n \"service\": \"fooservice.googleapis.com\"\n \"audit_log_config s\": [\n {\n \"log_type\": \"DATA_READ\",\n } ,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n }\n ]\n }\n ]\n }\n\nFor fooservice, this pol icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.",
1229 "id": "AuditConfig", 1177 "id": "AuditConfig",
1230 "properties": { 1178 "properties": {
1231 "service": {
1232 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.",
1233 "type": "string"
1234 },
1235 "auditLogConfigs": { 1179 "auditLogConfigs": {
1236 "description": "The configuration for logging of each type o f permission.\nNext ID: 4", 1180 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
1237 "items": { 1181 "items": {
1238 "$ref": "AuditLogConfig" 1182 "$ref": "AuditLogConfig"
1239 }, 1183 },
1240 "type": "array" 1184 "type": "array"
1241 }, 1185 },
1242 "exemptedMembers": { 1186 "exemptedMembers": {
1243 "items": { 1187 "items": {
1244 "type": "string" 1188 "type": "string"
1245 }, 1189 },
1246 "type": "array" 1190 "type": "array"
1191 },
1192 "service": {
1193 "description": "Specifies a service that will be enabled for audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com `.\n`allServices` is a special value that covers all services.",
1194 "type": "string"
1247 } 1195 }
1248 }, 1196 },
1249 "type": "object" 1197 "type": "object"
1250 }, 1198 },
1251 "CryptoKeyVersion": { 1199 "CryptoKeyVersion": {
1252 "description": "A CryptoKeyVersion represents an individual cryptogr aphic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the ser ver will choose the appropriate\nversion for the operation.", 1200 "description": "A CryptoKeyVersion represents an individual cryptogr aphic key, and the\nassociated key material.\n\nIt can be used for cryptographic operations either directly, or via its\nparent CryptoKey, in which case the ser ver will choose the appropriate\nversion for the operation.",
1253 "id": "CryptoKeyVersion", 1201 "id": "CryptoKeyVersion",
1254 "properties": { 1202 "properties": {
1203 "destroyEventTime": {
1204 "description": "Output only. The time this CryptoKeyVersion' s key material was\ndestroyed. Only present if state is\nDESTROYED.",
1205 "format": "google-datetime",
1206 "type": "string"
1207 },
1255 "destroyTime": { 1208 "destroyTime": {
1256 "description": "Output only. The time this CryptoKeyVersion' s key material is scheduled\nfor destruction. Only present if state is\nDESTROY_ SCHEDULED.", 1209 "description": "Output only. The time this CryptoKeyVersion' s key material is scheduled\nfor destruction. Only present if state is\nDESTROY_ SCHEDULED.",
1257 "format": "google-datetime", 1210 "format": "google-datetime",
1258 "type": "string" 1211 "type": "string"
1259 }, 1212 },
1260 "createTime": { 1213 "createTime": {
1261 "description": "Output only. The time at which this CryptoKe yVersion was created.", 1214 "description": "Output only. The time at which this CryptoKe yVersion was created.",
1262 "format": "google-datetime", 1215 "format": "google-datetime",
1263 "type": "string" 1216 "type": "string"
1264 }, 1217 },
(...skipping 11 matching lines...) Expand all
1276 "This version may be used in Encrypt and\nDecrypt reques ts.", 1229 "This version may be used in Encrypt and\nDecrypt reques ts.",
1277 "This version may not be used, but the key material is s till available,\nand the version can be placed back into the ENABLED state.", 1230 "This version may not be used, but the key material is s till available,\nand the version can be placed back into the ENABLED state.",
1278 "This version is destroyed, and the key material is no l onger stored.\nA version may not leave this state once entered.", 1231 "This version is destroyed, and the key material is no l onger stored.\nA version may not leave this state once entered.",
1279 "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state." 1232 "This version is scheduled for destruction, and will be destroyed soon.\nCall\nRestoreCryptoKeyVersion\nto put it back into the DISABLED state."
1280 ], 1233 ],
1281 "type": "string" 1234 "type": "string"
1282 }, 1235 },
1283 "name": { 1236 "name": {
1284 "description": "Output only. The resource name for this Cryp toKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryp toKeyVersions/*`.", 1237 "description": "Output only. The resource name for this Cryp toKeyVersion in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*/cryp toKeyVersions/*`.",
1285 "type": "string" 1238 "type": "string"
1286 },
1287 "destroyEventTime": {
1288 "description": "Output only. The time this CryptoKeyVersion' s key material was\ndestroyed. Only present if state is\nDESTROYED.",
1289 "format": "google-datetime",
1290 "type": "string"
1291 } 1239 }
1292 }, 1240 },
1293 "type": "object" 1241 "type": "object"
1294 }, 1242 },
1295 "CloudAuditOptions": { 1243 "CloudAuditOptions": {
1296 "description": "Write a Cloud Audit log", 1244 "description": "Write a Cloud Audit log",
1297 "id": "CloudAuditOptions", 1245 "id": "CloudAuditOptions",
1298 "properties": {}, 1246 "properties": {},
1299 "type": "object" 1247 "type": "object"
1300 }, 1248 },
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1369 } 1317 }
1370 }, 1318 },
1371 "type": "object" 1319 "type": "object"
1372 }, 1320 },
1373 "DestroyCryptoKeyVersionRequest": { 1321 "DestroyCryptoKeyVersionRequest": {
1374 "description": "Request message for KeyManagementService.DestroyCryp toKeyVersion.", 1322 "description": "Request message for KeyManagementService.DestroyCryp toKeyVersion.",
1375 "id": "DestroyCryptoKeyVersionRequest", 1323 "id": "DestroyCryptoKeyVersionRequest",
1376 "properties": {}, 1324 "properties": {},
1377 "type": "object" 1325 "type": "object"
1378 }, 1326 },
1379 "CryptoKey": {
1380 "description": "A CryptoKey represents a logical key that can be use d for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versio ns, which\nrepresent the actual key material used in cryptographic operations.",
1381 "id": "CryptoKey",
1382 "properties": {
1383 "purpose": {
1384 "description": "The immutable purpose of this CryptoKey. Cur rently, the only acceptable\npurpose is ENCRYPT_DECRYPT.",
1385 "enum": [
1386 "CRYPTO_KEY_PURPOSE_UNSPECIFIED",
1387 "ENCRYPT_DECRYPT"
1388 ],
1389 "enumDescriptions": [
1390 "Not specified.",
1391 "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt."
1392 ],
1393 "type": "string"
1394 },
1395 "nextRotationTime": {
1396 "description": "At next_rotation_time, the Key Management Se rvice will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryp toKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_tim e.",
1397 "format": "google-datetime",
1398 "type": "string"
1399 },
1400 "createTime": {
1401 "description": "Output only. The time at which this CryptoKe y was created.",
1402 "format": "google-datetime",
1403 "type": "string"
1404 },
1405 "rotationPeriod": {
1406 "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\ n\nIf rotation_period is set, next_rotation_time must also be set.",
1407 "format": "google-duration",
1408 "type": "string"
1409 },
1410 "primary": {
1411 "$ref": "CryptoKeyVersion",
1412 "description": "Output only. A copy of the \"primary\" Crypt oKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin Encry ptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCry ptoKeyPrimaryVersion."
1413 },
1414 "name": {
1415 "description": "Output only. The resource name for this Cryp toKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
1416 "type": "string"
1417 }
1418 },
1419 "type": "object"
1420 },
1421 "Rule": { 1327 "Rule": {
1422 "description": "A rule to be applied in a Policy.", 1328 "description": "A rule to be applied in a Policy.",
1423 "id": "Rule", 1329 "id": "Rule",
1424 "properties": { 1330 "properties": {
1331 "description": {
1332 "description": "Human-readable description of the rule.",
1333 "type": "string"
1334 },
1335 "conditions": {
1336 "description": "Additional restrictions that must be met",
1337 "items": {
1338 "$ref": "Condition"
1339 },
1340 "type": "array"
1341 },
1425 "logConfig": { 1342 "logConfig": {
1426 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.", 1343 "description": "The config returned to callers of tech.iam.I AM.CheckPolicy for any entries\nthat match the LOG action.",
1427 "items": { 1344 "items": {
1428 "$ref": "LogConfig" 1345 "$ref": "LogConfig"
1429 }, 1346 },
1430 "type": "array" 1347 "type": "array"
1431 }, 1348 },
1432 "in": { 1349 "in": {
1433 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.", 1350 "description": "If one or more 'in' clauses are specified, t he rule matches if\nthe PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.",
1434 "items": { 1351 "items": {
(...skipping 27 matching lines...) Expand all
1462 "Matching 'Entries' tell IAM.Check callers to generate l ogs." 1379 "Matching 'Entries' tell IAM.Check callers to generate l ogs."
1463 ], 1380 ],
1464 "type": "string" 1381 "type": "string"
1465 }, 1382 },
1466 "notIn": { 1383 "notIn": {
1467 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).", 1384 "description": "If one or more 'not_in' clauses are specifie d, the rule matches\nif the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entri es.\nThe format for in and not_in entries is the same as for members in a\nBindi ng (see google/iam/v1/policy.proto).",
1468 "items": { 1385 "items": {
1469 "type": "string" 1386 "type": "string"
1470 }, 1387 },
1471 "type": "array" 1388 "type": "array"
1472 },
1473 "description": {
1474 "description": "Human-readable description of the rule.",
1475 "type": "string"
1476 },
1477 "conditions": {
1478 "description": "Additional restrictions that must be met",
1479 "items": {
1480 "$ref": "Condition"
1481 },
1482 "type": "array"
1483 } 1389 }
1484 }, 1390 },
1485 "type": "object" 1391 "type": "object"
1392 },
1393 "CryptoKey": {
1394 "description": "A CryptoKey represents a logical key that can be use d for cryptographic\noperations.\n\nA CryptoKey is made up of one or more versio ns, which\nrepresent the actual key material used in cryptographic operations.",
1395 "id": "CryptoKey",
1396 "properties": {
1397 "purpose": {
1398 "description": "The immutable purpose of this CryptoKey. Cur rently, the only acceptable\npurpose is ENCRYPT_DECRYPT.",
1399 "enum": [
1400 "CRYPTO_KEY_PURPOSE_UNSPECIFIED",
1401 "ENCRYPT_DECRYPT"
1402 ],
1403 "enumDescriptions": [
1404 "Not specified.",
1405 "CryptoKeys with this purpose may be used with\nEncrypt and\nDecrypt."
1406 ],
1407 "type": "string"
1408 },
1409 "nextRotationTime": {
1410 "description": "At next_rotation_time, the Key Management Se rvice will automatically:\n\n1. Create a new version of this CryptoKey.\n2. Mark the new version as primary.\n\nKey rotations performed manually via\nCreateCryp toKeyVersion and\nUpdateCryptoKeyPrimaryVersion\ndo not affect next_rotation_tim e.",
1411 "format": "google-datetime",
1412 "type": "string"
1413 },
1414 "createTime": {
1415 "description": "Output only. The time at which this CryptoKe y was created.",
1416 "format": "google-datetime",
1417 "type": "string"
1418 },
1419 "rotationPeriod": {
1420 "description": "next_rotation_time will be advanced by this period when the service\nautomatically rotates a key. Must be at least one day.\ n\nIf rotation_period is set, next_rotation_time must also be set.",
1421 "format": "google-duration",
1422 "type": "string"
1423 },
1424 "primary": {
1425 "$ref": "CryptoKeyVersion",
1426 "description": "Output only. A copy of the \"primary\" Crypt oKeyVersion that will be used\nby Encrypt when this CryptoKey is given\nin Encry ptRequest.name.\n\nThe CryptoKey's primary version can be updated via\nUpdateCry ptoKeyPrimaryVersion."
1427 },
1428 "name": {
1429 "description": "Output only. The resource name for this Cryp toKey in the format\n`projects/*/locations/*/keyRings/*/cryptoKeys/*`.",
1430 "type": "string"
1431 }
1432 },
1433 "type": "object"
1434 },
1435 "LogConfig": {
1436 "description": "Specifies what kind of log the caller must write",
1437 "id": "LogConfig",
1438 "properties": {
1439 "dataAccess": {
1440 "$ref": "DataAccessOptions",
1441 "description": "Data access options."
1442 },
1443 "cloudAudit": {
1444 "$ref": "CloudAuditOptions",
1445 "description": "Cloud audit options."
1446 },
1447 "counter": {
1448 "$ref": "CounterOptions",
1449 "description": "Counter options."
1450 }
1451 },
1452 "type": "object"
1453 },
1454 "SetIamPolicyRequest": {
1455 "description": "Request message for `SetIamPolicy` method.",
1456 "id": "SetIamPolicyRequest",
1457 "properties": {
1458 "policy": {
1459 "$ref": "Policy",
1460 "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."
1461 },
1462 "updateMask": {
1463 "description": "OPTIONAL: A FieldMask specifying which field s of the policy to modify. Only\nthe fields in the mask will be modified. If no mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\ "\nThis field is only used by Cloud IAM.",
1464 "format": "google-fieldmask",
1465 "type": "string"
1466 }
1467 },
1468 "type": "object"
1469 },
1470 "DecryptRequest": {
1471 "description": "Request message for KeyManagementService.Decrypt.",
1472 "id": "DecryptRequest",
1473 "properties": {
1474 "ciphertext": {
1475 "description": "Required. The encrypted data originally retu rned in\nEncryptResponse.ciphertext.",
1476 "format": "byte",
1477 "type": "string"
1478 },
1479 "additionalAuthenticatedData": {
1480 "description": "Optional data that must match the data origi nally supplied in\nEncryptRequest.additional_authenticated_data.",
1481 "format": "byte",
1482 "type": "string"
1483 }
1484 },
1485 "type": "object"
1486 } 1486 }
1487 }, 1487 },
1488 "servicePath": "", 1488 "servicePath": "",
1489 "title": "Google Cloud Key Management Service (KMS) API", 1489 "title": "Google Cloud Key Management Service (KMS) API",
1490 "version": "v1" 1490 "version": "v1"
1491 } 1491 }
OLDNEW
« no previous file with comments | « discovery/googleapis/cloudfunctions__v1.json ('k') | discovery/googleapis/cloudresourcemanager__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698