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

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

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 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": {
6 "description": "View your data across Google Cloud Platform services"
7 },
5 "https://www.googleapis.com/auth/cloud-platform": { 8 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 9 "description": "View and manage your data across Google Clou d Platform services"
7 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services"
10 } 10 }
11 } 11 }
12 } 12 }
13 }, 13 },
14 "basePath": "", 14 "basePath": "",
15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", 15 "baseUrl": "https://cloudresourcemanager.googleapis.com/",
16 "batchPath": "batch", 16 "batchPath": "batch",
17 "canonicalName": "Cloud Resource Manager", 17 "canonicalName": "Cloud Resource Manager",
18 "description": "The Google Cloud Resource Manager API provides methods for c reating, reading, and updating project metadata.", 18 "description": "The Google Cloud Resource Manager API provides methods for c reating, reading, and updating project metadata.",
19 "discoveryVersion": "v1", 19 "discoveryVersion": "v1",
20 "documentationLink": "https://cloud.google.com/resource-manager", 20 "documentationLink": "https://cloud.google.com/resource-manager",
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 "uploadType": {
32 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
33 "location": "query",
34 "type": "string"
35 },
36 "fields": {
37 "description": "Selector specifying which fields to include in a par tial response.",
38 "location": "query",
39 "type": "string"
40 },
41 "callback": {
42 "description": "JSONP",
43 "location": "query",
44 "type": "string"
45 },
46 "$.xgafv": {
47 "description": "V1 error format.",
48 "enum": [
49 "1",
50 "2"
51 ],
52 "enumDescriptions": [
53 "v1 error format",
54 "v2 error format"
55 ],
56 "location": "query",
57 "type": "string"
58 },
59 "alt": { 31 "alt": {
60 "default": "json", 32 "default": "json",
61 "description": "Data format for response.", 33 "description": "Data format for response.",
62 "enum": [ 34 "enum": [
63 "json", 35 "json",
64 "media", 36 "media",
65 "proto" 37 "proto"
66 ], 38 ],
67 "enumDescriptions": [ 39 "enumDescriptions": [
68 "Responses with Content-Type of application/json", 40 "Responses with Content-Type of application/json",
69 "Media download with context-dependent Content-Type", 41 "Media download with context-dependent Content-Type",
70 "Responses with Content-Type of application/x-protobuf" 42 "Responses with Content-Type of application/x-protobuf"
71 ], 43 ],
72 "location": "query", 44 "location": "query",
73 "type": "string" 45 "type": "string"
74 }, 46 },
47 "access_token": {
48 "description": "OAuth access token.",
49 "location": "query",
50 "type": "string"
51 },
75 "key": { 52 "key": {
76 "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.", 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.",
77 "location": "query", 54 "location": "query",
78 "type": "string" 55 "type": "string"
79 }, 56 },
80 "access_token": {
81 "description": "OAuth access token.",
82 "location": "query",
83 "type": "string"
84 },
85 "quotaUser": { 57 "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.", 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.",
87 "location": "query", 59 "location": "query",
88 "type": "string" 60 "type": "string"
89 }, 61 },
90 "pp": { 62 "pp": {
91 "default": "true", 63 "default": "true",
92 "description": "Pretty-print response.", 64 "description": "Pretty-print response.",
93 "location": "query", 65 "location": "query",
94 "type": "boolean" 66 "type": "boolean"
(...skipping 11 matching lines...) Expand all
106 "upload_protocol": { 78 "upload_protocol": {
107 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 79 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
108 "location": "query", 80 "location": "query",
109 "type": "string" 81 "type": "string"
110 }, 82 },
111 "prettyPrint": { 83 "prettyPrint": {
112 "default": "true", 84 "default": "true",
113 "description": "Returns response with indentations and line breaks." , 85 "description": "Returns response with indentations and line breaks." ,
114 "location": "query", 86 "location": "query",
115 "type": "boolean" 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 "projects": {
121 "methods": { 121 "methods": {
122 "delete": {
123 "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.",
124 "httpMethod": "DELETE",
125 "id": "cloudresourcemanager.projects.delete",
126 "parameterOrder": [
127 "projectId"
128 ],
129 "parameters": {
130 "projectId": {
131 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.",
132 "location": "path",
133 "required": true,
134 "type": "string"
135 }
136 },
137 "path": "v1beta1/projects/{projectId}",
138 "response": {
139 "$ref": "Empty"
140 },
141 "scopes": [
142 "https://www.googleapis.com/auth/cloud-platform"
143 ]
144 },
145 "list": { 122 "list": {
146 "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": "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.",
147 "httpMethod": "GET", 124 "httpMethod": "GET",
148 "id": "cloudresourcemanager.projects.list", 125 "id": "cloudresourcemanager.projects.list",
149 "parameterOrder": [], 126 "parameterOrder": [],
150 "parameters": { 127 "parameters": {
151 "pageSize": {
152 "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.",
153 "format": "int32",
154 "location": "query",
155 "type": "integer"
156 },
157 "filter": { 128 "filter": {
158 "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.", 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.",
159 "location": "query", 130 "location": "query",
160 "type": "string" 131 "type": "string"
161 }, 132 },
162 "pageToken": { 133 "pageToken": {
163 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.", 134 "description": "A pagination token returned from a p revious call to ListProjects\nthat indicates from where listing should continue. \n\nOptional.",
164 "location": "query", 135 "location": "query",
165 "type": "string" 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"
166 } 143 }
167 }, 144 },
168 "path": "v1beta1/projects", 145 "path": "v1beta1/projects",
169 "response": { 146 "response": {
170 "$ref": "ListProjectsResponse" 147 "$ref": "ListProjectsResponse"
171 }, 148 },
172 "scopes": [ 149 "scopes": [
173 "https://www.googleapis.com/auth/cloud-platform", 150 "https://www.googleapis.com/auth/cloud-platform",
174 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 151 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
175 ] 152 ]
176 }, 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",
157 "id": "cloudresourcemanager.projects.create",
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": { 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+ There must be at least one owner who has accepted the Terms of\nService (T oS) agreement in the policy. Calling `setIamPolicy()` to\nremove the last ToS-ac cepted owner from the policy will fail. This\nrestriction also applies to legacy projects that no longer have owners\nwho have accepted the ToS. Edits to IAM po licies 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: Rem oving service accounts from policies or changing their roles\ncan render service s completely inoperable. It is important to understand\nhow the service account is being used before removing or updating its\nroles.", 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", 179 "httpMethod": "POST",
180 "id": "cloudresourcemanager.projects.setIamPolicy", 180 "id": "cloudresourcemanager.projects.setIamPolicy",
181 "parameterOrder": [ 181 "parameterOrder": [
182 "resource" 182 "resource"
183 ], 183 ],
184 "parameters": { 184 "parameters": {
185 "resource": { 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.", 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", 187 "location": "path",
188 "required": true, 188 "required": true,
189 "type": "string" 189 "type": "string"
190 } 190 }
191 }, 191 },
192 "path": "v1beta1/projects/{resource}:setIamPolicy", 192 "path": "v1beta1/projects/{resource}:setIamPolicy",
193 "request": { 193 "request": {
194 "$ref": "SetIamPolicyRequest" 194 "$ref": "SetIamPolicyRequest"
195 }, 195 },
196 "response": { 196 "response": {
197 "$ref": "Policy" 197 "$ref": "Policy"
198 }, 198 },
199 "scopes": [ 199 "scopes": [
200 "https://www.googleapis.com/auth/cloud-platform" 200 "https://www.googleapis.com/auth/cloud-platform"
201 ] 201 ]
202 }, 202 },
203 "create": {
204 "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.",
205 "httpMethod": "POST",
206 "id": "cloudresourcemanager.projects.create",
207 "parameterOrder": [],
208 "parameters": {
209 "useLegacyStack": {
210 "description": "A safety hatch to opt out of the new reliable project creation process.",
211 "location": "query",
212 "type": "boolean"
213 }
214 },
215 "path": "v1beta1/projects",
216 "request": {
217 "$ref": "Project"
218 },
219 "response": {
220 "$ref": "Project"
221 },
222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform"
224 ]
225 },
226 "getIamPolicy": { 203 "getIamPolicy": {
227 "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.", 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.",
228 "httpMethod": "POST", 205 "httpMethod": "POST",
229 "id": "cloudresourcemanager.projects.getIamPolicy", 206 "id": "cloudresourcemanager.projects.getIamPolicy",
230 "parameterOrder": [ 207 "parameterOrder": [
231 "resource" 208 "resource"
232 ], 209 ],
233 "parameters": { 210 "parameters": {
234 "resource": { 211 "resource": {
235 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.", 212 "description": "REQUIRED: The resource for which the policy is being requested.\nSee the operation documentation for the appropriate value for this field.",
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 "request": { 270 "request": {
294 "$ref": "UndeleteProjectRequest" 271 "$ref": "UndeleteProjectRequest"
295 }, 272 },
296 "response": { 273 "response": {
297 "$ref": "Empty" 274 "$ref": "Empty"
298 }, 275 },
299 "scopes": [ 276 "scopes": [
300 "https://www.googleapis.com/auth/cloud-platform" 277 "https://www.googleapis.com/auth/cloud-platform"
301 ] 278 ]
302 }, 279 },
303 "update": {
304 "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.",
305 "httpMethod": "PUT",
306 "id": "cloudresourcemanager.projects.update",
307 "parameterOrder": [
308 "projectId"
309 ],
310 "parameters": {
311 "projectId": {
312 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
313 "location": "path",
314 "required": true,
315 "type": "string"
316 }
317 },
318 "path": "v1beta1/projects/{projectId}",
319 "request": {
320 "$ref": "Project"
321 },
322 "response": {
323 "$ref": "Project"
324 },
325 "scopes": [
326 "https://www.googleapis.com/auth/cloud-platform"
327 ]
328 },
329 "getAncestry": { 280 "getAncestry": {
330 "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.", 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.",
331 "httpMethod": "POST", 282 "httpMethod": "POST",
332 "id": "cloudresourcemanager.projects.getAncestry", 283 "id": "cloudresourcemanager.projects.getAncestry",
333 "parameterOrder": [ 284 "parameterOrder": [
334 "projectId" 285 "projectId"
335 ], 286 ],
336 "parameters": { 287 "parameters": {
337 "projectId": { 288 "projectId": {
338 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.", 289 "description": "The Project ID (for example, `my-pro ject-123`).\n\nRequired.",
339 "location": "path", 290 "location": "path",
340 "required": true, 291 "required": true,
341 "type": "string" 292 "type": "string"
342 } 293 }
343 }, 294 },
344 "path": "v1beta1/projects/{projectId}:getAncestry", 295 "path": "v1beta1/projects/{projectId}:getAncestry",
345 "request": { 296 "request": {
346 "$ref": "GetAncestryRequest" 297 "$ref": "GetAncestryRequest"
347 }, 298 },
348 "response": { 299 "response": {
349 "$ref": "GetAncestryResponse" 300 "$ref": "GetAncestryResponse"
350 }, 301 },
351 "scopes": [ 302 "scopes": [
352 "https://www.googleapis.com/auth/cloud-platform", 303 "https://www.googleapis.com/auth/cloud-platform",
353 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 304 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
354 ] 305 ]
355 }, 306 },
307 "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.",
309 "httpMethod": "PUT",
310 "id": "cloudresourcemanager.projects.update",
311 "parameterOrder": [
312 "projectId"
313 ],
314 "parameters": {
315 "projectId": {
316 "description": "The project ID (for example, `my-pro ject-123`).\n\nRequired.",
317 "location": "path",
318 "required": true,
319 "type": "string"
320 }
321 },
322 "path": "v1beta1/projects/{projectId}",
323 "request": {
324 "$ref": "Project"
325 },
326 "response": {
327 "$ref": "Project"
328 },
329 "scopes": [
330 "https://www.googleapis.com/auth/cloud-platform"
331 ]
332 },
356 "testIamPermissions": { 333 "testIamPermissions": {
357 "description": "Returns permissions that a caller has on the specified Project.", 334 "description": "Returns permissions that a caller has on the specified Project.",
358 "httpMethod": "POST", 335 "httpMethod": "POST",
359 "id": "cloudresourcemanager.projects.testIamPermissions", 336 "id": "cloudresourcemanager.projects.testIamPermissions",
360 "parameterOrder": [ 337 "parameterOrder": [
361 "resource" 338 "resource"
362 ], 339 ],
363 "parameters": { 340 "parameters": {
364 "resource": { 341 "resource": {
365 "description": "REQUIRED: The resource for which the policy detail is being requested.\nSee the operation documentation for the appr opriate value for this field.", 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.",
366 "location": "path", 343 "location": "path",
367 "required": true, 344 "required": true,
368 "type": "string" 345 "type": "string"
369 } 346 }
370 }, 347 },
371 "path": "v1beta1/projects/{resource}:testIamPermissions", 348 "path": "v1beta1/projects/{resource}:testIamPermissions",
372 "request": { 349 "request": {
373 "$ref": "TestIamPermissionsRequest" 350 "$ref": "TestIamPermissionsRequest"
374 }, 351 },
375 "response": { 352 "response": {
376 "$ref": "TestIamPermissionsResponse" 353 "$ref": "TestIamPermissionsResponse"
377 }, 354 },
378 "scopes": [ 355 "scopes": [
379 "https://www.googleapis.com/auth/cloud-platform", 356 "https://www.googleapis.com/auth/cloud-platform",
380 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 357 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
381 ] 358 ]
359 },
360 "delete": {
361 "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.",
362 "httpMethod": "DELETE",
363 "id": "cloudresourcemanager.projects.delete",
364 "parameterOrder": [
365 "projectId"
366 ],
367 "parameters": {
368 "projectId": {
369 "description": "The Project ID (for example, `foo-ba r-123`).\n\nRequired.",
370 "location": "path",
371 "required": true,
372 "type": "string"
373 }
374 },
375 "path": "v1beta1/projects/{projectId}",
376 "response": {
377 "$ref": "Empty"
378 },
379 "scopes": [
380 "https://www.googleapis.com/auth/cloud-platform"
381 ]
382 } 382 }
383 } 383 }
384 }, 384 },
385 "organizations": { 385 "organizations": {
386 "methods": { 386 "methods": {
387 "get": { 387 "get": {
388 "description": "Fetches an Organization resource identified by the specified resource name.", 388 "description": "Fetches an Organization resource identified by the specified resource name.",
389 "httpMethod": "GET", 389 "httpMethod": "GET",
390 "id": "cloudresourcemanager.organizations.get", 390 "id": "cloudresourcemanager.organizations.get",
391 "parameterOrder": [ 391 "parameterOrder": [
392 "name" 392 "name"
393 ], 393 ],
394 "parameters": { 394 "parameters": {
395 "organizationId": {
396 "description": "The id of the Organization resource to fetch.\nThis field is deprecated and will be removed in v1. Use name instead. ",
397 "location": "query",
398 "type": "string"
399 },
400 "name": { 395 "name": {
401 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".", 396 "description": "The resource name of the Organizatio n to fetch, e.g. \"organizations/1234\".",
402 "location": "path", 397 "location": "path",
403 "pattern": "^organizations/[^/]+$", 398 "pattern": "^organizations/[^/]+$",
404 "required": true, 399 "required": true,
405 "type": "string" 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 } 406 }
407 }, 407 },
408 "path": "v1beta1/{+name}", 408 "path": "v1beta1/{+name}",
409 "response": { 409 "response": {
410 "$ref": "Organization" 410 "$ref": "Organization"
411 }, 411 },
412 "scopes": [ 412 "scopes": [
413 "https://www.googleapis.com/auth/cloud-platform", 413 "https://www.googleapis.com/auth/cloud-platform",
414 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 414 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
415 ] 415 ]
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 "$ref": "Policy" 552 "$ref": "Policy"
553 }, 553 },
554 "scopes": [ 554 "scopes": [
555 "https://www.googleapis.com/auth/cloud-platform", 555 "https://www.googleapis.com/auth/cloud-platform",
556 "https://www.googleapis.com/auth/cloud-platform.read-onl y" 556 "https://www.googleapis.com/auth/cloud-platform.read-onl y"
557 ] 557 ]
558 } 558 }
559 } 559 }
560 } 560 }
561 }, 561 },
562 "revision": "20170517", 562 "revision": "20170607",
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/",
564 "schemas": { 564 "schemas": {
565 "AuditConfig": { 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.", 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", 567 "id": "AuditConfig",
568 "properties": { 568 "properties": {
569 "service": { 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.", 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" 571 "type": "string"
572 }, 572 },
(...skipping 11 matching lines...) Expand all
584 "description": "Identifying information for a single ancestor of a p roject.", 584 "description": "Identifying information for a single ancestor of a p roject.",
585 "id": "Ancestor", 585 "id": "Ancestor",
586 "properties": { 586 "properties": {
587 "resourceId": { 587 "resourceId": {
588 "$ref": "ResourceId", 588 "$ref": "ResourceId",
589 "description": "Resource id of the ancestor." 589 "description": "Resource id of the ancestor."
590 } 590 }
591 }, 591 },
592 "type": "object" 592 "type": "object"
593 }, 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 },
594 "ListOrganizationsResponse": { 610 "ListOrganizationsResponse": {
595 "description": "The response returned from the `ListOrganizations` m ethod.", 611 "description": "The response returned from the `ListOrganizations` m ethod.",
596 "id": "ListOrganizationsResponse", 612 "id": "ListOrganizationsResponse",
597 "properties": { 613 "properties": {
598 "organizations": { 614 "organizations": {
599 "description": "The list of Organizations that matched the l ist query, possibly paginated.", 615 "description": "The list of Organizations that matched the l ist query, possibly paginated.",
600 "items": { 616 "items": {
601 "$ref": "Organization" 617 "$ref": "Organization"
602 }, 618 },
603 "type": "array" 619 "type": "array"
604 }, 620 },
605 "nextPageToken": { 621 "nextPageToken": {
606 "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.", 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.",
607 "type": "string" 623 "type": "string"
608 } 624 }
609 }, 625 },
610 "type": "object" 626 "type": "object"
611 }, 627 },
612 "SetIamPolicyRequest": {
613 "description": "Request message for `SetIamPolicy` method.",
614 "id": "SetIamPolicyRequest",
615 "properties": {
616 "policy": {
617 "$ref": "Policy",
618 "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."
619 },
620 "updateMask": {
621 "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.",
622 "format": "google-fieldmask",
623 "type": "string"
624 }
625 },
626 "type": "object"
627 },
628 "Binding": { 628 "Binding": {
629 "description": "Associates `members` with a `role`.", 629 "description": "Associates `members` with a `role`.",
630 "id": "Binding", 630 "id": "Binding",
631 "properties": { 631 "properties": {
632 "members": { 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", 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": { 634 "items": {
635 "type": "string" 635 "type": "string"
636 }, 636 },
637 "type": "array" 637 "type": "array"
638 }, 638 },
639 "role": { 639 "role": {
640 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", 640 "description": "Role that is assigned to `members`.\nFor exa mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired",
641 "type": "string" 641 "type": "string"
642 } 642 }
643 }, 643 },
644 "type": "object" 644 "type": "object"
645 }, 645 },
646 "Empty": { 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 `{}`.", 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", 648 "id": "Empty",
649 "properties": {}, 649 "properties": {},
650 "type": "object" 650 "type": "object"
651 }, 651 },
652 "UndeleteProjectRequest": {
653 "description": "The request sent to the UndeleteProject\nmethod.",
654 "id": "UndeleteProjectRequest",
655 "properties": {},
656 "type": "object"
657 },
652 "Organization": { 658 "Organization": {
653 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.", 659 "description": "The root node in the resource hierarchy to which a p articular entity's\n(e.g., company) resources belong.",
654 "id": "Organization", 660 "id": "Organization",
655 "properties": { 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 },
656 "organizationId": { 670 "organizationId": {
657 "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.", 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.",
658 "type": "string" 672 "type": "string"
659 }, 673 },
660 "lifecycleState": { 674 "lifecycleState": {
661 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly", 675 "description": "The organization's current lifecycle state. Assigned by the server.\n@OutputOnly",
662 "enum": [ 676 "enum": [
663 "LIFECYCLE_STATE_UNSPECIFIED", 677 "LIFECYCLE_STATE_UNSPECIFIED",
664 "ACTIVE", 678 "ACTIVE",
665 "DELETE_REQUESTED" 679 "DELETE_REQUESTED"
666 ], 680 ],
667 "enumDescriptions": [ 681 "enumDescriptions": [
668 "Unspecified state. This is only useful for distinguish ing unset values.", 682 "Unspecified state. This is only useful for distinguish ing unset values.",
669 "The normal and active state.", 683 "The normal and active state.",
670 "The organization has been marked for deletion by the us er." 684 "The organization has been marked for deletion by the us er."
671 ], 685 ],
672 "type": "string" 686 "type": "string"
673 }, 687 },
674 "displayName": { 688 "displayName": {
675 "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", 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",
676 "type": "string" 690 "type": "string"
677 }, 691 },
678 "creationTime": { 692 "creationTime": {
679 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly", 693 "description": "Timestamp when the Organization was created. Assigned by the server.\n@OutputOnly",
680 "format": "google-datetime", 694 "format": "google-datetime",
681 "type": "string" 695 "type": "string"
682 },
683 "owner": {
684 "$ref": "OrganizationOwner",
685 "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."
686 },
687 "name": {
688 "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\".",
689 "type": "string"
690 } 696 }
691 }, 697 },
692 "type": "object" 698 "type": "object"
693 }, 699 },
694 "UndeleteProjectRequest": {
695 "description": "The request sent to the UndeleteProject\nmethod.",
696 "id": "UndeleteProjectRequest",
697 "properties": {},
698 "type": "object"
699 },
700 "ProjectCreationStatus": { 700 "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.", 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.",
702 "id": "ProjectCreationStatus", 702 "id": "ProjectCreationStatus",
703 "properties": { 703 "properties": {
704 "ready": { 704 "ready": {
705 "description": "True if the project creation process is comp lete.", 705 "description": "True if the project creation process is comp lete.",
706 "type": "boolean" 706 "type": "boolean"
707 }, 707 },
708 "createTime": { 708 "createTime": {
709 "description": "Creation time of the project creation workfl ow.", 709 "description": "Creation time of the project creation workfl ow.",
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 "GetAncestryRequest": { 813 "GetAncestryRequest": {
814 "description": "The request sent to the\nGetAncestry\nmethod.", 814 "description": "The request sent to the\nGetAncestry\nmethod.",
815 "id": "GetAncestryRequest", 815 "id": "GetAncestryRequest",
816 "properties": {}, 816 "properties": {},
817 "type": "object" 817 "type": "object"
818 }, 818 },
819 "Project": { 819 "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.", 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.",
821 "id": "Project", 821 "id": "Project",
822 "properties": { 822 "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 },
823 "lifecycleState": { 847 "lifecycleState": {
824 "description": "The Project lifecycle state.\n\nRead-only.", 848 "description": "The Project lifecycle state.\n\nRead-only.",
825 "enum": [ 849 "enum": [
826 "LIFECYCLE_STATE_UNSPECIFIED", 850 "LIFECYCLE_STATE_UNSPECIFIED",
827 "ACTIVE", 851 "ACTIVE",
828 "DELETE_REQUESTED", 852 "DELETE_REQUESTED",
829 "DELETE_IN_PROGRESS" 853 "DELETE_IN_PROGRESS"
830 ], 854 ],
831 "enumDescriptions": [ 855 "enumDescriptions": [
832 "Unspecified state. This is only used/useful for distin guishing\nunset values.", 856 "Unspecified state. This is only used/useful for distin guishing\nunset values.",
833 "The normal and active state.", 857 "The normal and active state.",
834 "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.", 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.",
835 "This lifecycle state is no longer used and is not retur ned by the API." 859 "This lifecycle state is no longer used and is not retur ned by the API."
836 ], 860 ],
837 "type": "string" 861 "type": "string"
838 }, 862 },
839 "projectNumber": { 863 "projectNumber": {
840 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.", 864 "description": "The number uniquely identifying the project. \n\nExample: <code>415104041262</code>\nRead-only.",
841 "format": "int64", 865 "format": "int64",
842 "type": "string" 866 "type": "string"
843 },
844 "parent": {
845 "$ref": "ResourceId",
846 "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."
847 },
848 "labels": {
849 "additionalProperties": {
850 "type": "string"
851 },
852 "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.",
853 "type": "object"
854 },
855 "createTime": {
856 "description": "Creation time.\n\nRead-only.",
857 "format": "google-datetime",
858 "type": "string"
859 },
860 "name": {
861 "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.",
862 "type": "string"
863 },
864 "projectId": {
865 "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.",
866 "type": "string"
867 } 867 }
868 }, 868 },
869 "type": "object" 869 "type": "object"
870 }, 870 },
871 "TestIamPermissionsRequest": { 871 "TestIamPermissionsRequest": {
872 "description": "Request message for `TestIamPermissions` method.", 872 "description": "Request message for `TestIamPermissions` method.",
873 "id": "TestIamPermissionsRequest", 873 "id": "TestIamPermissionsRequest",
874 "properties": { 874 "properties": {
875 "permissions": { 875 "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).", 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).",
877 "items": { 877 "items": {
878 "type": "string" 878 "type": "string"
879 }, 879 },
880 "type": "array" 880 "type": "array"
881 } 881 }
882 }, 882 },
883 "type": "object" 883 "type": "object"
884 }, 884 },
885 "FolderOperationError": {
886 "description": "A classification of the Folder Operation error.",
887 "id": "FolderOperationError",
888 "properties": {
889 "errorMessageId": {
890 "description": "The type of operation error experienced.",
891 "enum": [
892 "ERROR_TYPE_UNSPECIFIED",
893 "ACTIVE_FOLDER_HEIGHT_VIOLATION",
894 "MAX_CHILD_FOLDERS_VIOLATION",
895 "FOLDER_NAME_UNIQUENESS_VIOLATION",
896 "RESOURCE_DELETED_VIOLATION",
897 "PARENT_DELETED_VIOLATION",
898 "CYCLE_INTRODUCED_VIOLATION",
899 "FOLDER_BEING_MOVED_VIOLATION",
900 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION",
901 "DELETED_FOLDER_HEIGHT_VIOLATION"
902 ],
903 "enumDescriptions": [
904 "The error type was unrecognized or unspecified.",
905 "The attempted action would violate the max folder depth constraint.",
906 "The attempted action would violate the max child folder s constraint.",
907 "The attempted action would violate the locally-unique f older\ndisplay_name constraint.",
908 "The resource being moved has been deleted.",
909 "The resource a folder was being added to has been delet ed.",
910 "The attempted action would introduce cycle in resource path.",
911 "The attempted action would move a folder that is alread y being moved.",
912 "The folder the caller is trying to delete contains acti ve resources.",
913 "The attempted action would violate the max deleted fold er depth\nconstraint."
914 ],
915 "type": "string"
916 }
917 },
918 "type": "object"
919 },
920 "Policy": { 885 "Policy": {
921 "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).", 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).",
922 "id": "Policy", 887 "id": "Policy",
923 "properties": { 888 "properties": {
924 "bindings": {
925 "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.",
926 "items": {
927 "$ref": "Binding"
928 },
929 "type": "array"
930 },
931 "etag": { 889 "etag": {
932 "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.", 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.",
933 "format": "byte", 891 "format": "byte",
934 "type": "string" 892 "type": "string"
935 }, 893 },
936 "version": { 894 "version": {
937 "description": "Version of the `Policy`. The default version is 0.", 895 "description": "Version of the `Policy`. The default version is 0.",
938 "format": "int32", 896 "format": "int32",
939 "type": "integer" 897 "type": "integer"
940 }, 898 },
941 "auditConfigs": { 899 "auditConfigs": {
942 "description": "Specifies cloud audit logging configuration for this policy.", 900 "description": "Specifies cloud audit logging configuration for this policy.",
943 "items": { 901 "items": {
944 "$ref": "AuditConfig" 902 "$ref": "AuditConfig"
945 }, 903 },
946 "type": "array" 904 "type": "array"
905 },
906 "bindings": {
907 "description": "Associates a list of `members` to a `role`.\ n`bindings` with no members will result in an error.",
908 "items": {
909 "$ref": "Binding"
910 },
911 "type": "array"
947 } 912 }
948 }, 913 },
949 "type": "object" 914 "type": "object"
950 }, 915 },
951 "FolderOperation": { 916 "FolderOperation": {
952 "description": "Metadata describing a long running folder operation" , 917 "description": "Metadata describing a long running folder operation" ,
953 "id": "FolderOperation", 918 "id": "FolderOperation",
954 "properties": { 919 "properties": {
955 "operationType": { 920 "operationType": {
956 "description": "The type of this operation.", 921 "description": "The type of this operation.",
(...skipping 17 matching lines...) Expand all
974 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.", 939 "description": "The resource name of the folder's parent.\nO nly applicable when the operation_type is MOVE.",
975 "type": "string" 940 "type": "string"
976 }, 941 },
977 "destinationParent": { 942 "destinationParent": {
978 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.", 943 "description": "The resource name of the folder or organizat ion we are either creating\nthe folder under or moving the folder to.",
979 "type": "string" 944 "type": "string"
980 } 945 }
981 }, 946 },
982 "type": "object" 947 "type": "object"
983 }, 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": { 984 "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 .", 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 .",
986 "id": "ResourceId", 986 "id": "ResourceId",
987 "properties": { 987 "properties": {
988 "type": { 988 "type": {
989 "description": "Required field representing the resource typ e this id is for.\nAt present, the valid types are \"project\" and \"organizatio n\".", 989 "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" 990 "type": "string"
991 }, 991 },
992 "id": { 992 "id": {
993 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.", 993 "description": "Required field for the type-specific id. Thi s should correspond to the id\nused in the type-specific API's.",
994 "type": "string" 994 "type": "string"
995 } 995 }
996 }, 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