OLD | NEW |
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 "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 "uploadType": { | |
43 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
44 "location": "query", | |
45 "type": "string" | |
46 }, | |
47 "fields": { | |
48 "description": "Selector specifying which fields to include in a par
tial response.", | |
49 "location": "query", | |
50 "type": "string" | |
51 }, | |
52 "callback": { | |
53 "description": "JSONP", | |
54 "location": "query", | |
55 "type": "string" | |
56 }, | |
57 "$.xgafv": { | |
58 "description": "V1 error format.", | |
59 "enum": [ | |
60 "1", | |
61 "2" | |
62 ], | |
63 "enumDescriptions": [ | |
64 "v1 error format", | |
65 "v2 error format" | |
66 ], | |
67 "location": "query", | |
68 "type": "string" | |
69 }, | |
70 "alt": { | 31 "alt": { |
71 "default": "json", | 32 "default": "json", |
72 "description": "Data format for response.", | 33 "description": "Data format for response.", |
73 "enum": [ | 34 "enum": [ |
74 "json", | 35 "json", |
75 "media", | 36 "media", |
76 "proto" | 37 "proto" |
77 ], | 38 ], |
78 "enumDescriptions": [ | 39 "enumDescriptions": [ |
79 "Responses with Content-Type of application/json", | 40 "Responses with Content-Type of application/json", |
80 "Media download with context-dependent Content-Type", | 41 "Media download with context-dependent Content-Type", |
81 "Responses with Content-Type of application/x-protobuf" | 42 "Responses with Content-Type of application/x-protobuf" |
82 ], | 43 ], |
83 "location": "query", | 44 "location": "query", |
84 "type": "string" | 45 "type": "string" |
85 }, | 46 }, |
| 47 "access_token": { |
| 48 "description": "OAuth access token.", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
86 "key": { | 52 "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.", | 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.", |
88 "location": "query", | 54 "location": "query", |
89 "type": "string" | 55 "type": "string" |
90 }, | 56 }, |
91 "access_token": { | |
92 "description": "OAuth access token.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "quotaUser": { | 57 "quotaUser": { |
97 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 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.", |
98 "location": "query", | 59 "location": "query", |
99 "type": "string" | 60 "type": "string" |
100 }, | 61 }, |
101 "pp": { | 62 "pp": { |
102 "default": "true", | 63 "default": "true", |
103 "description": "Pretty-print response.", | 64 "description": "Pretty-print response.", |
104 "location": "query", | 65 "location": "query", |
105 "type": "boolean" | 66 "type": "boolean" |
106 }, | 67 }, |
107 "oauth_token": { | 68 "oauth_token": { |
108 "description": "OAuth 2.0 token for the current user.", | 69 "description": "OAuth 2.0 token for the current user.", |
109 "location": "query", | 70 "location": "query", |
110 "type": "string" | 71 "type": "string" |
111 }, | 72 }, |
112 "bearer_token": { | 73 "bearer_token": { |
113 "description": "OAuth bearer token.", | 74 "description": "OAuth bearer token.", |
114 "location": "query", | 75 "location": "query", |
115 "type": "string" | 76 "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 "uploadType": { |
| 90 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
| 94 "fields": { |
| 95 "description": "Selector specifying which fields to include in a par
tial response.", |
| 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 "organizations": { | 120 "projects": { |
121 "methods": { | 121 "methods": { |
| 122 "getIamPolicy": { |
| 123 "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.", |
| 124 "httpMethod": "POST", |
| 125 "id": "cloudresourcemanager.projects.getIamPolicy", |
| 126 "parameterOrder": [ |
| 127 "resource" |
| 128 ], |
| 129 "parameters": { |
| 130 "resource": { |
| 131 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 132 "location": "path", |
| 133 "required": true, |
| 134 "type": "string" |
| 135 } |
| 136 }, |
| 137 "path": "v1beta1/projects/{resource}:getIamPolicy", |
| 138 "request": { |
| 139 "$ref": "GetIamPolicyRequest" |
| 140 }, |
| 141 "response": { |
| 142 "$ref": "Policy" |
| 143 }, |
| 144 "scopes": [ |
| 145 "https://www.googleapis.com/auth/cloud-platform", |
| 146 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 147 ] |
| 148 }, |
| 149 "get": { |
| 150 "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 "httpMethod": "GET", |
| 152 "id": "cloudresourcemanager.projects.get", |
| 153 "parameterOrder": [ |
| 154 "projectId" |
| 155 ], |
| 156 "parameters": { |
| 157 "projectId": { |
| 158 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
| 159 "location": "path", |
| 160 "required": true, |
| 161 "type": "string" |
| 162 } |
| 163 }, |
| 164 "path": "v1beta1/projects/{projectId}", |
| 165 "response": { |
| 166 "$ref": "Project" |
| 167 }, |
| 168 "scopes": [ |
| 169 "https://www.googleapis.com/auth/cloud-platform", |
| 170 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 171 ] |
| 172 }, |
| 173 "undelete": { |
| 174 "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.", |
| 175 "httpMethod": "POST", |
| 176 "id": "cloudresourcemanager.projects.undelete", |
| 177 "parameterOrder": [ |
| 178 "projectId" |
| 179 ], |
| 180 "parameters": { |
| 181 "projectId": { |
| 182 "description": "The project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 183 "location": "path", |
| 184 "required": true, |
| 185 "type": "string" |
| 186 } |
| 187 }, |
| 188 "path": "v1beta1/projects/{projectId}:undelete", |
| 189 "request": { |
| 190 "$ref": "UndeleteProjectRequest" |
| 191 }, |
| 192 "response": { |
| 193 "$ref": "Empty" |
| 194 }, |
| 195 "scopes": [ |
| 196 "https://www.googleapis.com/auth/cloud-platform" |
| 197 ] |
| 198 }, |
122 "update": { | 199 "update": { |
123 "description": "Updates an Organization resource identified
by the specified resource name.", | 200 "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.", |
124 "httpMethod": "PUT", | 201 "httpMethod": "PUT", |
125 "id": "cloudresourcemanager.organizations.update", | 202 "id": "cloudresourcemanager.projects.update", |
126 "parameterOrder": [ | 203 "parameterOrder": [ |
127 "name" | 204 "projectId" |
128 ], | 205 ], |
129 "parameters": { | 206 "parameters": { |
130 "name": { | 207 "projectId": { |
131 "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\".", | 208 "description": "The project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
132 "location": "path", | 209 "location": "path", |
133 "pattern": "^organizations/[^/]+$", | 210 "required": true, |
134 "required": true, | 211 "type": "string" |
135 "type": "string" | 212 } |
136 } | 213 }, |
137 }, | 214 "path": "v1beta1/projects/{projectId}", |
138 "path": "v1beta1/{+name}", | 215 "request": { |
139 "request": { | 216 "$ref": "Project" |
140 "$ref": "Organization" | 217 }, |
141 }, | 218 "response": { |
142 "response": { | 219 "$ref": "Project" |
143 "$ref": "Organization" | |
144 }, | 220 }, |
145 "scopes": [ | 221 "scopes": [ |
146 "https://www.googleapis.com/auth/cloud-platform" | 222 "https://www.googleapis.com/auth/cloud-platform" |
147 ] | 223 ] |
148 }, | 224 }, |
| 225 "getAncestry": { |
| 226 "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.", |
| 227 "httpMethod": "POST", |
| 228 "id": "cloudresourcemanager.projects.getAncestry", |
| 229 "parameterOrder": [ |
| 230 "projectId" |
| 231 ], |
| 232 "parameters": { |
| 233 "projectId": { |
| 234 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
| 235 "location": "path", |
| 236 "required": true, |
| 237 "type": "string" |
| 238 } |
| 239 }, |
| 240 "path": "v1beta1/projects/{projectId}:getAncestry", |
| 241 "request": { |
| 242 "$ref": "GetAncestryRequest" |
| 243 }, |
| 244 "response": { |
| 245 "$ref": "GetAncestryResponse" |
| 246 }, |
| 247 "scopes": [ |
| 248 "https://www.googleapis.com/auth/cloud-platform", |
| 249 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 250 ] |
| 251 }, |
149 "testIamPermissions": { | 252 "testIamPermissions": { |
150 "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\".", | 253 "description": "Returns permissions that a caller has on the
specified Project.", |
151 "httpMethod": "POST", | 254 "httpMethod": "POST", |
152 "id": "cloudresourcemanager.organizations.testIamPermissions
", | 255 "id": "cloudresourcemanager.projects.testIamPermissions", |
153 "parameterOrder": [ | 256 "parameterOrder": [ |
154 "resource" | 257 "resource" |
155 ], | 258 ], |
156 "parameters": { | 259 "parameters": { |
157 "resource": { | 260 "resource": { |
158 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", | 261 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
159 "location": "path", | 262 "location": "path", |
160 "pattern": "^organizations/[^/]+$", | 263 "required": true, |
161 "required": true, | 264 "type": "string" |
162 "type": "string" | 265 } |
163 } | 266 }, |
164 }, | 267 "path": "v1beta1/projects/{resource}:testIamPermissions", |
165 "path": "v1beta1/{+resource}:testIamPermissions", | |
166 "request": { | 268 "request": { |
167 "$ref": "TestIamPermissionsRequest" | 269 "$ref": "TestIamPermissionsRequest" |
168 }, | 270 }, |
169 "response": { | 271 "response": { |
170 "$ref": "TestIamPermissionsResponse" | 272 "$ref": "TestIamPermissionsResponse" |
171 }, | 273 }, |
172 "scopes": [ | 274 "scopes": [ |
173 "https://www.googleapis.com/auth/cloud-platform", | 275 "https://www.googleapis.com/auth/cloud-platform", |
174 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 276 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
175 ] | 277 ] |
176 }, | 278 }, |
| 279 "delete": { |
| 280 "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.", |
| 281 "httpMethod": "DELETE", |
| 282 "id": "cloudresourcemanager.projects.delete", |
| 283 "parameterOrder": [ |
| 284 "projectId" |
| 285 ], |
| 286 "parameters": { |
| 287 "projectId": { |
| 288 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 289 "location": "path", |
| 290 "required": true, |
| 291 "type": "string" |
| 292 } |
| 293 }, |
| 294 "path": "v1beta1/projects/{projectId}", |
| 295 "response": { |
| 296 "$ref": "Empty" |
| 297 }, |
| 298 "scopes": [ |
| 299 "https://www.googleapis.com/auth/cloud-platform" |
| 300 ] |
| 301 }, |
177 "list": { | 302 "list": { |
178 "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.", | 303 "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.", |
179 "httpMethod": "GET", | 304 "httpMethod": "GET", |
180 "id": "cloudresourcemanager.organizations.list", | 305 "id": "cloudresourcemanager.projects.list", |
181 "parameterOrder": [], | 306 "parameterOrder": [], |
182 "parameters": { | 307 "parameters": { |
183 "filter": { | 308 "filter": { |
184 "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.", | 309 "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 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.", |
185 "location": "query", | 310 "location": "query", |
186 "type": "string" | 311 "type": "string" |
187 }, | 312 }, |
188 "pageToken": { | 313 "pageToken": { |
189 "description": "A pagination token returned from a p
revious call to `ListOrganizations`\nthat indicates from where listing should co
ntinue.\nThis field is optional.", | 314 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
190 "location": "query", | 315 "location": "query", |
191 "type": "string" | 316 "type": "string" |
192 }, | 317 }, |
193 "pageSize": { | 318 "pageSize": { |
194 "description": "The maximum number of Organizations
to return in the response.\nThis field is optional.", | 319 "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.", |
195 "format": "int32", | 320 "format": "int32", |
196 "location": "query", | 321 "location": "query", |
197 "type": "integer" | 322 "type": "integer" |
198 } | 323 } |
199 }, | 324 }, |
200 "path": "v1beta1/organizations", | 325 "path": "v1beta1/projects", |
201 "response": { | 326 "response": { |
202 "$ref": "ListOrganizationsResponse" | 327 "$ref": "ListProjectsResponse" |
203 }, | 328 }, |
204 "scopes": [ | 329 "scopes": [ |
205 "https://www.googleapis.com/auth/cloud-platform", | 330 "https://www.googleapis.com/auth/cloud-platform", |
206 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 331 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
207 ] | |
208 }, | |
209 "setIamPolicy": { | |
210 "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\".", | |
211 "httpMethod": "POST", | |
212 "id": "cloudresourcemanager.organizations.setIamPolicy", | |
213 "parameterOrder": [ | |
214 "resource" | |
215 ], | |
216 "parameters": { | |
217 "resource": { | |
218 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", | |
219 "location": "path", | |
220 "pattern": "^organizations/[^/]+$", | |
221 "required": true, | |
222 "type": "string" | |
223 } | |
224 }, | |
225 "path": "v1beta1/{+resource}:setIamPolicy", | |
226 "request": { | |
227 "$ref": "SetIamPolicyRequest" | |
228 }, | |
229 "response": { | |
230 "$ref": "Policy" | |
231 }, | |
232 "scopes": [ | |
233 "https://www.googleapis.com/auth/cloud-platform" | |
234 ] | |
235 }, | |
236 "getIamPolicy": { | |
237 "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\
".", | |
238 "httpMethod": "POST", | |
239 "id": "cloudresourcemanager.organizations.getIamPolicy", | |
240 "parameterOrder": [ | |
241 "resource" | |
242 ], | |
243 "parameters": { | |
244 "resource": { | |
245 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", | |
246 "location": "path", | |
247 "pattern": "^organizations/[^/]+$", | |
248 "required": true, | |
249 "type": "string" | |
250 } | |
251 }, | |
252 "path": "v1beta1/{+resource}:getIamPolicy", | |
253 "request": { | |
254 "$ref": "GetIamPolicyRequest" | |
255 }, | |
256 "response": { | |
257 "$ref": "Policy" | |
258 }, | |
259 "scopes": [ | |
260 "https://www.googleapis.com/auth/cloud-platform", | |
261 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
262 ] | |
263 }, | |
264 "get": { | |
265 "description": "Fetches an Organization resource identified
by the specified resource name.", | |
266 "httpMethod": "GET", | |
267 "id": "cloudresourcemanager.organizations.get", | |
268 "parameterOrder": [ | |
269 "name" | |
270 ], | |
271 "parameters": { | |
272 "name": { | |
273 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | |
274 "location": "path", | |
275 "pattern": "^organizations/[^/]+$", | |
276 "required": true, | |
277 "type": "string" | |
278 }, | |
279 "organizationId": { | |
280 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", | |
281 "location": "query", | |
282 "type": "string" | |
283 } | |
284 }, | |
285 "path": "v1beta1/{+name}", | |
286 "response": { | |
287 "$ref": "Organization" | |
288 }, | |
289 "scopes": [ | |
290 "https://www.googleapis.com/auth/cloud-platform", | |
291 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
292 ] | |
293 } | |
294 } | |
295 }, | |
296 "projects": { | |
297 "methods": { | |
298 "setIamPolicy": { | |
299 "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.", | |
300 "httpMethod": "POST", | |
301 "id": "cloudresourcemanager.projects.setIamPolicy", | |
302 "parameterOrder": [ | |
303 "resource" | |
304 ], | |
305 "parameters": { | |
306 "resource": { | |
307 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", | |
308 "location": "path", | |
309 "required": true, | |
310 "type": "string" | |
311 } | |
312 }, | |
313 "path": "v1beta1/projects/{resource}:setIamPolicy", | |
314 "request": { | |
315 "$ref": "SetIamPolicyRequest" | |
316 }, | |
317 "response": { | |
318 "$ref": "Policy" | |
319 }, | |
320 "scopes": [ | |
321 "https://www.googleapis.com/auth/cloud-platform" | |
322 ] | 332 ] |
323 }, | 333 }, |
324 "create": { | 334 "create": { |
325 "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.", | 335 "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.", |
326 "httpMethod": "POST", | 336 "httpMethod": "POST", |
327 "id": "cloudresourcemanager.projects.create", | 337 "id": "cloudresourcemanager.projects.create", |
328 "parameterOrder": [], | 338 "parameterOrder": [], |
329 "parameters": { | 339 "parameters": { |
330 "useLegacyStack": { | 340 "useLegacyStack": { |
331 "description": "A safety hatch to opt out of the new
reliable project creation process.", | 341 "description": "A safety hatch to opt out of the new
reliable project creation process.", |
332 "location": "query", | 342 "location": "query", |
333 "type": "boolean" | 343 "type": "boolean" |
334 } | 344 } |
335 }, | 345 }, |
336 "path": "v1beta1/projects", | 346 "path": "v1beta1/projects", |
337 "request": { | 347 "request": { |
338 "$ref": "Project" | 348 "$ref": "Project" |
339 }, | 349 }, |
340 "response": { | 350 "response": { |
341 "$ref": "Project" | 351 "$ref": "Project" |
342 }, | 352 }, |
343 "scopes": [ | 353 "scopes": [ |
344 "https://www.googleapis.com/auth/cloud-platform" | 354 "https://www.googleapis.com/auth/cloud-platform" |
345 ] | 355 ] |
346 }, | 356 }, |
347 "getIamPolicy": { | 357 "setIamPolicy": { |
348 "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.", | 358 "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.", |
349 "httpMethod": "POST", | 359 "httpMethod": "POST", |
350 "id": "cloudresourcemanager.projects.getIamPolicy", | 360 "id": "cloudresourcemanager.projects.setIamPolicy", |
351 "parameterOrder": [ | 361 "parameterOrder": [ |
352 "resource" | 362 "resource" |
353 ], | 363 ], |
354 "parameters": { | 364 "parameters": { |
355 "resource": { | 365 "resource": { |
356 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", | 366 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
357 "location": "path", | 367 "location": "path", |
358 "required": true, | 368 "required": true, |
359 "type": "string" | 369 "type": "string" |
360 } | 370 } |
361 }, | 371 }, |
362 "path": "v1beta1/projects/{resource}:getIamPolicy", | 372 "path": "v1beta1/projects/{resource}:setIamPolicy", |
363 "request": { | 373 "request": { |
364 "$ref": "GetIamPolicyRequest" | 374 "$ref": "SetIamPolicyRequest" |
365 }, | 375 }, |
366 "response": { | 376 "response": { |
367 "$ref": "Policy" | 377 "$ref": "Policy" |
368 }, | 378 }, |
369 "scopes": [ | 379 "scopes": [ |
370 "https://www.googleapis.com/auth/cloud-platform", | 380 "https://www.googleapis.com/auth/cloud-platform" |
371 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 381 ] |
372 ] | 382 } |
373 }, | 383 } |
374 "get": { | 384 }, |
375 "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.", | 385 "organizations": { |
| 386 "methods": { |
| 387 "list": { |
| 388 "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.", |
376 "httpMethod": "GET", | 389 "httpMethod": "GET", |
377 "id": "cloudresourcemanager.projects.get", | 390 "id": "cloudresourcemanager.organizations.list", |
378 "parameterOrder": [ | |
379 "projectId" | |
380 ], | |
381 "parameters": { | |
382 "projectId": { | |
383 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | |
384 "location": "path", | |
385 "required": true, | |
386 "type": "string" | |
387 } | |
388 }, | |
389 "path": "v1beta1/projects/{projectId}", | |
390 "response": { | |
391 "$ref": "Project" | |
392 }, | |
393 "scopes": [ | |
394 "https://www.googleapis.com/auth/cloud-platform", | |
395 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
396 ] | |
397 }, | |
398 "undelete": { | |
399 "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.", | |
400 "httpMethod": "POST", | |
401 "id": "cloudresourcemanager.projects.undelete", | |
402 "parameterOrder": [ | |
403 "projectId" | |
404 ], | |
405 "parameters": { | |
406 "projectId": { | |
407 "description": "The project ID (for example, `foo-ba
r-123`).\n\nRequired.", | |
408 "location": "path", | |
409 "required": true, | |
410 "type": "string" | |
411 } | |
412 }, | |
413 "path": "v1beta1/projects/{projectId}:undelete", | |
414 "request": { | |
415 "$ref": "UndeleteProjectRequest" | |
416 }, | |
417 "response": { | |
418 "$ref": "Empty" | |
419 }, | |
420 "scopes": [ | |
421 "https://www.googleapis.com/auth/cloud-platform" | |
422 ] | |
423 }, | |
424 "getAncestry": { | |
425 "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.", | |
426 "httpMethod": "POST", | |
427 "id": "cloudresourcemanager.projects.getAncestry", | |
428 "parameterOrder": [ | |
429 "projectId" | |
430 ], | |
431 "parameters": { | |
432 "projectId": { | |
433 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | |
434 "location": "path", | |
435 "required": true, | |
436 "type": "string" | |
437 } | |
438 }, | |
439 "path": "v1beta1/projects/{projectId}:getAncestry", | |
440 "request": { | |
441 "$ref": "GetAncestryRequest" | |
442 }, | |
443 "response": { | |
444 "$ref": "GetAncestryResponse" | |
445 }, | |
446 "scopes": [ | |
447 "https://www.googleapis.com/auth/cloud-platform", | |
448 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
449 ] | |
450 }, | |
451 "update": { | |
452 "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.", | |
453 "httpMethod": "PUT", | |
454 "id": "cloudresourcemanager.projects.update", | |
455 "parameterOrder": [ | |
456 "projectId" | |
457 ], | |
458 "parameters": { | |
459 "projectId": { | |
460 "description": "The project ID (for example, `my-pro
ject-123`).\n\nRequired.", | |
461 "location": "path", | |
462 "required": true, | |
463 "type": "string" | |
464 } | |
465 }, | |
466 "path": "v1beta1/projects/{projectId}", | |
467 "request": { | |
468 "$ref": "Project" | |
469 }, | |
470 "response": { | |
471 "$ref": "Project" | |
472 }, | |
473 "scopes": [ | |
474 "https://www.googleapis.com/auth/cloud-platform" | |
475 ] | |
476 }, | |
477 "testIamPermissions": { | |
478 "description": "Returns permissions that a caller has on the
specified Project.", | |
479 "httpMethod": "POST", | |
480 "id": "cloudresourcemanager.projects.testIamPermissions", | |
481 "parameterOrder": [ | |
482 "resource" | |
483 ], | |
484 "parameters": { | |
485 "resource": { | |
486 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", | |
487 "location": "path", | |
488 "required": true, | |
489 "type": "string" | |
490 } | |
491 }, | |
492 "path": "v1beta1/projects/{resource}:testIamPermissions", | |
493 "request": { | |
494 "$ref": "TestIamPermissionsRequest" | |
495 }, | |
496 "response": { | |
497 "$ref": "TestIamPermissionsResponse" | |
498 }, | |
499 "scopes": [ | |
500 "https://www.googleapis.com/auth/cloud-platform", | |
501 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
502 ] | |
503 }, | |
504 "delete": { | |
505 "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.", | |
506 "httpMethod": "DELETE", | |
507 "id": "cloudresourcemanager.projects.delete", | |
508 "parameterOrder": [ | |
509 "projectId" | |
510 ], | |
511 "parameters": { | |
512 "projectId": { | |
513 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", | |
514 "location": "path", | |
515 "required": true, | |
516 "type": "string" | |
517 } | |
518 }, | |
519 "path": "v1beta1/projects/{projectId}", | |
520 "response": { | |
521 "$ref": "Empty" | |
522 }, | |
523 "scopes": [ | |
524 "https://www.googleapis.com/auth/cloud-platform" | |
525 ] | |
526 }, | |
527 "list": { | |
528 "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.", | |
529 "httpMethod": "GET", | |
530 "id": "cloudresourcemanager.projects.list", | |
531 "parameterOrder": [], | 391 "parameterOrder": [], |
532 "parameters": { | 392 "parameters": { |
533 "pageToken": { | 393 "pageToken": { |
534 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", | 394 "description": "A pagination token returned from a p
revious call to `ListOrganizations`\nthat indicates from where listing should co
ntinue.\nThis field is optional.", |
535 "location": "query", | 395 "location": "query", |
536 "type": "string" | 396 "type": "string" |
537 }, | 397 }, |
538 "pageSize": { | 398 "pageSize": { |
539 "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.", | 399 "description": "The maximum number of Organizations
to return in the response.\nThis field is optional.", |
540 "format": "int32", | 400 "format": "int32", |
541 "location": "query", | 401 "location": "query", |
542 "type": "integer" | 402 "type": "integer" |
543 }, | 403 }, |
544 "filter": { | 404 "filter": { |
545 "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 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.", | 405 "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.", |
546 "location": "query", | 406 "location": "query", |
547 "type": "string" | 407 "type": "string" |
548 } | 408 } |
549 }, | 409 }, |
550 "path": "v1beta1/projects", | 410 "path": "v1beta1/organizations", |
551 "response": { | 411 "response": { |
552 "$ref": "ListProjectsResponse" | 412 "$ref": "ListOrganizationsResponse" |
553 }, | 413 }, |
554 "scopes": [ | 414 "scopes": [ |
555 "https://www.googleapis.com/auth/cloud-platform", | 415 "https://www.googleapis.com/auth/cloud-platform", |
| 416 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 417 ] |
| 418 }, |
| 419 "setIamPolicy": { |
| 420 "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\".", |
| 421 "httpMethod": "POST", |
| 422 "id": "cloudresourcemanager.organizations.setIamPolicy", |
| 423 "parameterOrder": [ |
| 424 "resource" |
| 425 ], |
| 426 "parameters": { |
| 427 "resource": { |
| 428 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
| 429 "location": "path", |
| 430 "pattern": "^organizations/[^/]+$", |
| 431 "required": true, |
| 432 "type": "string" |
| 433 } |
| 434 }, |
| 435 "path": "v1beta1/{+resource}:setIamPolicy", |
| 436 "request": { |
| 437 "$ref": "SetIamPolicyRequest" |
| 438 }, |
| 439 "response": { |
| 440 "$ref": "Policy" |
| 441 }, |
| 442 "scopes": [ |
| 443 "https://www.googleapis.com/auth/cloud-platform" |
| 444 ] |
| 445 }, |
| 446 "getIamPolicy": { |
| 447 "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\
".", |
| 448 "httpMethod": "POST", |
| 449 "id": "cloudresourcemanager.organizations.getIamPolicy", |
| 450 "parameterOrder": [ |
| 451 "resource" |
| 452 ], |
| 453 "parameters": { |
| 454 "resource": { |
| 455 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 456 "location": "path", |
| 457 "pattern": "^organizations/[^/]+$", |
| 458 "required": true, |
| 459 "type": "string" |
| 460 } |
| 461 }, |
| 462 "path": "v1beta1/{+resource}:getIamPolicy", |
| 463 "request": { |
| 464 "$ref": "GetIamPolicyRequest" |
| 465 }, |
| 466 "response": { |
| 467 "$ref": "Policy" |
| 468 }, |
| 469 "scopes": [ |
| 470 "https://www.googleapis.com/auth/cloud-platform", |
| 471 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 472 ] |
| 473 }, |
| 474 "get": { |
| 475 "description": "Fetches an Organization resource identified
by the specified resource name.", |
| 476 "httpMethod": "GET", |
| 477 "id": "cloudresourcemanager.organizations.get", |
| 478 "parameterOrder": [ |
| 479 "name" |
| 480 ], |
| 481 "parameters": { |
| 482 "organizationId": { |
| 483 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", |
| 484 "location": "query", |
| 485 "type": "string" |
| 486 }, |
| 487 "name": { |
| 488 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
| 489 "location": "path", |
| 490 "pattern": "^organizations/[^/]+$", |
| 491 "required": true, |
| 492 "type": "string" |
| 493 } |
| 494 }, |
| 495 "path": "v1beta1/{+name}", |
| 496 "response": { |
| 497 "$ref": "Organization" |
| 498 }, |
| 499 "scopes": [ |
| 500 "https://www.googleapis.com/auth/cloud-platform", |
| 501 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 502 ] |
| 503 }, |
| 504 "update": { |
| 505 "description": "Updates an Organization resource identified
by the specified resource name.", |
| 506 "httpMethod": "PUT", |
| 507 "id": "cloudresourcemanager.organizations.update", |
| 508 "parameterOrder": [ |
| 509 "name" |
| 510 ], |
| 511 "parameters": { |
| 512 "name": { |
| 513 "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\".", |
| 514 "location": "path", |
| 515 "pattern": "^organizations/[^/]+$", |
| 516 "required": true, |
| 517 "type": "string" |
| 518 } |
| 519 }, |
| 520 "path": "v1beta1/{+name}", |
| 521 "request": { |
| 522 "$ref": "Organization" |
| 523 }, |
| 524 "response": { |
| 525 "$ref": "Organization" |
| 526 }, |
| 527 "scopes": [ |
| 528 "https://www.googleapis.com/auth/cloud-platform" |
| 529 ] |
| 530 }, |
| 531 "testIamPermissions": { |
| 532 "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\".", |
| 533 "httpMethod": "POST", |
| 534 "id": "cloudresourcemanager.organizations.testIamPermissions
", |
| 535 "parameterOrder": [ |
| 536 "resource" |
| 537 ], |
| 538 "parameters": { |
| 539 "resource": { |
| 540 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
| 541 "location": "path", |
| 542 "pattern": "^organizations/[^/]+$", |
| 543 "required": true, |
| 544 "type": "string" |
| 545 } |
| 546 }, |
| 547 "path": "v1beta1/{+resource}:testIamPermissions", |
| 548 "request": { |
| 549 "$ref": "TestIamPermissionsRequest" |
| 550 }, |
| 551 "response": { |
| 552 "$ref": "TestIamPermissionsResponse" |
| 553 }, |
| 554 "scopes": [ |
| 555 "https://www.googleapis.com/auth/cloud-platform", |
556 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 556 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
557 ] | 557 ] |
558 } | 558 } |
559 } | 559 } |
560 } | 560 } |
561 }, | 561 }, |
562 "revision": "20170814", | 562 "revision": "20170830", |
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
564 "schemas": { | 564 "schemas": { |
| 565 "AuditLogConfig": { |
| 566 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\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 }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", |
| 567 "id": "AuditLogConfig", |
| 568 "properties": { |
| 569 "exemptedMembers": { |
| 570 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", |
| 571 "items": { |
| 572 "type": "string" |
| 573 }, |
| 574 "type": "array" |
| 575 }, |
| 576 "logType": { |
| 577 "description": "The log type that this config enables.", |
| 578 "enum": [ |
| 579 "LOG_TYPE_UNSPECIFIED", |
| 580 "ADMIN_READ", |
| 581 "DATA_WRITE", |
| 582 "DATA_READ" |
| 583 ], |
| 584 "enumDescriptions": [ |
| 585 "Default case. Should never be this.", |
| 586 "Admin reads. Example: CloudIAM getIamPolicy", |
| 587 "Data writes. Example: CloudSQL Users create", |
| 588 "Data reads. Example: CloudSQL Users list" |
| 589 ], |
| 590 "type": "string" |
| 591 } |
| 592 }, |
| 593 "type": "object" |
| 594 }, |
| 595 "ListProjectsResponse": { |
| 596 "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.", |
| 597 "id": "ListProjectsResponse", |
| 598 "properties": { |
| 599 "nextPageToken": { |
| 600 "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."
, |
| 601 "type": "string" |
| 602 }, |
| 603 "projects": { |
| 604 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
| 605 "items": { |
| 606 "$ref": "Project" |
| 607 }, |
| 608 "type": "array" |
| 609 } |
| 610 }, |
| 611 "type": "object" |
| 612 }, |
565 "GetAncestryRequest": { | 613 "GetAncestryRequest": { |
566 "description": "The request sent to the\nGetAncestry\nmethod.", | 614 "description": "The request sent to the\nGetAncestry\nmethod.", |
567 "id": "GetAncestryRequest", | 615 "id": "GetAncestryRequest", |
568 "properties": {}, | 616 "properties": {}, |
569 "type": "object" | 617 "type": "object" |
570 }, | 618 }, |
571 "Project": { | 619 "Project": { |
572 "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.", | 620 "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.", |
573 "id": "Project", | 621 "id": "Project", |
574 "properties": { | 622 "properties": { |
575 "projectNumber": { | 623 "projectNumber": { |
576 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", | 624 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", |
577 "format": "int64", | 625 "format": "int64", |
578 "type": "string" | 626 "type": "string" |
579 }, | 627 }, |
580 "parent": { | 628 "parent": { |
581 "$ref": "ResourceId", | 629 "$ref": "ResourceId", |
582 "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." | 630 "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." |
583 }, | 631 }, |
| 632 "createTime": { |
| 633 "description": "Creation time.\n\nRead-only.", |
| 634 "format": "google-datetime", |
| 635 "type": "string" |
| 636 }, |
584 "labels": { | 637 "labels": { |
585 "additionalProperties": { | 638 "additionalProperties": { |
586 "type": "string" | 639 "type": "string" |
587 }, | 640 }, |
588 "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.", | 641 "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.", |
589 "type": "object" | 642 "type": "object" |
590 }, | 643 }, |
591 "createTime": { | |
592 "description": "Creation time.\n\nRead-only.", | |
593 "format": "google-datetime", | |
594 "type": "string" | |
595 }, | |
596 "name": { | 644 "name": { |
597 "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.", | 645 "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.", |
598 "type": "string" | 646 "type": "string" |
599 }, | 647 }, |
600 "projectId": { | 648 "projectId": { |
601 "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.", | 649 "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.", |
602 "type": "string" | 650 "type": "string" |
603 }, | 651 }, |
604 "lifecycleState": { | 652 "lifecycleState": { |
605 "description": "The Project lifecycle state.\n\nRead-only.", | 653 "description": "The Project lifecycle state.\n\nRead-only.", |
(...skipping 21 matching lines...) Expand all Loading... |
627 "permissions": { | 675 "permissions": { |
628 "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).", | 676 "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).", |
629 "items": { | 677 "items": { |
630 "type": "string" | 678 "type": "string" |
631 }, | 679 }, |
632 "type": "array" | 680 "type": "array" |
633 } | 681 } |
634 }, | 682 }, |
635 "type": "object" | 683 "type": "object" |
636 }, | 684 }, |
| 685 "Policy": { |
| 686 "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).", |
| 687 "id": "Policy", |
| 688 "properties": { |
| 689 "etag": { |
| 690 "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.", |
| 691 "format": "byte", |
| 692 "type": "string" |
| 693 }, |
| 694 "version": { |
| 695 "description": "Version of the `Policy`. The default version
is 0.", |
| 696 "format": "int32", |
| 697 "type": "integer" |
| 698 }, |
| 699 "auditConfigs": { |
| 700 "description": "Specifies cloud audit logging configuration
for this policy.", |
| 701 "items": { |
| 702 "$ref": "AuditConfig" |
| 703 }, |
| 704 "type": "array" |
| 705 }, |
| 706 "bindings": { |
| 707 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", |
| 708 "items": { |
| 709 "$ref": "Binding" |
| 710 }, |
| 711 "type": "array" |
| 712 } |
| 713 }, |
| 714 "type": "object" |
| 715 }, |
637 "FolderOperationError": { | 716 "FolderOperationError": { |
638 "description": "A classification of the Folder Operation error.", | 717 "description": "A classification of the Folder Operation error.", |
639 "id": "FolderOperationError", | 718 "id": "FolderOperationError", |
640 "properties": { | 719 "properties": { |
641 "errorMessageId": { | 720 "errorMessageId": { |
642 "description": "The type of operation error experienced.", | 721 "description": "The type of operation error experienced.", |
643 "enum": [ | 722 "enum": [ |
644 "ERROR_TYPE_UNSPECIFIED", | 723 "ERROR_TYPE_UNSPECIFIED", |
645 "ACTIVE_FOLDER_HEIGHT_VIOLATION", | 724 "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
646 "MAX_CHILD_FOLDERS_VIOLATION", | 725 "MAX_CHILD_FOLDERS_VIOLATION", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 "description": "The display name of the folder.", | 774 "description": "The display name of the folder.", |
696 "type": "string" | 775 "type": "string" |
697 }, | 776 }, |
698 "destinationParent": { | 777 "destinationParent": { |
699 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | 778 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
700 "type": "string" | 779 "type": "string" |
701 } | 780 } |
702 }, | 781 }, |
703 "type": "object" | 782 "type": "object" |
704 }, | 783 }, |
705 "Policy": { | |
706 "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).", | |
707 "id": "Policy", | |
708 "properties": { | |
709 "etag": { | |
710 "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.", | |
711 "format": "byte", | |
712 "type": "string" | |
713 }, | |
714 "version": { | |
715 "description": "Version of the `Policy`. The default version
is 0.", | |
716 "format": "int32", | |
717 "type": "integer" | |
718 }, | |
719 "auditConfigs": { | |
720 "description": "Specifies cloud audit logging configuration
for this policy.", | |
721 "items": { | |
722 "$ref": "AuditConfig" | |
723 }, | |
724 "type": "array" | |
725 }, | |
726 "bindings": { | |
727 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", | |
728 "items": { | |
729 "$ref": "Binding" | |
730 }, | |
731 "type": "array" | |
732 } | |
733 }, | |
734 "type": "object" | |
735 }, | |
736 "ResourceId": { | 784 "ResourceId": { |
737 "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
.", | 785 "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
.", |
738 "id": "ResourceId", | 786 "id": "ResourceId", |
739 "properties": { | 787 "properties": { |
| 788 "type": { |
| 789 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\", \"folder\", and
\"organization\".", |
| 790 "type": "string" |
| 791 }, |
740 "id": { | 792 "id": { |
741 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", | 793 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
742 "type": "string" | 794 "type": "string" |
743 }, | |
744 "type": { | |
745 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", | |
746 "type": "string" | |
747 } | 795 } |
748 }, | 796 }, |
749 "type": "object" | 797 "type": "object" |
750 }, | 798 }, |
751 "AuditConfig": { | 799 "AuditConfig": { |
752 "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.", | 800 "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.", |
753 "id": "AuditConfig", | 801 "id": "AuditConfig", |
754 "properties": { | 802 "properties": { |
755 "service": { | 803 "service": { |
756 "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.", | 804 "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.", |
(...skipping 13 matching lines...) Expand all Loading... |
770 "description": "Identifying information for a single ancestor of a p
roject.", | 818 "description": "Identifying information for a single ancestor of a p
roject.", |
771 "id": "Ancestor", | 819 "id": "Ancestor", |
772 "properties": { | 820 "properties": { |
773 "resourceId": { | 821 "resourceId": { |
774 "$ref": "ResourceId", | 822 "$ref": "ResourceId", |
775 "description": "Resource id of the ancestor." | 823 "description": "Resource id of the ancestor." |
776 } | 824 } |
777 }, | 825 }, |
778 "type": "object" | 826 "type": "object" |
779 }, | 827 }, |
| 828 "SetIamPolicyRequest": { |
| 829 "description": "Request message for `SetIamPolicy` method.", |
| 830 "id": "SetIamPolicyRequest", |
| 831 "properties": { |
| 832 "policy": { |
| 833 "$ref": "Policy", |
| 834 "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." |
| 835 }, |
| 836 "updateMask": { |
| 837 "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.", |
| 838 "format": "google-fieldmask", |
| 839 "type": "string" |
| 840 } |
| 841 }, |
| 842 "type": "object" |
| 843 }, |
780 "ListOrganizationsResponse": { | 844 "ListOrganizationsResponse": { |
781 "description": "The response returned from the `ListOrganizations` m
ethod.", | 845 "description": "The response returned from the `ListOrganizations` m
ethod.", |
782 "id": "ListOrganizationsResponse", | 846 "id": "ListOrganizationsResponse", |
783 "properties": { | 847 "properties": { |
784 "nextPageToken": { | 848 "nextPageToken": { |
785 "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.", | 849 "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.", |
786 "type": "string" | 850 "type": "string" |
787 }, | 851 }, |
788 "organizations": { | 852 "organizations": { |
789 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", | 853 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", |
790 "items": { | 854 "items": { |
791 "$ref": "Organization" | 855 "$ref": "Organization" |
792 }, | 856 }, |
793 "type": "array" | 857 "type": "array" |
794 } | 858 } |
795 }, | 859 }, |
796 "type": "object" | 860 "type": "object" |
797 }, | 861 }, |
798 "SetIamPolicyRequest": { | |
799 "description": "Request message for `SetIamPolicy` method.", | |
800 "id": "SetIamPolicyRequest", | |
801 "properties": { | |
802 "updateMask": { | |
803 "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.", | |
804 "format": "google-fieldmask", | |
805 "type": "string" | |
806 }, | |
807 "policy": { | |
808 "$ref": "Policy", | |
809 "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." | |
810 } | |
811 }, | |
812 "type": "object" | |
813 }, | |
814 "Binding": { | 862 "Binding": { |
815 "description": "Associates `members` with a `role`.", | 863 "description": "Associates `members` with a `role`.", |
816 "id": "Binding", | 864 "id": "Binding", |
817 "properties": { | 865 "properties": { |
818 "members": { | 866 "members": { |
819 "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", | 867 "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", |
820 "items": { | 868 "items": { |
821 "type": "string" | 869 "type": "string" |
822 }, | 870 }, |
823 "type": "array" | 871 "type": "array" |
824 }, | 872 }, |
825 "role": { | 873 "role": { |
826 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 874 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
827 "type": "string" | 875 "type": "string" |
828 } | 876 } |
829 }, | 877 }, |
830 "type": "object" | 878 "type": "object" |
831 }, | 879 }, |
832 "Empty": { | 880 "Empty": { |
833 "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 `{}`.", | 881 "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 `{}`.", |
834 "id": "Empty", | 882 "id": "Empty", |
835 "properties": {}, | 883 "properties": {}, |
836 "type": "object" | 884 "type": "object" |
837 }, | 885 }, |
| 886 "UndeleteProjectRequest": { |
| 887 "description": "The request sent to the UndeleteProject\nmethod.", |
| 888 "id": "UndeleteProjectRequest", |
| 889 "properties": {}, |
| 890 "type": "object" |
| 891 }, |
838 "Organization": { | 892 "Organization": { |
839 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", | 893 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
840 "id": "Organization", | 894 "id": "Organization", |
841 "properties": { | 895 "properties": { |
842 "creationTime": { | |
843 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", | |
844 "format": "google-datetime", | |
845 "type": "string" | |
846 }, | |
847 "owner": { | |
848 "$ref": "OrganizationOwner", | |
849 "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." | |
850 }, | |
851 "name": { | |
852 "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\".", | |
853 "type": "string" | |
854 }, | |
855 "organizationId": { | 896 "organizationId": { |
856 "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.", | 897 "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.", |
857 "type": "string" | 898 "type": "string" |
858 }, | 899 }, |
859 "lifecycleState": { | 900 "lifecycleState": { |
860 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", | 901 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
861 "enum": [ | 902 "enum": [ |
862 "LIFECYCLE_STATE_UNSPECIFIED", | 903 "LIFECYCLE_STATE_UNSPECIFIED", |
863 "ACTIVE", | 904 "ACTIVE", |
864 "DELETE_REQUESTED" | 905 "DELETE_REQUESTED" |
865 ], | 906 ], |
866 "enumDescriptions": [ | 907 "enumDescriptions": [ |
867 "Unspecified state. This is only useful for distinguish
ing unset values.", | 908 "Unspecified state. This is only useful for distinguish
ing unset values.", |
868 "The normal and active state.", | 909 "The normal and active state.", |
869 "The organization has been marked for deletion by the us
er." | 910 "The organization has been marked for deletion by the us
er." |
870 ], | 911 ], |
871 "type": "string" | 912 "type": "string" |
872 }, | 913 }, |
873 "displayName": { | 914 "displayName": { |
874 "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", | 915 "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", |
875 "type": "string" | 916 "type": "string" |
| 917 }, |
| 918 "creationTime": { |
| 919 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
| 920 "format": "google-datetime", |
| 921 "type": "string" |
| 922 }, |
| 923 "owner": { |
| 924 "$ref": "OrganizationOwner", |
| 925 "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." |
| 926 }, |
| 927 "name": { |
| 928 "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\".", |
| 929 "type": "string" |
876 } | 930 } |
877 }, | 931 }, |
878 "type": "object" | 932 "type": "object" |
879 }, | 933 }, |
880 "UndeleteProjectRequest": { | |
881 "description": "The request sent to the UndeleteProject\nmethod.", | |
882 "id": "UndeleteProjectRequest", | |
883 "properties": {}, | |
884 "type": "object" | |
885 }, | |
886 "ProjectCreationStatus": { | 934 "ProjectCreationStatus": { |
887 "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.", | 935 "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.", |
888 "id": "ProjectCreationStatus", | 936 "id": "ProjectCreationStatus", |
889 "properties": { | 937 "properties": { |
890 "ready": { | 938 "ready": { |
891 "description": "True if the project creation process is comp
lete.", | 939 "description": "True if the project creation process is comp
lete.", |
892 "type": "boolean" | 940 "type": "boolean" |
893 }, | 941 }, |
894 "gettable": { | 942 "gettable": { |
895 "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.", | 943 "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.", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
940 "properties": { | 988 "properties": { |
941 "ancestor": { | 989 "ancestor": { |
942 "description": "Ancestors are ordered from bottom to top of
the resource hierarchy. The\nfirst ancestor is the project itself, followed by t
he project's parent,\netc.", | 990 "description": "Ancestors are ordered from bottom to top of
the resource hierarchy. The\nfirst ancestor is the project itself, followed by t
he project's parent,\netc.", |
943 "items": { | 991 "items": { |
944 "$ref": "Ancestor" | 992 "$ref": "Ancestor" |
945 }, | 993 }, |
946 "type": "array" | 994 "type": "array" |
947 } | 995 } |
948 }, | 996 }, |
949 "type": "object" | 997 "type": "object" |
950 }, | |
951 "AuditLogConfig": { | |
952 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\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 }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", | |
953 "id": "AuditLogConfig", | |
954 "properties": { | |
955 "exemptedMembers": { | |
956 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | |
957 "items": { | |
958 "type": "string" | |
959 }, | |
960 "type": "array" | |
961 }, | |
962 "logType": { | |
963 "description": "The log type that this config enables.", | |
964 "enum": [ | |
965 "LOG_TYPE_UNSPECIFIED", | |
966 "ADMIN_READ", | |
967 "DATA_WRITE", | |
968 "DATA_READ" | |
969 ], | |
970 "enumDescriptions": [ | |
971 "Default case. Should never be this.", | |
972 "Admin reads. Example: CloudIAM getIamPolicy", | |
973 "Data writes. Example: CloudSQL Users create", | |
974 "Data reads. Example: CloudSQL Users list" | |
975 ], | |
976 "type": "string" | |
977 } | |
978 }, | |
979 "type": "object" | |
980 }, | |
981 "ListProjectsResponse": { | |
982 "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.", | |
983 "id": "ListProjectsResponse", | |
984 "properties": { | |
985 "projects": { | |
986 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", | |
987 "items": { | |
988 "$ref": "Project" | |
989 }, | |
990 "type": "array" | |
991 }, | |
992 "nextPageToken": { | |
993 "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."
, | |
994 "type": "string" | |
995 } | |
996 }, | |
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 } |
OLD | NEW |