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

Side by Side Diff: discovery/googleapis_beta/cloudresourcemanager__v1beta1.json

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 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.read-only": { 5 "https://www.googleapis.com/auth/cloud-platform.read-only": {
6 "description": "View your data across Google Cloud Platform services" 6 "description": "View your data across Google Cloud Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
9 "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"
10 } 10 }
(...skipping 10 matching lines...) Expand all
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": "cloudresourcemanager:v1beta1", 25 "id": "cloudresourcemanager:v1beta1",
26 "kind": "discovery#restDescription", 26 "kind": "discovery#restDescription",
27 "name": "cloudresourcemanager", 27 "name": "cloudresourcemanager",
28 "ownerDomain": "google.com", 28 "ownerDomain": "google.com",
29 "ownerName": "Google", 29 "ownerName": "Google",
30 "parameters": { 30 "parameters": {
31 "fields": { 31 "key": {
32 "description": "Selector specifying which fields to include in a par tial response.", 32 "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.",
33 "location": "query", 33 "location": "query",
34 "type": "string" 34 "type": "string"
35 }, 35 },
36 "access_token": {
37 "description": "OAuth access token.",
38 "location": "query",
39 "type": "string"
40 },
41 "quotaUser": {
42 "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.",
43 "location": "query",
44 "type": "string"
45 },
46 "pp": {
47 "default": "true",
48 "description": "Pretty-print response.",
49 "location": "query",
50 "type": "boolean"
51 },
52 "bearer_token": {
53 "description": "OAuth bearer token.",
54 "location": "query",
55 "type": "string"
56 },
57 "oauth_token": {
58 "description": "OAuth 2.0 token for the current user.",
59 "location": "query",
60 "type": "string"
61 },
62 "upload_protocol": {
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
64 "location": "query",
65 "type": "string"
66 },
67 "prettyPrint": {
68 "default": "true",
69 "description": "Returns response with indentations and line breaks." ,
70 "location": "query",
71 "type": "boolean"
72 },
36 "uploadType": { 73 "uploadType": {
37 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 74 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
38 "location": "query", 75 "location": "query",
39 "type": "string" 76 "type": "string"
40 }, 77 },
78 "fields": {
79 "description": "Selector specifying which fields to include in a par tial response.",
80 "location": "query",
81 "type": "string"
82 },
41 "$.xgafv": { 83 "$.xgafv": {
42 "description": "V1 error format.", 84 "description": "V1 error format.",
43 "enum": [ 85 "enum": [
44 "1", 86 "1",
45 "2" 87 "2"
46 ], 88 ],
47 "enumDescriptions": [ 89 "enumDescriptions": [
48 "v1 error format", 90 "v1 error format",
49 "v2 error format" 91 "v2 error format"
50 ], 92 ],
(...skipping 13 matching lines...) Expand all
64 "media", 106 "media",
65 "proto" 107 "proto"
66 ], 108 ],
67 "enumDescriptions": [ 109 "enumDescriptions": [
68 "Responses with Content-Type of application/json", 110 "Responses with Content-Type of application/json",
69 "Media download with context-dependent Content-Type", 111 "Media download with context-dependent Content-Type",
70 "Responses with Content-Type of application/x-protobuf" 112 "Responses with Content-Type of application/x-protobuf"
71 ], 113 ],
72 "location": "query", 114 "location": "query",
73 "type": "string" 115 "type": "string"
74 },
75 "access_token": {
76 "description": "OAuth access token.",
77 "location": "query",
78 "type": "string"
79 },
80 "key": {
81 "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.",
82 "location": "query",
83 "type": "string"
84 },
85 "quotaUser": {
86 "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.",
87 "location": "query",
88 "type": "string"
89 },
90 "pp": {
91 "default": "true",
92 "description": "Pretty-print response.",
93 "location": "query",
94 "type": "boolean"
95 },
96 "oauth_token": {
97 "description": "OAuth 2.0 token for the current user.",
98 "location": "query",
99 "type": "string"
100 },
101 "bearer_token": {
102 "description": "OAuth bearer token.",
103 "location": "query",
104 "type": "string"
105 },
106 "upload_protocol": {
107 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
108 "location": "query",
109 "type": "string"
110 },
111 "prettyPrint": {
112 "default": "true",
113 "description": "Returns response with indentations and line breaks." ,
114 "location": "query",
115 "type": "boolean"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "organizations": { 120 "organizations": {
121 "methods": { 121 "methods": {
122 "getIamPolicy": { 122 "getIamPolicy": {
123 "description": "Gets the access control policy for an Organi zation resource. May be empty\nif no such policy or resource exists. The `resour ce` field should be the\norganization's resource name, e.g. \"organizations/123\ ".", 123 "description": "Gets the access control policy for an Organi zation resource. May be empty\nif no such policy or resource exists. The `resour ce` field should be the\norganization's resource name, e.g. \"organizations/123\ ".",
124 "httpMethod": "POST", 124 "httpMethod": "POST",
125 "id": "cloudresourcemanager.organizations.getIamPolicy", 125 "id": "cloudresourcemanager.organizations.getIamPolicy",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "resource" 127 "resource"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "resource": { 130 "resource": {
131 "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 131 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
132 "location": "path", 132 "location": "path",
133 "pattern": "^organizations/[^/]+$", 133 "pattern": "^organizations/[^/]+$",
134 "required": true, 134 "required": true,
135 "type": "string" 135 "type": "string"
136 } 136 }
137 }, 137 },
138 "path": "v1beta1/{+resource}:getIamPolicy", 138 "path": "v1beta1/{+resource}:getIamPolicy",
139 "request": { 139 "request": {
140 "$ref": "GetIamPolicyRequest" 140 "$ref": "GetIamPolicyRequest"
141 }, 141 },
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 }, 206 },
207 "testIamPermissions": { 207 "testIamPermissions": {
208 "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's reso urce name,\ne.g. \"organizations/123\".", 208 "description": "Returns permissions that a caller has on the specified Organization.\nThe `resource` field should be the organization's reso urce name,\ne.g. \"organizations/123\".",
209 "httpMethod": "POST", 209 "httpMethod": "POST",
210 "id": "cloudresourcemanager.organizations.testIamPermissions ", 210 "id": "cloudresourcemanager.organizations.testIamPermissions ",
211 "parameterOrder": [ 211 "parameterOrder": [
212 "resource" 212 "resource"
213 ], 213 ],
214 "parameters": { 214 "parameters": {
215 "resource": { 215 "resource": {
216 "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. F or example, a Project\nresource is specified as `projects/{project}`.", 216 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
217 "location": "path", 217 "location": "path",
218 "pattern": "^organizations/[^/]+$", 218 "pattern": "^organizations/[^/]+$",
219 "required": true, 219 "required": true,
220 "type": "string" 220 "type": "string"
221 } 221 }
222 }, 222 },
223 "path": "v1beta1/{+resource}:testIamPermissions", 223 "path": "v1beta1/{+resource}:testIamPermissions",
224 "request": { 224 "request": {
225 "$ref": "TestIamPermissionsRequest" 225 "$ref": "TestIamPermissionsRequest"
226 }, 226 },
227 "response": { 227 "response": {
228 "$ref": "TestIamPermissionsResponse" 228 "$ref": "TestIamPermissionsResponse"
229 }, 229 },
230 "scopes": [ 230 "scopes": [
231 "https://www.googleapis.com/auth/cloud-platform", 231 "https://www.googleapis.com/auth/cloud-platform",
232 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 232 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
233 ] 233 ]
234 }, 234 },
235 "list": { 235 "list": {
236 "description": "Lists Organization resources that are visibl e to the user and satisfy\nthe specified filter. This method returns Organizatio ns in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.", 236 "description": "Lists Organization resources that are visibl e to the user and satisfy\nthe specified filter. This method returns Organizatio ns in an unspecified\norder. New Organizations do not necessarily appear at the end of the list.",
237 "httpMethod": "GET", 237 "httpMethod": "GET",
238 "id": "cloudresourcemanager.organizations.list", 238 "id": "cloudresourcemanager.organizations.list",
239 "parameterOrder": [], 239 "parameterOrder": [],
240 "parameters": { 240 "parameters": {
241 "pageSize": {
242 "description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
243 "format": "int32",
244 "location": "query",
245 "type": "integer"
246 },
241 "filter": { 247 "filter": {
242 "description": "An optional query string used to fil ter the Organizations to return in\nthe response. Filter rules are case-insensit ive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`d omain`, where the domain is a Google for Work domain, for example:\n\n|Filter|De scription|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizat ions with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.c om|Organizations corresponding to the domain `google.com`.|\n\nThis field is opt ional.", 248 "description": "An optional query string used to fil ter the Organizations to return in\nthe response. Filter rules are case-insensit ive.\n\n\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`d omain`, where the domain is a Google for Work domain, for example:\n\n|Filter|De scription|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizat ions with `owner.directory_customer_id` equal to `123456789`.|\n|domain:google.c om|Organizations corresponding to the domain `google.com`.|\n\nThis field is opt ional.",
243 "location": "query", 249 "location": "query",
244 "type": "string" 250 "type": "string"
245 }, 251 },
246 "pageToken": { 252 "pageToken": {
247 "description": "A pagination token returned from a p revious call to `ListOrganizations`\nthat indicates from where listing should co ntinue.\nThis field is optional.", 253 "description": "A pagination token returned from a p revious call to `ListOrganizations`\nthat indicates from where listing should co ntinue.\nThis field is optional.",
248 "location": "query", 254 "location": "query",
249 "type": "string" 255 "type": "string"
250 },
251 "pageSize": {
252 "description": "The maximum number of Organizations to return in the response.\nThis field is optional.",
253 "format": "int32",
254 "location": "query",
255 "type": "integer"
256 } 256 }
257 }, 257 },
258 "path": "v1beta1/organizations", 258 "path": "v1beta1/organizations",
259 "response": { 259 "response": {
260 "$ref": "ListOrganizationsResponse" 260 "$ref": "ListOrganizationsResponse"
261 }, 261 },
262 "scopes": [ 262 "scopes": [
263 "https://www.googleapis.com/auth/cloud-platform", 263 "https://www.googleapis.com/auth/cloud-platform",
264 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 264 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
265 ] 265 ]
266 }, 266 },
267 "setIamPolicy": { 267 "setIamPolicy": {
268 "description": "Sets the access control policy on an Organiz ation resource. Replaces any\nexisting policy. The `resource` field should be th e organization's resource\nname, e.g. \"organizations/123\".", 268 "description": "Sets the access control policy on an Organiz ation resource. Replaces any\nexisting policy. The `resource` field should be th e organization's resource\nname, e.g. \"organizations/123\".",
269 "httpMethod": "POST", 269 "httpMethod": "POST",
270 "id": "cloudresourcemanager.organizations.setIamPolicy", 270 "id": "cloudresourcemanager.organizations.setIamPolicy",
271 "parameterOrder": [ 271 "parameterOrder": [
272 "resource" 272 "resource"
273 ], 273 ],
274 "parameters": { 274 "parameters": {
275 "resource": { 275 "resource": {
276 "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 276 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
277 "location": "path", 277 "location": "path",
278 "pattern": "^organizations/[^/]+$", 278 "pattern": "^organizations/[^/]+$",
279 "required": true, 279 "required": true,
280 "type": "string" 280 "type": "string"
281 } 281 }
282 }, 282 },
283 "path": "v1beta1/{+resource}:setIamPolicy", 283 "path": "v1beta1/{+resource}:setIamPolicy",
284 "request": { 284 "request": {
285 "$ref": "SetIamPolicyRequest" 285 "$ref": "SetIamPolicyRequest"
286 }, 286 },
287 "response": { 287 "response": {
288 "$ref": "Policy" 288 "$ref": "Policy"
289 }, 289 },
290 "scopes": [ 290 "scopes": [
291 "https://www.googleapis.com/auth/cloud-platform" 291 "https://www.googleapis.com/auth/cloud-platform"
292 ] 292 ]
293 } 293 }
294 } 294 }
295 }, 295 },
296 "projects": { 296 "projects": {
297 "methods": { 297 "methods": {
298 "testIamPermissions": {
299 "description": "Returns permissions that a caller has on the specified Project.",
300 "httpMethod": "POST",
301 "id": "cloudresourcemanager.projects.testIamPermissions",
302 "parameterOrder": [
303 "resource"
304 ],
305 "parameters": {
306 "resource": {
307 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
308 "location": "path",
309 "required": true,
310 "type": "string"
311 }
312 },
313 "path": "v1beta1/projects/{resource}:testIamPermissions",
314 "request": {
315 "$ref": "TestIamPermissionsRequest"
316 },
317 "response": {
318 "$ref": "TestIamPermissionsResponse"
319 },
320 "scopes": [
321 "https://www.googleapis.com/auth/cloud-platform",
322 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
323 ]
324 },
298 "delete": { 325 "delete": {
299 "description": "Marks the Project identified by the specifie d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle s tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which p oint the project is\nno longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject ,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\ nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi ssions for this Project.", 326 "description": "Marks the Project identified by the specifie d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will only affect the Project if the following criteria are met:\n\n+ The Project does not have a billing account associated with it.\n+ The Project has a lifecycle s tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time, at which p oint the project is\nno longer accessible.\n\nUntil the deletion completes, you can check the lifecycle state\nchecked by retrieving the Project with GetProject ,\nand the Project remains visible to ListProjects.\nHowever, you cannot update the project.\n\nAfter the deletion completes, the Project is not retrievable by\ nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi ssions for this Project.",
300 "httpMethod": "DELETE", 327 "httpMethod": "DELETE",
301 "id": "cloudresourcemanager.projects.delete", 328 "id": "cloudresourcemanager.projects.delete",
302 "parameterOrder": [ 329 "parameterOrder": [
303 "projectId" 330 "projectId"
304 ], 331 ],
305 "parameters": { 332 "parameters": {
306 "projectId": { 333 "projectId": {
307 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.", 334 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.",
308 "location": "path", 335 "location": "path",
309 "required": true, 336 "required": true,
310 "type": "string" 337 "type": "string"
311 } 338 }
312 }, 339 },
313 "path": "v1beta1/projects/{projectId}", 340 "path": "v1beta1/projects/{projectId}",
314 "response": { 341 "response": {
315 "$ref": "Empty" 342 "$ref": "Empty"
316 }, 343 },
317 "scopes": [ 344 "scopes": [
318 "https://www.googleapis.com/auth/cloud-platform" 345 "https://www.googleapis.com/auth/cloud-platform"
319 ] 346 ]
320 }, 347 },
321 "list": { 348 "list": {
322 "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecifie d order.\nNew Projects do not necessarily appear at the end of the list.", 349 "description": "Lists Projects that are visible to the user and satisfy the\nspecified filter. This method returns Projects in an unspecifie d order.\nNew Projects do not necessarily appear at the end of the list.",
323 "httpMethod": "GET", 350 "httpMethod": "GET",
324 "id": "cloudresourcemanager.projects.list", 351 "id": "cloudresourcemanager.projects.list",
325 "parameterOrder": [], 352 "parameterOrder": [],
326 "parameters": { 353 "parameters": {
327 "pageToken": {
328 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
329 "location": "query",
330 "type": "string"
331 },
332 "pageSize": { 354 "pageSize": {
333 "description": "The maximum number of Projects to re turn in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.", 355 "description": "The maximum number of Projects to re turn in the response.\nThe server can return fewer Projects than requested.\nIf unspecified, server picks an appropriate default.\n\nOptional.",
334 "format": "int32", 356 "format": "int32",
335 "location": "query", 357 "location": "query",
336 "type": "integer" 358 "type": "integer"
337 }, 359 },
338 "filter": { 360 "filter": {
339 "description": "An expression for filtering the resu lts of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt er|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:H owl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n |NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `col or`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|lab els.color:red&nbsp;label.size:big|The project's label `color` has the value `red ` and its label `size` has the value `big`.\n\nOptional.", 361 "description": "An expression for filtering the resu lts of the request. Filter rules are\ncase insensitive. The fields eligible for filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt er|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:H owl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n |NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `col or`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|lab els.color:red&nbsp;label.size:big|The project's label `color` has the value `red ` and its label `size` has the value `big`.\n\nOptional.",
340 "location": "query", 362 "location": "query",
341 "type": "string" 363 "type": "string"
364 },
365 "pageToken": {
366 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
367 "location": "query",
368 "type": "string"
342 } 369 }
343 }, 370 },
344 "path": "v1beta1/projects", 371 "path": "v1beta1/projects",
345 "response": { 372 "response": {
346 "$ref": "ListProjectsResponse" 373 "$ref": "ListProjectsResponse"
347 }, 374 },
348 "scopes": [ 375 "scopes": [
349 "https://www.googleapis.com/auth/cloud-platform", 376 "https://www.googleapis.com/auth/cloud-platform",
350 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 377 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
351 ] 378 ]
352 }, 379 },
353 "setIamPolicy": { 380 "setIamPolicy": {
354 "description": "Sets the IAM access control policy for the s pecified Project. Replaces\nany existing policy.\n\nThe following constraints ap ply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `a llAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and mus t accept the invitation.\n\n+ A user cannot be granted the owner role using `set IamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant th e owner role cannot be sent using `setIamPolicy()`;\nthey must be sent only usin g the Cloud Platform Console.\n\n+ Membership changes that leave the project wit hout any owners that have\naccepted the Terms of Service (ToS) will be rejected. \n\n+ There must be at least one owner who has accepted the Terms of\nService (T oS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS -accepted owner from the policy will fail. This\nrestriction also applies to leg acy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified .\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render serv ices completely inoperable. It is important to understand\nhow the service accou nt is being used before removing or updating its roles.", 381 "description": "Sets the IAM access control policy for the s pecified Project. Replaces\nany existing policy.\n\nThe following constraints ap ply when using `setIamPolicy()`:\n\n+ Project does not support `allUsers` and `a llAuthenticatedUsers` as\n`members` in a `Binding` of a `Policy`.\n\n+ The owner role can be granted only to `user` and `serviceAccount`.\n\n+ Service accounts can be made owners of a project directly\nwithout any restrictions. However, to be added as an owner, a user must be\ninvited via Cloud Platform console and mus t accept the invitation.\n\n+ A user cannot be granted the owner role using `set IamPolicy()`. The user\nmust be granted the owner role using the Cloud Platform Console and must\nexplicitly accept the invitation.\n\n+ Invitations to grant th e owner role cannot be sent using `setIamPolicy()`;\nthey must be sent only usin g the Cloud Platform Console.\n\n+ Membership changes that leave the project wit hout any owners that have\naccepted the Terms of Service (ToS) will be rejected. \n\n+ There must be at least one owner who has accepted the Terms of\nService (T oS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last ToS -accepted owner from the policy will fail. This\nrestriction also applies to leg acy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM policies will be rejected until\nthe lack of a ToS-accepting owner is rectified .\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from policies or changing their roles\ncan render serv ices completely inoperable. It is important to understand\nhow the service accou nt is being used before removing or updating its roles.",
355 "httpMethod": "POST", 382 "httpMethod": "POST",
356 "id": "cloudresourcemanager.projects.setIamPolicy", 383 "id": "cloudresourcemanager.projects.setIamPolicy",
357 "parameterOrder": [ 384 "parameterOrder": [
358 "resource" 385 "resource"
359 ], 386 ],
360 "parameters": { 387 "parameters": {
361 "resource": { 388 "resource": {
362 "description": "REQUIRED: The resource for which the policy is being specified.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 389 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
363 "location": "path", 390 "location": "path",
364 "required": true, 391 "required": true,
365 "type": "string" 392 "type": "string"
366 } 393 }
367 }, 394 },
368 "path": "v1beta1/projects/{resource}:setIamPolicy", 395 "path": "v1beta1/projects/{resource}:setIamPolicy",
369 "request": { 396 "request": {
370 "$ref": "SetIamPolicyRequest" 397 "$ref": "SetIamPolicyRequest"
371 }, 398 },
372 "response": { 399 "response": {
(...skipping 28 matching lines...) Expand all
401 }, 428 },
402 "getIamPolicy": { 429 "getIamPolicy": {
403 "description": "Returns the IAM access control policy for th e specified Project.\nPermission is denied if the policy or the resource does no t exist.", 430 "description": "Returns the IAM access control policy for th e specified Project.\nPermission is denied if the policy or the resource does no t exist.",
404 "httpMethod": "POST", 431 "httpMethod": "POST",
405 "id": "cloudresourcemanager.projects.getIamPolicy", 432 "id": "cloudresourcemanager.projects.getIamPolicy",
406 "parameterOrder": [ 433 "parameterOrder": [
407 "resource" 434 "resource"
408 ], 435 ],
409 "parameters": { 436 "parameters": {
410 "resource": { 437 "resource": {
411 "description": "REQUIRED: The resource for which the policy is being requested.\n`resource` is usually specified as a path. For exam ple, a Project\nresource is specified as `projects/{project}`.", 438 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
412 "location": "path", 439 "location": "path",
413 "required": true, 440 "required": true,
414 "type": "string" 441 "type": "string"
415 } 442 }
416 }, 443 },
417 "path": "v1beta1/projects/{resource}:getIamPolicy", 444 "path": "v1beta1/projects/{resource}:getIamPolicy",
418 "request": { 445 "request": {
419 "$ref": "GetIamPolicyRequest" 446 "$ref": "GetIamPolicyRequest"
420 }, 447 },
421 "response": { 448 "response": {
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
521 "request": { 548 "request": {
522 "$ref": "GetAncestryRequest" 549 "$ref": "GetAncestryRequest"
523 }, 550 },
524 "response": { 551 "response": {
525 "$ref": "GetAncestryResponse" 552 "$ref": "GetAncestryResponse"
526 }, 553 },
527 "scopes": [ 554 "scopes": [
528 "https://www.googleapis.com/auth/cloud-platform", 555 "https://www.googleapis.com/auth/cloud-platform",
529 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 556 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
530 ] 557 ]
531 },
532 "testIamPermissions": {
533 "description": "Returns permissions that a caller has on the specified Project.",
534 "httpMethod": "POST",
535 "id": "cloudresourcemanager.projects.testIamPermissions",
536 "parameterOrder": [
537 "resource"
538 ],
539 "parameters": {
540 "resource": {
541 "description": "REQUIRED: The resource for which the policy detail is being requested.\n`resource` is usually specified as a path. F or example, a Project\nresource is specified as `projects/{project}`.",
542 "location": "path",
543 "required": true,
544 "type": "string"
545 }
546 },
547 "path": "v1beta1/projects/{resource}:testIamPermissions",
548 "request": {
549 "$ref": "TestIamPermissionsRequest"
550 },
551 "response": {
552 "$ref": "TestIamPermissionsResponse"
553 },
554 "scopes": [
555 "https://www.googleapis.com/auth/cloud-platform",
556 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
557 ]
558 } 558 }
559 } 559 }
560 } 560 }
561 }, 561 },
562 "revision": "20170206", 562 "revision": "20170227",
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
564 "schemas": { 564 "schemas": {
565 "UndeleteProjectRequest": {
566 "description": "The request sent to the UndeleteProject\nmethod.",
567 "id": "UndeleteProjectRequest",
568 "properties": {},
569 "type": "object"
570 },
571 "Organization": {
572 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
573 "id": "Organization",
574 "properties": {
575 "owner": {
576 "$ref": "OrganizationOwner",
577 "description": "The owner of this Organization. The owner sh ould be specified on\ncreation. Once set, it cannot be changed.\nThis field is r equired."
578 },
579 "name": {
580 "description": "Output Only. The resource name of the organi zation. This is the\norganization's relative path in the API. Its format is\n\"o rganizations/[organization_id]\". For example, \"organizations/1234\".",
581 "type": "string"
582 },
583 "organizationId": {
584 "description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization. \nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead.",
585 "type": "string"
586 },
587 "lifecycleState": {
588 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
589 "enum": [
590 "LIFECYCLE_STATE_UNSPECIFIED",
591 "ACTIVE",
592 "DELETE_REQUESTED"
593 ],
594 "enumDescriptions": [
595 "Unspecified state. This is only useful for distinguish ing unset values.",
596 "The normal and active state.",
597 "The organization has been marked for deletion by the us er."
598 ],
599 "type": "string"
600 },
601 "displayName": {
602 "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the firm name of the Go ogle For Work\ncustomer that owns this organization.\n@OutputOnly",
603 "type": "string"
604 },
605 "creationTime": {
606 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
607 "format": "google-datetime",
608 "type": "string"
609 }
610 },
611 "type": "object"
612 },
613 "ProjectCreationStatus": {
614 "description": "A status object which is used as the `metadata` fiel d for the Operation\nreturned by CreateProject. It provides insight for when sig nificant phases of\nProject creation have completed.",
615 "id": "ProjectCreationStatus",
616 "properties": {
617 "ready": {
618 "description": "True if the project creation process is comp lete.",
619 "type": "boolean"
620 },
621 "createTime": {
622 "description": "Creation time of the project creation workfl ow.",
623 "format": "google-datetime",
624 "type": "string"
625 },
626 "gettable": {
627 "description": "True if the project can be retrieved using G etProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.",
628 "type": "boolean"
629 }
630 },
631 "type": "object"
632 },
633 "GetIamPolicyRequest": {
634 "description": "Request message for `GetIamPolicy` method.",
635 "id": "GetIamPolicyRequest",
636 "properties": {},
637 "type": "object"
638 },
639 "TestIamPermissionsResponse": {
640 "description": "Response message for `TestIamPermissions` method.",
641 "id": "TestIamPermissionsResponse",
642 "properties": {
643 "permissions": {
644 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
645 "items": {
646 "type": "string"
647 },
648 "type": "array"
649 }
650 },
651 "type": "object"
652 },
653 "GetAncestryResponse": {
654 "description": "Response from the GetAncestry method.",
655 "id": "GetAncestryResponse",
656 "properties": {
657 "ancestor": {
658 "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by t he project's parent,\netc.",
659 "items": {
660 "$ref": "Ancestor"
661 },
662 "type": "array"
663 }
664 },
665 "type": "object"
666 },
667 "OrganizationOwner": {
668 "description": "The entity that owns an Organization. The lifetime o f the Organization and\nall of its descendants are bound to the `OrganizationOwn er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen dants will\nbe deleted.",
669 "id": "OrganizationOwner",
670 "properties": {
671 "directoryCustomerId": {
672 "description": "The Google for Work customer id used in the Directory API.",
673 "type": "string"
674 }
675 },
676 "type": "object"
677 },
678 "ListProjectsResponse": { 565 "ListProjectsResponse": {
679 "description": "A page of the response received from the\nListProjec ts\nmethod.\n\nA paginated response where more pages are available has\n`next_pa ge_token` set. This token can be used in a subsequent request to\nretrieve the n ext request page.", 566 "description": "A page of the response received from the\nListProjec ts\nmethod.\n\nA paginated response where more pages are available has\n`next_pa ge_token` set. This token can be used in a subsequent request to\nretrieve the n ext request page.",
680 "id": "ListProjectsResponse", 567 "id": "ListProjectsResponse",
681 "properties": { 568 "properties": {
682 "projects": { 569 "projects": {
683 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.", 570 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.",
684 "items": { 571 "items": {
685 "$ref": "Project" 572 "$ref": "Project"
686 }, 573 },
687 "type": "array" 574 "type": "array"
688 }, 575 },
689 "nextPageToken": { 576 "nextPageToken": {
690 "description": "Pagination token.\n\nIf the result set is to o large to fit in a single response, this token\nis returned. It encodes the pos ition of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `ne xt_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime." , 577 "description": "Pagination token.\n\nIf the result set is to o large to fit in a single response, this token\nis returned. It encodes the pos ition of the current result cursor.\nFeeding this value into a new list request with the `page_token` parameter\ngives the next page of the results.\n\nWhen `ne xt_page_token` is not filled in, there is no next page and\nthe list returned is the last page in the result set.\n\nPagination tokens have a limited lifetime." ,
691 "type": "string" 578 "type": "string"
692 } 579 }
693 }, 580 },
694 "type": "object" 581 "type": "object"
695 }, 582 },
696 "GetAncestryRequest": { 583 "GetAncestryRequest": {
697 "description": "The request sent to the\nGetAncestry\nmethod.", 584 "description": "The request sent to the\nGetAncestry\nmethod.",
698 "id": "GetAncestryRequest", 585 "id": "GetAncestryRequest",
699 "properties": {}, 586 "properties": {},
700 "type": "object" 587 "type": "object"
701 }, 588 },
702 "Project": { 589 "Project": {
703 "description": "A Project is a high-level Google Cloud Platform enti ty. It is a\ncontainer for ACLs, APIs, AppEngine Apps, VMs, and other\nGoogle C loud Platform resources.", 590 "description": "A Project is a high-level Google Cloud Platform enti ty. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle Cloud Platform resources.",
704 "id": "Project", 591 "id": "Project",
705 "properties": { 592 "properties": {
706 "name": {
707 "description": "The user-assigned display name of the Projec t.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and upperc ase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamatio n point.\n\nExample: <code>My Project</code>\nRead-write.",
708 "type": "string"
709 },
710 "projectId": {
711 "description": "The unique, user-assigned ID of the Project. \nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</co de>\nRead-only after creation.",
712 "type": "string"
713 },
714 "lifecycleState": { 593 "lifecycleState": {
715 "description": "The Project lifecycle state.\n\nRead-only.", 594 "description": "The Project lifecycle state.\n\nRead-only.",
716 "enum": [ 595 "enum": [
717 "LIFECYCLE_STATE_UNSPECIFIED", 596 "LIFECYCLE_STATE_UNSPECIFIED",
718 "ACTIVE", 597 "ACTIVE",
719 "DELETE_REQUESTED", 598 "DELETE_REQUESTED",
720 "DELETE_IN_PROGRESS" 599 "DELETE_IN_PROGRESS"
721 ], 600 ],
722 "enumDescriptions": [ 601 "enumDescriptions": [
723 "Unspecified state. This is only used/useful for distin guishing\nunset values.", 602 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
724 "The normal and active state.", 603 "The normal and active state.",
725 "The project has been marked for deletion by the user\n( by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.", 604 "The project has been marked for deletion by the user\n( by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can generally be reversed by invoking UndeleteProject.",
726 "This lifecycle state is no longer used and is not retur ned by the API." 605 "This lifecycle state is no longer used and is not retur ned by the API."
727 ], 606 ],
728 "type": "string" 607 "type": "string"
729 }, 608 },
730 "projectNumber": { 609 "projectNumber": {
731 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.", 610 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
732 "format": "int64", 611 "format": "int64",
733 "type": "string" 612 "type": "string"
734 }, 613 },
735 "parent": { 614 "parent": {
736 "$ref": "ResourceId", 615 "$ref": "ResourceId",
737 "description": "An optional reference to a parent Resource.\ n\nThe only supported parent type is \"organization\". Once set, the parent\ncan not be modified. The `parent` can be set on creation or using the\n`UpdateProjec t` method; the end user must have the\n`resourcemanager.projects.create` permiss ion on the parent.\n\nRead-write." 616 "description": "An optional reference to a parent Resource.\ n\nThe only supported parent type is \"organization\". Once set, the parent\ncan not be modified. The `parent` can be set on creation or using the\n`UpdateProjec t` method; the end user must have the\n`resourcemanager.projects.create` permiss ion on the parent.\n\nRead-write."
738 }, 617 },
618 "createTime": {
619 "description": "Creation time.\n\nRead-only.",
620 "format": "google-datetime",
621 "type": "string"
622 },
739 "labels": { 623 "labels": {
740 "additionalProperties": { 624 "additionalProperties": {
741 "type": "string" 625 "type": "string"
742 }, 626 },
743 "description": "The labels associated with this Project.\n\n Label keys must be between 1 and 63 characters long and must conform\nto the fol lowing regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel valu es must be between 0 and 63 characters long and must conform\nto the regular exp ression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels ca n be associated with a given resource.\n\nClients should store labels in a repre sentation such as JSON that does not\ndepend on specific characters being disall owed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.", 627 "description": "The labels associated with this Project.\n\n Label keys must be between 1 and 63 characters long and must conform\nto the fol lowing regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel valu es must be between 0 and 63 characters long and must conform\nto the regular exp ression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels ca n be associated with a given resource.\n\nClients should store labels in a repre sentation such as JSON that does not\ndepend on specific characters being disall owed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.",
744 "type": "object" 628 "type": "object"
745 }, 629 },
746 "createTime": { 630 "name": {
747 "description": "Creation time.\n\nRead-only.", 631 "description": "The user-assigned display name of the Projec t.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and upperc ase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamatio n point.\n\nExample: <code>My Project</code>\nRead-write.",
748 "format": "google-datetime", 632 "type": "string"
633 },
634 "projectId": {
635 "description": "The unique, user-assigned ID of the Project. \nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</co de>\nRead-only after creation.",
749 "type": "string" 636 "type": "string"
750 } 637 }
751 }, 638 },
752 "type": "object" 639 "type": "object"
753 }, 640 },
754 "TestIamPermissionsRequest": { 641 "TestIamPermissionsRequest": {
755 "description": "Request message for `TestIamPermissions` method.", 642 "description": "Request message for `TestIamPermissions` method.",
756 "id": "TestIamPermissionsRequest", 643 "id": "TestIamPermissionsRequest",
757 "properties": { 644 "properties": {
758 "permissions": { 645 "permissions": {
759 "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).", 646 "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).",
760 "items": { 647 "items": {
761 "type": "string" 648 "type": "string"
762 }, 649 },
763 "type": "array" 650 "type": "array"
764 } 651 }
765 }, 652 },
766 "type": "object" 653 "type": "object"
767 }, 654 },
768 "Policy": { 655 "Policy": {
769 "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).", 656 "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).",
770 "id": "Policy", 657 "id": "Policy",
771 "properties": { 658 "properties": {
772 "etag": {
773 "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.",
774 "format": "byte",
775 "type": "string"
776 },
777 "version": { 659 "version": {
778 "description": "Version of the `Policy`. The default version is 0.", 660 "description": "Version of the `Policy`. The default version is 0.",
779 "format": "int32", 661 "format": "int32",
780 "type": "integer" 662 "type": "integer"
781 }, 663 },
782 "bindings": { 664 "bindings": {
783 "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.", 665 "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.",
784 "items": { 666 "items": {
785 "$ref": "Binding" 667 "$ref": "Binding"
786 }, 668 },
787 "type": "array" 669 "type": "array"
670 },
671 "etag": {
672 "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.",
673 "format": "byte",
674 "type": "string"
788 } 675 }
789 }, 676 },
790 "type": "object" 677 "type": "object"
791 }, 678 },
792 "FolderOperation": { 679 "FolderOperation": {
793 "description": "Metadata describing a long running folder operation" , 680 "description": "Metadata describing a long running folder operation" ,
794 "id": "FolderOperation", 681 "id": "FolderOperation",
795 "properties": { 682 "properties": {
683 "destinationParent": {
684 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
685 "type": "string"
686 },
796 "operationType": { 687 "operationType": {
797 "description": "The type of this operation.", 688 "description": "The type of this operation.",
798 "enum": [ 689 "enum": [
799 "OPERATION_TYPE_UNSPECIFIED", 690 "OPERATION_TYPE_UNSPECIFIED",
800 "CREATE", 691 "CREATE",
801 "MOVE" 692 "MOVE"
802 ], 693 ],
803 "enumDescriptions": [ 694 "enumDescriptions": [
804 "Operation type not specified.", 695 "Operation type not specified.",
805 "A create folder operation.", 696 "A create folder operation.",
806 "A move folder operation." 697 "A move folder operation."
807 ], 698 ],
808 "type": "string" 699 "type": "string"
809 }, 700 },
810 "displayName": { 701 "displayName": {
811 "description": "The display name of the folder.", 702 "description": "The display name of the folder.",
812 "type": "string" 703 "type": "string"
813 }, 704 },
814 "sourceParent": { 705 "sourceParent": {
815 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.", 706 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
816 "type": "string" 707 "type": "string"
817 },
818 "destinationParent": {
819 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
820 "type": "string"
821 } 708 }
822 }, 709 },
823 "type": "object" 710 "type": "object"
824 }, 711 },
825 "FolderOperationError": { 712 "FolderOperationError": {
826 "description": "A classification of the Folder Operation error.", 713 "description": "A classification of the Folder Operation error.",
827 "id": "FolderOperationError", 714 "id": "FolderOperationError",
828 "properties": { 715 "properties": {
829 "errorMessageId": { 716 "errorMessageId": {
830 "description": "The type of operation error experienced.", 717 "description": "The type of operation error experienced.",
(...skipping 18 matching lines...) Expand all
849 "The attempted action would introduce cycle in resource path.", 736 "The attempted action would introduce cycle in resource path.",
850 "The attempted action would move a folder that is alread y being moved.", 737 "The attempted action would move a folder that is alread y being moved.",
851 "The folder the caller is trying to delete contains acti ve resources." 738 "The folder the caller is trying to delete contains acti ve resources."
852 ], 739 ],
853 "type": "string" 740 "type": "string"
854 } 741 }
855 }, 742 },
856 "type": "object" 743 "type": "object"
857 }, 744 },
858 "ResourceId": { 745 "ResourceId": {
859 "description": "A container to reference an id for any resource type . A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples ar e an AppEngine app,\na Compute Engine instance, a Cloud SQL database, and so on. ", 746 "description": "A container to reference an id for any resource type . A `resource` in Google\nCloud Platform is a generic term for something you (a developer) may want to\ninteract with through one of our API's. Some examples ar e an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on .",
860 "id": "ResourceId", 747 "id": "ResourceId",
861 "properties": { 748 "properties": {
862 "type": { 749 "type": {
863 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".", 750 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".",
864 "type": "string" 751 "type": "string"
865 }, 752 },
866 "id": { 753 "id": {
867 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.", 754 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
868 "type": "string" 755 "type": "string"
869 } 756 }
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
926 "type": "string" 813 "type": "string"
927 } 814 }
928 }, 815 },
929 "type": "object" 816 "type": "object"
930 }, 817 },
931 "Empty": { 818 "Empty": {
932 "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 `{}`.", 819 "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 `{}`.",
933 "id": "Empty", 820 "id": "Empty",
934 "properties": {}, 821 "properties": {},
935 "type": "object" 822 "type": "object"
823 },
824 "Organization": {
825 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
826 "id": "Organization",
827 "properties": {
828 "organizationId": {
829 "description": "An immutable id for the Organization that is assigned on creation. This\nshould be omitted when creating a new Organization. \nThis field is read-only.\nThis field is deprecated and will be removed in v1. Use name instead.",
830 "type": "string"
831 },
832 "lifecycleState": {
833 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
834 "enum": [
835 "LIFECYCLE_STATE_UNSPECIFIED",
836 "ACTIVE",
837 "DELETE_REQUESTED"
838 ],
839 "enumDescriptions": [
840 "Unspecified state. This is only useful for distinguish ing unset values.",
841 "The normal and active state.",
842 "The organization has been marked for deletion by the us er."
843 ],
844 "type": "string"
845 },
846 "displayName": {
847 "description": "A friendly string to be used to refer to the Organization in the UI.\nAssigned by the server, set to the primary domain of t he G Suite\ncustomer that owns the organization.\n@OutputOnly",
848 "type": "string"
849 },
850 "creationTime": {
851 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
852 "format": "google-datetime",
853 "type": "string"
854 },
855 "owner": {
856 "$ref": "OrganizationOwner",
857 "description": "The owner of this Organization. The owner sh ould be specified on\ncreation. Once set, it cannot be changed.\nThis field is r equired."
858 },
859 "name": {
860 "description": "Output Only. The resource name of the organi zation. This is the\norganization's relative path in the API. Its format is\n\"o rganizations/[organization_id]\". For example, \"organizations/1234\".",
861 "type": "string"
862 }
863 },
864 "type": "object"
865 },
866 "UndeleteProjectRequest": {
867 "description": "The request sent to the UndeleteProject\nmethod.",
868 "id": "UndeleteProjectRequest",
869 "properties": {},
870 "type": "object"
871 },
872 "ProjectCreationStatus": {
873 "description": "A status object which is used as the `metadata` fiel d for the Operation\nreturned by CreateProject. It provides insight for when sig nificant phases of\nProject creation have completed.",
874 "id": "ProjectCreationStatus",
875 "properties": {
876 "ready": {
877 "description": "True if the project creation process is comp lete.",
878 "type": "boolean"
879 },
880 "createTime": {
881 "description": "Creation time of the project creation workfl ow.",
882 "format": "google-datetime",
883 "type": "string"
884 },
885 "gettable": {
886 "description": "True if the project can be retrieved using G etProject. No other operations\non the project are guaranteed to work until the project creation is\ncomplete.",
887 "type": "boolean"
888 }
889 },
890 "type": "object"
891 },
892 "GetIamPolicyRequest": {
893 "description": "Request message for `GetIamPolicy` method.",
894 "id": "GetIamPolicyRequest",
895 "properties": {},
896 "type": "object"
897 },
898 "TestIamPermissionsResponse": {
899 "description": "Response message for `TestIamPermissions` method.",
900 "id": "TestIamPermissionsResponse",
901 "properties": {
902 "permissions": {
903 "description": "A subset of `TestPermissionsRequest.permissi ons` that the caller is\nallowed.",
904 "items": {
905 "type": "string"
906 },
907 "type": "array"
908 }
909 },
910 "type": "object"
911 },
912 "GetAncestryResponse": {
913 "description": "Response from the GetAncestry method.",
914 "id": "GetAncestryResponse",
915 "properties": {
916 "ancestor": {
917 "description": "Ancestors are ordered from bottom to top of the resource hierarchy. The\nfirst ancestor is the project itself, followed by t he project's parent,\netc.",
918 "items": {
919 "$ref": "Ancestor"
920 },
921 "type": "array"
922 }
923 },
924 "type": "object"
925 },
926 "OrganizationOwner": {
927 "description": "The entity that owns an Organization. The lifetime o f the Organization and\nall of its descendants are bound to the `OrganizationOwn er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen dants will\nbe deleted.",
928 "id": "OrganizationOwner",
929 "properties": {
930 "directoryCustomerId": {
931 "description": "The Google for Work customer id used in the Directory API.",
932 "type": "string"
933 }
934 },
935 "type": "object"
936 } 936 }
937 }, 937 },
938 "servicePath": "", 938 "servicePath": "",
939 "title": "Google Cloud Resource Manager API", 939 "title": "Google Cloud Resource Manager API",
940 "version": "v1beta1" 940 "version": "v1beta1"
941 } 941 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/cloudmonitoring__v2beta2.json ('k') | discovery/googleapis_beta/dataflow__v1b3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698