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

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

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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 "upload_protocol": {
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
33 "location": "query",
34 "type": "string"
35 },
36 "prettyPrint": {
37 "default": "true",
38 "description": "Returns response with indentations and line breaks." ,
39 "location": "query",
40 "type": "boolean"
41 },
42 "fields": {
43 "description": "Selector specifying which fields to include in a par tial response.",
44 "location": "query",
45 "type": "string"
46 },
47 "uploadType": {
48 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
49 "location": "query",
50 "type": "string"
51 },
52 "$.xgafv": {
53 "description": "V1 error format.",
54 "enum": [
55 "1",
56 "2"
57 ],
58 "enumDescriptions": [
59 "v1 error format",
60 "v2 error format"
61 ],
62 "location": "query",
63 "type": "string"
64 },
65 "callback": {
66 "description": "JSONP",
67 "location": "query",
68 "type": "string"
69 },
31 "alt": { 70 "alt": {
32 "default": "json", 71 "default": "json",
33 "description": "Data format for response.", 72 "description": "Data format for response.",
34 "enum": [ 73 "enum": [
35 "json", 74 "json",
36 "media", 75 "media",
37 "proto" 76 "proto"
38 ], 77 ],
39 "enumDescriptions": [ 78 "enumDescriptions": [
40 "Responses with Content-Type of application/json", 79 "Responses with Content-Type of application/json",
41 "Media download with context-dependent Content-Type", 80 "Media download with context-dependent Content-Type",
42 "Responses with Content-Type of application/x-protobuf" 81 "Responses with Content-Type of application/x-protobuf"
43 ], 82 ],
44 "location": "query", 83 "location": "query",
45 "type": "string" 84 "type": "string"
46 }, 85 },
86 "key": {
87 "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.",
88 "location": "query",
89 "type": "string"
90 },
47 "access_token": { 91 "access_token": {
48 "description": "OAuth access token.", 92 "description": "OAuth access token.",
49 "location": "query", 93 "location": "query",
50 "type": "string" 94 "type": "string"
51 }, 95 },
52 "key": {
53 "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.",
54 "location": "query",
55 "type": "string"
56 },
57 "quotaUser": { 96 "quotaUser": {
58 "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.", 97 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
59 "location": "query", 98 "location": "query",
60 "type": "string" 99 "type": "string"
61 }, 100 },
62 "pp": { 101 "pp": {
63 "default": "true", 102 "default": "true",
64 "description": "Pretty-print response.", 103 "description": "Pretty-print response.",
65 "location": "query", 104 "location": "query",
66 "type": "boolean" 105 "type": "boolean"
67 }, 106 },
68 "bearer_token": { 107 "bearer_token": {
69 "description": "OAuth bearer token.", 108 "description": "OAuth bearer token.",
70 "location": "query", 109 "location": "query",
71 "type": "string" 110 "type": "string"
72 }, 111 },
73 "oauth_token": { 112 "oauth_token": {
74 "description": "OAuth 2.0 token for the current user.", 113 "description": "OAuth 2.0 token for the current user.",
75 "location": "query", 114 "location": "query",
76 "type": "string" 115 "type": "string"
77 },
78 "upload_protocol": {
79 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
80 "location": "query",
81 "type": "string"
82 },
83 "prettyPrint": {
84 "default": "true",
85 "description": "Returns response with indentations and line breaks." ,
86 "location": "query",
87 "type": "boolean"
88 },
89 "fields": {
90 "description": "Selector specifying which fields to include in a par tial response.",
91 "location": "query",
92 "type": "string"
93 },
94 "uploadType": {
95 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
96 "location": "query",
97 "type": "string"
98 },
99 "callback": {
100 "description": "JSONP",
101 "location": "query",
102 "type": "string"
103 },
104 "$.xgafv": {
105 "description": "V1 error format.",
106 "enum": [
107 "1",
108 "2"
109 ],
110 "enumDescriptions": [
111 "v1 error format",
112 "v2 error format"
113 ],
114 "location": "query",
115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "projects": { 120 "organizations": {
121 "methods": { 121 "methods": {
122 "list": { 122 "getIamPolicy": {
123 "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.", 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": "GET",
125 "id": "cloudresourcemanager.projects.list",
126 "parameterOrder": [],
127 "parameters": {
128 "filter": {
129 "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:how*|The project's name starts with \"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equi valent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red&nbsp;labels.size:big|The project's label `color ` has the\nvalue `red` and its label `size` has the value `big`.\n\nOptional.",
130 "location": "query",
131 "type": "string"
132 },
133 "pageToken": {
134 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
135 "location": "query",
136 "type": "string"
137 },
138 "pageSize": {
139 "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.",
140 "format": "int32",
141 "location": "query",
142 "type": "integer"
143 }
144 },
145 "path": "v1beta1/projects",
146 "response": {
147 "$ref": "ListProjectsResponse"
148 },
149 "scopes": [
150 "https://www.googleapis.com/auth/cloud-platform",
151 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
152 ]
153 },
154 "create": {
155 "description": "Creates a Project resource.\n\nInitially, th e Project resource is owned by its creator exclusively.\nThe creator can later g rant permission to others to read or update the\nProject.\n\nSeveral APIs are ac tivated automatically for the Project, including\nGoogle Cloud Storage.",
156 "httpMethod": "POST", 124 "httpMethod": "POST",
157 "id": "cloudresourcemanager.projects.create", 125 "id": "cloudresourcemanager.organizations.getIamPolicy",
158 "parameterOrder": [],
159 "parameters": {
160 "useLegacyStack": {
161 "description": "A safety hatch to opt out of the new reliable project creation process.",
162 "location": "query",
163 "type": "boolean"
164 }
165 },
166 "path": "v1beta1/projects",
167 "request": {
168 "$ref": "Project"
169 },
170 "response": {
171 "$ref": "Project"
172 },
173 "scopes": [
174 "https://www.googleapis.com/auth/cloud-platform"
175 ]
176 },
177 "setIamPolicy": {
178 "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\n`setIamPolicy()`; they 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+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Cal ling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wil l fail. This restriction also applies to legacy\nprojects that no longer have ow ners who have accepted the ToS. Edits to\nIAM policies will be rejected until th e lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from poli cies or changing their roles\ncan render services completely inoperable. It is i mportant to understand\nhow the service account is being used before removing or updating its\nroles.",
179 "httpMethod": "POST",
180 "id": "cloudresourcemanager.projects.setIamPolicy",
181 "parameterOrder": [
182 "resource"
183 ],
184 "parameters": {
185 "resource": {
186 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
187 "location": "path",
188 "required": true,
189 "type": "string"
190 }
191 },
192 "path": "v1beta1/projects/{resource}:setIamPolicy",
193 "request": {
194 "$ref": "SetIamPolicyRequest"
195 },
196 "response": {
197 "$ref": "Policy"
198 },
199 "scopes": [
200 "https://www.googleapis.com/auth/cloud-platform"
201 ]
202 },
203 "getIamPolicy": {
204 "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.",
205 "httpMethod": "POST",
206 "id": "cloudresourcemanager.projects.getIamPolicy",
207 "parameterOrder": [ 126 "parameterOrder": [
208 "resource" 127 "resource"
209 ], 128 ],
210 "parameters": { 129 "parameters": {
211 "resource": { 130 "resource": {
212 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", 131 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
213 "location": "path", 132 "location": "path",
133 "pattern": "^organizations/[^/]+$",
214 "required": true, 134 "required": true,
215 "type": "string" 135 "type": "string"
216 } 136 }
217 }, 137 },
218 "path": "v1beta1/projects/{resource}:getIamPolicy", 138 "path": "v1beta1/{+resource}:getIamPolicy",
219 "request": { 139 "request": {
220 "$ref": "GetIamPolicyRequest" 140 "$ref": "GetIamPolicyRequest"
221 }, 141 },
222 "response": { 142 "response": {
223 "$ref": "Policy" 143 "$ref": "Policy"
224 }, 144 },
225 "scopes": [ 145 "scopes": [
226 "https://www.googleapis.com/auth/cloud-platform", 146 "https://www.googleapis.com/auth/cloud-platform",
227 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 147 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
228 ] 148 ]
229 }, 149 },
230 "get": { 150 "get": {
231 "description": "Retrieves the Project identified by the spec ified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have rea d permissions for this Project.", 151 "description": "Fetches an Organization resource identified by the specified resource name.",
232 "httpMethod": "GET", 152 "httpMethod": "GET",
233 "id": "cloudresourcemanager.projects.get", 153 "id": "cloudresourcemanager.organizations.get",
234 "parameterOrder": [ 154 "parameterOrder": [
235 "projectId" 155 "name"
236 ], 156 ],
237 "parameters": { 157 "parameters": {
238 "projectId": { 158 "organizationId": {
239 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.", 159 "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead. ",
160 "location": "query",
161 "type": "string"
162 },
163 "name": {
164 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".",
240 "location": "path", 165 "location": "path",
166 "pattern": "^organizations/[^/]+$",
241 "required": true, 167 "required": true,
242 "type": "string" 168 "type": "string"
243 } 169 }
244 }, 170 },
245 "path": "v1beta1/projects/{projectId}", 171 "path": "v1beta1/{+name}",
246 "response": { 172 "response": {
247 "$ref": "Project" 173 "$ref": "Organization"
248 },
249 "scopes": [
250 "https://www.googleapis.com/auth/cloud-platform",
251 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
252 ]
253 },
254 "undelete": {
255 "description": "Restores the Project identified by the speci fied\n`project_id` (for example, `my-project-123`).\nYou can only use this metho d for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissi ons for this Project.",
256 "httpMethod": "POST",
257 "id": "cloudresourcemanager.projects.undelete",
258 "parameterOrder": [
259 "projectId"
260 ],
261 "parameters": {
262 "projectId": {
263 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.",
264 "location": "path",
265 "required": true,
266 "type": "string"
267 }
268 },
269 "path": "v1beta1/projects/{projectId}:undelete",
270 "request": {
271 "$ref": "UndeleteProjectRequest"
272 },
273 "response": {
274 "$ref": "Empty"
275 },
276 "scopes": [
277 "https://www.googleapis.com/auth/cloud-platform"
278 ]
279 },
280 "getAncestry": {
281 "description": "Gets a list of ancestors in the resource hie rarchy for the Project\nidentified by the specified `project_id` (for example, ` my-project-123`).\n\nThe caller must have read permissions for this Project.",
282 "httpMethod": "POST",
283 "id": "cloudresourcemanager.projects.getAncestry",
284 "parameterOrder": [
285 "projectId"
286 ],
287 "parameters": {
288 "projectId": {
289 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
290 "location": "path",
291 "required": true,
292 "type": "string"
293 }
294 },
295 "path": "v1beta1/projects/{projectId}:getAncestry",
296 "request": {
297 "$ref": "GetAncestryRequest"
298 },
299 "response": {
300 "$ref": "GetAncestryResponse"
301 }, 174 },
302 "scopes": [ 175 "scopes": [
303 "https://www.googleapis.com/auth/cloud-platform", 176 "https://www.googleapis.com/auth/cloud-platform",
304 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 177 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
305 ] 178 ]
306 }, 179 },
307 "update": { 180 "update": {
308 "description": "Updates the attributes of the Project identi fied by the specified\n`project_id` (for example, `my-project-123`).\n\nThe call er must have modify permissions for this Project.", 181 "description": "Updates an Organization resource identified by the specified resource name.",
309 "httpMethod": "PUT", 182 "httpMethod": "PUT",
310 "id": "cloudresourcemanager.projects.update", 183 "id": "cloudresourcemanager.organizations.update",
311 "parameterOrder": [ 184 "parameterOrder": [
312 "projectId" 185 "name"
313 ], 186 ],
314 "parameters": { 187 "parameters": {
315 "projectId": { 188 "name": {
316 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.", 189 "description": "Output Only. The resource name of th e organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
317 "location": "path", 190 "location": "path",
191 "pattern": "^organizations/[^/]+$",
318 "required": true, 192 "required": true,
319 "type": "string" 193 "type": "string"
320 } 194 }
321 }, 195 },
322 "path": "v1beta1/projects/{projectId}", 196 "path": "v1beta1/{+name}",
323 "request": { 197 "request": {
324 "$ref": "Project" 198 "$ref": "Organization"
325 }, 199 },
326 "response": { 200 "response": {
327 "$ref": "Project" 201 "$ref": "Organization"
328 }, 202 },
329 "scopes": [ 203 "scopes": [
330 "https://www.googleapis.com/auth/cloud-platform" 204 "https://www.googleapis.com/auth/cloud-platform"
331 ] 205 ]
332 }, 206 },
333 "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\".",
209 "httpMethod": "POST",
210 "id": "cloudresourcemanager.organizations.testIamPermissions ",
211 "parameterOrder": [
212 "resource"
213 ],
214 "parameters": {
215 "resource": {
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",
218 "pattern": "^organizations/[^/]+$",
219 "required": true,
220 "type": "string"
221 }
222 },
223 "path": "v1beta1/{+resource}:testIamPermissions",
224 "request": {
225 "$ref": "TestIamPermissionsRequest"
226 },
227 "response": {
228 "$ref": "TestIamPermissionsResponse"
229 },
230 "scopes": [
231 "https://www.googleapis.com/auth/cloud-platform",
232 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
233 ]
234 },
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.",
237 "httpMethod": "GET",
238 "id": "cloudresourcemanager.organizations.list",
239 "parameterOrder": [],
240 "parameters": {
241 "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.",
243 "location": "query",
244 "type": "string"
245 },
246 "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.",
248 "location": "query",
249 "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 }
257 },
258 "path": "v1beta1/organizations",
259 "response": {
260 "$ref": "ListOrganizationsResponse"
261 },
262 "scopes": [
263 "https://www.googleapis.com/auth/cloud-platform",
264 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
265 ]
266 },
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\".",
269 "httpMethod": "POST",
270 "id": "cloudresourcemanager.organizations.setIamPolicy",
271 "parameterOrder": [
272 "resource"
273 ],
274 "parameters": {
275 "resource": {
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",
278 "pattern": "^organizations/[^/]+$",
279 "required": true,
280 "type": "string"
281 }
282 },
283 "path": "v1beta1/{+resource}:setIamPolicy",
284 "request": {
285 "$ref": "SetIamPolicyRequest"
286 },
287 "response": {
288 "$ref": "Policy"
289 },
290 "scopes": [
291 "https://www.googleapis.com/auth/cloud-platform"
292 ]
293 }
294 }
295 },
296 "projects": {
297 "methods": {
298 "testIamPermissions": {
334 "description": "Returns permissions that a caller has on the specified Project.", 299 "description": "Returns permissions that a caller has on the specified Project.",
335 "httpMethod": "POST", 300 "httpMethod": "POST",
336 "id": "cloudresourcemanager.projects.testIamPermissions", 301 "id": "cloudresourcemanager.projects.testIamPermissions",
337 "parameterOrder": [ 302 "parameterOrder": [
338 "resource" 303 "resource"
339 ], 304 ],
340 "parameters": { 305 "parameters": {
341 "resource": { 306 "resource": {
342 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 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.",
343 "location": "path", 308 "location": "path",
(...skipping 28 matching lines...) Expand all
372 "type": "string" 337 "type": "string"
373 } 338 }
374 }, 339 },
375 "path": "v1beta1/projects/{projectId}", 340 "path": "v1beta1/projects/{projectId}",
376 "response": { 341 "response": {
377 "$ref": "Empty" 342 "$ref": "Empty"
378 }, 343 },
379 "scopes": [ 344 "scopes": [
380 "https://www.googleapis.com/auth/cloud-platform" 345 "https://www.googleapis.com/auth/cloud-platform"
381 ] 346 ]
382 } 347 },
383 } 348 "list": {
384 }, 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.",
385 "organizations": {
386 "methods": {
387 "get": {
388 "description": "Fetches an Organization resource identified by the specified resource name.",
389 "httpMethod": "GET", 350 "httpMethod": "GET",
390 "id": "cloudresourcemanager.organizations.get", 351 "id": "cloudresourcemanager.projects.list",
391 "parameterOrder": [
392 "name"
393 ],
394 "parameters": {
395 "name": {
396 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".",
397 "location": "path",
398 "pattern": "^organizations/[^/]+$",
399 "required": true,
400 "type": "string"
401 },
402 "organizationId": {
403 "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead. ",
404 "location": "query",
405 "type": "string"
406 }
407 },
408 "path": "v1beta1/{+name}",
409 "response": {
410 "$ref": "Organization"
411 },
412 "scopes": [
413 "https://www.googleapis.com/auth/cloud-platform",
414 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
415 ]
416 },
417 "update": {
418 "description": "Updates an Organization resource identified by the specified resource name.",
419 "httpMethod": "PUT",
420 "id": "cloudresourcemanager.organizations.update",
421 "parameterOrder": [
422 "name"
423 ],
424 "parameters": {
425 "name": {
426 "description": "Output Only. The resource name of th e organization. This is the\norganization's relative path in the API. Its format is\n\"organizations/[organization_id]\". For example, \"organizations/1234\".",
427 "location": "path",
428 "pattern": "^organizations/[^/]+$",
429 "required": true,
430 "type": "string"
431 }
432 },
433 "path": "v1beta1/{+name}",
434 "request": {
435 "$ref": "Organization"
436 },
437 "response": {
438 "$ref": "Organization"
439 },
440 "scopes": [
441 "https://www.googleapis.com/auth/cloud-platform"
442 ]
443 },
444 "testIamPermissions": {
445 "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\".",
446 "httpMethod": "POST",
447 "id": "cloudresourcemanager.organizations.testIamPermissions ",
448 "parameterOrder": [
449 "resource"
450 ],
451 "parameters": {
452 "resource": {
453 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.",
454 "location": "path",
455 "pattern": "^organizations/[^/]+$",
456 "required": true,
457 "type": "string"
458 }
459 },
460 "path": "v1beta1/{+resource}:testIamPermissions",
461 "request": {
462 "$ref": "TestIamPermissionsRequest"
463 },
464 "response": {
465 "$ref": "TestIamPermissionsResponse"
466 },
467 "scopes": [
468 "https://www.googleapis.com/auth/cloud-platform",
469 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
470 ]
471 },
472 "list": {
473 "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.",
474 "httpMethod": "GET",
475 "id": "cloudresourcemanager.organizations.list",
476 "parameterOrder": [], 352 "parameterOrder": [],
477 "parameters": { 353 "parameters": {
478 "filter": {
479 "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.",
480 "location": "query",
481 "type": "string"
482 },
483 "pageToken": { 354 "pageToken": {
484 "description": "A pagination token returned from a p revious call to `ListOrganizations`\nthat indicates from where listing should co ntinue.\nThis field is optional.", 355 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
485 "location": "query", 356 "location": "query",
486 "type": "string" 357 "type": "string"
487 }, 358 },
488 "pageSize": { 359 "pageSize": {
489 "description": "The maximum number of Organizations to return in the response.\nThis field is optional.", 360 "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.",
490 "format": "int32", 361 "format": "int32",
491 "location": "query", 362 "location": "query",
492 "type": "integer" 363 "type": "integer"
493 } 364 },
494 }, 365 "filter": {
495 "path": "v1beta1/organizations", 366 "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:how*|The project's name starts with \"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equi valent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `color`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|labels.color:red&nbsp;labels.size:big|The project's label `color ` has the value `red` and its label `size` has the value `big`.\n\nIf you specif y a filter that has both `parent.type` and `parent.id`, then\nthe `resourcemanag er.projects.list` permission is checked on the parent.\nIf the user has this per mission, all projects under the parent will be\nreturned after remaining filters have been applied. If the user lacks this\npermission, then all projects for wh ich the user has the\n`resourcemanager.projects.get` permission will be returned after remaining\nfilters have been applied. If no filter is specified, the call will return\nprojects for which the user has `resourcemanager.projects.get` per missions.\n\nOptional.",
496 "response": { 367 "location": "query",
497 "$ref": "ListOrganizationsResponse" 368 "type": "string"
369 }
370 },
371 "path": "v1beta1/projects",
372 "response": {
373 "$ref": "ListProjectsResponse"
498 }, 374 },
499 "scopes": [ 375 "scopes": [
500 "https://www.googleapis.com/auth/cloud-platform", 376 "https://www.googleapis.com/auth/cloud-platform",
501 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 377 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
502 ] 378 ]
503 }, 379 },
504 "setIamPolicy": { 380 "setIamPolicy": {
505 "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\".", 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\n`setIamPolicy()`; they 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+ If the project is not part of an organization, there must be at least\none owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Cal ling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wil l fail. This restriction also applies to legacy\nprojects that no longer have ow ners who have accepted the ToS. Edits to\nIAM policies will be rejected until th e lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote: Removing service accounts from poli cies or changing their roles\ncan render services completely inoperable. It is i mportant to understand\nhow the service account is being used before removing or updating its\nroles.",
506 "httpMethod": "POST", 382 "httpMethod": "POST",
507 "id": "cloudresourcemanager.organizations.setIamPolicy", 383 "id": "cloudresourcemanager.projects.setIamPolicy",
508 "parameterOrder": [ 384 "parameterOrder": [
509 "resource" 385 "resource"
510 ], 386 ],
511 "parameters": { 387 "parameters": {
512 "resource": { 388 "resource": {
513 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.", 389 "description": "REQUIRED: The resource for which the policy is being specified.\nSee the operation documentation for the appropriate value for this field.",
514 "location": "path", 390 "location": "path",
515 "pattern": "^organizations/[^/]+$", 391 "required": true,
516 "required": true, 392 "type": "string"
517 "type": "string" 393 }
518 } 394 },
519 }, 395 "path": "v1beta1/projects/{resource}:setIamPolicy",
520 "path": "v1beta1/{+resource}:setIamPolicy",
521 "request": { 396 "request": {
522 "$ref": "SetIamPolicyRequest" 397 "$ref": "SetIamPolicyRequest"
523 }, 398 },
524 "response": { 399 "response": {
525 "$ref": "Policy" 400 "$ref": "Policy"
526 }, 401 },
527 "scopes": [ 402 "scopes": [
528 "https://www.googleapis.com/auth/cloud-platform" 403 "https://www.googleapis.com/auth/cloud-platform"
529 ] 404 ]
530 }, 405 },
406 "create": {
407 "description": "Creates a Project resource.\n\nInitially, th e Project resource is owned by its creator exclusively.\nThe creator can later g rant permission to others to read or update the\nProject.\n\nSeveral APIs are ac tivated automatically for the Project, including\nGoogle Cloud Storage.",
408 "httpMethod": "POST",
409 "id": "cloudresourcemanager.projects.create",
410 "parameterOrder": [],
411 "parameters": {
412 "useLegacyStack": {
413 "description": "A safety hatch to opt out of the new reliable project creation process.",
414 "location": "query",
415 "type": "boolean"
416 }
417 },
418 "path": "v1beta1/projects",
419 "request": {
420 "$ref": "Project"
421 },
422 "response": {
423 "$ref": "Project"
424 },
425 "scopes": [
426 "https://www.googleapis.com/auth/cloud-platform"
427 ]
428 },
531 "getIamPolicy": { 429 "getIamPolicy": {
532 "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\ ".", 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.",
533 "httpMethod": "POST", 431 "httpMethod": "POST",
534 "id": "cloudresourcemanager.organizations.getIamPolicy", 432 "id": "cloudresourcemanager.projects.getIamPolicy",
535 "parameterOrder": [ 433 "parameterOrder": [
536 "resource" 434 "resource"
537 ], 435 ],
538 "parameters": { 436 "parameters": {
539 "resource": { 437 "resource": {
540 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", 438 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
541 "location": "path", 439 "location": "path",
542 "pattern": "^organizations/[^/]+$", 440 "required": true,
543 "required": true, 441 "type": "string"
544 "type": "string" 442 }
545 } 443 },
546 }, 444 "path": "v1beta1/projects/{resource}:getIamPolicy",
547 "path": "v1beta1/{+resource}:getIamPolicy",
548 "request": { 445 "request": {
549 "$ref": "GetIamPolicyRequest" 446 "$ref": "GetIamPolicyRequest"
550 }, 447 },
551 "response": { 448 "response": {
552 "$ref": "Policy" 449 "$ref": "Policy"
553 }, 450 },
554 "scopes": [ 451 "scopes": [
555 "https://www.googleapis.com/auth/cloud-platform", 452 "https://www.googleapis.com/auth/cloud-platform",
556 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 453 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
557 ] 454 ]
455 },
456 "undelete": {
457 "description": "Restores the Project identified by the speci fied\n`project_id` (for example, `my-project-123`).\nYou can only use this metho d for a Project that has a lifecycle state of\nDELETE_REQUESTED.\nAfter deletion starts, the Project cannot be restored.\n\nThe caller must have modify permissi ons for this Project.",
458 "httpMethod": "POST",
459 "id": "cloudresourcemanager.projects.undelete",
460 "parameterOrder": [
461 "projectId"
462 ],
463 "parameters": {
464 "projectId": {
465 "description": "The project ID (for example, `foo-ba r-123`).\n\nRequired.",
466 "location": "path",
467 "required": true,
468 "type": "string"
469 }
470 },
471 "path": "v1beta1/projects/{projectId}:undelete",
472 "request": {
473 "$ref": "UndeleteProjectRequest"
474 },
475 "response": {
476 "$ref": "Empty"
477 },
478 "scopes": [
479 "https://www.googleapis.com/auth/cloud-platform"
480 ]
481 },
482 "get": {
483 "description": "Retrieves the Project identified by the spec ified\n`project_id` (for example, `my-project-123`).\n\nThe caller must have rea d permissions for this Project.",
484 "httpMethod": "GET",
485 "id": "cloudresourcemanager.projects.get",
486 "parameterOrder": [
487 "projectId"
488 ],
489 "parameters": {
490 "projectId": {
491 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
492 "location": "path",
493 "required": true,
494 "type": "string"
495 }
496 },
497 "path": "v1beta1/projects/{projectId}",
498 "response": {
499 "$ref": "Project"
500 },
501 "scopes": [
502 "https://www.googleapis.com/auth/cloud-platform",
503 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
504 ]
505 },
506 "getAncestry": {
507 "description": "Gets a list of ancestors in the resource hie rarchy for the Project\nidentified by the specified `project_id` (for example, ` my-project-123`).\n\nThe caller must have read permissions for this Project.",
508 "httpMethod": "POST",
509 "id": "cloudresourcemanager.projects.getAncestry",
510 "parameterOrder": [
511 "projectId"
512 ],
513 "parameters": {
514 "projectId": {
515 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
516 "location": "path",
517 "required": true,
518 "type": "string"
519 }
520 },
521 "path": "v1beta1/projects/{projectId}:getAncestry",
522 "request": {
523 "$ref": "GetAncestryRequest"
524 },
525 "response": {
526 "$ref": "GetAncestryResponse"
527 },
528 "scopes": [
529 "https://www.googleapis.com/auth/cloud-platform",
530 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
531 ]
532 },
533 "update": {
534 "description": "Updates the attributes of the Project identi fied by the specified\n`project_id` (for example, `my-project-123`).\n\nThe call er must have modify permissions for this Project.",
535 "httpMethod": "PUT",
536 "id": "cloudresourcemanager.projects.update",
537 "parameterOrder": [
538 "projectId"
539 ],
540 "parameters": {
541 "projectId": {
542 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
543 "location": "path",
544 "required": true,
545 "type": "string"
546 }
547 },
548 "path": "v1beta1/projects/{projectId}",
549 "request": {
550 "$ref": "Project"
551 },
552 "response": {
553 "$ref": "Project"
554 },
555 "scopes": [
556 "https://www.googleapis.com/auth/cloud-platform"
557 ]
558 } 558 }
559 } 559 }
560 } 560 }
561 }, 561 },
562 "revision": "20170607", 562 "revision": "20170705",
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
564 "schemas": { 564 "schemas": {
565 "AuditConfig": {
566 "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 AuditConfig 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.",
567 "id": "AuditConfig",
568 "properties": {
569 "service": {
570 "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.",
571 "type": "string"
572 },
573 "auditLogConfigs": {
574 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
575 "items": {
576 "$ref": "AuditLogConfig"
577 },
578 "type": "array"
579 }
580 },
581 "type": "object"
582 },
583 "Ancestor": {
584 "description": "Identifying information for a single ancestor of a p roject.",
585 "id": "Ancestor",
586 "properties": {
587 "resourceId": {
588 "$ref": "ResourceId",
589 "description": "Resource id of the ancestor."
590 }
591 },
592 "type": "object"
593 },
594 "SetIamPolicyRequest": {
595 "description": "Request message for `SetIamPolicy` method.",
596 "id": "SetIamPolicyRequest",
597 "properties": {
598 "policy": {
599 "$ref": "Policy",
600 "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."
601 },
602 "updateMask": {
603 "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.",
604 "format": "google-fieldmask",
605 "type": "string"
606 }
607 },
608 "type": "object"
609 },
610 "ListOrganizationsResponse": {
611 "description": "The response returned from the `ListOrganizations` m ethod.",
612 "id": "ListOrganizationsResponse",
613 "properties": {
614 "organizations": {
615 "description": "The list of Organizations that matched the l ist query, possibly paginated.",
616 "items": {
617 "$ref": "Organization"
618 },
619 "type": "array"
620 },
621 "nextPageToken": {
622 "description": "A pagination token to be used to retrieve th e next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that th is response\ncontains the last page of results.",
623 "type": "string"
624 }
625 },
626 "type": "object"
627 },
628 "Binding": {
629 "description": "Associates `members` with a `role`.",
630 "id": "Binding",
631 "properties": {
632 "members": {
633 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
634 "items": {
635 "type": "string"
636 },
637 "type": "array"
638 },
639 "role": {
640 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
641 "type": "string"
642 }
643 },
644 "type": "object"
645 },
646 "Empty": {
647 "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 `{}`.",
648 "id": "Empty",
649 "properties": {},
650 "type": "object"
651 },
652 "UndeleteProjectRequest": {
653 "description": "The request sent to the UndeleteProject\nmethod.",
654 "id": "UndeleteProjectRequest",
655 "properties": {},
656 "type": "object"
657 },
658 "Organization": {
659 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
660 "id": "Organization",
661 "properties": {
662 "owner": {
663 "$ref": "OrganizationOwner",
664 "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."
665 },
666 "name": {
667 "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\".",
668 "type": "string"
669 },
670 "organizationId": {
671 "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.",
672 "type": "string"
673 },
674 "lifecycleState": {
675 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
676 "enum": [
677 "LIFECYCLE_STATE_UNSPECIFIED",
678 "ACTIVE",
679 "DELETE_REQUESTED"
680 ],
681 "enumDescriptions": [
682 "Unspecified state. This is only useful for distinguish ing unset values.",
683 "The normal and active state.",
684 "The organization has been marked for deletion by the us er."
685 ],
686 "type": "string"
687 },
688 "displayName": {
689 "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",
690 "type": "string"
691 },
692 "creationTime": {
693 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
694 "format": "google-datetime",
695 "type": "string"
696 }
697 },
698 "type": "object"
699 },
700 "ProjectCreationStatus": { 565 "ProjectCreationStatus": {
701 "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.", 566 "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.",
702 "id": "ProjectCreationStatus", 567 "id": "ProjectCreationStatus",
703 "properties": { 568 "properties": {
704 "ready": { 569 "ready": {
705 "description": "True if the project creation process is comp lete.", 570 "description": "True if the project creation process is comp lete.",
706 "type": "boolean" 571 "type": "boolean"
707 }, 572 },
573 "gettable": {
574 "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.",
575 "type": "boolean"
576 },
708 "createTime": { 577 "createTime": {
709 "description": "Creation time of the project creation workfl ow.", 578 "description": "Creation time of the project creation workfl ow.",
710 "format": "google-datetime", 579 "format": "google-datetime",
711 "type": "string" 580 "type": "string"
712 },
713 "gettable": {
714 "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.",
715 "type": "boolean"
716 } 581 }
717 }, 582 },
718 "type": "object" 583 "type": "object"
719 }, 584 },
720 "GetIamPolicyRequest": { 585 "GetIamPolicyRequest": {
721 "description": "Request message for `GetIamPolicy` method.", 586 "description": "Request message for `GetIamPolicy` method.",
722 "id": "GetIamPolicyRequest", 587 "id": "GetIamPolicyRequest",
723 "properties": {}, 588 "properties": {},
724 "type": "object" 589 "type": "object"
725 }, 590 },
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 ], 654 ],
790 "type": "string" 655 "type": "string"
791 } 656 }
792 }, 657 },
793 "type": "object" 658 "type": "object"
794 }, 659 },
795 "ListProjectsResponse": { 660 "ListProjectsResponse": {
796 "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.", 661 "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.",
797 "id": "ListProjectsResponse", 662 "id": "ListProjectsResponse",
798 "properties": { 663 "properties": {
664 "nextPageToken": {
665 "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." ,
666 "type": "string"
667 },
799 "projects": { 668 "projects": {
800 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.", 669 "description": "The list of Projects that matched the list f ilter. This list can\nbe paginated.",
801 "items": { 670 "items": {
802 "$ref": "Project" 671 "$ref": "Project"
803 }, 672 },
804 "type": "array" 673 "type": "array"
805 },
806 "nextPageToken": {
807 "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." ,
808 "type": "string"
809 } 674 }
810 }, 675 },
811 "type": "object" 676 "type": "object"
812 }, 677 },
813 "GetAncestryRequest": { 678 "GetAncestryRequest": {
814 "description": "The request sent to the\nGetAncestry\nmethod.", 679 "description": "The request sent to the\nGetAncestry\nmethod.",
815 "id": "GetAncestryRequest", 680 "id": "GetAncestryRequest",
816 "properties": {}, 681 "properties": {},
817 "type": "object" 682 "type": "object"
818 }, 683 },
819 "Project": { 684 "Project": {
820 "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.", 685 "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.",
821 "id": "Project", 686 "id": "Project",
822 "properties": { 687 "properties": {
823 "parent": {
824 "$ref": "ResourceId",
825 "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."
826 },
827 "createTime": {
828 "description": "Creation time.\n\nRead-only.",
829 "format": "google-datetime",
830 "type": "string"
831 },
832 "labels": {
833 "additionalProperties": {
834 "type": "string"
835 },
836 "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.",
837 "type": "object"
838 },
839 "name": {
840 "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.",
841 "type": "string"
842 },
843 "projectId": {
844 "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.",
845 "type": "string"
846 },
847 "lifecycleState": { 688 "lifecycleState": {
848 "description": "The Project lifecycle state.\n\nRead-only.", 689 "description": "The Project lifecycle state.\n\nRead-only.",
849 "enum": [ 690 "enum": [
850 "LIFECYCLE_STATE_UNSPECIFIED", 691 "LIFECYCLE_STATE_UNSPECIFIED",
851 "ACTIVE", 692 "ACTIVE",
852 "DELETE_REQUESTED", 693 "DELETE_REQUESTED",
853 "DELETE_IN_PROGRESS" 694 "DELETE_IN_PROGRESS"
854 ], 695 ],
855 "enumDescriptions": [ 696 "enumDescriptions": [
856 "Unspecified state. This is only used/useful for distin guishing\nunset values.", 697 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
857 "The normal and active state.", 698 "The normal and active state.",
858 "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.", 699 "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.",
859 "This lifecycle state is no longer used and is not retur ned by the API." 700 "This lifecycle state is no longer used and is not retur ned by the API."
860 ], 701 ],
861 "type": "string" 702 "type": "string"
862 }, 703 },
863 "projectNumber": { 704 "projectNumber": {
864 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.", 705 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
865 "format": "int64", 706 "format": "int64",
866 "type": "string" 707 "type": "string"
708 },
709 "parent": {
710 "$ref": "ResourceId",
711 "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."
712 },
713 "labels": {
714 "additionalProperties": {
715 "type": "string"
716 },
717 "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.",
718 "type": "object"
719 },
720 "createTime": {
721 "description": "Creation time.\n\nRead-only.",
722 "format": "google-datetime",
723 "type": "string"
724 },
725 "name": {
726 "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.",
727 "type": "string"
728 },
729 "projectId": {
730 "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.",
731 "type": "string"
867 } 732 }
868 }, 733 },
869 "type": "object" 734 "type": "object"
870 }, 735 },
871 "TestIamPermissionsRequest": { 736 "TestIamPermissionsRequest": {
872 "description": "Request message for `TestIamPermissions` method.", 737 "description": "Request message for `TestIamPermissions` method.",
873 "id": "TestIamPermissionsRequest", 738 "id": "TestIamPermissionsRequest",
874 "properties": { 739 "properties": {
875 "permissions": { 740 "permissions": {
876 "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).", 741 "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).",
877 "items": { 742 "items": {
878 "type": "string" 743 "type": "string"
879 }, 744 },
880 "type": "array" 745 "type": "array"
881 } 746 }
882 }, 747 },
883 "type": "object" 748 "type": "object"
884 }, 749 },
750 "FolderOperationError": {
751 "description": "A classification of the Folder Operation error.",
752 "id": "FolderOperationError",
753 "properties": {
754 "errorMessageId": {
755 "description": "The type of operation error experienced.",
756 "enum": [
757 "ERROR_TYPE_UNSPECIFIED",
758 "ACTIVE_FOLDER_HEIGHT_VIOLATION",
759 "MAX_CHILD_FOLDERS_VIOLATION",
760 "FOLDER_NAME_UNIQUENESS_VIOLATION",
761 "RESOURCE_DELETED_VIOLATION",
762 "PARENT_DELETED_VIOLATION",
763 "CYCLE_INTRODUCED_VIOLATION",
764 "FOLDER_BEING_MOVED_VIOLATION",
765 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION",
766 "DELETED_FOLDER_HEIGHT_VIOLATION"
767 ],
768 "enumDescriptions": [
769 "The error type was unrecognized or unspecified.",
770 "The attempted action would violate the max folder depth constraint.",
771 "The attempted action would violate the max child folder s constraint.",
772 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
773 "The resource being moved has been deleted.",
774 "The resource a folder was being added to has been delet ed.",
775 "The attempted action would introduce cycle in resource path.",
776 "The attempted action would move a folder that is alread y being moved.",
777 "The folder the caller is trying to delete contains acti ve resources.",
778 "The attempted action would violate the max deleted fold er depth\nconstraint."
779 ],
780 "type": "string"
781 }
782 },
783 "type": "object"
784 },
785 "FolderOperation": {
786 "description": "Metadata describing a long running folder operation" ,
787 "id": "FolderOperation",
788 "properties": {
789 "operationType": {
790 "description": "The type of this operation.",
791 "enum": [
792 "OPERATION_TYPE_UNSPECIFIED",
793 "CREATE",
794 "MOVE"
795 ],
796 "enumDescriptions": [
797 "Operation type not specified.",
798 "A create folder operation.",
799 "A move folder operation."
800 ],
801 "type": "string"
802 },
803 "sourceParent": {
804 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
805 "type": "string"
806 },
807 "displayName": {
808 "description": "The display name of the folder.",
809 "type": "string"
810 },
811 "destinationParent": {
812 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
813 "type": "string"
814 }
815 },
816 "type": "object"
817 },
885 "Policy": { 818 "Policy": {
886 "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).", 819 "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).",
887 "id": "Policy", 820 "id": "Policy",
888 "properties": { 821 "properties": {
889 "etag": { 822 "etag": {
890 "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.", 823 "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.",
891 "format": "byte", 824 "format": "byte",
892 "type": "string" 825 "type": "string"
893 }, 826 },
894 "version": { 827 "version": {
(...skipping 11 matching lines...) Expand all
906 "bindings": { 839 "bindings": {
907 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.", 840 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
908 "items": { 841 "items": {
909 "$ref": "Binding" 842 "$ref": "Binding"
910 }, 843 },
911 "type": "array" 844 "type": "array"
912 } 845 }
913 }, 846 },
914 "type": "object" 847 "type": "object"
915 }, 848 },
916 "FolderOperation": {
917 "description": "Metadata describing a long running folder operation" ,
918 "id": "FolderOperation",
919 "properties": {
920 "operationType": {
921 "description": "The type of this operation.",
922 "enum": [
923 "OPERATION_TYPE_UNSPECIFIED",
924 "CREATE",
925 "MOVE"
926 ],
927 "enumDescriptions": [
928 "Operation type not specified.",
929 "A create folder operation.",
930 "A move folder operation."
931 ],
932 "type": "string"
933 },
934 "displayName": {
935 "description": "The display name of the folder.",
936 "type": "string"
937 },
938 "sourceParent": {
939 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
940 "type": "string"
941 },
942 "destinationParent": {
943 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
944 "type": "string"
945 }
946 },
947 "type": "object"
948 },
949 "FolderOperationError": {
950 "description": "A classification of the Folder Operation error.",
951 "id": "FolderOperationError",
952 "properties": {
953 "errorMessageId": {
954 "description": "The type of operation error experienced.",
955 "enum": [
956 "ERROR_TYPE_UNSPECIFIED",
957 "ACTIVE_FOLDER_HEIGHT_VIOLATION",
958 "MAX_CHILD_FOLDERS_VIOLATION",
959 "FOLDER_NAME_UNIQUENESS_VIOLATION",
960 "RESOURCE_DELETED_VIOLATION",
961 "PARENT_DELETED_VIOLATION",
962 "CYCLE_INTRODUCED_VIOLATION",
963 "FOLDER_BEING_MOVED_VIOLATION",
964 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION",
965 "DELETED_FOLDER_HEIGHT_VIOLATION"
966 ],
967 "enumDescriptions": [
968 "The error type was unrecognized or unspecified.",
969 "The attempted action would violate the max folder depth constraint.",
970 "The attempted action would violate the max child folder s constraint.",
971 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
972 "The resource being moved has been deleted.",
973 "The resource a folder was being added to has been delet ed.",
974 "The attempted action would introduce cycle in resource path.",
975 "The attempted action would move a folder that is alread y being moved.",
976 "The folder the caller is trying to delete contains acti ve resources.",
977 "The attempted action would violate the max deleted fold er depth\nconstraint."
978 ],
979 "type": "string"
980 }
981 },
982 "type": "object"
983 },
984 "ResourceId": { 849 "ResourceId": {
985 "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 .", 850 "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 .",
986 "id": "ResourceId", 851 "id": "ResourceId",
987 "properties": { 852 "properties": {
853 "id": {
854 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
855 "type": "string"
856 },
988 "type": { 857 "type": {
989 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".", 858 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".",
990 "type": "string" 859 "type": "string"
860 }
861 },
862 "type": "object"
863 },
864 "AuditConfig": {
865 "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 AuditConfig 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.",
866 "id": "AuditConfig",
867 "properties": {
868 "service": {
869 "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.",
870 "type": "string"
991 }, 871 },
992 "id": { 872 "auditLogConfigs": {
993 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.", 873 "description": "The configuration for logging of each type o f permission.\nNext ID: 4",
874 "items": {
875 "$ref": "AuditLogConfig"
876 },
877 "type": "array"
878 }
879 },
880 "type": "object"
881 },
882 "Ancestor": {
883 "description": "Identifying information for a single ancestor of a p roject.",
884 "id": "Ancestor",
885 "properties": {
886 "resourceId": {
887 "$ref": "ResourceId",
888 "description": "Resource id of the ancestor."
889 }
890 },
891 "type": "object"
892 },
893 "SetIamPolicyRequest": {
894 "description": "Request message for `SetIamPolicy` method.",
895 "id": "SetIamPolicyRequest",
896 "properties": {
897 "policy": {
898 "$ref": "Policy",
899 "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."
900 },
901 "updateMask": {
902 "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.",
903 "format": "google-fieldmask",
994 "type": "string" 904 "type": "string"
995 } 905 }
996 }, 906 },
907 "type": "object"
908 },
909 "ListOrganizationsResponse": {
910 "description": "The response returned from the `ListOrganizations` m ethod.",
911 "id": "ListOrganizationsResponse",
912 "properties": {
913 "nextPageToken": {
914 "description": "A pagination token to be used to retrieve th e next page of results. If the\nresult is too large to fit within the page size specified in the request,\nthis field will be set with a token that can be used to fetch the next page\nof results. If this field is empty, it indicates that th is response\ncontains the last page of results.",
915 "type": "string"
916 },
917 "organizations": {
918 "description": "The list of Organizations that matched the l ist query, possibly paginated.",
919 "items": {
920 "$ref": "Organization"
921 },
922 "type": "array"
923 }
924 },
925 "type": "object"
926 },
927 "Binding": {
928 "description": "Associates `members` with a `role`.",
929 "id": "Binding",
930 "properties": {
931 "members": {
932 "description": "Specifies the identities requesting access f or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al lUsers`: A special identifier that represents anyone who is\n on the internet; with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident ifier that represents anyone\n who is authenticated with a Google account or a service account.\n\n* `user:{emailid}`: An email address that represents a spec ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\ n\n* `serviceAccount:{emailid}`: An email address that represents a service\n account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e mailid}`: An email address that represents a Google group.\n For example, `adm ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre sents all the\n users of that domain. For example, `google.com` or `example.co m`.\n\n",
933 "items": {
934 "type": "string"
935 },
936 "type": "array"
937 },
938 "role": {
939 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
940 "type": "string"
941 }
942 },
943 "type": "object"
944 },
945 "Empty": {
946 "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 `{}`.",
947 "id": "Empty",
948 "properties": {},
949 "type": "object"
950 },
951 "UndeleteProjectRequest": {
952 "description": "The request sent to the UndeleteProject\nmethod.",
953 "id": "UndeleteProjectRequest",
954 "properties": {},
955 "type": "object"
956 },
957 "Organization": {
958 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
959 "id": "Organization",
960 "properties": {
961 "displayName": {
962 "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",
963 "type": "string"
964 },
965 "creationTime": {
966 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
967 "format": "google-datetime",
968 "type": "string"
969 },
970 "owner": {
971 "$ref": "OrganizationOwner",
972 "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."
973 },
974 "name": {
975 "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\".",
976 "type": "string"
977 },
978 "organizationId": {
979 "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.",
980 "type": "string"
981 },
982 "lifecycleState": {
983 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
984 "enum": [
985 "LIFECYCLE_STATE_UNSPECIFIED",
986 "ACTIVE",
987 "DELETE_REQUESTED"
988 ],
989 "enumDescriptions": [
990 "Unspecified state. This is only useful for distinguish ing unset values.",
991 "The normal and active state.",
992 "The organization has been marked for deletion by the us er."
993 ],
994 "type": "string"
995 }
996 },
997 "type": "object" 997 "type": "object"
998 } 998 }
999 }, 999 },
1000 "servicePath": "", 1000 "servicePath": "",
1001 "title": "Google Cloud Resource Manager API", 1001 "title": "Google Cloud Resource Manager API",
1002 "version": "v1beta1" 1002 "version": "v1beta1"
1003 } 1003 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/clouderrorreporting__v1beta1.json ('k') | discovery/googleapis_beta/dataflow__v1b3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698