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 10 matching lines...) Expand all Loading... |
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 "access_token": { |
| 32 "description": "OAuth access token.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "key": { |
| 37 "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.", |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "quotaUser": { |
| 42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "pp": { |
| 47 "default": "true", |
| 48 "description": "Pretty-print response.", |
| 49 "location": "query", |
| 50 "type": "boolean" |
| 51 }, |
| 52 "oauth_token": { |
| 53 "description": "OAuth 2.0 token for the current user.", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 57 "bearer_token": { |
| 58 "description": "OAuth bearer token.", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
31 "upload_protocol": { | 62 "upload_protocol": { |
32 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
33 "location": "query", | 64 "location": "query", |
34 "type": "string" | 65 "type": "string" |
35 }, | 66 }, |
36 "prettyPrint": { | 67 "prettyPrint": { |
37 "default": "true", | 68 "default": "true", |
38 "description": "Returns response with indentations and line breaks."
, | 69 "description": "Returns response with indentations and line breaks."
, |
39 "location": "query", | 70 "location": "query", |
40 "type": "boolean" | 71 "type": "boolean" |
41 }, | 72 }, |
| 73 "uploadType": { |
| 74 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 75 "location": "query", |
| 76 "type": "string" |
| 77 }, |
42 "fields": { | 78 "fields": { |
43 "description": "Selector specifying which fields to include in a par
tial response.", | 79 "description": "Selector specifying which fields to include in a par
tial response.", |
44 "location": "query", | 80 "location": "query", |
45 "type": "string" | 81 "type": "string" |
46 }, | 82 }, |
47 "uploadType": { | 83 "callback": { |
48 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 84 "description": "JSONP", |
49 "location": "query", | 85 "location": "query", |
50 "type": "string" | 86 "type": "string" |
51 }, | 87 }, |
52 "$.xgafv": { | 88 "$.xgafv": { |
53 "description": "V1 error format.", | 89 "description": "V1 error format.", |
54 "enum": [ | 90 "enum": [ |
55 "1", | 91 "1", |
56 "2" | 92 "2" |
57 ], | 93 ], |
58 "enumDescriptions": [ | 94 "enumDescriptions": [ |
59 "v1 error format", | 95 "v1 error format", |
60 "v2 error format" | 96 "v2 error format" |
61 ], | 97 ], |
62 "location": "query", | 98 "location": "query", |
63 "type": "string" | 99 "type": "string" |
64 }, | 100 }, |
65 "callback": { | |
66 "description": "JSONP", | |
67 "location": "query", | |
68 "type": "string" | |
69 }, | |
70 "alt": { | 101 "alt": { |
71 "default": "json", | 102 "default": "json", |
72 "description": "Data format for response.", | 103 "description": "Data format for response.", |
73 "enum": [ | 104 "enum": [ |
74 "json", | 105 "json", |
75 "media", | 106 "media", |
76 "proto" | 107 "proto" |
77 ], | 108 ], |
78 "enumDescriptions": [ | 109 "enumDescriptions": [ |
79 "Responses with Content-Type of application/json", | 110 "Responses with Content-Type of application/json", |
80 "Media download with context-dependent Content-Type", | 111 "Media download with context-dependent Content-Type", |
81 "Responses with Content-Type of application/x-protobuf" | 112 "Responses with Content-Type of application/x-protobuf" |
82 ], | 113 ], |
83 "location": "query", | 114 "location": "query", |
84 "type": "string" | 115 "type": "string" |
85 }, | |
86 "key": { | |
87 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
88 "location": "query", | |
89 "type": "string" | |
90 }, | |
91 "access_token": { | |
92 "description": "OAuth access token.", | |
93 "location": "query", | |
94 "type": "string" | |
95 }, | |
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.", | |
98 "location": "query", | |
99 "type": "string" | |
100 }, | |
101 "pp": { | |
102 "default": "true", | |
103 "description": "Pretty-print response.", | |
104 "location": "query", | |
105 "type": "boolean" | |
106 }, | |
107 "bearer_token": { | |
108 "description": "OAuth bearer token.", | |
109 "location": "query", | |
110 "type": "string" | |
111 }, | |
112 "oauth_token": { | |
113 "description": "OAuth 2.0 token for the current user.", | |
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 "getIamPolicy": { | |
123 "description": "Gets the access control policy for an Organi
zation resource. May be empty\nif no such policy or resource exists. The `resour
ce` field should be the\norganization's resource name, e.g. \"organizations/123\
".", | |
124 "httpMethod": "POST", | |
125 "id": "cloudresourcemanager.organizations.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 "pattern": "^organizations/[^/]+$", | |
134 "required": true, | |
135 "type": "string" | |
136 } | |
137 }, | |
138 "path": "v1beta1/{+resource}:getIamPolicy", | |
139 "request": { | |
140 "$ref": "GetIamPolicyRequest" | |
141 }, | |
142 "response": { | |
143 "$ref": "Policy" | |
144 }, | |
145 "scopes": [ | |
146 "https://www.googleapis.com/auth/cloud-platform", | |
147 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
148 ] | |
149 }, | |
150 "get": { | 122 "get": { |
151 "description": "Fetches an Organization resource identified
by the specified resource name.", | 123 "description": "Fetches an Organization resource identified
by the specified resource name.", |
152 "httpMethod": "GET", | 124 "httpMethod": "GET", |
153 "id": "cloudresourcemanager.organizations.get", | 125 "id": "cloudresourcemanager.organizations.get", |
154 "parameterOrder": [ | 126 "parameterOrder": [ |
155 "name" | 127 "name" |
156 ], | 128 ], |
157 "parameters": { | 129 "parameters": { |
158 "organizationId": { | |
159 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", | |
160 "location": "query", | |
161 "type": "string" | |
162 }, | |
163 "name": { | 130 "name": { |
164 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | 131 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
165 "location": "path", | 132 "location": "path", |
166 "pattern": "^organizations/[^/]+$", | 133 "pattern": "^organizations/[^/]+$", |
167 "required": true, | 134 "required": true, |
168 "type": "string" | 135 "type": "string" |
| 136 }, |
| 137 "organizationId": { |
| 138 "description": "The id of the Organization resource
to fetch.\nThis field is deprecated and will be removed in v1. Use name instead.
", |
| 139 "location": "query", |
| 140 "type": "string" |
169 } | 141 } |
170 }, | 142 }, |
171 "path": "v1beta1/{+name}", | 143 "path": "v1beta1/{+name}", |
172 "response": { | 144 "response": { |
173 "$ref": "Organization" | 145 "$ref": "Organization" |
174 }, | 146 }, |
175 "scopes": [ | 147 "scopes": [ |
176 "https://www.googleapis.com/auth/cloud-platform", | 148 "https://www.googleapis.com/auth/cloud-platform", |
177 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 149 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
178 ] | 150 ] |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 "path": "v1beta1/{+resource}:setIamPolicy", | 255 "path": "v1beta1/{+resource}:setIamPolicy", |
284 "request": { | 256 "request": { |
285 "$ref": "SetIamPolicyRequest" | 257 "$ref": "SetIamPolicyRequest" |
286 }, | 258 }, |
287 "response": { | 259 "response": { |
288 "$ref": "Policy" | 260 "$ref": "Policy" |
289 }, | 261 }, |
290 "scopes": [ | 262 "scopes": [ |
291 "https://www.googleapis.com/auth/cloud-platform" | 263 "https://www.googleapis.com/auth/cloud-platform" |
292 ] | 264 ] |
| 265 }, |
| 266 "getIamPolicy": { |
| 267 "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\
".", |
| 268 "httpMethod": "POST", |
| 269 "id": "cloudresourcemanager.organizations.getIamPolicy", |
| 270 "parameterOrder": [ |
| 271 "resource" |
| 272 ], |
| 273 "parameters": { |
| 274 "resource": { |
| 275 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
| 276 "location": "path", |
| 277 "pattern": "^organizations/[^/]+$", |
| 278 "required": true, |
| 279 "type": "string" |
| 280 } |
| 281 }, |
| 282 "path": "v1beta1/{+resource}:getIamPolicy", |
| 283 "request": { |
| 284 "$ref": "GetIamPolicyRequest" |
| 285 }, |
| 286 "response": { |
| 287 "$ref": "Policy" |
| 288 }, |
| 289 "scopes": [ |
| 290 "https://www.googleapis.com/auth/cloud-platform", |
| 291 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 292 ] |
293 } | 293 } |
294 } | 294 } |
295 }, | 295 }, |
296 "projects": { | 296 "projects": { |
297 "methods": { | 297 "methods": { |
298 "testIamPermissions": { | 298 "testIamPermissions": { |
299 "description": "Returns permissions that a caller has on the
specified Project.", | 299 "description": "Returns permissions that a caller has on the
specified Project.", |
300 "httpMethod": "POST", | 300 "httpMethod": "POST", |
301 "id": "cloudresourcemanager.projects.testIamPermissions", | 301 "id": "cloudresourcemanager.projects.testIamPermissions", |
302 "parameterOrder": [ | 302 "parameterOrder": [ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 "scopes": [ | 344 "scopes": [ |
345 "https://www.googleapis.com/auth/cloud-platform" | 345 "https://www.googleapis.com/auth/cloud-platform" |
346 ] | 346 ] |
347 }, | 347 }, |
348 "list": { | 348 "list": { |
349 "description": "Lists Projects that are visible to the user
and satisfy the\nspecified filter. This method returns Projects in an unspecifie
d order.\nNew Projects do not necessarily appear at the end of the list.", | 349 "description": "Lists Projects that are visible to the user
and satisfy the\nspecified filter. This method returns Projects in an unspecifie
d order.\nNew Projects do not necessarily appear at the end of the list.", |
350 "httpMethod": "GET", | 350 "httpMethod": "GET", |
351 "id": "cloudresourcemanager.projects.list", | 351 "id": "cloudresourcemanager.projects.list", |
352 "parameterOrder": [], | 352 "parameterOrder": [], |
353 "parameters": { | 353 "parameters": { |
| 354 "filter": { |
| 355 "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.", |
| 356 "location": "query", |
| 357 "type": "string" |
| 358 }, |
354 "pageToken": { | 359 "pageToken": { |
355 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", | 360 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
356 "location": "query", | 361 "location": "query", |
357 "type": "string" | 362 "type": "string" |
358 }, | 363 }, |
359 "pageSize": { | 364 "pageSize": { |
360 "description": "The maximum number of Projects to re
turn in the response.\nThe server can return fewer Projects than requested.\nIf
unspecified, server picks an appropriate default.\n\nOptional.", | 365 "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.", |
361 "format": "int32", | 366 "format": "int32", |
362 "location": "query", | 367 "location": "query", |
363 "type": "integer" | 368 "type": "integer" |
364 }, | |
365 "filter": { | |
366 "description": "An expression for filtering the resu
lts of the request. Filter rules are\ncase insensitive. The fields eligible for
filtering are:\n\n+ `name`\n+ `id`\n+ <code>labels.<em>key</em></code> where *k
ey* is the name of a label\n\nSome examples of using labels as filters:\n\n|Filt
er|Description|\n|------|-----------|\n|name:how*|The project's name starts with
\"how\".|\n|name:Howl|The project's name is `Howl` or `howl`.|\n|name:HOWL|Equi
valent to above.|\n|NAME:howl|Equivalent to above.|\n|labels.color:*|The project
has the label `color`.|\n|labels.color:red|The project's label `color` has the
value `red`.|\n|labels.color:red 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.", | |
367 "location": "query", | |
368 "type": "string" | |
369 } | 369 } |
370 }, | 370 }, |
371 "path": "v1beta1/projects", | 371 "path": "v1beta1/projects", |
372 "response": { | 372 "response": { |
373 "$ref": "ListProjectsResponse" | 373 "$ref": "ListProjectsResponse" |
374 }, | 374 }, |
375 "scopes": [ | 375 "scopes": [ |
376 "https://www.googleapis.com/auth/cloud-platform", | 376 "https://www.googleapis.com/auth/cloud-platform", |
377 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 377 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
378 ] | 378 ] |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 "response": { | 552 "response": { |
553 "$ref": "Project" | 553 "$ref": "Project" |
554 }, | 554 }, |
555 "scopes": [ | 555 "scopes": [ |
556 "https://www.googleapis.com/auth/cloud-platform" | 556 "https://www.googleapis.com/auth/cloud-platform" |
557 ] | 557 ] |
558 } | 558 } |
559 } | 559 } |
560 } | 560 } |
561 }, | 561 }, |
562 "revision": "20170705", | 562 "revision": "20170726", |
563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 563 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
564 "schemas": { | 564 "schemas": { |
| 565 "Empty": { |
| 566 "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 `{}`.", |
| 567 "id": "Empty", |
| 568 "properties": {}, |
| 569 "type": "object" |
| 570 }, |
| 571 "Organization": { |
| 572 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
| 573 "id": "Organization", |
| 574 "properties": { |
| 575 "owner": { |
| 576 "$ref": "OrganizationOwner", |
| 577 "description": "The owner of this Organization. The owner sh
ould be specified on\ncreation. Once set, it cannot be changed.\nThis field is r
equired." |
| 578 }, |
| 579 "name": { |
| 580 "description": "Output Only. The resource name of the organi
zation. This is the\norganization's relative path in the API. Its format is\n\"o
rganizations/[organization_id]\". For example, \"organizations/1234\".", |
| 581 "type": "string" |
| 582 }, |
| 583 "organizationId": { |
| 584 "description": "An immutable id for the Organization that is
assigned on creation. This\nshould be omitted when creating a new Organization.
\nThis field is read-only.\nThis field is deprecated and will be removed in v1.
Use name instead.", |
| 585 "type": "string" |
| 586 }, |
| 587 "lifecycleState": { |
| 588 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
| 589 "enum": [ |
| 590 "LIFECYCLE_STATE_UNSPECIFIED", |
| 591 "ACTIVE", |
| 592 "DELETE_REQUESTED" |
| 593 ], |
| 594 "enumDescriptions": [ |
| 595 "Unspecified state. This is only useful for distinguish
ing unset values.", |
| 596 "The normal and active state.", |
| 597 "The organization has been marked for deletion by the us
er." |
| 598 ], |
| 599 "type": "string" |
| 600 }, |
| 601 "displayName": { |
| 602 "description": "A friendly string to be used to refer to the
Organization in the UI.\nAssigned by the server, set to the primary domain of t
he G Suite\ncustomer that owns the organization.\n@OutputOnly", |
| 603 "type": "string" |
| 604 }, |
| 605 "creationTime": { |
| 606 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
| 607 "format": "google-datetime", |
| 608 "type": "string" |
| 609 } |
| 610 }, |
| 611 "type": "object" |
| 612 }, |
| 613 "UndeleteProjectRequest": { |
| 614 "description": "The request sent to the UndeleteProject\nmethod.", |
| 615 "id": "UndeleteProjectRequest", |
| 616 "properties": {}, |
| 617 "type": "object" |
| 618 }, |
565 "ProjectCreationStatus": { | 619 "ProjectCreationStatus": { |
566 "description": "A status object which is used as the `metadata` fiel
d for the Operation\nreturned by CreateProject. It provides insight for when sig
nificant phases of\nProject creation have completed.", | 620 "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.", |
567 "id": "ProjectCreationStatus", | 621 "id": "ProjectCreationStatus", |
568 "properties": { | 622 "properties": { |
569 "ready": { | 623 "ready": { |
570 "description": "True if the project creation process is comp
lete.", | 624 "description": "True if the project creation process is comp
lete.", |
571 "type": "boolean" | 625 "type": "boolean" |
572 }, | 626 }, |
573 "gettable": { | 627 "gettable": { |
574 "description": "True if the project can be retrieved using G
etProject. No other operations\non the project are guaranteed to work until the
project creation is\ncomplete.", | 628 "description": "True if the project can be retrieved using G
etProject. No other operations\non the project are guaranteed to work until the
project creation is\ncomplete.", |
575 "type": "boolean" | 629 "type": "boolean" |
576 }, | 630 }, |
577 "createTime": { | 631 "createTime": { |
578 "description": "Creation time of the project creation workfl
ow.", | 632 "description": "Creation time of the project creation workfl
ow.", |
579 "format": "google-datetime", | 633 "format": "google-datetime", |
580 "type": "string" | 634 "type": "string" |
581 } | 635 } |
582 }, | 636 }, |
583 "type": "object" | 637 "type": "object" |
584 }, | 638 }, |
585 "GetIamPolicyRequest": { | |
586 "description": "Request message for `GetIamPolicy` method.", | |
587 "id": "GetIamPolicyRequest", | |
588 "properties": {}, | |
589 "type": "object" | |
590 }, | |
591 "TestIamPermissionsResponse": { | 639 "TestIamPermissionsResponse": { |
592 "description": "Response message for `TestIamPermissions` method.", | 640 "description": "Response message for `TestIamPermissions` method.", |
593 "id": "TestIamPermissionsResponse", | 641 "id": "TestIamPermissionsResponse", |
594 "properties": { | 642 "properties": { |
595 "permissions": { | 643 "permissions": { |
596 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 644 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
597 "items": { | 645 "items": { |
598 "type": "string" | 646 "type": "string" |
599 }, | 647 }, |
600 "type": "array" | 648 "type": "array" |
601 } | 649 } |
602 }, | 650 }, |
603 "type": "object" | 651 "type": "object" |
604 }, | 652 }, |
| 653 "GetIamPolicyRequest": { |
| 654 "description": "Request message for `GetIamPolicy` method.", |
| 655 "id": "GetIamPolicyRequest", |
| 656 "properties": {}, |
| 657 "type": "object" |
| 658 }, |
605 "OrganizationOwner": { | 659 "OrganizationOwner": { |
606 "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.", | 660 "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.", |
607 "id": "OrganizationOwner", | 661 "id": "OrganizationOwner", |
608 "properties": { | 662 "properties": { |
609 "directoryCustomerId": { | 663 "directoryCustomerId": { |
610 "description": "The Google for Work customer id used in the
Directory API.", | 664 "description": "The Google for Work customer id used in the
Directory API.", |
611 "type": "string" | 665 "type": "string" |
612 } | 666 } |
613 }, | 667 }, |
614 "type": "object" | 668 "type": "object" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 ], | 708 ], |
655 "type": "string" | 709 "type": "string" |
656 } | 710 } |
657 }, | 711 }, |
658 "type": "object" | 712 "type": "object" |
659 }, | 713 }, |
660 "ListProjectsResponse": { | 714 "ListProjectsResponse": { |
661 "description": "A page of the response received from the\nListProjec
ts\nmethod.\n\nA paginated response where more pages are available has\n`next_pa
ge_token` set. This token can be used in a subsequent request to\nretrieve the n
ext request page.", | 715 "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.", |
662 "id": "ListProjectsResponse", | 716 "id": "ListProjectsResponse", |
663 "properties": { | 717 "properties": { |
664 "nextPageToken": { | |
665 "description": "Pagination token.\n\nIf the result set is to
o large to fit in a single response, this token\nis returned. It encodes the pos
ition of the current result cursor.\nFeeding this value into a new list request
with the `page_token` parameter\ngives the next page of the results.\n\nWhen `ne
xt_page_token` is not filled in, there is no next page and\nthe list returned is
the last page in the result set.\n\nPagination tokens have a limited lifetime."
, | |
666 "type": "string" | |
667 }, | |
668 "projects": { | 718 "projects": { |
669 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", | 719 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
670 "items": { | 720 "items": { |
671 "$ref": "Project" | 721 "$ref": "Project" |
672 }, | 722 }, |
673 "type": "array" | 723 "type": "array" |
| 724 }, |
| 725 "nextPageToken": { |
| 726 "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."
, |
| 727 "type": "string" |
674 } | 728 } |
675 }, | 729 }, |
676 "type": "object" | 730 "type": "object" |
677 }, | 731 }, |
678 "GetAncestryRequest": { | 732 "GetAncestryRequest": { |
679 "description": "The request sent to the\nGetAncestry\nmethod.", | 733 "description": "The request sent to the\nGetAncestry\nmethod.", |
680 "id": "GetAncestryRequest", | 734 "id": "GetAncestryRequest", |
681 "properties": {}, | 735 "properties": {}, |
682 "type": "object" | 736 "type": "object" |
683 }, | 737 }, |
684 "Project": { | 738 "Project": { |
685 "description": "A Project is a high-level Google Cloud Platform enti
ty. It is a\ncontainer for ACLs, APIs, App Engine Apps, VMs, and other\nGoogle
Cloud Platform resources.", | 739 "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.", |
686 "id": "Project", | 740 "id": "Project", |
687 "properties": { | 741 "properties": { |
688 "lifecycleState": { | |
689 "description": "The Project lifecycle state.\n\nRead-only.", | |
690 "enum": [ | |
691 "LIFECYCLE_STATE_UNSPECIFIED", | |
692 "ACTIVE", | |
693 "DELETE_REQUESTED", | |
694 "DELETE_IN_PROGRESS" | |
695 ], | |
696 "enumDescriptions": [ | |
697 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", | |
698 "The normal and active state.", | |
699 "The project has been marked for deletion by the user\n(
by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can
generally be reversed by invoking UndeleteProject.", | |
700 "This lifecycle state is no longer used and is not retur
ned by the API." | |
701 ], | |
702 "type": "string" | |
703 }, | |
704 "projectNumber": { | 742 "projectNumber": { |
705 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", | 743 "description": "The number uniquely identifying the project.
\n\nExample: <code>415104041262</code>\nRead-only.", |
706 "format": "int64", | 744 "format": "int64", |
707 "type": "string" | 745 "type": "string" |
708 }, | 746 }, |
709 "parent": { | 747 "parent": { |
710 "$ref": "ResourceId", | 748 "$ref": "ResourceId", |
711 "description": "An optional reference to a parent Resource.\
n\nThe only supported parent type is \"organization\". Once set, the parent\ncan
not be modified. The `parent` can be set on creation or using the\n`UpdateProjec
t` method; the end user must have the\n`resourcemanager.projects.create` permiss
ion on the parent.\n\nRead-write." | 749 "description": "An optional reference to a parent Resource.\
n\nThe only supported parent type is \"organization\". Once set, the parent\ncan
not be modified. The `parent` can be set on creation or using the\n`UpdateProjec
t` method; the end user must have the\n`resourcemanager.projects.create` permiss
ion on the parent.\n\nRead-write." |
712 }, | 750 }, |
| 751 "createTime": { |
| 752 "description": "Creation time.\n\nRead-only.", |
| 753 "format": "google-datetime", |
| 754 "type": "string" |
| 755 }, |
713 "labels": { | 756 "labels": { |
714 "additionalProperties": { | 757 "additionalProperties": { |
715 "type": "string" | 758 "type": "string" |
716 }, | 759 }, |
717 "description": "The labels associated with this Project.\n\n
Label keys must be between 1 and 63 characters long and must conform\nto the fol
lowing regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel valu
es must be between 0 and 63 characters long and must conform\nto the regular exp
ression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels ca
n be associated with a given resource.\n\nClients should store labels in a repre
sentation such as JSON that does not\ndepend on specific characters being disall
owed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.", | 760 "description": "The labels associated with this Project.\n\n
Label keys must be between 1 and 63 characters long and must conform\nto the fol
lowing regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?.\n\nLabel valu
es must be between 0 and 63 characters long and must conform\nto the regular exp
ression (\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?.\n\nNo more than 256 labels ca
n be associated with a given resource.\n\nClients should store labels in a repre
sentation such as JSON that does not\ndepend on specific characters being disall
owed.\n\nExample: <code>\"environment\" : \"dev\"</code>\nRead-write.", |
718 "type": "object" | 761 "type": "object" |
719 }, | 762 }, |
720 "createTime": { | |
721 "description": "Creation time.\n\nRead-only.", | |
722 "format": "google-datetime", | |
723 "type": "string" | |
724 }, | |
725 "name": { | 763 "name": { |
726 "description": "The user-assigned display name of the Projec
t.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and upperc
ase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamatio
n point.\n\nExample: <code>My Project</code>\nRead-write.", | 764 "description": "The user-assigned display name of the Projec
t.\nIt must be 4 to 30 characters.\nAllowed characters are: lowercase and upperc
ase letters, numbers,\nhyphen, single-quote, double-quote, space, and exclamatio
n point.\n\nExample: <code>My Project</code>\nRead-write.", |
727 "type": "string" | 765 "type": "string" |
728 }, | 766 }, |
729 "projectId": { | 767 "projectId": { |
730 "description": "The unique, user-assigned ID of the Project.
\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with
a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</co
de>\nRead-only after creation.", | 768 "description": "The unique, user-assigned ID of the Project.
\nIt must be 6 to 30 lowercase letters, digits, or hyphens.\nIt must start with
a letter.\nTrailing hyphens are prohibited.\n\nExample: <code>tokyo-rain-123</co
de>\nRead-only after creation.", |
731 "type": "string" | 769 "type": "string" |
| 770 }, |
| 771 "lifecycleState": { |
| 772 "description": "The Project lifecycle state.\n\nRead-only.", |
| 773 "enum": [ |
| 774 "LIFECYCLE_STATE_UNSPECIFIED", |
| 775 "ACTIVE", |
| 776 "DELETE_REQUESTED", |
| 777 "DELETE_IN_PROGRESS" |
| 778 ], |
| 779 "enumDescriptions": [ |
| 780 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", |
| 781 "The normal and active state.", |
| 782 "The project has been marked for deletion by the user\n(
by invoking DeleteProject)\nor by the system (Google Cloud Platform).\nThis can
generally be reversed by invoking UndeleteProject.", |
| 783 "This lifecycle state is no longer used and is not retur
ned by the API." |
| 784 ], |
| 785 "type": "string" |
732 } | 786 } |
733 }, | 787 }, |
734 "type": "object" | 788 "type": "object" |
735 }, | 789 }, |
736 "TestIamPermissionsRequest": { | 790 "TestIamPermissionsRequest": { |
737 "description": "Request message for `TestIamPermissions` method.", | 791 "description": "Request message for `TestIamPermissions` method.", |
738 "id": "TestIamPermissionsRequest", | 792 "id": "TestIamPermissionsRequest", |
739 "properties": { | 793 "properties": { |
740 "permissions": { | 794 "permissions": { |
741 "description": "The set of permissions to check for the `res
ource`. Permissions with\nwildcards (such as '*' or 'storage.*') are not allowed
. For more\ninformation see\n[IAM Overview](https://cloud.google.com/iam/docs/ov
erview#permissions).", | 795 "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).", |
742 "items": { | 796 "items": { |
743 "type": "string" | 797 "type": "string" |
744 }, | 798 }, |
745 "type": "array" | 799 "type": "array" |
746 } | 800 } |
747 }, | 801 }, |
748 "type": "object" | 802 "type": "object" |
749 }, | 803 }, |
750 "FolderOperationError": { | |
751 "description": "A classification of the Folder Operation error.", | |
752 "id": "FolderOperationError", | |
753 "properties": { | |
754 "errorMessageId": { | |
755 "description": "The type of operation error experienced.", | |
756 "enum": [ | |
757 "ERROR_TYPE_UNSPECIFIED", | |
758 "ACTIVE_FOLDER_HEIGHT_VIOLATION", | |
759 "MAX_CHILD_FOLDERS_VIOLATION", | |
760 "FOLDER_NAME_UNIQUENESS_VIOLATION", | |
761 "RESOURCE_DELETED_VIOLATION", | |
762 "PARENT_DELETED_VIOLATION", | |
763 "CYCLE_INTRODUCED_VIOLATION", | |
764 "FOLDER_BEING_MOVED_VIOLATION", | |
765 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", | |
766 "DELETED_FOLDER_HEIGHT_VIOLATION" | |
767 ], | |
768 "enumDescriptions": [ | |
769 "The error type was unrecognized or unspecified.", | |
770 "The attempted action would violate the max folder depth
constraint.", | |
771 "The attempted action would violate the max child folder
s constraint.", | |
772 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", | |
773 "The resource being moved has been deleted.", | |
774 "The resource a folder was being added to has been delet
ed.", | |
775 "The attempted action would introduce cycle in resource
path.", | |
776 "The attempted action would move a folder that is alread
y being moved.", | |
777 "The folder the caller is trying to delete contains acti
ve resources.", | |
778 "The attempted action would violate the max deleted fold
er depth\nconstraint." | |
779 ], | |
780 "type": "string" | |
781 } | |
782 }, | |
783 "type": "object" | |
784 }, | |
785 "FolderOperation": { | 804 "FolderOperation": { |
786 "description": "Metadata describing a long running folder operation"
, | 805 "description": "Metadata describing a long running folder operation"
, |
787 "id": "FolderOperation", | 806 "id": "FolderOperation", |
788 "properties": { | 807 "properties": { |
| 808 "sourceParent": { |
| 809 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
| 810 "type": "string" |
| 811 }, |
| 812 "displayName": { |
| 813 "description": "The display name of the folder.", |
| 814 "type": "string" |
| 815 }, |
| 816 "destinationParent": { |
| 817 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
| 818 "type": "string" |
| 819 }, |
789 "operationType": { | 820 "operationType": { |
790 "description": "The type of this operation.", | 821 "description": "The type of this operation.", |
791 "enum": [ | 822 "enum": [ |
792 "OPERATION_TYPE_UNSPECIFIED", | 823 "OPERATION_TYPE_UNSPECIFIED", |
793 "CREATE", | 824 "CREATE", |
794 "MOVE" | 825 "MOVE" |
795 ], | 826 ], |
796 "enumDescriptions": [ | 827 "enumDescriptions": [ |
797 "Operation type not specified.", | 828 "Operation type not specified.", |
798 "A create folder operation.", | 829 "A create folder operation.", |
799 "A move folder operation." | 830 "A move folder operation." |
800 ], | 831 ], |
801 "type": "string" | 832 "type": "string" |
802 }, | |
803 "sourceParent": { | |
804 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", | |
805 "type": "string" | |
806 }, | |
807 "displayName": { | |
808 "description": "The display name of the folder.", | |
809 "type": "string" | |
810 }, | |
811 "destinationParent": { | |
812 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | |
813 "type": "string" | |
814 } | 833 } |
815 }, | 834 }, |
816 "type": "object" | 835 "type": "object" |
817 }, | 836 }, |
818 "Policy": { | 837 "Policy": { |
819 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to\nspecify access control policies for Cloud Platform resources.
\n\n\nA `Policy` consists of a list of `bindings`. A `Binding` binds a list of\n
`members` to a `role`, where the members can be user accounts, Google groups,\nG
oogle domains, and service accounts. A `role` is a named list of permissions\nde
fined by IAM.\n\n**Example**\n\n {\n \"bindings\": [\n {\n
\"role\": \"roles/owner\",\n \"members\": [\n \"user:mike
@example.com\",\n \"group:admins@example.com\",\n \"domain
:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccoun
t.com\",\n ]\n },\n {\n \"role\": \"roles/viewer
\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n
}\n\nFor a description of IAM and its features, see the\n[IAM developer's guide
](https://cloud.google.com/iam).", | 838 "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).", |
820 "id": "Policy", | 839 "id": "Policy", |
821 "properties": { | 840 "properties": { |
| 841 "bindings": { |
| 842 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", |
| 843 "items": { |
| 844 "$ref": "Binding" |
| 845 }, |
| 846 "type": "array" |
| 847 }, |
822 "etag": { | 848 "etag": { |
823 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help\nprevent simultaneous updates of a policy from overwritin
g each other.\nIt is strongly suggested that systems make use of the `etag` in t
he\nread-modify-write cycle to perform policy updates in order to avoid race\nco
nditions: An `etag` is returned in the response to `getIamPolicy`, and\nsystems
are expected to put that etag in the request to `setIamPolicy` to\nensure that t
heir change will be applied to the same version of the policy.\n\nIf no `etag` i
s provided in the call to `setIamPolicy`, then the existing\npolicy is overwritt
en blindly.", | 849 "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.", |
824 "format": "byte", | 850 "format": "byte", |
825 "type": "string" | 851 "type": "string" |
826 }, | 852 }, |
827 "version": { | 853 "version": { |
828 "description": "Version of the `Policy`. The default version
is 0.", | 854 "description": "Version of the `Policy`. The default version
is 0.", |
829 "format": "int32", | 855 "format": "int32", |
830 "type": "integer" | 856 "type": "integer" |
831 }, | 857 }, |
832 "auditConfigs": { | 858 "auditConfigs": { |
833 "description": "Specifies cloud audit logging configuration
for this policy.", | 859 "description": "Specifies cloud audit logging configuration
for this policy.", |
834 "items": { | 860 "items": { |
835 "$ref": "AuditConfig" | 861 "$ref": "AuditConfig" |
836 }, | 862 }, |
837 "type": "array" | 863 "type": "array" |
838 }, | |
839 "bindings": { | |
840 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", | |
841 "items": { | |
842 "$ref": "Binding" | |
843 }, | |
844 "type": "array" | |
845 } | 864 } |
846 }, | 865 }, |
847 "type": "object" | 866 "type": "object" |
| 867 }, |
| 868 "FolderOperationError": { |
| 869 "description": "A classification of the Folder Operation error.", |
| 870 "id": "FolderOperationError", |
| 871 "properties": { |
| 872 "errorMessageId": { |
| 873 "description": "The type of operation error experienced.", |
| 874 "enum": [ |
| 875 "ERROR_TYPE_UNSPECIFIED", |
| 876 "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
| 877 "MAX_CHILD_FOLDERS_VIOLATION", |
| 878 "FOLDER_NAME_UNIQUENESS_VIOLATION", |
| 879 "RESOURCE_DELETED_VIOLATION", |
| 880 "PARENT_DELETED_VIOLATION", |
| 881 "CYCLE_INTRODUCED_VIOLATION", |
| 882 "FOLDER_BEING_MOVED_VIOLATION", |
| 883 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", |
| 884 "DELETED_FOLDER_HEIGHT_VIOLATION" |
| 885 ], |
| 886 "enumDescriptions": [ |
| 887 "The error type was unrecognized or unspecified.", |
| 888 "The attempted action would violate the max folder depth
constraint.", |
| 889 "The attempted action would violate the max child folder
s constraint.", |
| 890 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", |
| 891 "The resource being moved has been deleted.", |
| 892 "The resource a folder was being added to has been delet
ed.", |
| 893 "The attempted action would introduce cycle in resource
path.", |
| 894 "The attempted action would move a folder that is alread
y being moved.", |
| 895 "The folder the caller is trying to delete contains acti
ve resources.", |
| 896 "The attempted action would violate the max deleted fold
er depth\nconstraint." |
| 897 ], |
| 898 "type": "string" |
| 899 } |
| 900 }, |
| 901 "type": "object" |
848 }, | 902 }, |
849 "ResourceId": { | 903 "ResourceId": { |
850 "description": "A container to reference an id for any resource type
. A `resource` in Google\nCloud Platform is a generic term for something you (a
developer) may want to\ninteract with through one of our API's. Some examples ar
e an App Engine app,\na Compute Engine instance, a Cloud SQL database, and so on
.", | 904 "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
.", |
851 "id": "ResourceId", | 905 "id": "ResourceId", |
852 "properties": { | 906 "properties": { |
| 907 "type": { |
| 908 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", |
| 909 "type": "string" |
| 910 }, |
853 "id": { | 911 "id": { |
854 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", | 912 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
855 "type": "string" | 913 "type": "string" |
856 }, | |
857 "type": { | |
858 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are \"project\" and \"organizatio
n\".", | |
859 "type": "string" | |
860 } | 914 } |
861 }, | 915 }, |
862 "type": "object" | 916 "type": "object" |
863 }, | 917 }, |
864 "AuditConfig": { | 918 "AuditConfig": { |
865 "description": "Specifies the audit configuration for a service.\nTh
e configuration determines which permission types are logged, and what\nidentiti
es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud
itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific
service,\nthe union of the two AuditConfigs is used for that service: the log_t
ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac
h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\n \"audit_log_configs\": [\n {\n \"log_type\
": \"DATA_READ\",\n \"exempted_members\": [\n \"user
:foo@gmail.com\"\n ]\n },\n {\n
\"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", | 919 "description": "Specifies the audit configuration for a service.\nTh
e configuration determines which permission types are logged, and what\nidentiti
es, if any, are exempted from logging.\nAn AuditConfig must have one or more Aud
itLogConfigs.\n\nIf there are AuditConfigs for both `allServices` and a specific
service,\nthe union of the two AuditConfigs is used for that service: the log_t
ypes\nspecified in each AuditConfig are enabled, and the exempted_members in eac
h\nAuditConfig are exempted.\n\nExample Policy with multiple AuditConfigs:\n\n
{\n \"audit_configs\": [\n {\n \"service\": \"allServices
\"\n \"audit_log_configs\": [\n {\n \"log_type\
": \"DATA_READ\",\n \"exempted_members\": [\n \"user
:foo@gmail.com\"\n ]\n },\n {\n
\"log_type\": \"DATA_WRITE\",\n },\n {\n \"lo
g_type\": \"ADMIN_READ\",\n }\n ]\n },\n {\n
\"service\": \"fooservice.googleapis.com\"\n \"audit_log_config
s\": [\n {\n \"log_type\": \"DATA_READ\",\n }
,\n {\n \"log_type\": \"DATA_WRITE\",\n \"e
xempted_members\": [\n \"user:bar@gmail.com\"\n ]\n
}\n ]\n }\n ]\n }\n\nFor fooservice, this pol
icy enables DATA_READ, DATA_WRITE and ADMIN_READ\nlogging. It also exempts foo@g
mail.com from DATA_READ logging, and\nbar@gmail.com from DATA_WRITE logging.", |
866 "id": "AuditConfig", | 920 "id": "AuditConfig", |
867 "properties": { | 921 "properties": { |
868 "service": { | 922 "service": { |
869 "description": "Specifies a service that will be enabled for
audit logging.\nFor example, `storage.googleapis.com`, `cloudsql.googleapis.com
`.\n`allServices` is a special value that covers all services.", | 923 "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... |
883 "description": "Identifying information for a single ancestor of a p
roject.", | 937 "description": "Identifying information for a single ancestor of a p
roject.", |
884 "id": "Ancestor", | 938 "id": "Ancestor", |
885 "properties": { | 939 "properties": { |
886 "resourceId": { | 940 "resourceId": { |
887 "$ref": "ResourceId", | 941 "$ref": "ResourceId", |
888 "description": "Resource id of the ancestor." | 942 "description": "Resource id of the ancestor." |
889 } | 943 } |
890 }, | 944 }, |
891 "type": "object" | 945 "type": "object" |
892 }, | 946 }, |
893 "SetIamPolicyRequest": { | |
894 "description": "Request message for `SetIamPolicy` method.", | |
895 "id": "SetIamPolicyRequest", | |
896 "properties": { | |
897 "policy": { | |
898 "$ref": "Policy", | |
899 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of\nthe policy is limited to a few 10s of KB. An emp
ty policy is a\nvalid policy but certain Cloud Platform services (such as Projec
ts)\nmight reject them." | |
900 }, | |
901 "updateMask": { | |
902 "description": "OPTIONAL: A FieldMask specifying which field
s of the policy to modify. Only\nthe fields in the mask will be modified. If no
mask is provided, the\nfollowing default mask is used:\npaths: \"bindings, etag\
"\nThis field is only used by Cloud IAM.", | |
903 "format": "google-fieldmask", | |
904 "type": "string" | |
905 } | |
906 }, | |
907 "type": "object" | |
908 }, | |
909 "ListOrganizationsResponse": { | 947 "ListOrganizationsResponse": { |
910 "description": "The response returned from the `ListOrganizations` m
ethod.", | 948 "description": "The response returned from the `ListOrganizations` m
ethod.", |
911 "id": "ListOrganizationsResponse", | 949 "id": "ListOrganizationsResponse", |
912 "properties": { | 950 "properties": { |
913 "nextPageToken": { | 951 "nextPageToken": { |
914 "description": "A pagination token to be used to retrieve th
e next page of results. If the\nresult is too large to fit within the page size
specified in the request,\nthis field will be set with a token that can be used
to fetch the next page\nof results. If this field is empty, it indicates that th
is response\ncontains the last page of results.", | 952 "description": "A pagination token to be used to retrieve th
e next page of results. If the\nresult is too large to fit within the page size
specified in the request,\nthis field will be set with a token that can be used
to fetch the next page\nof results. If this field is empty, it indicates that th
is response\ncontains the last page of results.", |
915 "type": "string" | 953 "type": "string" |
916 }, | 954 }, |
917 "organizations": { | 955 "organizations": { |
918 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", | 956 "description": "The list of Organizations that matched the l
ist query, possibly paginated.", |
919 "items": { | 957 "items": { |
920 "$ref": "Organization" | 958 "$ref": "Organization" |
921 }, | 959 }, |
922 "type": "array" | 960 "type": "array" |
923 } | 961 } |
924 }, | 962 }, |
925 "type": "object" | 963 "type": "object" |
926 }, | 964 }, |
| 965 "SetIamPolicyRequest": { |
| 966 "description": "Request message for `SetIamPolicy` method.", |
| 967 "id": "SetIamPolicyRequest", |
| 968 "properties": { |
| 969 "policy": { |
| 970 "$ref": "Policy", |
| 971 "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." |
| 972 }, |
| 973 "updateMask": { |
| 974 "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.", |
| 975 "format": "google-fieldmask", |
| 976 "type": "string" |
| 977 } |
| 978 }, |
| 979 "type": "object" |
| 980 }, |
927 "Binding": { | 981 "Binding": { |
928 "description": "Associates `members` with a `role`.", | 982 "description": "Associates `members` with a `role`.", |
929 "id": "Binding", | 983 "id": "Binding", |
930 "properties": { | 984 "properties": { |
931 "members": { | 985 "members": { |
932 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", | 986 "description": "Specifies the identities requesting access f
or a Cloud Platform resource.\n`members` can have the following values:\n\n* `al
lUsers`: A special identifier that represents anyone who is\n on the internet;
with or without a Google account.\n\n* `allAuthenticatedUsers`: A special ident
ifier that represents anyone\n who is authenticated with a Google account or a
service account.\n\n* `user:{emailid}`: An email address that represents a spec
ific Google\n account. For example, `alice@gmail.com` or `joe@example.com`.\n\
n\n* `serviceAccount:{emailid}`: An email address that represents a service\n
account. For example, `my-other-app@appspot.gserviceaccount.com`.\n\n* `group:{e
mailid}`: An email address that represents a Google group.\n For example, `adm
ins@example.com`.\n\n\n* `domain:{domain}`: A Google Apps domain name that repre
sents all the\n users of that domain. For example, `google.com` or `example.co
m`.\n\n", |
933 "items": { | 987 "items": { |
934 "type": "string" | 988 "type": "string" |
935 }, | 989 }, |
936 "type": "array" | 990 "type": "array" |
937 }, | 991 }, |
938 "role": { | 992 "role": { |
939 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 993 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
940 "type": "string" | 994 "type": "string" |
941 } | 995 } |
942 }, | 996 }, |
943 "type": "object" | 997 "type": "object" |
944 }, | |
945 "Empty": { | |
946 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
947 "id": "Empty", | |
948 "properties": {}, | |
949 "type": "object" | |
950 }, | |
951 "UndeleteProjectRequest": { | |
952 "description": "The request sent to the UndeleteProject\nmethod.", | |
953 "id": "UndeleteProjectRequest", | |
954 "properties": {}, | |
955 "type": "object" | |
956 }, | |
957 "Organization": { | |
958 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", | |
959 "id": "Organization", | |
960 "properties": { | |
961 "displayName": { | |
962 "description": "A friendly string to be used to refer to the
Organization in the UI.\nAssigned by the server, set to the primary domain of t
he G Suite\ncustomer that owns the organization.\n@OutputOnly", | |
963 "type": "string" | |
964 }, | |
965 "creationTime": { | |
966 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", | |
967 "format": "google-datetime", | |
968 "type": "string" | |
969 }, | |
970 "owner": { | |
971 "$ref": "OrganizationOwner", | |
972 "description": "The owner of this Organization. The owner sh
ould be specified on\ncreation. Once set, it cannot be changed.\nThis field is r
equired." | |
973 }, | |
974 "name": { | |
975 "description": "Output Only. The resource name of the organi
zation. This is the\norganization's relative path in the API. Its format is\n\"o
rganizations/[organization_id]\". For example, \"organizations/1234\".", | |
976 "type": "string" | |
977 }, | |
978 "organizationId": { | |
979 "description": "An immutable id for the Organization that is
assigned on creation. This\nshould be omitted when creating a new Organization.
\nThis field is read-only.\nThis field is deprecated and will be removed in v1.
Use name instead.", | |
980 "type": "string" | |
981 }, | |
982 "lifecycleState": { | |
983 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", | |
984 "enum": [ | |
985 "LIFECYCLE_STATE_UNSPECIFIED", | |
986 "ACTIVE", | |
987 "DELETE_REQUESTED" | |
988 ], | |
989 "enumDescriptions": [ | |
990 "Unspecified state. This is only useful for distinguish
ing unset values.", | |
991 "The normal and active state.", | |
992 "The organization has been marked for deletion by the us
er." | |
993 ], | |
994 "type": "string" | |
995 } | |
996 }, | |
997 "type": "object" | |
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 |