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": { | 5 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
6 "description": "View your data across Google Cloud Platform
services" | 6 "description": "View your data across Google Cloud Platform
services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "fields": { | 42 "fields": { |
43 "description": "Selector specifying which fields to include in a par
tial response.", | 43 "description": "Selector specifying which fields to include in a par
tial response.", |
44 "location": "query", | 44 "location": "query", |
45 "type": "string" | 45 "type": "string" |
46 }, | 46 }, |
47 "uploadType": { | 47 "uploadType": { |
48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
49 "location": "query", | 49 "location": "query", |
50 "type": "string" | 50 "type": "string" |
51 }, | 51 }, |
| 52 "callback": { |
| 53 "description": "JSONP", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
52 "$.xgafv": { | 57 "$.xgafv": { |
53 "description": "V1 error format.", | 58 "description": "V1 error format.", |
54 "enum": [ | 59 "enum": [ |
55 "1", | 60 "1", |
56 "2" | 61 "2" |
57 ], | 62 ], |
58 "enumDescriptions": [ | 63 "enumDescriptions": [ |
59 "v1 error format", | 64 "v1 error format", |
60 "v2 error format" | 65 "v2 error format" |
61 ], | 66 ], |
62 "location": "query", | 67 "location": "query", |
63 "type": "string" | 68 "type": "string" |
64 }, | 69 }, |
65 "callback": { | |
66 "description": "JSONP", | |
67 "location": "query", | |
68 "type": "string" | |
69 }, | |
70 "alt": { | 70 "alt": { |
71 "default": "json", | 71 "default": "json", |
72 "description": "Data format for response.", | 72 "description": "Data format for response.", |
73 "enum": [ | 73 "enum": [ |
74 "json", | 74 "json", |
75 "media", | 75 "media", |
76 "proto" | 76 "proto" |
77 ], | 77 ], |
78 "enumDescriptions": [ | 78 "enumDescriptions": [ |
79 "Responses with Content-Type of application/json", | 79 "Responses with Content-Type of application/json", |
80 "Media download with context-dependent Content-Type", | 80 "Media download with context-dependent Content-Type", |
81 "Responses with Content-Type of application/x-protobuf" | 81 "Responses with Content-Type of application/x-protobuf" |
82 ], | 82 ], |
83 "location": "query", | 83 "location": "query", |
84 "type": "string" | 84 "type": "string" |
85 }, | 85 }, |
| 86 "access_token": { |
| 87 "description": "OAuth access token.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
86 "key": { | 91 "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.", | 92 "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", | 93 "location": "query", |
89 "type": "string" | 94 "type": "string" |
90 }, | 95 }, |
91 "access_token": { | |
92 "description": "OAuth access token.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
96 "quotaUser": { | 96 "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.", | 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.", |
98 "location": "query", | 98 "location": "query", |
99 "type": "string" | 99 "type": "string" |
100 }, | 100 }, |
101 "pp": { | 101 "pp": { |
102 "default": "true", | 102 "default": "true", |
103 "description": "Pretty-print response.", | 103 "description": "Pretty-print response.", |
104 "location": "query", | 104 "location": "query", |
105 "type": "boolean" | 105 "type": "boolean" |
106 }, | 106 }, |
| 107 "bearer_token": { |
| 108 "description": "OAuth bearer token.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
107 "oauth_token": { | 112 "oauth_token": { |
108 "description": "OAuth 2.0 token for the current user.", | 113 "description": "OAuth 2.0 token for the current user.", |
109 "location": "query", | 114 "location": "query", |
110 "type": "string" | 115 "type": "string" |
111 }, | |
112 "bearer_token": { | |
113 "description": "OAuth bearer token.", | |
114 "location": "query", | |
115 "type": "string" | |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "organizations": { | 120 "organizations": { |
121 "methods": { | 121 "methods": { |
| 122 "get": { |
| 123 "description": "Fetches an Organization resource identified
by the specified resource name.", |
| 124 "httpMethod": "GET", |
| 125 "id": "cloudresourcemanager.organizations.get", |
| 126 "parameterOrder": [ |
| 127 "name" |
| 128 ], |
| 129 "parameters": { |
| 130 "name": { |
| 131 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
| 132 "location": "path", |
| 133 "pattern": "^organizations/[^/]+$", |
| 134 "required": true, |
| 135 "type": "string" |
| 136 } |
| 137 }, |
| 138 "path": "v1/{+name}", |
| 139 "response": { |
| 140 "$ref": "Organization" |
| 141 }, |
| 142 "scopes": [ |
| 143 "https://www.googleapis.com/auth/cloud-platform", |
| 144 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 145 ] |
| 146 }, |
| 147 "setIamPolicy": { |
| 148 "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\".", |
| 149 "httpMethod": "POST", |
| 150 "id": "cloudresourcemanager.organizations.setIamPolicy", |
| 151 "parameterOrder": [ |
| 152 "resource" |
| 153 ], |
| 154 "parameters": { |
| 155 "resource": { |
| 156 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
| 157 "location": "path", |
| 158 "pattern": "^organizations/[^/]+$", |
| 159 "required": true, |
| 160 "type": "string" |
| 161 } |
| 162 }, |
| 163 "path": "v1/{+resource}:setIamPolicy", |
| 164 "request": { |
| 165 "$ref": "SetIamPolicyRequest" |
| 166 }, |
| 167 "response": { |
| 168 "$ref": "Policy" |
| 169 }, |
| 170 "scopes": [ |
| 171 "https://www.googleapis.com/auth/cloud-platform" |
| 172 ] |
| 173 }, |
122 "testIamPermissions": { | 174 "testIamPermissions": { |
123 "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\".", | 175 "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\".", |
124 "httpMethod": "POST", | 176 "httpMethod": "POST", |
125 "id": "cloudresourcemanager.organizations.testIamPermissions
", | 177 "id": "cloudresourcemanager.organizations.testIamPermissions
", |
126 "parameterOrder": [ | 178 "parameterOrder": [ |
127 "resource" | 179 "resource" |
128 ], | 180 ], |
129 "parameters": { | 181 "parameters": { |
130 "resource": { | 182 "resource": { |
131 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", | 183 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
132 "location": "path", | 184 "location": "path", |
133 "pattern": "^organizations/[^/]+$", | 185 "pattern": "^organizations/[^/]+$", |
134 "required": true, | 186 "required": true, |
135 "type": "string" | 187 "type": "string" |
136 } | 188 } |
137 }, | 189 }, |
138 "path": "v1/{+resource}:testIamPermissions", | 190 "path": "v1/{+resource}:testIamPermissions", |
139 "request": { | 191 "request": { |
140 "$ref": "TestIamPermissionsRequest" | 192 "$ref": "TestIamPermissionsRequest" |
141 }, | 193 }, |
142 "response": { | 194 "response": { |
143 "$ref": "TestIamPermissionsResponse" | 195 "$ref": "TestIamPermissionsResponse" |
144 }, | 196 }, |
145 "scopes": [ | 197 "scopes": [ |
146 "https://www.googleapis.com/auth/cloud-platform", | 198 "https://www.googleapis.com/auth/cloud-platform", |
147 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 199 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
148 ] | 200 ] |
149 }, | 201 }, |
150 "getIamPolicy": { | 202 "getIamPolicy": { |
151 "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\
".", | 203 "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\
".", |
152 "httpMethod": "POST", | 204 "httpMethod": "POST", |
153 "id": "cloudresourcemanager.organizations.getIamPolicy", | 205 "id": "cloudresourcemanager.organizations.getIamPolicy", |
154 "parameterOrder": [ | 206 "parameterOrder": [ |
155 "resource" | 207 "resource" |
156 ], | 208 ], |
157 "parameters": { | 209 "parameters": { |
158 "resource": { | 210 "resource": { |
159 "description": "REQUIRED: The resource for which the
policy is being requested.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | 211 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
160 "location": "path", | 212 "location": "path", |
161 "pattern": "^organizations/[^/]+$", | 213 "pattern": "^organizations/[^/]+$", |
162 "required": true, | 214 "required": true, |
163 "type": "string" | 215 "type": "string" |
164 } | 216 } |
165 }, | 217 }, |
166 "path": "v1/{+resource}:getIamPolicy", | 218 "path": "v1/{+resource}:getIamPolicy", |
167 "request": { | 219 "request": { |
168 "$ref": "GetIamPolicyRequest" | 220 "$ref": "GetIamPolicyRequest" |
169 }, | 221 }, |
(...skipping 15 matching lines...) Expand all Loading... |
185 "request": { | 237 "request": { |
186 "$ref": "SearchOrganizationsRequest" | 238 "$ref": "SearchOrganizationsRequest" |
187 }, | 239 }, |
188 "response": { | 240 "response": { |
189 "$ref": "SearchOrganizationsResponse" | 241 "$ref": "SearchOrganizationsResponse" |
190 }, | 242 }, |
191 "scopes": [ | 243 "scopes": [ |
192 "https://www.googleapis.com/auth/cloud-platform", | 244 "https://www.googleapis.com/auth/cloud-platform", |
193 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 245 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
194 ] | 246 ] |
| 247 } |
| 248 } |
| 249 }, |
| 250 "liens": { |
| 251 "methods": { |
| 252 "list": { |
| 253 "description": "List all Liens applied to the `parent` resou
rce.\n\nCallers of this method will require permission on the `parent` resource.
\nFor example, a Lien with a `parent` of `projects/1234` requires permission\n`r
esourcemanager.projects.get`.", |
| 254 "httpMethod": "GET", |
| 255 "id": "cloudresourcemanager.liens.list", |
| 256 "parameterOrder": [], |
| 257 "parameters": { |
| 258 "parent": { |
| 259 "description": "The name of the resource to list all
attached Liens.\nFor example, `projects/1234`.", |
| 260 "location": "query", |
| 261 "type": "string" |
| 262 }, |
| 263 "pageToken": { |
| 264 "description": "The `next_page_token` value returned
from a previous List request, if any.", |
| 265 "location": "query", |
| 266 "type": "string" |
| 267 }, |
| 268 "pageSize": { |
| 269 "description": "The maximum number of items to retur
n. This is a suggestion for the server.", |
| 270 "format": "int32", |
| 271 "location": "query", |
| 272 "type": "integer" |
| 273 } |
| 274 }, |
| 275 "path": "v1/liens", |
| 276 "response": { |
| 277 "$ref": "ListLiensResponse" |
| 278 }, |
| 279 "scopes": [ |
| 280 "https://www.googleapis.com/auth/cloud-platform", |
| 281 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 282 ] |
195 }, | 283 }, |
196 "get": { | 284 "create": { |
197 "description": "Fetches an Organization resource identified
by the specified resource name.", | 285 "description": "Create a Lien which applies to the resource
denoted by the `parent` field.\n\nCallers of this method will require permission
on the `parent` resource.\nFor example, applying to `projects/1234` requires pe
rmission\n`resourcemanager.projects.updateLiens`.\n\nNOTE: Some resources may li
mit the number of Liens which may be applied.", |
198 "httpMethod": "GET", | 286 "httpMethod": "POST", |
199 "id": "cloudresourcemanager.organizations.get", | 287 "id": "cloudresourcemanager.liens.create", |
| 288 "parameterOrder": [], |
| 289 "parameters": {}, |
| 290 "path": "v1/liens", |
| 291 "request": { |
| 292 "$ref": "Lien" |
| 293 }, |
| 294 "response": { |
| 295 "$ref": "Lien" |
| 296 }, |
| 297 "scopes": [ |
| 298 "https://www.googleapis.com/auth/cloud-platform", |
| 299 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 300 ] |
| 301 }, |
| 302 "delete": { |
| 303 "description": "Delete a Lien by `name`.\n\nCallers of this
method will require permission on the `parent` resource.\nFor example, a Lien wi
th a `parent` of `projects/1234` requires permission\n`resourcemanager.projects.
updateLiens`.", |
| 304 "httpMethod": "DELETE", |
| 305 "id": "cloudresourcemanager.liens.delete", |
200 "parameterOrder": [ | 306 "parameterOrder": [ |
201 "name" | 307 "name" |
202 ], | 308 ], |
203 "parameters": { | 309 "parameters": { |
204 "name": { | 310 "name": { |
205 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | 311 "description": "The name/identifier of the Lien to d
elete.", |
206 "location": "path", | 312 "location": "path", |
207 "pattern": "^organizations/[^/]+$", | 313 "pattern": "^liens/.+$", |
208 "required": true, | 314 "required": true, |
209 "type": "string" | 315 "type": "string" |
210 } | 316 } |
211 }, | 317 }, |
212 "path": "v1/{+name}", | 318 "path": "v1/{+name}", |
213 "response": { | 319 "response": { |
214 "$ref": "Organization" | 320 "$ref": "Empty" |
215 }, | 321 }, |
216 "scopes": [ | 322 "scopes": [ |
217 "https://www.googleapis.com/auth/cloud-platform", | 323 "https://www.googleapis.com/auth/cloud-platform", |
218 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 324 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
219 ] | 325 ] |
220 }, | |
221 "setIamPolicy": { | |
222 "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\".", | |
223 "httpMethod": "POST", | |
224 "id": "cloudresourcemanager.organizations.setIamPolicy", | |
225 "parameterOrder": [ | |
226 "resource" | |
227 ], | |
228 "parameters": { | |
229 "resource": { | |
230 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | |
231 "location": "path", | |
232 "pattern": "^organizations/[^/]+$", | |
233 "required": true, | |
234 "type": "string" | |
235 } | |
236 }, | |
237 "path": "v1/{+resource}:setIamPolicy", | |
238 "request": { | |
239 "$ref": "SetIamPolicyRequest" | |
240 }, | |
241 "response": { | |
242 "$ref": "Policy" | |
243 }, | |
244 "scopes": [ | |
245 "https://www.googleapis.com/auth/cloud-platform" | |
246 ] | |
247 } | 326 } |
248 } | 327 } |
249 }, | 328 }, |
250 "operations": { | 329 "operations": { |
251 "methods": { | 330 "methods": { |
252 "get": { | 331 "get": { |
253 "description": "Gets the latest state of a long-running oper
ation. Clients can use this\nmethod to poll the operation result at intervals a
s recommended by the API\nservice.", | 332 "description": "Gets the latest state of a long-running oper
ation. Clients can use this\nmethod to poll the operation result at intervals a
s recommended by the API\nservice.", |
254 "httpMethod": "GET", | 333 "httpMethod": "GET", |
255 "id": "cloudresourcemanager.operations.get", | 334 "id": "cloudresourcemanager.operations.get", |
256 "parameterOrder": [ | 335 "parameterOrder": [ |
(...skipping 14 matching lines...) Expand all Loading... |
271 }, | 350 }, |
272 "scopes": [ | 351 "scopes": [ |
273 "https://www.googleapis.com/auth/cloud-platform", | 352 "https://www.googleapis.com/auth/cloud-platform", |
274 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 353 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
275 ] | 354 ] |
276 } | 355 } |
277 } | 356 } |
278 }, | 357 }, |
279 "projects": { | 358 "projects": { |
280 "methods": { | 359 "methods": { |
| 360 "list": { |
| 361 "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.", |
| 362 "httpMethod": "GET", |
| 363 "id": "cloudresourcemanager.projects.list", |
| 364 "parameterOrder": [], |
| 365 "parameters": { |
| 366 "filter": { |
| 367 "description": "An expression for filtering the resu
lts of the request. Filter rules are\ncase insensitive. The fields eligible for
filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k
ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt
er|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:H
owl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n
|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `col
or`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|lab
els.color:red label.size:big|The project's label `color` has the\nvalue `re
d` and its label `size` has the value `big`.\n\nOptional.", |
| 368 "location": "query", |
| 369 "type": "string" |
| 370 }, |
| 371 "pageToken": { |
| 372 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
| 373 "location": "query", |
| 374 "type": "string" |
| 375 }, |
| 376 "pageSize": { |
| 377 "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.", |
| 378 "format": "int32", |
| 379 "location": "query", |
| 380 "type": "integer" |
| 381 } |
| 382 }, |
| 383 "path": "v1/projects", |
| 384 "response": { |
| 385 "$ref": "ListProjectsResponse" |
| 386 }, |
| 387 "scopes": [ |
| 388 "https://www.googleapis.com/auth/cloud-platform", |
| 389 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 390 ] |
| 391 }, |
| 392 "setIamPolicy": { |
| 393 "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()`;\nthey must be sent only usi
ng the Cloud Platform Console.\n\n+ Membership changes that leave the project wi
thout 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 (
ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last To
S-accepted owner from the policy will fail. This\nrestriction also applies to le
gacy projects that no longer have owners\nwho have accepted the ToS. Edits to IA
M policies will be rejected until\nthe lack of a ToS-accepting owner is rectifie
d.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote:
Removing service accounts from policies or changing their roles\ncan render ser
vices completely inoperable. It is important to understand\nhow the service acco
unt is being used before removing or updating its\nroles.", |
| 394 "httpMethod": "POST", |
| 395 "id": "cloudresourcemanager.projects.setIamPolicy", |
| 396 "parameterOrder": [ |
| 397 "resource" |
| 398 ], |
| 399 "parameters": { |
| 400 "resource": { |
| 401 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
| 402 "location": "path", |
| 403 "required": true, |
| 404 "type": "string" |
| 405 } |
| 406 }, |
| 407 "path": "v1/projects/{resource}:setIamPolicy", |
| 408 "request": { |
| 409 "$ref": "SetIamPolicyRequest" |
| 410 }, |
| 411 "response": { |
| 412 "$ref": "Policy" |
| 413 }, |
| 414 "scopes": [ |
| 415 "https://www.googleapis.com/auth/cloud-platform" |
| 416 ] |
| 417 }, |
| 418 "create": { |
| 419 "description": "Request that a new Project be created. The r
esult is an Operation which\ncan be used to track the creation process. It is au
tomatically deleted\nafter a few hours, so there is no need to call DeleteOperat
ion.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\np
ercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency
. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th
second with an exponential backoff.", |
| 420 "httpMethod": "POST", |
| 421 "id": "cloudresourcemanager.projects.create", |
| 422 "parameterOrder": [], |
| 423 "parameters": {}, |
| 424 "path": "v1/projects", |
| 425 "request": { |
| 426 "$ref": "Project" |
| 427 }, |
| 428 "response": { |
| 429 "$ref": "Operation" |
| 430 }, |
| 431 "scopes": [ |
| 432 "https://www.googleapis.com/auth/cloud-platform" |
| 433 ] |
| 434 }, |
| 435 "getIamPolicy": { |
| 436 "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.", |
| 437 "httpMethod": "POST", |
| 438 "id": "cloudresourcemanager.projects.getIamPolicy", |
| 439 "parameterOrder": [ |
| 440 "resource" |
| 441 ], |
| 442 "parameters": { |
| 443 "resource": { |
| 444 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 445 "location": "path", |
| 446 "required": true, |
| 447 "type": "string" |
| 448 } |
| 449 }, |
| 450 "path": "v1/projects/{resource}:getIamPolicy", |
| 451 "request": { |
| 452 "$ref": "GetIamPolicyRequest" |
| 453 }, |
| 454 "response": { |
| 455 "$ref": "Policy" |
| 456 }, |
| 457 "scopes": [ |
| 458 "https://www.googleapis.com/auth/cloud-platform", |
| 459 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 460 ] |
| 461 }, |
281 "get": { | 462 "get": { |
282 "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.", | 463 "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.", |
283 "httpMethod": "GET", | 464 "httpMethod": "GET", |
284 "id": "cloudresourcemanager.projects.get", | 465 "id": "cloudresourcemanager.projects.get", |
285 "parameterOrder": [ | 466 "parameterOrder": [ |
286 "projectId" | 467 "projectId" |
287 ], | 468 ], |
288 "parameters": { | 469 "parameters": { |
289 "projectId": { | 470 "projectId": { |
290 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | 471 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 }, | 564 }, |
384 "testIamPermissions": { | 565 "testIamPermissions": { |
385 "description": "Returns permissions that a caller has on the
specified Project.", | 566 "description": "Returns permissions that a caller has on the
specified Project.", |
386 "httpMethod": "POST", | 567 "httpMethod": "POST", |
387 "id": "cloudresourcemanager.projects.testIamPermissions", | 568 "id": "cloudresourcemanager.projects.testIamPermissions", |
388 "parameterOrder": [ | 569 "parameterOrder": [ |
389 "resource" | 570 "resource" |
390 ], | 571 ], |
391 "parameters": { | 572 "parameters": { |
392 "resource": { | 573 "resource": { |
393 "description": "REQUIRED: The resource for which the
policy detail is being requested.\n`resource` is usually specified as a path. F
or example, a Project\nresource is specified as `projects/{project}`.", | 574 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
394 "location": "path", | 575 "location": "path", |
395 "required": true, | 576 "required": true, |
396 "type": "string" | 577 "type": "string" |
397 } | 578 } |
398 }, | 579 }, |
399 "path": "v1/projects/{resource}:testIamPermissions", | 580 "path": "v1/projects/{resource}:testIamPermissions", |
400 "request": { | 581 "request": { |
401 "$ref": "TestIamPermissionsRequest" | 582 "$ref": "TestIamPermissionsRequest" |
402 }, | 583 }, |
403 "response": { | 584 "response": { |
(...skipping 19 matching lines...) Expand all Loading... |
423 "type": "string" | 604 "type": "string" |
424 } | 605 } |
425 }, | 606 }, |
426 "path": "v1/projects/{projectId}", | 607 "path": "v1/projects/{projectId}", |
427 "response": { | 608 "response": { |
428 "$ref": "Empty" | 609 "$ref": "Empty" |
429 }, | 610 }, |
430 "scopes": [ | 611 "scopes": [ |
431 "https://www.googleapis.com/auth/cloud-platform" | 612 "https://www.googleapis.com/auth/cloud-platform" |
432 ] | 613 ] |
433 }, | |
434 "list": { | |
435 "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.", | |
436 "httpMethod": "GET", | |
437 "id": "cloudresourcemanager.projects.list", | |
438 "parameterOrder": [], | |
439 "parameters": { | |
440 "filter": { | |
441 "description": "An expression for filtering the resu
lts of the request. Filter rules are\ncase insensitive. The fields eligible for
filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k
ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt
er|Description|\n|------|-----------|\n|name:*|The project has a name.|\n|name:H
owl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equivalent to above.|\n
|NAME:howl|Equivalent to above.|\n|labels.color:*|The project has the label `col
or`.|\n|labels.color:red|The project's label `color` has the value `red`.|\n|lab
els.color:red label.size:big|The project's label `color` has the\nvalue `re
d` and its label `size` has the value `big`.\n\nOptional.", | |
442 "location": "query", | |
443 "type": "string" | |
444 }, | |
445 "pageToken": { | |
446 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", | |
447 "location": "query", | |
448 "type": "string" | |
449 }, | |
450 "pageSize": { | |
451 "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.", | |
452 "format": "int32", | |
453 "location": "query", | |
454 "type": "integer" | |
455 } | |
456 }, | |
457 "path": "v1/projects", | |
458 "response": { | |
459 "$ref": "ListProjectsResponse" | |
460 }, | |
461 "scopes": [ | |
462 "https://www.googleapis.com/auth/cloud-platform", | |
463 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
464 ] | |
465 }, | |
466 "setIamPolicy": { | |
467 "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()`;\nthey must be sent only usi
ng the Cloud Platform Console.\n\n+ Membership changes that leave the project wi
thout 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 (
ToS) agreement in the policy. Calling `setIamPolicy()` to\nto remove the last To
S-accepted owner from the policy will fail. This\nrestriction also applies to le
gacy projects that no longer have owners\nwho have accepted the ToS. Edits to IA
M policies will be rejected until\nthe lack of a ToS-accepting owner is rectifie
d.\n\n+ Calling this method requires enabling the App Engine Admin API.\n\nNote:
Removing service accounts from policies or changing their roles\ncan render ser
vices completely inoperable. It is important to understand\nhow the service acco
unt is being used before removing or updating its\nroles.", | |
468 "httpMethod": "POST", | |
469 "id": "cloudresourcemanager.projects.setIamPolicy", | |
470 "parameterOrder": [ | |
471 "resource" | |
472 ], | |
473 "parameters": { | |
474 "resource": { | |
475 "description": "REQUIRED: The resource for which the
policy is being specified.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | |
476 "location": "path", | |
477 "required": true, | |
478 "type": "string" | |
479 } | |
480 }, | |
481 "path": "v1/projects/{resource}:setIamPolicy", | |
482 "request": { | |
483 "$ref": "SetIamPolicyRequest" | |
484 }, | |
485 "response": { | |
486 "$ref": "Policy" | |
487 }, | |
488 "scopes": [ | |
489 "https://www.googleapis.com/auth/cloud-platform" | |
490 ] | |
491 }, | |
492 "create": { | |
493 "description": "Request that a new Project be created. The r
esult is an Operation which\ncan be used to track the creation process. It is au
tomatically deleted\nafter a few hours, so there is no need to call DeleteOperat
ion.\n\nOur SLO permits Project creation to take up to 30 seconds at the 90th\np
ercentile. As of 2016-08-29, we are observing 6 seconds 50th percentile\nlatency
. 95th percentile latency is around 11 seconds. We recommend\npolling at the 5th
second with an exponential backoff.", | |
494 "httpMethod": "POST", | |
495 "id": "cloudresourcemanager.projects.create", | |
496 "parameterOrder": [], | |
497 "parameters": {}, | |
498 "path": "v1/projects", | |
499 "request": { | |
500 "$ref": "Project" | |
501 }, | |
502 "response": { | |
503 "$ref": "Operation" | |
504 }, | |
505 "scopes": [ | |
506 "https://www.googleapis.com/auth/cloud-platform" | |
507 ] | |
508 }, | |
509 "getIamPolicy": { | |
510 "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.", | |
511 "httpMethod": "POST", | |
512 "id": "cloudresourcemanager.projects.getIamPolicy", | |
513 "parameterOrder": [ | |
514 "resource" | |
515 ], | |
516 "parameters": { | |
517 "resource": { | |
518 "description": "REQUIRED: The resource for which the
policy is being requested.\n`resource` is usually specified as a path. For exam
ple, a Project\nresource is specified as `projects/{project}`.", | |
519 "location": "path", | |
520 "required": true, | |
521 "type": "string" | |
522 } | |
523 }, | |
524 "path": "v1/projects/{resource}:getIamPolicy", | |
525 "request": { | |
526 "$ref": "GetIamPolicyRequest" | |
527 }, | |
528 "response": { | |
529 "$ref": "Policy" | |
530 }, | |
531 "scopes": [ | |
532 "https://www.googleapis.com/auth/cloud-platform", | |
533 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
534 ] | |
535 } | 614 } |
536 } | 615 } |
537 } | 616 } |
538 }, | 617 }, |
539 "revision": "20170206", | 618 "revision": "20170227", |
540 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 619 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
541 "schemas": { | 620 "schemas": { |
542 "SetIamPolicyRequest": { | 621 "Organization": { |
543 "description": "Request message for `SetIamPolicy` method.", | 622 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
544 "id": "SetIamPolicyRequest", | 623 "id": "Organization", |
545 "properties": { | 624 "properties": { |
546 "policy": { | 625 "creationTime": { |
547 "$ref": "Policy", | 626 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
548 "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." | 627 "format": "google-datetime", |
549 } | 628 "type": "string" |
550 }, | 629 }, |
551 "type": "object" | 630 "owner": { |
| 631 "$ref": "OrganizationOwner", |
| 632 "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." |
| 633 }, |
| 634 "lifecycleState": { |
| 635 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
| 636 "enum": [ |
| 637 "LIFECYCLE_STATE_UNSPECIFIED", |
| 638 "ACTIVE", |
| 639 "DELETE_REQUESTED" |
| 640 ], |
| 641 "enumDescriptions": [ |
| 642 "Unspecified state. This is only useful for distinguish
ing unset values.", |
| 643 "The normal and active state.", |
| 644 "The organization has been marked for deletion by the us
er." |
| 645 ], |
| 646 "type": "string" |
| 647 }, |
| 648 "name": { |
| 649 "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\".", |
| 650 "type": "string" |
| 651 }, |
| 652 "displayName": { |
| 653 "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", |
| 654 "type": "string" |
| 655 } |
| 656 }, |
| 657 "type": "object" |
| 658 }, |
| 659 "GetAncestryResponse": { |
| 660 "description": "Response from the GetAncestry method.", |
| 661 "id": "GetAncestryResponse", |
| 662 "properties": { |
| 663 "ancestor": { |
| 664 "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.", |
| 665 "items": { |
| 666 "$ref": "Ancestor" |
| 667 }, |
| 668 "type": "array" |
| 669 } |
| 670 }, |
| 671 "type": "object" |
| 672 }, |
| 673 "SearchOrganizationsRequest": { |
| 674 "description": "The request sent to the `SearchOrganizations` method
.", |
| 675 "id": "SearchOrganizationsRequest", |
| 676 "properties": { |
| 677 "filter": { |
| 678 "description": "An optional query string used to filter the
Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n
\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`,
where the domain is a Google for Work domain, for example:\n\n|Filter|Descriptio
n|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations wit
h\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Orga
nizations corresponding to the domain `google.com`.|\n\nThis field is optional."
, |
| 679 "type": "string" |
| 680 }, |
| 681 "pageToken": { |
| 682 "description": "A pagination token returned from a previous
call to `SearchOrganizations`\nthat indicates from where listing should continue
.\nThis field is optional.", |
| 683 "type": "string" |
| 684 }, |
| 685 "pageSize": { |
| 686 "description": "The maximum number of Organizations to retur
n in the response.\nThis field is optional.", |
| 687 "format": "int32", |
| 688 "type": "integer" |
| 689 } |
| 690 }, |
| 691 "type": "object" |
| 692 }, |
| 693 "GetAncestryRequest": { |
| 694 "description": "The request sent to the\nGetAncestry\nmethod.", |
| 695 "id": "GetAncestryRequest", |
| 696 "properties": {}, |
| 697 "type": "object" |
| 698 }, |
| 699 "TestIamPermissionsRequest": { |
| 700 "description": "Request message for `TestIamPermissions` method.", |
| 701 "id": "TestIamPermissionsRequest", |
| 702 "properties": { |
| 703 "permissions": { |
| 704 "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).", |
| 705 "items": { |
| 706 "type": "string" |
| 707 }, |
| 708 "type": "array" |
| 709 } |
| 710 }, |
| 711 "type": "object" |
| 712 }, |
| 713 "Policy": { |
| 714 "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).", |
| 715 "id": "Policy", |
| 716 "properties": { |
| 717 "etag": { |
| 718 "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.", |
| 719 "format": "byte", |
| 720 "type": "string" |
| 721 }, |
| 722 "version": { |
| 723 "description": "Version of the `Policy`. The default version
is 0.", |
| 724 "format": "int32", |
| 725 "type": "integer" |
| 726 }, |
| 727 "bindings": { |
| 728 "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.", |
| 729 "items": { |
| 730 "$ref": "Binding" |
| 731 }, |
| 732 "type": "array" |
| 733 } |
| 734 }, |
| 735 "type": "object" |
| 736 }, |
| 737 "FolderOperation": { |
| 738 "description": "Metadata describing a long running folder operation"
, |
| 739 "id": "FolderOperation", |
| 740 "properties": { |
| 741 "destinationParent": { |
| 742 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
| 743 "type": "string" |
| 744 }, |
| 745 "operationType": { |
| 746 "description": "The type of this operation.", |
| 747 "enum": [ |
| 748 "OPERATION_TYPE_UNSPECIFIED", |
| 749 "CREATE", |
| 750 "MOVE" |
| 751 ], |
| 752 "enumDescriptions": [ |
| 753 "Operation type not specified.", |
| 754 "A create folder operation.", |
| 755 "A move folder operation." |
| 756 ], |
| 757 "type": "string" |
| 758 }, |
| 759 "displayName": { |
| 760 "description": "The display name of the folder.", |
| 761 "type": "string" |
| 762 }, |
| 763 "sourceParent": { |
| 764 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
| 765 "type": "string" |
| 766 } |
| 767 }, |
| 768 "type": "object" |
| 769 }, |
| 770 "ResourceId": { |
| 771 "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
.", |
| 772 "id": "ResourceId", |
| 773 "properties": { |
| 774 "type": { |
| 775 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are: \"organization\"", |
| 776 "type": "string" |
| 777 }, |
| 778 "id": { |
| 779 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
| 780 "type": "string" |
| 781 } |
| 782 }, |
| 783 "type": "object" |
| 784 }, |
| 785 "Operation": { |
| 786 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
| 787 "id": "Operation", |
| 788 "properties": { |
| 789 "metadata": { |
| 790 "additionalProperties": { |
| 791 "description": "Properties of the object. Contains field
@type with type URL.", |
| 792 "type": "any" |
| 793 }, |
| 794 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", |
| 795 "type": "object" |
| 796 }, |
| 797 "done": { |
| 798 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", |
| 799 "type": "boolean" |
| 800 }, |
| 801 "response": { |
| 802 "additionalProperties": { |
| 803 "description": "Properties of the object. Contains field
@type with type URL.", |
| 804 "type": "any" |
| 805 }, |
| 806 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", |
| 807 "type": "object" |
| 808 }, |
| 809 "name": { |
| 810 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", |
| 811 "type": "string" |
| 812 }, |
| 813 "error": { |
| 814 "$ref": "Status", |
| 815 "description": "The error result of the operation in case of
failure or cancellation." |
| 816 } |
| 817 }, |
| 818 "type": "object" |
552 }, | 819 }, |
553 "Status": { | 820 "Status": { |
554 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", | 821 "description": "The `Status` type defines a logical error model that
is suitable for different\nprogramming environments, including REST APIs and RP
C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig
ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t
o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie
ces of data: error code, error message,\nand error details. The error code shoul
d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes
if needed. The\nerror message should be a developer-facing English message tha
t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa
cing\nerror message is needed, put the localized message in the error details or
\nlocalize it in the client. The optional error details may contain arbitrary\ni
nformation about the error. There is a predefined set of error detail types\nin
the package `google.rpc` which can be used for common error conditions.\n\n# Lan
guage mapping\n\nThe `Status` message is the logical representation of the error
model, but it\nis not necessarily the actual wire format. When the `Status` mes
sage is\nexposed in different client libraries and different wire protocols, it
can be\nmapped differently. For example, it will likely be mapped to some except
ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\
n\nThe error model and the `Status` message can be used in a variety of\nenviron
ments, either with or without APIs, to provide a\nconsistent developer experienc
e across different environments.\n\nExample uses of this error model include:\n\
n- Partial errors. If a service needs to return partial errors to the client,\n
it may embed the `Status` in the normal response to indicate the partial\n
errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step
may\n have a `Status` message for error reporting purpose.\n\n- Batch operati
ons. If a client uses batch request and batch response, the\n `Status` messag
e should be used directly inside batch response, one for\n each error sub-res
ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio
n\n results in its response, the status of those operations should be\n re
presented directly using the `Status` message.\n\n- Logging. If some API errors
are stored in logs, the message `Status` could\n be used directly after any s
tripping needed for security/privacy reasons.", |
555 "id": "Status", | 822 "id": "Status", |
556 "properties": { | 823 "properties": { |
557 "code": { | 824 "code": { |
558 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 825 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
559 "format": "int32", | 826 "format": "int32", |
560 "type": "integer" | 827 "type": "integer" |
561 }, | 828 }, |
562 "message": { | 829 "message": { |
563 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", | 830 "description": "A developer-facing error message, which shou
ld be in English. Any\nuser-facing error message should be localized and sent in
the\ngoogle.rpc.Status.details field, or localized by the client.", |
564 "type": "string" | 831 "type": "string" |
565 }, | 832 }, |
566 "details": { | 833 "details": { |
567 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 834 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
568 "items": { | 835 "items": { |
569 "additionalProperties": { | 836 "additionalProperties": { |
570 "description": "Properties of the object. Contains f
ield @type with type URL.", | 837 "description": "Properties of the object. Contains f
ield @type with type URL.", |
571 "type": "any" | 838 "type": "any" |
572 }, | 839 }, |
573 "type": "object" | 840 "type": "object" |
574 }, | 841 }, |
575 "type": "array" | 842 "type": "array" |
576 } | 843 } |
577 }, | 844 }, |
578 "type": "object" | 845 "type": "object" |
579 }, | 846 }, |
| 847 "ListLiensResponse": { |
| 848 "description": "The response message for Liens.ListLiens.", |
| 849 "id": "ListLiensResponse", |
| 850 "properties": { |
| 851 "nextPageToken": { |
| 852 "description": "Token to retrieve the next page of results,
or empty if there are no more\nresults in the list.", |
| 853 "type": "string" |
| 854 }, |
| 855 "liens": { |
| 856 "description": "A list of Liens.", |
| 857 "items": { |
| 858 "$ref": "Lien" |
| 859 }, |
| 860 "type": "array" |
| 861 } |
| 862 }, |
| 863 "type": "object" |
| 864 }, |
580 "Binding": { | 865 "Binding": { |
581 "description": "Associates `members` with a `role`.", | 866 "description": "Associates `members` with a `role`.", |
582 "id": "Binding", | 867 "id": "Binding", |
583 "properties": { | 868 "properties": { |
| 869 "role": { |
| 870 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
| 871 "type": "string" |
| 872 }, |
584 "members": { | 873 "members": { |
585 "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* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", | 874 "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* `domain:{domain}`: A Google Apps domain name that represe
nts all the\n users of that domain. For example, `google.com` or `example.com`
.\n\n", |
586 "items": { | 875 "items": { |
587 "type": "string" | 876 "type": "string" |
588 }, | 877 }, |
589 "type": "array" | 878 "type": "array" |
590 }, | |
591 "role": { | |
592 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | |
593 "type": "string" | |
594 } | 879 } |
595 }, | 880 }, |
596 "type": "object" | 881 "type": "object" |
597 }, | 882 }, |
598 "Empty": { | |
599 "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 `{}`.", | |
600 "id": "Empty", | |
601 "properties": {}, | |
602 "type": "object" | |
603 }, | |
604 "UndeleteProjectRequest": { | 883 "UndeleteProjectRequest": { |
605 "description": "The request sent to the UndeleteProject\nmethod.", | 884 "description": "The request sent to the UndeleteProject\nmethod.", |
606 "id": "UndeleteProjectRequest", | 885 "id": "UndeleteProjectRequest", |
607 "properties": {}, | 886 "properties": {}, |
608 "type": "object" | 887 "type": "object" |
609 }, | 888 }, |
610 "Organization": { | |
611 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", | |
612 "id": "Organization", | |
613 "properties": { | |
614 "owner": { | |
615 "$ref": "OrganizationOwner", | |
616 "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." | |
617 }, | |
618 "lifecycleState": { | |
619 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", | |
620 "enum": [ | |
621 "LIFECYCLE_STATE_UNSPECIFIED", | |
622 "ACTIVE", | |
623 "DELETE_REQUESTED" | |
624 ], | |
625 "enumDescriptions": [ | |
626 "Unspecified state. This is only useful for distinguish
ing unset values.", | |
627 "The normal and active state.", | |
628 "The organization has been marked for deletion by the us
er." | |
629 ], | |
630 "type": "string" | |
631 }, | |
632 "name": { | |
633 "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\".", | |
634 "type": "string" | |
635 }, | |
636 "displayName": { | |
637 "description": "A friendly string to be used to refer to the
Organization in the UI.\nAssigned by the server, set to the firm name of the Go
ogle For Work\ncustomer that owns this organization.\n@OutputOnly", | |
638 "type": "string" | |
639 }, | |
640 "creationTime": { | |
641 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", | |
642 "format": "google-datetime", | |
643 "type": "string" | |
644 } | |
645 }, | |
646 "type": "object" | |
647 }, | |
648 "ProjectCreationStatus": { | 889 "ProjectCreationStatus": { |
649 "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.", | 890 "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.", |
650 "id": "ProjectCreationStatus", | 891 "id": "ProjectCreationStatus", |
651 "properties": { | 892 "properties": { |
652 "ready": { | 893 "ready": { |
653 "description": "True if the project creation process is comp
lete.", | 894 "description": "True if the project creation process is comp
lete.", |
654 "type": "boolean" | 895 "type": "boolean" |
655 }, | 896 }, |
656 "createTime": { | 897 "createTime": { |
657 "description": "Creation time of the project creation workfl
ow.", | 898 "description": "Creation time of the project creation workfl
ow.", |
658 "format": "google-datetime", | 899 "format": "google-datetime", |
659 "type": "string" | 900 "type": "string" |
660 }, | 901 }, |
661 "gettable": { | 902 "gettable": { |
662 "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.", | 903 "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.", |
663 "type": "boolean" | 904 "type": "boolean" |
664 } | 905 } |
665 }, | 906 }, |
666 "type": "object" | 907 "type": "object" |
667 }, | 908 }, |
| 909 "GetIamPolicyRequest": { |
| 910 "description": "Request message for `GetIamPolicy` method.", |
| 911 "id": "GetIamPolicyRequest", |
| 912 "properties": {}, |
| 913 "type": "object" |
| 914 }, |
668 "TestIamPermissionsResponse": { | 915 "TestIamPermissionsResponse": { |
669 "description": "Response message for `TestIamPermissions` method.", | 916 "description": "Response message for `TestIamPermissions` method.", |
670 "id": "TestIamPermissionsResponse", | 917 "id": "TestIamPermissionsResponse", |
671 "properties": { | 918 "properties": { |
672 "permissions": { | 919 "permissions": { |
673 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 920 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
674 "items": { | 921 "items": { |
675 "type": "string" | 922 "type": "string" |
676 }, | 923 }, |
677 "type": "array" | 924 "type": "array" |
678 } | 925 } |
679 }, | |
680 "type": "object" | |
681 }, | |
682 "GetIamPolicyRequest": { | |
683 "description": "Request message for `GetIamPolicy` method.", | |
684 "id": "GetIamPolicyRequest", | |
685 "properties": {}, | |
686 "type": "object" | |
687 }, | |
688 "GetAncestryResponse": { | |
689 "description": "Response from the GetAncestry method.", | |
690 "id": "GetAncestryResponse", | |
691 "properties": { | |
692 "ancestor": { | |
693 "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.", | |
694 "items": { | |
695 "$ref": "Ancestor" | |
696 }, | |
697 "type": "array" | |
698 } | |
699 }, | 926 }, |
700 "type": "object" | 927 "type": "object" |
701 }, | 928 }, |
702 "OrganizationOwner": { | 929 "OrganizationOwner": { |
703 "description": "The entity that owns an Organization. The lifetime o
f the Organization and\nall of its descendants are bound to the `OrganizationOwn
er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen
dants will\nbe deleted.", | 930 "description": "The entity that owns an Organization. The lifetime o
f the Organization and\nall of its descendants are bound to the `OrganizationOwn
er`. If the\n`OrganizationOwner` is deleted, the Organization and all its descen
dants will\nbe deleted.", |
704 "id": "OrganizationOwner", | 931 "id": "OrganizationOwner", |
705 "properties": { | 932 "properties": { |
706 "directoryCustomerId": { | 933 "directoryCustomerId": { |
707 "description": "The Google for Work customer id used in the
Directory API.", | 934 "description": "The Google for Work customer id used in the
Directory API.", |
708 "type": "string" | 935 "type": "string" |
709 } | 936 } |
710 }, | 937 }, |
711 "type": "object" | 938 "type": "object" |
712 }, | 939 }, |
713 "ListProjectsResponse": { | 940 "ListProjectsResponse": { |
714 "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.", | 941 "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.", |
715 "id": "ListProjectsResponse", | 942 "id": "ListProjectsResponse", |
716 "properties": { | 943 "properties": { |
| 944 "nextPageToken": { |
| 945 "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."
, |
| 946 "type": "string" |
| 947 }, |
717 "projects": { | 948 "projects": { |
718 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", | 949 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
719 "items": { | 950 "items": { |
720 "$ref": "Project" | 951 "$ref": "Project" |
721 }, | 952 }, |
722 "type": "array" | 953 "type": "array" |
723 }, | |
724 "nextPageToken": { | |
725 "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."
, | |
726 "type": "string" | |
727 } | 954 } |
728 }, | 955 }, |
729 "type": "object" | 956 "type": "object" |
730 }, | 957 }, |
731 "SearchOrganizationsRequest": { | 958 "Project": { |
732 "description": "The request sent to the `SearchOrganizations` method
.", | 959 "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.", |
733 "id": "SearchOrganizationsRequest", | 960 "id": "Project", |
734 "properties": { | 961 "properties": { |
735 "pageSize": { | 962 "projectId": { |
736 "description": "The maximum number of Organizations to retur
n in the response.\nThis field is optional.", | 963 "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.", |
737 "format": "int32", | |
738 "type": "integer" | |
739 }, | |
740 "filter": { | |
741 "description": "An optional query string used to filter the
Organizations to return in\nthe response. Filter rules are case-insensitive.\n\n
\nOrganizations may be filtered by `owner.directoryCustomerId` or by\n`domain`,
where the domain is a Google for Work domain, for example:\n\n|Filter|Descriptio
n|\n|------|-----------|\n|owner.directorycustomerid:123456789|Organizations wit
h\n`owner.directory_customer_id` equal to `123456789`.|\n|domain:google.com|Orga
nizations corresponding to the domain `google.com`.|\n\nThis field is optional."
, | |
742 "type": "string" | 964 "type": "string" |
743 }, | 965 }, |
744 "pageToken": { | 966 "lifecycleState": { |
745 "description": "A pagination token returned from a previous
call to `SearchOrganizations`\nthat indicates from where listing should continue
.\nThis field is optional.", | 967 "description": "The Project lifecycle state.\n\nRead-only.", |
| 968 "enum": [ |
| 969 "LIFECYCLE_STATE_UNSPECIFIED", |
| 970 "ACTIVE", |
| 971 "DELETE_REQUESTED", |
| 972 "DELETE_IN_PROGRESS" |
| 973 ], |
| 974 "enumDescriptions": [ |
| 975 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", |
| 976 "The normal and active state.", |
| 977 "The project has been marked for deletion by the user\n(
by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can
generally be reversed by invoking UndeleteProject.", |
| 978 "This lifecycle state is no longer used and not returned
by the API." |
| 979 ], |
746 "type": "string" | 980 "type": "string" |
747 } | 981 }, |
748 }, | |
749 "type": "object" | |
750 }, | |
751 "GetAncestryRequest": { | |
752 "description": "The request sent to the\nGetAncestry\nmethod.", | |
753 "id": "GetAncestryRequest", | |
754 "properties": {}, | |
755 "type": "object" | |
756 }, | |
757 "Project": { | |
758 "description": "A Project is a high-level Google Cloud Platform enti
ty. It is a\ncontainer for ACLs, APIs, AppEngine Apps, VMs, and other\nGoogle C
loud Platform resources.", | |
759 "id": "Project", | |
760 "properties": { | |
761 "projectNumber": { | 982 "projectNumber": { |
762 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", | 983 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", |
763 "format": "int64", | 984 "format": "int64", |
764 "type": "string" | 985 "type": "string" |
765 }, | 986 }, |
766 "parent": { | 987 "parent": { |
767 "$ref": "ResourceId", | 988 "$ref": "ResourceId", |
768 "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." | 989 "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." |
769 }, | 990 }, |
| 991 "createTime": { |
| 992 "description": "Creation time.\n\nRead-only.", |
| 993 "format": "google-datetime", |
| 994 "type": "string" |
| 995 }, |
770 "labels": { | 996 "labels": { |
771 "additionalProperties": { | 997 "additionalProperties": { |
772 "type": "string" | 998 "type": "string" |
773 }, | 999 }, |
774 "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.", | 1000 "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.", |
775 "type": "object" | 1001 "type": "object" |
776 }, | 1002 }, |
777 "createTime": { | |
778 "description": "Creation time.\n\nRead-only.", | |
779 "format": "google-datetime", | |
780 "type": "string" | |
781 }, | |
782 "name": { | 1003 "name": { |
783 "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.", | 1004 "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.", |
784 "type": "string" | 1005 "type": "string" |
785 }, | |
786 "projectId": { | |
787 "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.", | |
788 "type": "string" | |
789 }, | |
790 "lifecycleState": { | |
791 "description": "The Project lifecycle state.\n\nRead-only.", | |
792 "enum": [ | |
793 "LIFECYCLE_STATE_UNSPECIFIED", | |
794 "ACTIVE", | |
795 "DELETE_REQUESTED", | |
796 "DELETE_IN_PROGRESS" | |
797 ], | |
798 "enumDescriptions": [ | |
799 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", | |
800 "The normal and active state.", | |
801 "The project has been marked for deletion by the user\n(
by invoking\nDeleteProject)\nor by the system (Google Cloud Platform).\nThis can
generally be reversed by invoking UndeleteProject.", | |
802 "This lifecycle state is no longer used and not returned
by the API." | |
803 ], | |
804 "type": "string" | |
805 } | 1006 } |
806 }, | 1007 }, |
807 "type": "object" | 1008 "type": "object" |
808 }, | 1009 }, |
809 "SearchOrganizationsResponse": { | 1010 "SearchOrganizationsResponse": { |
810 "description": "The response returned from the `SearchOrganizations`
method.", | 1011 "description": "The response returned from the `SearchOrganizations`
method.", |
811 "id": "SearchOrganizationsResponse", | 1012 "id": "SearchOrganizationsResponse", |
812 "properties": { | 1013 "properties": { |
813 "nextPageToken": { | 1014 "nextPageToken": { |
814 "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.", | 1015 "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.", |
815 "type": "string" | 1016 "type": "string" |
816 }, | 1017 }, |
817 "organizations": { | 1018 "organizations": { |
818 "description": "The list of Organizations that matched the s
earch query, possibly\npaginated.", | 1019 "description": "The list of Organizations that matched the s
earch query, possibly\npaginated.", |
819 "items": { | 1020 "items": { |
820 "$ref": "Organization" | 1021 "$ref": "Organization" |
821 }, | 1022 }, |
822 "type": "array" | 1023 "type": "array" |
823 } | 1024 } |
824 }, | 1025 }, |
825 "type": "object" | 1026 "type": "object" |
826 }, | 1027 }, |
827 "TestIamPermissionsRequest": { | |
828 "description": "Request message for `TestIamPermissions` method.", | |
829 "id": "TestIamPermissionsRequest", | |
830 "properties": { | |
831 "permissions": { | |
832 "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).", | |
833 "items": { | |
834 "type": "string" | |
835 }, | |
836 "type": "array" | |
837 } | |
838 }, | |
839 "type": "object" | |
840 }, | |
841 "FolderOperationError": { | 1028 "FolderOperationError": { |
842 "description": "A classification of the Folder Operation error.", | 1029 "description": "A classification of the Folder Operation error.", |
843 "id": "FolderOperationError", | 1030 "id": "FolderOperationError", |
844 "properties": { | 1031 "properties": { |
845 "errorMessageId": { | 1032 "errorMessageId": { |
846 "description": "The type of operation error experienced.", | 1033 "description": "The type of operation error experienced.", |
847 "enum": [ | 1034 "enum": [ |
848 "ERROR_TYPE_UNSPECIFIED", | 1035 "ERROR_TYPE_UNSPECIFIED", |
849 "FOLDER_HEIGHT_VIOLATION", | 1036 "FOLDER_HEIGHT_VIOLATION", |
850 "MAX_CHILD_FOLDERS_VIOLATION", | 1037 "MAX_CHILD_FOLDERS_VIOLATION", |
(...skipping 13 matching lines...) Expand all Loading... |
864 "The resource a folder was being added to has been delet
ed.", | 1051 "The resource a folder was being added to has been delet
ed.", |
865 "The attempted action would introduce cycle in resource
path.", | 1052 "The attempted action would introduce cycle in resource
path.", |
866 "The attempted action would move a folder that is alread
y being moved.", | 1053 "The attempted action would move a folder that is alread
y being moved.", |
867 "The folder the caller is trying to delete contains acti
ve resources." | 1054 "The folder the caller is trying to delete contains acti
ve resources." |
868 ], | 1055 ], |
869 "type": "string" | 1056 "type": "string" |
870 } | 1057 } |
871 }, | 1058 }, |
872 "type": "object" | 1059 "type": "object" |
873 }, | 1060 }, |
874 "FolderOperation": { | 1061 "Lien": { |
875 "description": "Metadata describing a long running folder operation"
, | 1062 "description": "A Lien represents an encumbrance on the actions that
can be performed on a\nresource.", |
876 "id": "FolderOperation", | 1063 "id": "Lien", |
877 "properties": { | 1064 "properties": { |
878 "displayName": { | 1065 "parent": { |
879 "description": "The display name of the folder.", | 1066 "description": "A reference to the resource this Lien is att
ached to. The server will\nvalidate the parent against those for which Liens are
supported.\n\nExample: `projects/1234`", |
880 "type": "string" | 1067 "type": "string" |
881 }, | 1068 }, |
882 "sourceParent": { | 1069 "createTime": { |
883 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", | 1070 "description": "The creation time of this Lien.", |
| 1071 "format": "google-datetime", |
884 "type": "string" | 1072 "type": "string" |
885 }, | 1073 }, |
886 "destinationParent": { | 1074 "name": { |
887 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | 1075 "description": "A system-generated unique identifier for thi
s Lien.\n\nExample: `liens/1234abcd`", |
888 "type": "string" | 1076 "type": "string" |
889 }, | 1077 }, |
890 "operationType": { | 1078 "reason": { |
891 "description": "The type of this operation.", | 1079 "description": "Concise user-visible strings indicating why
an action cannot be performed\non a resource. Maximum lenth of 200 characters.\n
\nExample: 'Holds production API key'", |
892 "enum": [ | |
893 "OPERATION_TYPE_UNSPECIFIED", | |
894 "CREATE", | |
895 "MOVE" | |
896 ], | |
897 "enumDescriptions": [ | |
898 "Operation type not specified.", | |
899 "A create folder operation.", | |
900 "A move folder operation." | |
901 ], | |
902 "type": "string" | |
903 } | |
904 }, | |
905 "type": "object" | |
906 }, | |
907 "Policy": { | |
908 "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).", | |
909 "id": "Policy", | |
910 "properties": { | |
911 "etag": { | |
912 "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.", | |
913 "format": "byte", | |
914 "type": "string" | 1080 "type": "string" |
915 }, | 1081 }, |
916 "version": { | 1082 "origin": { |
917 "description": "Version of the `Policy`. The default version
is 0.", | 1083 "description": "A stable, user-visible/meaningful string ide
ntifying the origin of the\nLien, intended to be inspected programmatically. Max
imum length of 200\ncharacters.\n\nExample: 'compute.googleapis.com'", |
918 "format": "int32", | 1084 "type": "string" |
919 "type": "integer" | |
920 }, | 1085 }, |
921 "bindings": { | 1086 "restrictions": { |
922 "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.", | 1087 "description": "The types of operations which should be bloc
ked as a result of this Lien.\nEach value should correspond to an IAM permission
. The server will\nvalidate the permissions against those for which Liens are su
pported.\n\nAn empty list is meaningless and will be rejected.\n\nExample: ['res
ourcemanager.projects.delete']", |
923 "items": { | 1088 "items": { |
924 "$ref": "Binding" | 1089 "type": "string" |
925 }, | 1090 }, |
926 "type": "array" | 1091 "type": "array" |
927 } | 1092 } |
928 }, | 1093 }, |
929 "type": "object" | 1094 "type": "object" |
930 }, | 1095 }, |
931 "ResourceId": { | |
932 "description": "A container to reference an id for any resource type
. A `resource` in Google\nCloud Platform is a generic term for something you (a
developer) may want to\ninteract with through one of our API's. Some examples ar
e an AppEngine app,\na Compute Engine instance, a Cloud SQL database, and so on.
", | |
933 "id": "ResourceId", | |
934 "properties": { | |
935 "type": { | |
936 "description": "Required field representing the resource typ
e this id is for.\nAt present, the only valid type is \"organization\".", | |
937 "type": "string" | |
938 }, | |
939 "id": { | |
940 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", | |
941 "type": "string" | |
942 } | |
943 }, | |
944 "type": "object" | |
945 }, | |
946 "Operation": { | |
947 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | |
948 "id": "Operation", | |
949 "properties": { | |
950 "error": { | |
951 "$ref": "Status", | |
952 "description": "The error result of the operation in case of
failure or cancellation." | |
953 }, | |
954 "metadata": { | |
955 "additionalProperties": { | |
956 "description": "Properties of the object. Contains field
@type with type URL.", | |
957 "type": "any" | |
958 }, | |
959 "description": "Service-specific metadata associated with th
e operation. It typically\ncontains progress information and common metadata su
ch as create time.\nSome services might not provide such metadata. Any method t
hat returns a\nlong-running operation should document the metadata type, if any.
", | |
960 "type": "object" | |
961 }, | |
962 "done": { | |
963 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf true, the operation is completed, and either `erro
r` or `response` is\navailable.", | |
964 "type": "boolean" | |
965 }, | |
966 "response": { | |
967 "additionalProperties": { | |
968 "description": "Properties of the object. Contains field
@type with type URL.", | |
969 "type": "any" | |
970 }, | |
971 "description": "The normal response of the operation in case
of success. If the original\nmethod returns no data on success, such as `Delet
e`, the response is\n`google.protobuf.Empty`. If the original method is standar
d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet
hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi
nal method name. For example, if the original method name\nis `TakeSnapshot()`,
the inferred response type is\n`TakeSnapshotResponse`.", | |
972 "type": "object" | |
973 }, | |
974 "name": { | |
975 "description": "The server-assigned name, which is only uniq
ue within the same service that\noriginally returns it. If you use the default H
TTP mapping, the\n`name` should have the format of `operations/some/unique/name`
.", | |
976 "type": "string" | |
977 } | |
978 }, | |
979 "type": "object" | |
980 }, | |
981 "Ancestor": { | 1096 "Ancestor": { |
982 "description": "Identifying information for a single ancestor of a p
roject.", | 1097 "description": "Identifying information for a single ancestor of a p
roject.", |
983 "id": "Ancestor", | 1098 "id": "Ancestor", |
984 "properties": { | 1099 "properties": { |
985 "resourceId": { | 1100 "resourceId": { |
986 "$ref": "ResourceId", | 1101 "$ref": "ResourceId", |
987 "description": "Resource id of the ancestor." | 1102 "description": "Resource id of the ancestor." |
988 } | 1103 } |
989 }, | 1104 }, |
990 "type": "object" | 1105 "type": "object" |
| 1106 }, |
| 1107 "SetIamPolicyRequest": { |
| 1108 "description": "Request message for `SetIamPolicy` method.", |
| 1109 "id": "SetIamPolicyRequest", |
| 1110 "properties": { |
| 1111 "policy": { |
| 1112 "$ref": "Policy", |
| 1113 "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." |
| 1114 } |
| 1115 }, |
| 1116 "type": "object" |
| 1117 }, |
| 1118 "Empty": { |
| 1119 "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 `{}`.", |
| 1120 "id": "Empty", |
| 1121 "properties": {}, |
| 1122 "type": "object" |
991 } | 1123 } |
992 }, | 1124 }, |
993 "servicePath": "", | 1125 "servicePath": "", |
994 "title": "Google Cloud Resource Manager API", | 1126 "title": "Google Cloud Resource Manager API", |
995 "version": "v1" | 1127 "version": "v1" |
996 } | 1128 } |
OLD | NEW |