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...) 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:v1", | 25 "id": "cloudresourcemanager:v1", |
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": { | 31 "alt": { |
32 "description": "OAuth access token.", | 32 "default": "json", |
| 33 "description": "Data format for response.", |
| 34 "enum": [ |
| 35 "json", |
| 36 "media", |
| 37 "proto" |
| 38 ], |
| 39 "enumDescriptions": [ |
| 40 "Responses with Content-Type of application/json", |
| 41 "Media download with context-dependent Content-Type", |
| 42 "Responses with Content-Type of application/x-protobuf" |
| 43 ], |
33 "location": "query", | 44 "location": "query", |
34 "type": "string" | 45 "type": "string" |
35 }, | 46 }, |
36 "key": { | 47 "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.", | 48 "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", | 49 "location": "query", |
39 "type": "string" | 50 "type": "string" |
40 }, | 51 }, |
| 52 "access_token": { |
| 53 "description": "OAuth access token.", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
41 "quotaUser": { | 57 "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.", | 58 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
43 "location": "query", | 59 "location": "query", |
44 "type": "string" | 60 "type": "string" |
45 }, | 61 }, |
46 "pp": { | 62 "pp": { |
47 "default": "true", | 63 "default": "true", |
48 "description": "Pretty-print response.", | 64 "description": "Pretty-print response.", |
49 "location": "query", | 65 "location": "query", |
50 "type": "boolean" | 66 "type": "boolean" |
(...skipping 12 matching lines...) Loading... |
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 79 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
64 "location": "query", | 80 "location": "query", |
65 "type": "string" | 81 "type": "string" |
66 }, | 82 }, |
67 "prettyPrint": { | 83 "prettyPrint": { |
68 "default": "true", | 84 "default": "true", |
69 "description": "Returns response with indentations and line breaks."
, | 85 "description": "Returns response with indentations and line breaks."
, |
70 "location": "query", | 86 "location": "query", |
71 "type": "boolean" | 87 "type": "boolean" |
72 }, | 88 }, |
| 89 "fields": { |
| 90 "description": "Selector specifying which fields to include in a par
tial response.", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
73 "uploadType": { | 94 "uploadType": { |
74 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 95 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
75 "location": "query", | 96 "location": "query", |
76 "type": "string" | 97 "type": "string" |
77 }, | 98 }, |
78 "fields": { | |
79 "description": "Selector specifying which fields to include in a par
tial response.", | |
80 "location": "query", | |
81 "type": "string" | |
82 }, | |
83 "callback": { | |
84 "description": "JSONP", | |
85 "location": "query", | |
86 "type": "string" | |
87 }, | |
88 "$.xgafv": { | 99 "$.xgafv": { |
89 "description": "V1 error format.", | 100 "description": "V1 error format.", |
90 "enum": [ | 101 "enum": [ |
91 "1", | 102 "1", |
92 "2" | 103 "2" |
93 ], | 104 ], |
94 "enumDescriptions": [ | 105 "enumDescriptions": [ |
95 "v1 error format", | 106 "v1 error format", |
96 "v2 error format" | 107 "v2 error format" |
97 ], | 108 ], |
98 "location": "query", | 109 "location": "query", |
99 "type": "string" | 110 "type": "string" |
100 }, | 111 }, |
101 "alt": { | 112 "callback": { |
102 "default": "json", | 113 "description": "JSONP", |
103 "description": "Data format for response.", | |
104 "enum": [ | |
105 "json", | |
106 "media", | |
107 "proto" | |
108 ], | |
109 "enumDescriptions": [ | |
110 "Responses with Content-Type of application/json", | |
111 "Media download with context-dependent Content-Type", | |
112 "Responses with Content-Type of application/x-protobuf" | |
113 ], | |
114 "location": "query", | 114 "location": "query", |
115 "type": "string" | 115 "type": "string" |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "projects": { | 120 "folders": { |
121 "methods": { | 121 "methods": { |
122 "get": { | 122 "setOrgPolicy": { |
123 "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.", | 123 "description": "Updates the specified `Policy` on the resour
ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no
t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond
itional\nwrite of the `Policy`.", |
124 "httpMethod": "GET", | 124 "httpMethod": "POST", |
125 "id": "cloudresourcemanager.projects.get", | 125 "id": "cloudresourcemanager.folders.setOrgPolicy", |
126 "parameterOrder": [ | 126 "parameterOrder": [ |
127 "projectId" | 127 "resource" |
128 ], | 128 ], |
129 "parameters": { | 129 "parameters": { |
130 "projectId": { | 130 "resource": { |
131 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | 131 "description": "Resource name of the resource to att
ach the `Policy`.", |
132 "location": "path", | 132 "location": "path", |
| 133 "pattern": "^folders/[^/]+$", |
133 "required": true, | 134 "required": true, |
134 "type": "string" | 135 "type": "string" |
135 } | 136 } |
136 }, | 137 }, |
137 "path": "v1/projects/{projectId}", | 138 "path": "v1/{+resource}:setOrgPolicy", |
| 139 "request": { |
| 140 "$ref": "SetOrgPolicyRequest" |
| 141 }, |
138 "response": { | 142 "response": { |
139 "$ref": "Project" | 143 "$ref": "OrgPolicy" |
| 144 }, |
| 145 "scopes": [ |
| 146 "https://www.googleapis.com/auth/cloud-platform" |
| 147 ] |
| 148 }, |
| 149 "listAvailableOrgPolicyConstraints": { |
| 150 "description": "Lists `Constraints` that could be applied on
the specified resource.", |
| 151 "httpMethod": "POST", |
| 152 "id": "cloudresourcemanager.folders.listAvailableOrgPolicyCo
nstraints", |
| 153 "parameterOrder": [ |
| 154 "resource" |
| 155 ], |
| 156 "parameters": { |
| 157 "resource": { |
| 158 "description": "Name of the resource to list `Constr
aints` for.", |
| 159 "location": "path", |
| 160 "pattern": "^folders/[^/]+$", |
| 161 "required": true, |
| 162 "type": "string" |
| 163 } |
| 164 }, |
| 165 "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", |
| 166 "request": { |
| 167 "$ref": "ListAvailableOrgPolicyConstraintsRequest" |
| 168 }, |
| 169 "response": { |
| 170 "$ref": "ListAvailableOrgPolicyConstraintsResponse" |
140 }, | 171 }, |
141 "scopes": [ | 172 "scopes": [ |
142 "https://www.googleapis.com/auth/cloud-platform", | 173 "https://www.googleapis.com/auth/cloud-platform", |
143 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 174 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
144 ] | 175 ] |
145 }, | 176 }, |
146 "getAncestry": { | 177 "listOrgPolicies": { |
147 "description": "Gets a list of ancestors in the resource hie
rarchy for the Project\nidentified by the specified `project_id` (for example, `
my-project-123`).\n\nThe caller must have read permissions for this Project.", | 178 "description": "Lists all the `Policies` set for a particula
r resource.", |
148 "httpMethod": "POST", | 179 "httpMethod": "POST", |
149 "id": "cloudresourcemanager.projects.getAncestry", | 180 "id": "cloudresourcemanager.folders.listOrgPolicies", |
150 "parameterOrder": [ | 181 "parameterOrder": [ |
151 "projectId" | 182 "resource" |
152 ], | 183 ], |
153 "parameters": { | 184 "parameters": { |
154 "projectId": { | 185 "resource": { |
155 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", | 186 "description": "Name of the resource to list Policie
s for.", |
156 "location": "path", | 187 "location": "path", |
| 188 "pattern": "^folders/[^/]+$", |
157 "required": true, | 189 "required": true, |
158 "type": "string" | 190 "type": "string" |
159 } | 191 } |
160 }, | 192 }, |
161 "path": "v1/projects/{projectId}:getAncestry", | 193 "path": "v1/{+resource}:listOrgPolicies", |
162 "request": { | 194 "request": { |
163 "$ref": "GetAncestryRequest" | 195 "$ref": "ListOrgPoliciesRequest" |
164 }, | 196 }, |
165 "response": { | 197 "response": { |
166 "$ref": "GetAncestryResponse" | 198 "$ref": "ListOrgPoliciesResponse" |
167 }, | 199 }, |
168 "scopes": [ | 200 "scopes": [ |
169 "https://www.googleapis.com/auth/cloud-platform", | 201 "https://www.googleapis.com/auth/cloud-platform", |
170 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 202 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
171 ] | 203 ] |
172 }, | 204 }, |
173 "testIamPermissions": { | 205 "getOrgPolicy": { |
174 "description": "Returns permissions that a caller has on the
specified Project.\n\nThere are no permissions required for making this API cal
l.", | 206 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol
icy` is set on the resource, a `Policy` is returned with default\nvalues includi
ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u
sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri
te.", |
175 "httpMethod": "POST", | 207 "httpMethod": "POST", |
176 "id": "cloudresourcemanager.projects.testIamPermissions", | 208 "id": "cloudresourcemanager.folders.getOrgPolicy", |
177 "parameterOrder": [ | 209 "parameterOrder": [ |
178 "resource" | 210 "resource" |
179 ], | 211 ], |
180 "parameters": { | 212 "parameters": { |
181 "resource": { | 213 "resource": { |
182 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", | 214 "description": "Name of the resource the `Policy` is
set on.", |
183 "location": "path", | 215 "location": "path", |
| 216 "pattern": "^folders/[^/]+$", |
184 "required": true, | 217 "required": true, |
185 "type": "string" | 218 "type": "string" |
186 } | 219 } |
187 }, | 220 }, |
188 "path": "v1/projects/{resource}:testIamPermissions", | 221 "path": "v1/{+resource}:getOrgPolicy", |
189 "request": { | 222 "request": { |
190 "$ref": "TestIamPermissionsRequest" | 223 "$ref": "GetOrgPolicyRequest" |
191 }, | 224 }, |
192 "response": { | 225 "response": { |
193 "$ref": "TestIamPermissionsResponse" | 226 "$ref": "OrgPolicy" |
194 }, | 227 }, |
195 "scopes": [ | 228 "scopes": [ |
196 "https://www.googleapis.com/auth/cloud-platform", | 229 "https://www.googleapis.com/auth/cloud-platform", |
197 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 230 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
198 ] | 231 ] |
199 }, | 232 }, |
200 "delete": { | 233 "getEffectiveOrgPolicy": { |
201 "description": "Marks the Project identified by the specifie
d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will
only affect the Project if the following criteria are met:\n\n+ The Project does
not have a billing account associated with it.\n+ The Project has a lifecycle s
tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI
VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time,\nat which
point the Project is no longer accessible.\n\nUntil the deletion completes, you
can check the lifecycle state\nchecked by retrieving the Project with GetProject
,\nand the Project remains visible to ListProjects.\nHowever, you cannot update
the project.\n\nAfter the deletion completes, the Project is not retrievable by\
nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi
ssions for this Project.", | 234 "description": "Gets the effective `Policy` on a resource. T
his is the result of merging\n`Policies` in the resource hierarchy. The returned
`Policy` will not have\nan `etag`set because it is a computed `Policy` across m
ultiple resources.", |
202 "httpMethod": "DELETE", | 235 "httpMethod": "POST", |
203 "id": "cloudresourcemanager.projects.delete", | 236 "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy", |
204 "parameterOrder": [ | 237 "parameterOrder": [ |
205 "projectId" | 238 "resource" |
206 ], | 239 ], |
207 "parameters": { | 240 "parameters": { |
208 "projectId": { | 241 "resource": { |
209 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", | 242 "description": "The name of the resource to start co
mputing the effective `Policy`.", |
210 "location": "path", | 243 "location": "path", |
| 244 "pattern": "^folders/[^/]+$", |
211 "required": true, | 245 "required": true, |
212 "type": "string" | 246 "type": "string" |
213 } | 247 } |
214 }, | 248 }, |
215 "path": "v1/projects/{projectId}", | 249 "path": "v1/{+resource}:getEffectiveOrgPolicy", |
| 250 "request": { |
| 251 "$ref": "GetEffectiveOrgPolicyRequest" |
| 252 }, |
216 "response": { | 253 "response": { |
217 "$ref": "Empty" | 254 "$ref": "OrgPolicy" |
218 }, | 255 }, |
219 "scopes": [ | 256 "scopes": [ |
220 "https://www.googleapis.com/auth/cloud-platform" | 257 "https://www.googleapis.com/auth/cloud-platform", |
| 258 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
221 ] | 259 ] |
222 }, | 260 }, |
223 "clearOrgPolicy": { | 261 "clearOrgPolicy": { |
224 "description": "Clears a `Policy` from a resource.", | 262 "description": "Clears a `Policy` from a resource.", |
225 "httpMethod": "POST", | 263 "httpMethod": "POST", |
226 "id": "cloudresourcemanager.projects.clearOrgPolicy", | 264 "id": "cloudresourcemanager.folders.clearOrgPolicy", |
227 "parameterOrder": [ | 265 "parameterOrder": [ |
228 "resource" | 266 "resource" |
229 ], | 267 ], |
230 "parameters": { | 268 "parameters": { |
231 "resource": { | 269 "resource": { |
232 "description": "Name of the resource for the `Policy
` to clear.", | 270 "description": "Name of the resource for the `Policy
` to clear.", |
233 "location": "path", | 271 "location": "path", |
234 "pattern": "^projects/[^/]+$", | 272 "pattern": "^folders/[^/]+$", |
235 "required": true, | 273 "required": true, |
236 "type": "string" | 274 "type": "string" |
237 } | 275 } |
238 }, | 276 }, |
239 "path": "v1/{+resource}:clearOrgPolicy", | 277 "path": "v1/{+resource}:clearOrgPolicy", |
240 "request": { | 278 "request": { |
241 "$ref": "ClearOrgPolicyRequest" | 279 "$ref": "ClearOrgPolicyRequest" |
242 }, | 280 }, |
243 "response": { | 281 "response": { |
244 "$ref": "Empty" | 282 "$ref": "Empty" |
245 }, | 283 }, |
246 "scopes": [ | 284 "scopes": [ |
247 "https://www.googleapis.com/auth/cloud-platform" | 285 "https://www.googleapis.com/auth/cloud-platform" |
248 ] | 286 ] |
249 }, | 287 } |
| 288 } |
| 289 }, |
| 290 "projects": { |
| 291 "methods": { |
250 "setIamPolicy": { | 292 "setIamPolicy": { |
251 "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+ If the project is not part of an organization, there must be at least\non
e owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Ca
lling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wi
ll fail. This restriction also applies to legacy\nprojects that no longer have o
wners who have accepted the ToS. Edits to\nIAM policies will be rejected until t
he lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method require
s enabling the App Engine Admin API.\n\nNote: Removing service accounts from pol
icies or changing their roles\ncan render services completely inoperable. It is
important to understand\nhow the service account is being used before removing o
r updating its\nroles.\n\nAuthorization requires the Google IAM permission\n`res
ourcemanager.projects.setIamPolicy` on the project", | 293 "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+ If the project is not part of an organization, there must be at least\non
e owner who has accepted the Terms of Service (ToS) agreement in the\npolicy. Ca
lling `setIamPolicy()` to remove the last ToS-accepted owner\nfrom the policy wi
ll fail. This restriction also applies to legacy\nprojects that no longer have o
wners who have accepted the ToS. Edits to\nIAM policies will be rejected until t
he lack of a ToS-accepting owner is\nrectified.\n\n+ Calling this method require
s enabling the App Engine Admin API.\n\nNote: Removing service accounts from pol
icies or changing their roles\ncan render services completely inoperable. It is
important to understand\nhow the service account is being used before removing o
r updating its\nroles.\n\nAuthorization requires the Google IAM permission\n`res
ourcemanager.projects.setIamPolicy` on the project", |
252 "httpMethod": "POST", | 294 "httpMethod": "POST", |
253 "id": "cloudresourcemanager.projects.setIamPolicy", | 295 "id": "cloudresourcemanager.projects.setIamPolicy", |
254 "parameterOrder": [ | 296 "parameterOrder": [ |
255 "resource" | 297 "resource" |
256 ], | 298 ], |
257 "parameters": { | 299 "parameters": { |
258 "resource": { | 300 "resource": { |
259 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", | 301 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
(...skipping 175 matching lines...) Loading... |
435 "scopes": [ | 477 "scopes": [ |
436 "https://www.googleapis.com/auth/cloud-platform" | 478 "https://www.googleapis.com/auth/cloud-platform" |
437 ] | 479 ] |
438 }, | 480 }, |
439 "list": { | 481 "list": { |
440 "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.", | 482 "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.", |
441 "httpMethod": "GET", | 483 "httpMethod": "GET", |
442 "id": "cloudresourcemanager.projects.list", | 484 "id": "cloudresourcemanager.projects.list", |
443 "parameterOrder": [], | 485 "parameterOrder": [], |
444 "parameters": { | 486 "parameters": { |
445 "pageSize": { | |
446 "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.", | |
447 "format": "int32", | |
448 "location": "query", | |
449 "type": "integer" | |
450 }, | |
451 "filter": { | 487 "filter": { |
452 "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.", | 488 "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.", |
453 "location": "query", | 489 "location": "query", |
454 "type": "string" | 490 "type": "string" |
455 }, | 491 }, |
456 "pageToken": { | 492 "pageToken": { |
457 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", | 493 "description": "A pagination token returned from a p
revious call to ListProjects\nthat indicates from where listing should continue.
\n\nOptional.", |
458 "location": "query", | 494 "location": "query", |
459 "type": "string" | 495 "type": "string" |
| 496 }, |
| 497 "pageSize": { |
| 498 "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.", |
| 499 "format": "int32", |
| 500 "location": "query", |
| 501 "type": "integer" |
460 } | 502 } |
461 }, | 503 }, |
462 "path": "v1/projects", | 504 "path": "v1/projects", |
463 "response": { | 505 "response": { |
464 "$ref": "ListProjectsResponse" | 506 "$ref": "ListProjectsResponse" |
465 }, | 507 }, |
466 "scopes": [ | 508 "scopes": [ |
467 "https://www.googleapis.com/auth/cloud-platform", | 509 "https://www.googleapis.com/auth/cloud-platform", |
468 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 510 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
469 ] | 511 ] |
(...skipping 62 matching lines...) Loading... |
532 "request": { | 574 "request": { |
533 "$ref": "ListOrgPoliciesRequest" | 575 "$ref": "ListOrgPoliciesRequest" |
534 }, | 576 }, |
535 "response": { | 577 "response": { |
536 "$ref": "ListOrgPoliciesResponse" | 578 "$ref": "ListOrgPoliciesResponse" |
537 }, | 579 }, |
538 "scopes": [ | 580 "scopes": [ |
539 "https://www.googleapis.com/auth/cloud-platform", | 581 "https://www.googleapis.com/auth/cloud-platform", |
540 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 582 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
541 ] | 583 ] |
542 } | 584 }, |
543 } | 585 "get": { |
544 }, | 586 "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.", |
545 "organizations": { | 587 "httpMethod": "GET", |
546 "methods": { | 588 "id": "cloudresourcemanager.projects.get", |
547 "search": { | 589 "parameterOrder": [ |
548 "description": "Searches Organization resources that are vis
ible to the user and satisfy\nthe specified filter. This method returns Organiza
tions in an unspecified\norder. New Organizations do not necessarily appear at t
he end of the\nresults.\n\nSearch will only return organizations on which the us
er has the permission\n`resourcemanager.organizations.get`", | 590 "projectId" |
549 "httpMethod": "POST", | 591 ], |
550 "id": "cloudresourcemanager.organizations.search", | 592 "parameters": { |
551 "parameterOrder": [], | 593 "projectId": { |
552 "parameters": {}, | 594 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
553 "path": "v1/organizations:search", | 595 "location": "path", |
554 "request": { | 596 "required": true, |
555 "$ref": "SearchOrganizationsRequest" | 597 "type": "string" |
| 598 } |
556 }, | 599 }, |
| 600 "path": "v1/projects/{projectId}", |
557 "response": { | 601 "response": { |
558 "$ref": "SearchOrganizationsResponse" | 602 "$ref": "Project" |
559 }, | 603 }, |
560 "scopes": [ | 604 "scopes": [ |
561 "https://www.googleapis.com/auth/cloud-platform", | 605 "https://www.googleapis.com/auth/cloud-platform", |
562 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 606 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
563 ] | 607 ] |
564 }, | 608 }, |
565 "getOrgPolicy": { | 609 "getAncestry": { |
566 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol
icy` is set on the resource, a `Policy` is returned with default\nvalues includi
ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u
sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri
te.", | 610 "description": "Gets a list of ancestors in the resource hie
rarchy for the Project\nidentified by the specified `project_id` (for example, `
my-project-123`).\n\nThe caller must have read permissions for this Project.", |
567 "httpMethod": "POST", | 611 "httpMethod": "POST", |
568 "id": "cloudresourcemanager.organizations.getOrgPolicy", | 612 "id": "cloudresourcemanager.projects.getAncestry", |
569 "parameterOrder": [ | 613 "parameterOrder": [ |
570 "resource" | 614 "projectId" |
571 ], | 615 ], |
572 "parameters": { | 616 "parameters": { |
573 "resource": { | 617 "projectId": { |
574 "description": "Name of the resource the `Policy` is
set on.", | 618 "description": "The Project ID (for example, `my-pro
ject-123`).\n\nRequired.", |
575 "location": "path", | 619 "location": "path", |
576 "pattern": "^organizations/[^/]+$", | |
577 "required": true, | 620 "required": true, |
578 "type": "string" | 621 "type": "string" |
579 } | 622 } |
580 }, | 623 }, |
581 "path": "v1/{+resource}:getOrgPolicy", | 624 "path": "v1/projects/{projectId}:getAncestry", |
582 "request": { | 625 "request": { |
583 "$ref": "GetOrgPolicyRequest" | 626 "$ref": "GetAncestryRequest" |
584 }, | 627 }, |
585 "response": { | 628 "response": { |
586 "$ref": "OrgPolicy" | 629 "$ref": "GetAncestryResponse" |
587 }, | |
588 "scopes": [ | |
589 "https://www.googleapis.com/auth/cloud-platform", | |
590 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
591 ] | |
592 }, | |
593 "get": { | |
594 "description": "Fetches an Organization resource identified
by the specified resource name.", | |
595 "httpMethod": "GET", | |
596 "id": "cloudresourcemanager.organizations.get", | |
597 "parameterOrder": [ | |
598 "name" | |
599 ], | |
600 "parameters": { | |
601 "name": { | |
602 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", | |
603 "location": "path", | |
604 "pattern": "^organizations/[^/]+$", | |
605 "required": true, | |
606 "type": "string" | |
607 } | |
608 }, | |
609 "path": "v1/{+name}", | |
610 "response": { | |
611 "$ref": "Organization" | |
612 }, | |
613 "scopes": [ | |
614 "https://www.googleapis.com/auth/cloud-platform", | |
615 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
616 ] | |
617 }, | |
618 "getEffectiveOrgPolicy": { | |
619 "description": "Gets the effective `Policy` on a resource. T
his is the result of merging\n`Policies` in the resource hierarchy. The returned
`Policy` will not have\nan `etag`set because it is a computed `Policy` across m
ultiple resources.", | |
620 "httpMethod": "POST", | |
621 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol
icy", | |
622 "parameterOrder": [ | |
623 "resource" | |
624 ], | |
625 "parameters": { | |
626 "resource": { | |
627 "description": "The name of the resource to start co
mputing the effective `Policy`.", | |
628 "location": "path", | |
629 "pattern": "^organizations/[^/]+$", | |
630 "required": true, | |
631 "type": "string" | |
632 } | |
633 }, | |
634 "path": "v1/{+resource}:getEffectiveOrgPolicy", | |
635 "request": { | |
636 "$ref": "GetEffectiveOrgPolicyRequest" | |
637 }, | |
638 "response": { | |
639 "$ref": "OrgPolicy" | |
640 }, | 630 }, |
641 "scopes": [ | 631 "scopes": [ |
642 "https://www.googleapis.com/auth/cloud-platform", | 632 "https://www.googleapis.com/auth/cloud-platform", |
643 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 633 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
644 ] | 634 ] |
645 }, | 635 }, |
646 "testIamPermissions": { | 636 "testIamPermissions": { |
647 "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\".\n\nThere are no permissions required for
making this API call.", | 637 "description": "Returns permissions that a caller has on the
specified Project.\n\nThere are no permissions required for making this API cal
l.", |
648 "httpMethod": "POST", | 638 "httpMethod": "POST", |
649 "id": "cloudresourcemanager.organizations.testIamPermissions
", | 639 "id": "cloudresourcemanager.projects.testIamPermissions", |
650 "parameterOrder": [ | 640 "parameterOrder": [ |
651 "resource" | 641 "resource" |
652 ], | 642 ], |
653 "parameters": { | 643 "parameters": { |
654 "resource": { | 644 "resource": { |
655 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", | 645 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
656 "location": "path", | 646 "location": "path", |
657 "pattern": "^organizations/[^/]+$", | |
658 "required": true, | 647 "required": true, |
659 "type": "string" | 648 "type": "string" |
660 } | 649 } |
661 }, | 650 }, |
662 "path": "v1/{+resource}:testIamPermissions", | 651 "path": "v1/projects/{resource}:testIamPermissions", |
663 "request": { | 652 "request": { |
664 "$ref": "TestIamPermissionsRequest" | 653 "$ref": "TestIamPermissionsRequest" |
665 }, | 654 }, |
666 "response": { | 655 "response": { |
667 "$ref": "TestIamPermissionsResponse" | 656 "$ref": "TestIamPermissionsResponse" |
668 }, | 657 }, |
669 "scopes": [ | 658 "scopes": [ |
670 "https://www.googleapis.com/auth/cloud-platform", | 659 "https://www.googleapis.com/auth/cloud-platform", |
671 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 660 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
672 ] | 661 ] |
673 }, | 662 }, |
| 663 "delete": { |
| 664 "description": "Marks the Project identified by the specifie
d\n`project_id` (for example, `my-project-123`) for deletion.\nThis method will
only affect the Project if the following criteria are met:\n\n+ The Project does
not have a billing account associated with it.\n+ The Project has a lifecycle s
tate of\nACTIVE.\n\nThis method changes the Project's lifecycle state from\nACTI
VE\nto DELETE_REQUESTED.\nThe deletion starts at an unspecified time,\nat which
point the Project is no longer accessible.\n\nUntil the deletion completes, you
can check the lifecycle state\nchecked by retrieving the Project with GetProject
,\nand the Project remains visible to ListProjects.\nHowever, you cannot update
the project.\n\nAfter the deletion completes, the Project is not retrievable by\
nthe GetProject and\nListProjects methods.\n\nThe caller must have modify permi
ssions for this Project.", |
| 665 "httpMethod": "DELETE", |
| 666 "id": "cloudresourcemanager.projects.delete", |
| 667 "parameterOrder": [ |
| 668 "projectId" |
| 669 ], |
| 670 "parameters": { |
| 671 "projectId": { |
| 672 "description": "The Project ID (for example, `foo-ba
r-123`).\n\nRequired.", |
| 673 "location": "path", |
| 674 "required": true, |
| 675 "type": "string" |
| 676 } |
| 677 }, |
| 678 "path": "v1/projects/{projectId}", |
| 679 "response": { |
| 680 "$ref": "Empty" |
| 681 }, |
| 682 "scopes": [ |
| 683 "https://www.googleapis.com/auth/cloud-platform" |
| 684 ] |
| 685 }, |
674 "clearOrgPolicy": { | 686 "clearOrgPolicy": { |
675 "description": "Clears a `Policy` from a resource.", | 687 "description": "Clears a `Policy` from a resource.", |
676 "httpMethod": "POST", | 688 "httpMethod": "POST", |
677 "id": "cloudresourcemanager.organizations.clearOrgPolicy", | 689 "id": "cloudresourcemanager.projects.clearOrgPolicy", |
678 "parameterOrder": [ | 690 "parameterOrder": [ |
679 "resource" | 691 "resource" |
680 ], | 692 ], |
681 "parameters": { | 693 "parameters": { |
682 "resource": { | 694 "resource": { |
683 "description": "Name of the resource for the `Policy
` to clear.", | 695 "description": "Name of the resource for the `Policy
` to clear.", |
684 "location": "path", | 696 "location": "path", |
685 "pattern": "^organizations/[^/]+$", | 697 "pattern": "^projects/[^/]+$", |
686 "required": true, | 698 "required": true, |
687 "type": "string" | 699 "type": "string" |
688 } | 700 } |
689 }, | 701 }, |
690 "path": "v1/{+resource}:clearOrgPolicy", | 702 "path": "v1/{+resource}:clearOrgPolicy", |
691 "request": { | 703 "request": { |
692 "$ref": "ClearOrgPolicyRequest" | 704 "$ref": "ClearOrgPolicyRequest" |
693 }, | 705 }, |
694 "response": { | 706 "response": { |
695 "$ref": "Empty" | 707 "$ref": "Empty" |
696 }, | 708 }, |
697 "scopes": [ | 709 "scopes": [ |
698 "https://www.googleapis.com/auth/cloud-platform" | 710 "https://www.googleapis.com/auth/cloud-platform" |
699 ] | 711 ] |
700 }, | 712 } |
| 713 } |
| 714 }, |
| 715 "organizations": { |
| 716 "methods": { |
701 "setOrgPolicy": { | 717 "setOrgPolicy": { |
702 "description": "Updates the specified `Policy` on the resour
ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no
t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond
itional\nwrite of the `Policy`.", | 718 "description": "Updates the specified `Policy` on the resour
ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no
t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond
itional\nwrite of the `Policy`.", |
703 "httpMethod": "POST", | 719 "httpMethod": "POST", |
704 "id": "cloudresourcemanager.organizations.setOrgPolicy", | 720 "id": "cloudresourcemanager.organizations.setOrgPolicy", |
705 "parameterOrder": [ | 721 "parameterOrder": [ |
706 "resource" | 722 "resource" |
707 ], | 723 ], |
708 "parameters": { | 724 "parameters": { |
709 "resource": { | 725 "resource": { |
710 "description": "Resource name of the resource to att
ach the `Policy`.", | 726 "description": "Resource name of the resource to att
ach the `Policy`.", |
(...skipping 117 matching lines...) Loading... |
828 "request": { | 844 "request": { |
829 "$ref": "GetIamPolicyRequest" | 845 "$ref": "GetIamPolicyRequest" |
830 }, | 846 }, |
831 "response": { | 847 "response": { |
832 "$ref": "Policy" | 848 "$ref": "Policy" |
833 }, | 849 }, |
834 "scopes": [ | 850 "scopes": [ |
835 "https://www.googleapis.com/auth/cloud-platform", | 851 "https://www.googleapis.com/auth/cloud-platform", |
836 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 852 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
837 ] | 853 ] |
838 } | |
839 } | |
840 }, | |
841 "operations": { | |
842 "methods": { | |
843 "get": { | |
844 "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.", | |
845 "httpMethod": "GET", | |
846 "id": "cloudresourcemanager.operations.get", | |
847 "parameterOrder": [ | |
848 "name" | |
849 ], | |
850 "parameters": { | |
851 "name": { | |
852 "description": "The name of the operation resource."
, | |
853 "location": "path", | |
854 "pattern": "^operations/.+$", | |
855 "required": true, | |
856 "type": "string" | |
857 } | |
858 }, | |
859 "path": "v1/{+name}", | |
860 "response": { | |
861 "$ref": "Operation" | |
862 }, | |
863 "scopes": [ | |
864 "https://www.googleapis.com/auth/cloud-platform", | |
865 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
866 ] | |
867 } | |
868 } | |
869 }, | |
870 "liens": { | |
871 "methods": { | |
872 "list": { | |
873 "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`.", | |
874 "httpMethod": "GET", | |
875 "id": "cloudresourcemanager.liens.list", | |
876 "parameterOrder": [], | |
877 "parameters": { | |
878 "pageToken": { | |
879 "description": "The `next_page_token` value returned
from a previous List request, if any.", | |
880 "location": "query", | |
881 "type": "string" | |
882 }, | |
883 "pageSize": { | |
884 "description": "The maximum number of items to retur
n. This is a suggestion for the server.", | |
885 "format": "int32", | |
886 "location": "query", | |
887 "type": "integer" | |
888 }, | |
889 "parent": { | |
890 "description": "The name of the resource to list all
attached Liens.\nFor example, `projects/1234`.", | |
891 "location": "query", | |
892 "type": "string" | |
893 } | |
894 }, | |
895 "path": "v1/liens", | |
896 "response": { | |
897 "$ref": "ListLiensResponse" | |
898 }, | |
899 "scopes": [ | |
900 "https://www.googleapis.com/auth/cloud-platform", | |
901 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
902 ] | |
903 }, | 854 }, |
904 "create": { | 855 "search": { |
905 "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.", | 856 "description": "Searches Organization resources that are vis
ible to the user and satisfy\nthe specified filter. This method returns Organiza
tions in an unspecified\norder. New Organizations do not necessarily appear at t
he end of the\nresults.\n\nSearch will only return organizations on which the us
er has the permission\n`resourcemanager.organizations.get`", |
906 "httpMethod": "POST", | 857 "httpMethod": "POST", |
907 "id": "cloudresourcemanager.liens.create", | 858 "id": "cloudresourcemanager.organizations.search", |
908 "parameterOrder": [], | 859 "parameterOrder": [], |
909 "parameters": {}, | 860 "parameters": {}, |
910 "path": "v1/liens", | 861 "path": "v1/organizations:search", |
911 "request": { | 862 "request": { |
912 "$ref": "Lien" | 863 "$ref": "SearchOrganizationsRequest" |
913 }, | 864 }, |
914 "response": { | 865 "response": { |
915 "$ref": "Lien" | 866 "$ref": "SearchOrganizationsResponse" |
916 }, | |
917 "scopes": [ | |
918 "https://www.googleapis.com/auth/cloud-platform", | |
919 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
920 ] | |
921 }, | |
922 "delete": { | |
923 "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`.", | |
924 "httpMethod": "DELETE", | |
925 "id": "cloudresourcemanager.liens.delete", | |
926 "parameterOrder": [ | |
927 "name" | |
928 ], | |
929 "parameters": { | |
930 "name": { | |
931 "description": "The name/identifier of the Lien to d
elete.", | |
932 "location": "path", | |
933 "pattern": "^liens/.+$", | |
934 "required": true, | |
935 "type": "string" | |
936 } | |
937 }, | |
938 "path": "v1/{+name}", | |
939 "response": { | |
940 "$ref": "Empty" | |
941 }, | |
942 "scopes": [ | |
943 "https://www.googleapis.com/auth/cloud-platform", | |
944 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
945 ] | |
946 } | |
947 } | |
948 }, | |
949 "folders": { | |
950 "methods": { | |
951 "listOrgPolicies": { | |
952 "description": "Lists all the `Policies` set for a particula
r resource.", | |
953 "httpMethod": "POST", | |
954 "id": "cloudresourcemanager.folders.listOrgPolicies", | |
955 "parameterOrder": [ | |
956 "resource" | |
957 ], | |
958 "parameters": { | |
959 "resource": { | |
960 "description": "Name of the resource to list Policie
s for.", | |
961 "location": "path", | |
962 "pattern": "^folders/[^/]+$", | |
963 "required": true, | |
964 "type": "string" | |
965 } | |
966 }, | |
967 "path": "v1/{+resource}:listOrgPolicies", | |
968 "request": { | |
969 "$ref": "ListOrgPoliciesRequest" | |
970 }, | |
971 "response": { | |
972 "$ref": "ListOrgPoliciesResponse" | |
973 }, | |
974 "scopes": [ | |
975 "https://www.googleapis.com/auth/cloud-platform", | |
976 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | |
977 ] | |
978 }, | |
979 "listAvailableOrgPolicyConstraints": { | |
980 "description": "Lists `Constraints` that could be applied on
the specified resource.", | |
981 "httpMethod": "POST", | |
982 "id": "cloudresourcemanager.folders.listAvailableOrgPolicyCo
nstraints", | |
983 "parameterOrder": [ | |
984 "resource" | |
985 ], | |
986 "parameters": { | |
987 "resource": { | |
988 "description": "Name of the resource to list `Constr
aints` for.", | |
989 "location": "path", | |
990 "pattern": "^folders/[^/]+$", | |
991 "required": true, | |
992 "type": "string" | |
993 } | |
994 }, | |
995 "path": "v1/{+resource}:listAvailableOrgPolicyConstraints", | |
996 "request": { | |
997 "$ref": "ListAvailableOrgPolicyConstraintsRequest" | |
998 }, | |
999 "response": { | |
1000 "$ref": "ListAvailableOrgPolicyConstraintsResponse" | |
1001 }, | 867 }, |
1002 "scopes": [ | 868 "scopes": [ |
1003 "https://www.googleapis.com/auth/cloud-platform", | 869 "https://www.googleapis.com/auth/cloud-platform", |
1004 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 870 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
1005 ] | 871 ] |
1006 }, | 872 }, |
1007 "getOrgPolicy": { | 873 "getOrgPolicy": { |
1008 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol
icy` is set on the resource, a `Policy` is returned with default\nvalues includi
ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u
sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri
te.", | 874 "description": "Gets a `Policy` on a resource.\n\nIf no `Pol
icy` is set on the resource, a `Policy` is returned with default\nvalues includi
ng `POLICY_TYPE_NOT_SET` for the `policy_type oneof`. The\n`etag` value can be u
sed with `SetOrgPolicy()` to create or update a\n`Policy` during read-modify-wri
te.", |
1009 "httpMethod": "POST", | 875 "httpMethod": "POST", |
1010 "id": "cloudresourcemanager.folders.getOrgPolicy", | 876 "id": "cloudresourcemanager.organizations.getOrgPolicy", |
1011 "parameterOrder": [ | 877 "parameterOrder": [ |
1012 "resource" | 878 "resource" |
1013 ], | 879 ], |
1014 "parameters": { | 880 "parameters": { |
1015 "resource": { | 881 "resource": { |
1016 "description": "Name of the resource the `Policy` is
set on.", | 882 "description": "Name of the resource the `Policy` is
set on.", |
1017 "location": "path", | 883 "location": "path", |
1018 "pattern": "^folders/[^/]+$", | 884 "pattern": "^organizations/[^/]+$", |
1019 "required": true, | 885 "required": true, |
1020 "type": "string" | 886 "type": "string" |
1021 } | 887 } |
1022 }, | 888 }, |
1023 "path": "v1/{+resource}:getOrgPolicy", | 889 "path": "v1/{+resource}:getOrgPolicy", |
1024 "request": { | 890 "request": { |
1025 "$ref": "GetOrgPolicyRequest" | 891 "$ref": "GetOrgPolicyRequest" |
1026 }, | 892 }, |
1027 "response": { | 893 "response": { |
1028 "$ref": "OrgPolicy" | 894 "$ref": "OrgPolicy" |
| 895 }, |
| 896 "scopes": [ |
| 897 "https://www.googleapis.com/auth/cloud-platform", |
| 898 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 899 ] |
| 900 }, |
| 901 "get": { |
| 902 "description": "Fetches an Organization resource identified
by the specified resource name.", |
| 903 "httpMethod": "GET", |
| 904 "id": "cloudresourcemanager.organizations.get", |
| 905 "parameterOrder": [ |
| 906 "name" |
| 907 ], |
| 908 "parameters": { |
| 909 "name": { |
| 910 "description": "The resource name of the Organizatio
n to fetch, e.g. \"organizations/1234\".", |
| 911 "location": "path", |
| 912 "pattern": "^organizations/[^/]+$", |
| 913 "required": true, |
| 914 "type": "string" |
| 915 } |
| 916 }, |
| 917 "path": "v1/{+name}", |
| 918 "response": { |
| 919 "$ref": "Organization" |
| 920 }, |
| 921 "scopes": [ |
| 922 "https://www.googleapis.com/auth/cloud-platform", |
| 923 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 924 ] |
| 925 }, |
| 926 "getEffectiveOrgPolicy": { |
| 927 "description": "Gets the effective `Policy` on a resource. T
his is the result of merging\n`Policies` in the resource hierarchy. The returned
`Policy` will not have\nan `etag`set because it is a computed `Policy` across m
ultiple resources.", |
| 928 "httpMethod": "POST", |
| 929 "id": "cloudresourcemanager.organizations.getEffectiveOrgPol
icy", |
| 930 "parameterOrder": [ |
| 931 "resource" |
| 932 ], |
| 933 "parameters": { |
| 934 "resource": { |
| 935 "description": "The name of the resource to start co
mputing the effective `Policy`.", |
| 936 "location": "path", |
| 937 "pattern": "^organizations/[^/]+$", |
| 938 "required": true, |
| 939 "type": "string" |
| 940 } |
| 941 }, |
| 942 "path": "v1/{+resource}:getEffectiveOrgPolicy", |
| 943 "request": { |
| 944 "$ref": "GetEffectiveOrgPolicyRequest" |
| 945 }, |
| 946 "response": { |
| 947 "$ref": "OrgPolicy" |
1029 }, | 948 }, |
1030 "scopes": [ | 949 "scopes": [ |
1031 "https://www.googleapis.com/auth/cloud-platform", | 950 "https://www.googleapis.com/auth/cloud-platform", |
1032 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 951 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
1033 ] | 952 ] |
1034 }, | 953 }, |
1035 "getEffectiveOrgPolicy": { | 954 "testIamPermissions": { |
1036 "description": "Gets the effective `Policy` on a resource. T
his is the result of merging\n`Policies` in the resource hierarchy. The returned
`Policy` will not have\nan `etag`set because it is a computed `Policy` across m
ultiple resources.", | 955 "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\".\n\nThere are no permissions required for
making this API call.", |
1037 "httpMethod": "POST", | 956 "httpMethod": "POST", |
1038 "id": "cloudresourcemanager.folders.getEffectiveOrgPolicy", | 957 "id": "cloudresourcemanager.organizations.testIamPermissions
", |
1039 "parameterOrder": [ | 958 "parameterOrder": [ |
1040 "resource" | 959 "resource" |
1041 ], | 960 ], |
1042 "parameters": { | 961 "parameters": { |
1043 "resource": { | 962 "resource": { |
1044 "description": "The name of the resource to start co
mputing the effective `Policy`.", | 963 "description": "REQUIRED: The resource for which the
policy detail is being requested.\nSee the operation documentation for the appr
opriate value for this field.", |
1045 "location": "path", | 964 "location": "path", |
1046 "pattern": "^folders/[^/]+$", | 965 "pattern": "^organizations/[^/]+$", |
1047 "required": true, | 966 "required": true, |
1048 "type": "string" | 967 "type": "string" |
1049 } | 968 } |
1050 }, | 969 }, |
1051 "path": "v1/{+resource}:getEffectiveOrgPolicy", | 970 "path": "v1/{+resource}:testIamPermissions", |
1052 "request": { | 971 "request": { |
1053 "$ref": "GetEffectiveOrgPolicyRequest" | 972 "$ref": "TestIamPermissionsRequest" |
1054 }, | 973 }, |
1055 "response": { | 974 "response": { |
1056 "$ref": "OrgPolicy" | 975 "$ref": "TestIamPermissionsResponse" |
1057 }, | 976 }, |
1058 "scopes": [ | 977 "scopes": [ |
1059 "https://www.googleapis.com/auth/cloud-platform", | 978 "https://www.googleapis.com/auth/cloud-platform", |
1060 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 979 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
1061 ] | 980 ] |
1062 }, | 981 }, |
1063 "clearOrgPolicy": { | 982 "clearOrgPolicy": { |
1064 "description": "Clears a `Policy` from a resource.", | 983 "description": "Clears a `Policy` from a resource.", |
1065 "httpMethod": "POST", | 984 "httpMethod": "POST", |
1066 "id": "cloudresourcemanager.folders.clearOrgPolicy", | 985 "id": "cloudresourcemanager.organizations.clearOrgPolicy", |
1067 "parameterOrder": [ | 986 "parameterOrder": [ |
1068 "resource" | 987 "resource" |
1069 ], | 988 ], |
1070 "parameters": { | 989 "parameters": { |
1071 "resource": { | 990 "resource": { |
1072 "description": "Name of the resource for the `Policy
` to clear.", | 991 "description": "Name of the resource for the `Policy
` to clear.", |
1073 "location": "path", | 992 "location": "path", |
1074 "pattern": "^folders/[^/]+$", | 993 "pattern": "^organizations/[^/]+$", |
1075 "required": true, | 994 "required": true, |
1076 "type": "string" | 995 "type": "string" |
1077 } | 996 } |
1078 }, | 997 }, |
1079 "path": "v1/{+resource}:clearOrgPolicy", | 998 "path": "v1/{+resource}:clearOrgPolicy", |
1080 "request": { | 999 "request": { |
1081 "$ref": "ClearOrgPolicyRequest" | 1000 "$ref": "ClearOrgPolicyRequest" |
1082 }, | 1001 }, |
1083 "response": { | 1002 "response": { |
1084 "$ref": "Empty" | 1003 "$ref": "Empty" |
1085 }, | 1004 }, |
1086 "scopes": [ | 1005 "scopes": [ |
1087 "https://www.googleapis.com/auth/cloud-platform" | 1006 "https://www.googleapis.com/auth/cloud-platform" |
1088 ] | 1007 ] |
1089 }, | |
1090 "setOrgPolicy": { | |
1091 "description": "Updates the specified `Policy` on the resour
ce. Creates a new `Policy` for\nthat `Constraint` on the resource if one does no
t exist.\n\nNot supplying an `etag` on the request `Policy` results in an uncond
itional\nwrite of the `Policy`.", | |
1092 "httpMethod": "POST", | |
1093 "id": "cloudresourcemanager.folders.setOrgPolicy", | |
1094 "parameterOrder": [ | |
1095 "resource" | |
1096 ], | |
1097 "parameters": { | |
1098 "resource": { | |
1099 "description": "Resource name of the resource to att
ach the `Policy`.", | |
1100 "location": "path", | |
1101 "pattern": "^folders/[^/]+$", | |
1102 "required": true, | |
1103 "type": "string" | |
1104 } | |
1105 }, | |
1106 "path": "v1/{+resource}:setOrgPolicy", | |
1107 "request": { | |
1108 "$ref": "SetOrgPolicyRequest" | |
1109 }, | |
1110 "response": { | |
1111 "$ref": "OrgPolicy" | |
1112 }, | |
1113 "scopes": [ | |
1114 "https://www.googleapis.com/auth/cloud-platform" | |
1115 ] | |
1116 } | 1008 } |
1117 } | 1009 } |
| 1010 }, |
| 1011 "operations": { |
| 1012 "methods": { |
| 1013 "get": { |
| 1014 "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.", |
| 1015 "httpMethod": "GET", |
| 1016 "id": "cloudresourcemanager.operations.get", |
| 1017 "parameterOrder": [ |
| 1018 "name" |
| 1019 ], |
| 1020 "parameters": { |
| 1021 "name": { |
| 1022 "description": "The name of the operation resource."
, |
| 1023 "location": "path", |
| 1024 "pattern": "^operations/.+$", |
| 1025 "required": true, |
| 1026 "type": "string" |
| 1027 } |
| 1028 }, |
| 1029 "path": "v1/{+name}", |
| 1030 "response": { |
| 1031 "$ref": "Operation" |
| 1032 }, |
| 1033 "scopes": [ |
| 1034 "https://www.googleapis.com/auth/cloud-platform", |
| 1035 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 1036 ] |
| 1037 } |
| 1038 } |
| 1039 }, |
| 1040 "liens": { |
| 1041 "methods": { |
| 1042 "create": { |
| 1043 "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.", |
| 1044 "httpMethod": "POST", |
| 1045 "id": "cloudresourcemanager.liens.create", |
| 1046 "parameterOrder": [], |
| 1047 "parameters": {}, |
| 1048 "path": "v1/liens", |
| 1049 "request": { |
| 1050 "$ref": "Lien" |
| 1051 }, |
| 1052 "response": { |
| 1053 "$ref": "Lien" |
| 1054 }, |
| 1055 "scopes": [ |
| 1056 "https://www.googleapis.com/auth/cloud-platform", |
| 1057 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 1058 ] |
| 1059 }, |
| 1060 "delete": { |
| 1061 "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`.", |
| 1062 "httpMethod": "DELETE", |
| 1063 "id": "cloudresourcemanager.liens.delete", |
| 1064 "parameterOrder": [ |
| 1065 "name" |
| 1066 ], |
| 1067 "parameters": { |
| 1068 "name": { |
| 1069 "description": "The name/identifier of the Lien to d
elete.", |
| 1070 "location": "path", |
| 1071 "pattern": "^liens/.+$", |
| 1072 "required": true, |
| 1073 "type": "string" |
| 1074 } |
| 1075 }, |
| 1076 "path": "v1/{+name}", |
| 1077 "response": { |
| 1078 "$ref": "Empty" |
| 1079 }, |
| 1080 "scopes": [ |
| 1081 "https://www.googleapis.com/auth/cloud-platform", |
| 1082 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 1083 ] |
| 1084 }, |
| 1085 "list": { |
| 1086 "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`.", |
| 1087 "httpMethod": "GET", |
| 1088 "id": "cloudresourcemanager.liens.list", |
| 1089 "parameterOrder": [], |
| 1090 "parameters": { |
| 1091 "parent": { |
| 1092 "description": "The name of the resource to list all
attached Liens.\nFor example, `projects/1234`.", |
| 1093 "location": "query", |
| 1094 "type": "string" |
| 1095 }, |
| 1096 "pageToken": { |
| 1097 "description": "The `next_page_token` value returned
from a previous List request, if any.", |
| 1098 "location": "query", |
| 1099 "type": "string" |
| 1100 }, |
| 1101 "pageSize": { |
| 1102 "description": "The maximum number of items to retur
n. This is a suggestion for the server.", |
| 1103 "format": "int32", |
| 1104 "location": "query", |
| 1105 "type": "integer" |
| 1106 } |
| 1107 }, |
| 1108 "path": "v1/liens", |
| 1109 "response": { |
| 1110 "$ref": "ListLiensResponse" |
| 1111 }, |
| 1112 "scopes": [ |
| 1113 "https://www.googleapis.com/auth/cloud-platform", |
| 1114 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 1115 ] |
| 1116 } |
| 1117 } |
1118 } | 1118 } |
1119 }, | 1119 }, |
1120 "revision": "20170814", | 1120 "revision": "20170830", |
1121 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 1121 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
1122 "schemas": { | 1122 "schemas": { |
1123 "GetAncestryRequest": { | 1123 "Status": { |
1124 "description": "The request sent to the\nGetAncestry\nmethod.", | 1124 "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` that can be used for common error conditions.\n\n# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
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 m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", |
1125 "id": "GetAncestryRequest", | 1125 "id": "Status", |
1126 "properties": {}, | |
1127 "type": "object" | |
1128 }, | |
1129 "TestIamPermissionsRequest": { | |
1130 "description": "Request message for `TestIamPermissions` method.", | |
1131 "id": "TestIamPermissionsRequest", | |
1132 "properties": { | 1126 "properties": { |
1133 "permissions": { | 1127 "message": { |
1134 "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).", | 1128 "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.", |
1135 "items": { | |
1136 "type": "string" | |
1137 }, | |
1138 "type": "array" | |
1139 } | |
1140 }, | |
1141 "type": "object" | |
1142 }, | |
1143 "ListAvailableOrgPolicyConstraintsRequest": { | |
1144 "description": "The request sent to the [ListAvailableOrgPolicyConst
raints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", | |
1145 "id": "ListAvailableOrgPolicyConstraintsRequest", | |
1146 "properties": { | |
1147 "pageSize": { | |
1148 "description": "Size of the pages to be returned. This is cu
rrently unsupported and will\nbe ignored. The server may at any point start usin
g this field to limit\npage size.", | |
1149 "format": "int32", | |
1150 "type": "integer" | |
1151 }, | |
1152 "pageToken": { | |
1153 "description": "Page token used to retrieve the next page. T
his is currently unsupported\nand will be ignored. The server may at any point s
tart using this field.", | |
1154 "type": "string" | |
1155 } | |
1156 }, | |
1157 "type": "object" | |
1158 }, | |
1159 "Policy": { | |
1160 "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).", | |
1161 "id": "Policy", | |
1162 "properties": { | |
1163 "etag": { | |
1164 "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.", | |
1165 "format": "byte", | |
1166 "type": "string" | 1129 "type": "string" |
1167 }, | 1130 }, |
1168 "version": { | 1131 "details": { |
1169 "description": "Version of the `Policy`. The default version
is 0.", | 1132 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", |
1170 "format": "int32", | |
1171 "type": "integer" | |
1172 }, | |
1173 "auditConfigs": { | |
1174 "description": "Specifies cloud audit logging configuration
for this policy.", | |
1175 "items": { | 1133 "items": { |
1176 "$ref": "AuditConfig" | 1134 "additionalProperties": { |
| 1135 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 1136 "type": "any" |
| 1137 }, |
| 1138 "type": "object" |
1177 }, | 1139 }, |
1178 "type": "array" | 1140 "type": "array" |
1179 }, | 1141 }, |
1180 "bindings": { | 1142 "code": { |
1181 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", | 1143 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
1182 "items": { | |
1183 "$ref": "Binding" | |
1184 }, | |
1185 "type": "array" | |
1186 } | |
1187 }, | |
1188 "type": "object" | |
1189 }, | |
1190 "FolderOperation": { | |
1191 "description": "Metadata describing a long running folder operation"
, | |
1192 "id": "FolderOperation", | |
1193 "properties": { | |
1194 "operationType": { | |
1195 "description": "The type of this operation.", | |
1196 "enum": [ | |
1197 "OPERATION_TYPE_UNSPECIFIED", | |
1198 "CREATE", | |
1199 "MOVE" | |
1200 ], | |
1201 "enumDescriptions": [ | |
1202 "Operation type not specified.", | |
1203 "A create folder operation.", | |
1204 "A move folder operation." | |
1205 ], | |
1206 "type": "string" | |
1207 }, | |
1208 "sourceParent": { | |
1209 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", | |
1210 "type": "string" | |
1211 }, | |
1212 "displayName": { | |
1213 "description": "The display name of the folder.", | |
1214 "type": "string" | |
1215 }, | |
1216 "destinationParent": { | |
1217 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | |
1218 "type": "string" | |
1219 } | |
1220 }, | |
1221 "type": "object" | |
1222 }, | |
1223 "ResourceId": { | |
1224 "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
.", | |
1225 "id": "ResourceId", | |
1226 "properties": { | |
1227 "type": { | |
1228 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are: \"organization\"", | |
1229 "type": "string" | |
1230 }, | |
1231 "id": { | |
1232 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", | |
1233 "type": "string" | |
1234 } | |
1235 }, | |
1236 "type": "object" | |
1237 }, | |
1238 "GetEffectiveOrgPolicyRequest": { | |
1239 "description": "The request sent to the GetEffectiveOrgPolicy method
.", | |
1240 "id": "GetEffectiveOrgPolicyRequest", | |
1241 "properties": { | |
1242 "constraint": { | |
1243 "description": "The name of the `Constraint` to compute the
effective `Policy`.", | |
1244 "type": "string" | |
1245 } | |
1246 }, | |
1247 "type": "object" | |
1248 }, | |
1249 "ListOrgPoliciesRequest": { | |
1250 "description": "The request sent to the ListOrgPolicies method.", | |
1251 "id": "ListOrgPoliciesRequest", | |
1252 "properties": { | |
1253 "pageToken": { | |
1254 "description": "Page token used to retrieve the next page. T
his is currently unsupported\nand will be ignored. The server may at any point s
tart using this field.", | |
1255 "type": "string" | |
1256 }, | |
1257 "pageSize": { | |
1258 "description": "Size of the pages to be returned. This is cu
rrently unsupported and will\nbe ignored. The server may at any point start usin
g this field to limit\npage size.", | |
1259 "format": "int32", | 1144 "format": "int32", |
1260 "type": "integer" | 1145 "type": "integer" |
1261 } | 1146 } |
1262 }, | 1147 }, |
1263 "type": "object" | 1148 "type": "object" |
1264 }, | 1149 }, |
1265 "Operation": { | 1150 "ListLiensResponse": { |
1266 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 1151 "description": "The response message for Liens.ListLiens.", |
1267 "id": "Operation", | 1152 "id": "ListLiensResponse", |
1268 "properties": { | 1153 "properties": { |
1269 "error": { | 1154 "nextPageToken": { |
1270 "$ref": "Status", | 1155 "description": "Token to retrieve the next page of results,
or empty if there are no more\nresults in the list.", |
1271 "description": "The error result of the operation in case of
failure or cancellation." | |
1272 }, | |
1273 "metadata": { | |
1274 "additionalProperties": { | |
1275 "description": "Properties of the object. Contains field
@type with type URL.", | |
1276 "type": "any" | |
1277 }, | |
1278 "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.
", | |
1279 "type": "object" | |
1280 }, | |
1281 "done": { | |
1282 "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.", | |
1283 "type": "boolean" | |
1284 }, | |
1285 "response": { | |
1286 "additionalProperties": { | |
1287 "description": "Properties of the object. Contains field
@type with type URL.", | |
1288 "type": "any" | |
1289 }, | |
1290 "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`.", | |
1291 "type": "object" | |
1292 }, | |
1293 "name": { | |
1294 "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`
.", | |
1295 "type": "string" | |
1296 } | |
1297 }, | |
1298 "type": "object" | |
1299 }, | |
1300 "AuditConfig": { | |
1301 "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.", | |
1302 "id": "AuditConfig", | |
1303 "properties": { | |
1304 "service": { | |
1305 "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.", | |
1306 "type": "string" | 1156 "type": "string" |
1307 }, | 1157 }, |
1308 "auditLogConfigs": { | 1158 "liens": { |
1309 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", | 1159 "description": "A list of Liens.", |
1310 "items": { | 1160 "items": { |
1311 "$ref": "AuditLogConfig" | 1161 "$ref": "Lien" |
1312 }, | 1162 }, |
1313 "type": "array" | 1163 "type": "array" |
1314 } | 1164 } |
1315 }, | 1165 }, |
1316 "type": "object" | 1166 "type": "object" |
1317 }, | 1167 }, |
1318 "Constraint": { | 1168 "Constraint": { |
1319 "description": "A `Constraint` describes a way in which a resource's
configuration can be\nrestricted. For example, it controls which cloud services
can be activated\nacross an organization, or whether a Compute Engine instance
can have\nserial port connections established. `Constraints` can be configured b
y the\norganization's policy adminstrator to fit the needs of the organzation by
\nsetting Policies for `Constraints` at different locations in the\norganization
's resource hierarchy. Policies are inherited down the resource\nhierarchy from
higher levels, but can also be overridden. For details about\nthe inheritance ru
les please read about\nPolicies.\n\n`Constraints` have a default behavior determ
ined by the `constraint_default`\nfield, which is the enforcement behavior that
is used in the absence of a\n`Policy` being defined or inherited for the resourc
e in question.", | 1169 "description": "A `Constraint` describes a way in which a resource's
configuration can be\nrestricted. For example, it controls which cloud services
can be activated\nacross an organization, or whether a Compute Engine instance
can have\nserial port connections established. `Constraints` can be configured b
y the\norganization's policy adminstrator to fit the needs of the organzation by
\nsetting Policies for `Constraints` at different locations in the\norganization
's resource hierarchy. Policies are inherited down the resource\nhierarchy from
higher levels, but can also be overridden. For details about\nthe inheritance ru
les please read about\nPolicies.\n\n`Constraints` have a default behavior determ
ined by the `constraint_default`\nfield, which is the enforcement behavior that
is used in the absence of a\n`Policy` being defined or inherited for the resourc
e in question.", |
1320 "id": "Constraint", | 1170 "id": "Constraint", |
1321 "properties": { | 1171 "properties": { |
1322 "description": { | 1172 "listConstraint": { |
1323 "description": "Detailed description of what this `Constrain
t` controls as well as how and\nwhere it is enforced.\n\nMutable.", | 1173 "$ref": "ListConstraint", |
1324 "type": "string" | 1174 "description": "Defines this constraint as being a ListConst
raint." |
| 1175 }, |
| 1176 "version": { |
| 1177 "description": "Version of the `Constraint`. Default version
is 0;", |
| 1178 "format": "int32", |
| 1179 "type": "integer" |
1325 }, | 1180 }, |
1326 "displayName": { | 1181 "displayName": { |
1327 "description": "The human readable name.\n\nMutable.", | 1182 "description": "The human readable name.\n\nMutable.", |
1328 "type": "string" | 1183 "type": "string" |
1329 }, | 1184 }, |
| 1185 "description": { |
| 1186 "description": "Detailed description of what this `Constrain
t` controls as well as how and\nwhere it is enforced.\n\nMutable.", |
| 1187 "type": "string" |
| 1188 }, |
1330 "booleanConstraint": { | 1189 "booleanConstraint": { |
1331 "$ref": "BooleanConstraint", | 1190 "$ref": "BooleanConstraint", |
1332 "description": "Defines this constraint as being a BooleanCo
nstraint." | 1191 "description": "Defines this constraint as being a BooleanCo
nstraint." |
1333 }, | 1192 }, |
1334 "constraintDefault": { | 1193 "constraintDefault": { |
1335 "description": "The evaluation behavior of this constraint i
n the absense of 'Policy'.", | 1194 "description": "The evaluation behavior of this constraint i
n the absense of 'Policy'.", |
1336 "enum": [ | 1195 "enum": [ |
1337 "CONSTRAINT_DEFAULT_UNSPECIFIED", | 1196 "CONSTRAINT_DEFAULT_UNSPECIFIED", |
1338 "ALLOW", | 1197 "ALLOW", |
1339 "DENY" | 1198 "DENY" |
1340 ], | 1199 ], |
1341 "enumDescriptions": [ | 1200 "enumDescriptions": [ |
1342 "This is only used for distinguishing unset values and s
hould never be\nused.", | 1201 "This is only used for distinguishing unset values and s
hould never be\nused.", |
1343 "Indicate that all values are allowed for list constrain
ts.\nIndicate that enforcement is off for boolean constraints.", | 1202 "Indicate that all values are allowed for list constrain
ts.\nIndicate that enforcement is off for boolean constraints.", |
1344 "Indicate that all values are denied for list constraint
s.\nIndicate that enforcement is on for boolean constraints." | 1203 "Indicate that all values are denied for list constraint
s.\nIndicate that enforcement is on for boolean constraints." |
1345 ], | 1204 ], |
1346 "type": "string" | 1205 "type": "string" |
1347 }, | 1206 }, |
1348 "name": { | 1207 "name": { |
1349 "description": "Immutable value, required to globally be uni
que. For example,\n`constraints/serviceuser.services`", | 1208 "description": "Immutable value, required to globally be uni
que. For example,\n`constraints/serviceuser.services`", |
1350 "type": "string" | 1209 "type": "string" |
1351 }, | |
1352 "version": { | |
1353 "description": "Version of the `Constraint`. Default version
is 0;", | |
1354 "format": "int32", | |
1355 "type": "integer" | |
1356 }, | |
1357 "listConstraint": { | |
1358 "$ref": "ListConstraint", | |
1359 "description": "Defines this constraint as being a ListConst
raint." | |
1360 } | |
1361 }, | |
1362 "type": "object" | |
1363 }, | |
1364 "ListLiensResponse": { | |
1365 "description": "The response message for Liens.ListLiens.", | |
1366 "id": "ListLiensResponse", | |
1367 "properties": { | |
1368 "liens": { | |
1369 "description": "A list of Liens.", | |
1370 "items": { | |
1371 "$ref": "Lien" | |
1372 }, | |
1373 "type": "array" | |
1374 }, | |
1375 "nextPageToken": { | |
1376 "description": "Token to retrieve the next page of results,
or empty if there are no more\nresults in the list.", | |
1377 "type": "string" | |
1378 } | 1210 } |
1379 }, | 1211 }, |
1380 "type": "object" | 1212 "type": "object" |
1381 }, | |
1382 "Status": { | |
1383 "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` that can be used for common error conditions.\n\n# Lang
uage 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` mess
age is\nexposed in different client libraries and different wire protocols, it c
an be\nmapped differently. For example, it will likely be mapped to some excepti
ons\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\nenvironm
ents, either with or without APIs, to provide a\nconsistent developer experience
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 m
ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a
client uses batch request and batch response, the\n `Status` message should
be used directly inside batch response, one for\n each error sub-response.\n\
n- Asynchronous operations. If an API call embeds asynchronous operation\n re
sults in its response, the status of those operations should be\n represented
directly using the `Status` message.\n\n- Logging. If some API errors are store
d in logs, the message `Status` could\n be used directly after any stripping
needed for security/privacy reasons.", | |
1384 "id": "Status", | |
1385 "properties": { | |
1386 "details": { | |
1387 "description": "A list of messages that carry the error deta
ils. There is a common set of\nmessage types for APIs to use.", | |
1388 "items": { | |
1389 "additionalProperties": { | |
1390 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
1391 "type": "any" | |
1392 }, | |
1393 "type": "object" | |
1394 }, | |
1395 "type": "array" | |
1396 }, | |
1397 "code": { | |
1398 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1399 "format": "int32", | |
1400 "type": "integer" | |
1401 }, | |
1402 "message": { | |
1403 "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.", | |
1404 "type": "string" | |
1405 } | |
1406 }, | |
1407 "type": "object" | |
1408 }, | 1213 }, |
1409 "Binding": { | 1214 "Binding": { |
1410 "description": "Associates `members` with a `role`.", | 1215 "description": "Associates `members` with a `role`.", |
1411 "id": "Binding", | 1216 "id": "Binding", |
1412 "properties": { | 1217 "properties": { |
1413 "members": { | 1218 "members": { |
1414 "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", | 1219 "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", |
1415 "items": { | 1220 "items": { |
1416 "type": "string" | 1221 "type": "string" |
1417 }, | 1222 }, |
1418 "type": "array" | 1223 "type": "array" |
1419 }, | 1224 }, |
1420 "role": { | 1225 "role": { |
1421 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", | 1226 "description": "Role that is assigned to `members`.\nFor exa
mple, `roles/viewer`, `roles/editor`, or `roles/owner`.\nRequired", |
1422 "type": "string" | 1227 "type": "string" |
1423 } | 1228 } |
1424 }, | 1229 }, |
1425 "type": "object" | 1230 "type": "object" |
1426 }, | 1231 }, |
1427 "RestoreDefault": { | |
1428 "description": "Ignores policies set above this resource and restore
s the\n`constraint_default` enforcement behavior of the specific `Constraint` at
\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\
n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo
.com sets a `Policy` at their Organization resource node that restricts\nthe all
owed service activations to deny all service activations. They\ncould then set a
`Policy` with the `policy_type` `restore_default` on\nseveral experimental proj
ects, restoring the `constraint_default`\nenforcement of the `Constraint` for on
ly those projects, allowing those\nprojects to have all services activated.", | |
1429 "id": "RestoreDefault", | |
1430 "properties": {}, | |
1431 "type": "object" | |
1432 }, | |
1433 "GetOrgPolicyRequest": { | 1232 "GetOrgPolicyRequest": { |
1434 "description": "The request sent to the GetOrgPolicy method.", | 1233 "description": "The request sent to the GetOrgPolicy method.", |
1435 "id": "GetOrgPolicyRequest", | 1234 "id": "GetOrgPolicyRequest", |
1436 "properties": { | 1235 "properties": { |
1437 "constraint": { | 1236 "constraint": { |
1438 "description": "Name of the `Constraint` to get the `Policy`
.", | 1237 "description": "Name of the `Constraint` to get the `Policy`
.", |
1439 "type": "string" | 1238 "type": "string" |
1440 } | 1239 } |
1441 }, | 1240 }, |
1442 "type": "object" | 1241 "type": "object" |
1443 }, | 1242 }, |
| 1243 "RestoreDefault": { |
| 1244 "description": "Ignores policies set above this resource and restore
s the\n`constraint_default` enforcement behavior of the specific `Constraint` at
\nthis resource.\n\nSuppose that `constraint_default` is set to `ALLOW` for the\
n`Constraint` `constraints/serviceuser.services`. Suppose that organization\nfoo
.com sets a `Policy` at their Organization resource node that restricts\nthe all
owed service activations to deny all service activations. They\ncould then set a
`Policy` with the `policy_type` `restore_default` on\nseveral experimental proj
ects, restoring the `constraint_default`\nenforcement of the `Constraint` for on
ly those projects, allowing those\nprojects to have all services activated.", |
| 1245 "id": "RestoreDefault", |
| 1246 "properties": {}, |
| 1247 "type": "object" |
| 1248 }, |
| 1249 "UndeleteProjectRequest": { |
| 1250 "description": "The request sent to the UndeleteProject\nmethod.", |
| 1251 "id": "UndeleteProjectRequest", |
| 1252 "properties": {}, |
| 1253 "type": "object" |
| 1254 }, |
1444 "ClearOrgPolicyRequest": { | 1255 "ClearOrgPolicyRequest": { |
1445 "description": "The request sent to the ClearOrgPolicy method.", | 1256 "description": "The request sent to the ClearOrgPolicy method.", |
1446 "id": "ClearOrgPolicyRequest", | 1257 "id": "ClearOrgPolicyRequest", |
1447 "properties": { | 1258 "properties": { |
1448 "etag": { | 1259 "etag": { |
1449 "description": "The current version, for concurrency control
. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", | 1260 "description": "The current version, for concurrency control
. Not sending an `etag`\nwill cause the `Policy` to be cleared blindly.", |
1450 "format": "byte", | 1261 "format": "byte", |
1451 "type": "string" | 1262 "type": "string" |
1452 }, | 1263 }, |
1453 "constraint": { | 1264 "constraint": { |
1454 "description": "Name of the `Constraint` of the `Policy` to
clear.", | 1265 "description": "Name of the `Constraint` of the `Policy` to
clear.", |
1455 "type": "string" | 1266 "type": "string" |
1456 } | 1267 } |
1457 }, | 1268 }, |
1458 "type": "object" | 1269 "type": "object" |
1459 }, | 1270 }, |
1460 "UndeleteProjectRequest": { | |
1461 "description": "The request sent to the UndeleteProject\nmethod.", | |
1462 "id": "UndeleteProjectRequest", | |
1463 "properties": {}, | |
1464 "type": "object" | |
1465 }, | |
1466 "ProjectCreationStatus": { | 1271 "ProjectCreationStatus": { |
1467 "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.", | 1272 "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.", |
1468 "id": "ProjectCreationStatus", | 1273 "id": "ProjectCreationStatus", |
1469 "properties": { | 1274 "properties": { |
| 1275 "ready": { |
| 1276 "description": "True if the project creation process is comp
lete.", |
| 1277 "type": "boolean" |
| 1278 }, |
1470 "gettable": { | 1279 "gettable": { |
1471 "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.", | 1280 "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.", |
1472 "type": "boolean" | 1281 "type": "boolean" |
1473 }, | 1282 }, |
1474 "createTime": { | 1283 "createTime": { |
1475 "description": "Creation time of the project creation workfl
ow.", | 1284 "description": "Creation time of the project creation workfl
ow.", |
1476 "format": "google-datetime", | 1285 "format": "google-datetime", |
1477 "type": "string" | 1286 "type": "string" |
1478 }, | |
1479 "ready": { | |
1480 "description": "True if the project creation process is comp
lete.", | |
1481 "type": "boolean" | |
1482 } | 1287 } |
1483 }, | 1288 }, |
1484 "type": "object" | 1289 "type": "object" |
1485 }, | 1290 }, |
1486 "BooleanConstraint": { | 1291 "BooleanConstraint": { |
1487 "description": "A `Constraint` that is either enforced or not.\n\nFo
r example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is
enforced on a VM instance, serial port connections will not be\nopened to that i
nstance.", | 1292 "description": "A `Constraint` that is either enforced or not.\n\nFo
r example a constraint `constraints/compute.disableSerialPortAccess`.\nIf it is
enforced on a VM instance, serial port connections will not be\nopened to that i
nstance.", |
1488 "id": "BooleanConstraint", | 1293 "id": "BooleanConstraint", |
1489 "properties": {}, | 1294 "properties": {}, |
1490 "type": "object" | 1295 "type": "object" |
1491 }, | 1296 }, |
1492 "GetIamPolicyRequest": { | |
1493 "description": "Request message for `GetIamPolicy` method.", | |
1494 "id": "GetIamPolicyRequest", | |
1495 "properties": {}, | |
1496 "type": "object" | |
1497 }, | |
1498 "TestIamPermissionsResponse": { | 1297 "TestIamPermissionsResponse": { |
1499 "description": "Response message for `TestIamPermissions` method.", | 1298 "description": "Response message for `TestIamPermissions` method.", |
1500 "id": "TestIamPermissionsResponse", | 1299 "id": "TestIamPermissionsResponse", |
1501 "properties": { | 1300 "properties": { |
1502 "permissions": { | 1301 "permissions": { |
1503 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 1302 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
1504 "items": { | 1303 "items": { |
1505 "type": "string" | 1304 "type": "string" |
1506 }, | 1305 }, |
1507 "type": "array" | 1306 "type": "array" |
1508 } | 1307 } |
1509 }, | 1308 }, |
1510 "type": "object" | 1309 "type": "object" |
1511 }, | 1310 }, |
| 1311 "GetIamPolicyRequest": { |
| 1312 "description": "Request message for `GetIamPolicy` method.", |
| 1313 "id": "GetIamPolicyRequest", |
| 1314 "properties": {}, |
| 1315 "type": "object" |
| 1316 }, |
1512 "OrganizationOwner": { | 1317 "OrganizationOwner": { |
1513 "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.", | 1318 "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.", |
1514 "id": "OrganizationOwner", | 1319 "id": "OrganizationOwner", |
1515 "properties": { | 1320 "properties": { |
1516 "directoryCustomerId": { | 1321 "directoryCustomerId": { |
1517 "description": "The Google for Work customer id used in the
Directory API.", | 1322 "description": "The Google for Work customer id used in the
Directory API.", |
1518 "type": "string" | 1323 "type": "string" |
1519 } | 1324 } |
1520 }, | 1325 }, |
1521 "type": "object" | 1326 "type": "object" |
1522 }, | 1327 }, |
1523 "ListProjectsResponse": { | 1328 "ListProjectsResponse": { |
1524 "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.", | 1329 "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.", |
1525 "id": "ListProjectsResponse", | 1330 "id": "ListProjectsResponse", |
1526 "properties": { | 1331 "properties": { |
| 1332 "nextPageToken": { |
| 1333 "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."
, |
| 1334 "type": "string" |
| 1335 }, |
1527 "projects": { | 1336 "projects": { |
1528 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", | 1337 "description": "The list of Projects that matched the list f
ilter. This list can\nbe paginated.", |
1529 "items": { | 1338 "items": { |
1530 "$ref": "Project" | 1339 "$ref": "Project" |
1531 }, | 1340 }, |
1532 "type": "array" | 1341 "type": "array" |
1533 }, | |
1534 "nextPageToken": { | |
1535 "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."
, | |
1536 "type": "string" | |
1537 } | 1342 } |
1538 }, | 1343 }, |
1539 "type": "object" | 1344 "type": "object" |
1540 }, | 1345 }, |
1541 "Project": { | 1346 "Project": { |
1542 "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.", | 1347 "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.", |
1543 "id": "Project", | 1348 "id": "Project", |
1544 "properties": { | 1349 "properties": { |
1545 "projectId": { | |
1546 "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.", | |
1547 "type": "string" | |
1548 }, | |
1549 "lifecycleState": { | 1350 "lifecycleState": { |
1550 "description": "The Project lifecycle state.\n\nRead-only.", | 1351 "description": "The Project lifecycle state.\n\nRead-only.", |
1551 "enum": [ | 1352 "enum": [ |
1552 "LIFECYCLE_STATE_UNSPECIFIED", | 1353 "LIFECYCLE_STATE_UNSPECIFIED", |
1553 "ACTIVE", | 1354 "ACTIVE", |
1554 "DELETE_REQUESTED", | 1355 "DELETE_REQUESTED", |
1555 "DELETE_IN_PROGRESS" | 1356 "DELETE_IN_PROGRESS" |
1556 ], | 1357 ], |
1557 "enumDescriptions": [ | 1358 "enumDescriptions": [ |
1558 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", | 1359 "Unspecified state. This is only used/useful for distin
guishing\nunset values.", |
(...skipping 20 matching lines...) Loading... |
1579 "type": "object" | 1380 "type": "object" |
1580 }, | 1381 }, |
1581 "createTime": { | 1382 "createTime": { |
1582 "description": "Creation time.\n\nRead-only.", | 1383 "description": "Creation time.\n\nRead-only.", |
1583 "format": "google-datetime", | 1384 "format": "google-datetime", |
1584 "type": "string" | 1385 "type": "string" |
1585 }, | 1386 }, |
1586 "name": { | 1387 "name": { |
1587 "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.", | 1388 "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.", |
1588 "type": "string" | 1389 "type": "string" |
| 1390 }, |
| 1391 "projectId": { |
| 1392 "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.", |
| 1393 "type": "string" |
1589 } | 1394 } |
1590 }, | 1395 }, |
1591 "type": "object" | 1396 "type": "object" |
1592 }, | 1397 }, |
1593 "SearchOrganizationsResponse": { | 1398 "SearchOrganizationsResponse": { |
1594 "description": "The response returned from the `SearchOrganizations`
method.", | 1399 "description": "The response returned from the `SearchOrganizations`
method.", |
1595 "id": "SearchOrganizationsResponse", | 1400 "id": "SearchOrganizationsResponse", |
1596 "properties": { | 1401 "properties": { |
| 1402 "nextPageToken": { |
| 1403 "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.", |
| 1404 "type": "string" |
| 1405 }, |
1597 "organizations": { | 1406 "organizations": { |
1598 "description": "The list of Organizations that matched the s
earch query, possibly\npaginated.", | 1407 "description": "The list of Organizations that matched the s
earch query, possibly\npaginated.", |
1599 "items": { | 1408 "items": { |
1600 "$ref": "Organization" | 1409 "$ref": "Organization" |
1601 }, | 1410 }, |
1602 "type": "array" | 1411 "type": "array" |
1603 }, | |
1604 "nextPageToken": { | |
1605 "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.", | |
1606 "type": "string" | |
1607 } | 1412 } |
1608 }, | 1413 }, |
1609 "type": "object" | 1414 "type": "object" |
1610 }, | 1415 }, |
1611 "ListOrgPoliciesResponse": { | 1416 "ListOrgPoliciesResponse": { |
1612 "description": "The response returned from the ListOrgPolicies metho
d. It will be empty\nif no `Policies` are set on the resource.", | 1417 "description": "The response returned from the ListOrgPolicies metho
d. It will be empty\nif no `Policies` are set on the resource.", |
1613 "id": "ListOrgPoliciesResponse", | 1418 "id": "ListOrgPoliciesResponse", |
1614 "properties": { | 1419 "properties": { |
| 1420 "nextPageToken": { |
| 1421 "description": "Page token used to retrieve the next page. T
his is currently not used, but\nthe server may at any point start supplying a va
lid token.", |
| 1422 "type": "string" |
| 1423 }, |
1615 "policies": { | 1424 "policies": { |
1616 "description": "The `Policies` that are set on the resource.
It will be empty if no\n`Policies` are set.", | 1425 "description": "The `Policies` that are set on the resource.
It will be empty if no\n`Policies` are set.", |
1617 "items": { | 1426 "items": { |
1618 "$ref": "OrgPolicy" | 1427 "$ref": "OrgPolicy" |
1619 }, | 1428 }, |
1620 "type": "array" | 1429 "type": "array" |
1621 }, | |
1622 "nextPageToken": { | |
1623 "description": "Page token used to retrieve the next page. T
his is currently not used, but\nthe server may at any point start supplying a va
lid token.", | |
1624 "type": "string" | |
1625 } | 1430 } |
1626 }, | 1431 }, |
1627 "type": "object" | 1432 "type": "object" |
1628 }, | 1433 }, |
1629 "FolderOperationError": { | 1434 "FolderOperationError": { |
1630 "description": "A classification of the Folder Operation error.", | 1435 "description": "A classification of the Folder Operation error.", |
1631 "id": "FolderOperationError", | 1436 "id": "FolderOperationError", |
1632 "properties": { | 1437 "properties": { |
1633 "errorMessageId": { | 1438 "errorMessageId": { |
1634 "description": "The type of operation error experienced.", | 1439 "description": "The type of operation error experienced.", |
(...skipping 34 matching lines...) Loading... |
1669 "description": "If `true`, then the `Policy` is enforced. If
`false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constrai
nt` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set
to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\
n - If the `Policy` at this resource has enforced set to `false`, serial\n p
ort connection attempts will be allowed.\n - If the `Policy` at this resource h
as enforced set to `true`, serial\n port connection attempts will be refused.
\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n con
nection attempts will be allowed.\n - If no `Policy` is set at this resource or
anywhere higher in the\n resource hierarchy, serial port connection attempts
will be allowed.\n - If no `Policy` is set at this resource, but one exists hi
gher in the\n resource hierarchy, the behavior is as if the`Policy` were set
at\n this resource.\n\nThe following examples demonstrate the different possi
ble layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo`
has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` se
t.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforc
ed.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Poli
cy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {en
forced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe const
raint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organiza
tions/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `P
olicy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is
enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constrai
nt_default` for the `Constraint` is `ALLOW`.", | 1474 "description": "If `true`, then the `Policy` is enforced. If
`false`, then any\nconfiguration is acceptable.\n\nSuppose you have a `Constrai
nt` `constraints/compute.disableSerialPortAccess`\nwith `constraint_default` set
to `ALLOW`. A `Policy` for that\n`Constraint` exhibits the following behavior:\
n - If the `Policy` at this resource has enforced set to `false`, serial\n p
ort connection attempts will be allowed.\n - If the `Policy` at this resource h
as enforced set to `true`, serial\n port connection attempts will be refused.
\n - If the `Policy` at this resource is `RestoreDefault`, serial port\n con
nection attempts will be allowed.\n - If no `Policy` is set at this resource or
anywhere higher in the\n resource hierarchy, serial port connection attempts
will be allowed.\n - If no `Policy` is set at this resource, but one exists hi
gher in the\n resource hierarchy, the behavior is as if the`Policy` were set
at\n this resource.\n\nThe following examples demonstrate the different possi
ble layerings:\n\nExample 1 (nearest `Constraint` wins):\n `organizations/foo`
has a `Policy` with:\n {enforced: false}\n `projects/bar` has no `Policy` se
t.\nThe constraint at `projects/bar` and `organizations/foo` will not be\nenforc
ed.\n\nExample 2 (enforcement gets replaced):\n `organizations/foo` has a `Poli
cy` with:\n {enforced: false}\n `projects/bar` has a `Policy` with:\n {en
forced: true}\nThe constraint at `organizations/foo` is not enforced.\nThe const
raint at `projects/bar` is enforced.\n\nExample 3 (RestoreDefault):\n `organiza
tions/foo` has a `Policy` with:\n {enforced: true}\n `projects/bar` has a `P
olicy` with:\n {RestoreDefault: {}}\nThe constraint at `organizations/foo` is
enforced.\nThe constraint at `projects/bar` is not enforced, because\n`constrai
nt_default` for the `Constraint` is `ALLOW`.", |
1670 "type": "boolean" | 1475 "type": "boolean" |
1671 } | 1476 } |
1672 }, | 1477 }, |
1673 "type": "object" | 1478 "type": "object" |
1674 }, | 1479 }, |
1675 "OrgPolicy": { | 1480 "OrgPolicy": { |
1676 "description": "Defines a Cloud Organization `Policy` which is used
to specify `Constraints`\nfor configurations of Cloud Platform resources.", | 1481 "description": "Defines a Cloud Organization `Policy` which is used
to specify `Constraints`\nfor configurations of Cloud Platform resources.", |
1677 "id": "OrgPolicy", | 1482 "id": "OrgPolicy", |
1678 "properties": { | 1483 "properties": { |
1679 "version": { | |
1680 "description": "Version of the `Policy`. Default version is
0;", | |
1681 "format": "int32", | |
1682 "type": "integer" | |
1683 }, | |
1684 "restoreDefault": { | |
1685 "$ref": "RestoreDefault", | |
1686 "description": "Restores the default behavior of the constra
int; independent of\n`Constraint` type." | |
1687 }, | |
1688 "listPolicy": { | 1484 "listPolicy": { |
1689 "$ref": "ListPolicy", | 1485 "$ref": "ListPolicy", |
1690 "description": "List of values either allowed or disallowed.
" | 1486 "description": "List of values either allowed or disallowed.
" |
1691 }, | 1487 }, |
1692 "etag": { | 1488 "etag": { |
1693 "description": "An opaque tag indicating the current version
of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returne
d from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates
the version of the current\n`Policy` to use when executing a read-modify-write
loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\
n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method,
use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of
a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n
`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", | 1489 "description": "An opaque tag indicating the current version
of the `Policy`, used for\nconcurrency control.\n\nWhen the `Policy` is returne
d from either a `GetPolicy` or a\n`ListOrgPolicy` request, this `etag` indicates
the version of the current\n`Policy` to use when executing a read-modify-write
loop.\n\nWhen the `Policy` is returned from a `GetEffectivePolicy` request, the\
n`etag` will be unset.\n\nWhen the `Policy` is used in a `SetOrgPolicy` method,
use the `etag` value\nthat was returned from a `GetOrgPolicy` request as part of
a\nread-modify-write loop for concurrency control. Not setting the `etag`in a\n
`SetOrgPolicy` request will result in an unconditional write of the\n`Policy`.", |
1694 "format": "byte", | 1490 "format": "byte", |
1695 "type": "string" | 1491 "type": "string" |
1696 }, | 1492 }, |
| 1493 "booleanPolicy": { |
| 1494 "$ref": "BooleanPolicy", |
| 1495 "description": "For boolean `Constraints`, whether to enforc
e the `Constraint` or not." |
| 1496 }, |
1697 "constraint": { | 1497 "constraint": { |
1698 "description": "The name of the `Constraint` the `Policy` is
configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable aft
er creation.", | 1498 "description": "The name of the `Constraint` the `Policy` is
configuring, for example,\n`constraints/serviceuser.services`.\n\nImmutable aft
er creation.", |
1699 "type": "string" | 1499 "type": "string" |
1700 }, | 1500 }, |
1701 "booleanPolicy": { | |
1702 "$ref": "BooleanPolicy", | |
1703 "description": "For boolean `Constraints`, whether to enforc
e the `Constraint` or not." | |
1704 }, | |
1705 "updateTime": { | 1501 "updateTime": { |
1706 "description": "The time stamp the `Policy` was previously u
pdated. This is set by the\nserver, not specified by the caller, and represents
the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value se
t by the client will\nbe ignored.", | 1502 "description": "The time stamp the `Policy` was previously u
pdated. This is set by the\nserver, not specified by the caller, and represents
the last time a call to\n`SetOrgPolicy` was made for that `Policy`. Any value se
t by the client will\nbe ignored.", |
1707 "format": "google-datetime", | 1503 "format": "google-datetime", |
1708 "type": "string" | 1504 "type": "string" |
| 1505 }, |
| 1506 "version": { |
| 1507 "description": "Version of the `Policy`. Default version is
0;", |
| 1508 "format": "int32", |
| 1509 "type": "integer" |
| 1510 }, |
| 1511 "restoreDefault": { |
| 1512 "$ref": "RestoreDefault", |
| 1513 "description": "Restores the default behavior of the constra
int; independent of\n`Constraint` type." |
1709 } | 1514 } |
1710 }, | 1515 }, |
1711 "type": "object" | 1516 "type": "object" |
1712 }, | 1517 }, |
1713 "Lien": { | 1518 "Lien": { |
1714 "description": "A Lien represents an encumbrance on the actions that
can be performed on a\nresource.", | 1519 "description": "A Lien represents an encumbrance on the actions that
can be performed on a\nresource.", |
1715 "id": "Lien", | 1520 "id": "Lien", |
1716 "properties": { | 1521 "properties": { |
1717 "parent": { | 1522 "parent": { |
1718 "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`", | 1523 "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`", |
(...skipping 78 matching lines...) Loading... |
1797 "Empty": { | 1602 "Empty": { |
1798 "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 `{}`.", | 1603 "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 `{}`.", |
1799 "id": "Empty", | 1604 "id": "Empty", |
1800 "properties": {}, | 1605 "properties": {}, |
1801 "type": "object" | 1606 "type": "object" |
1802 }, | 1607 }, |
1803 "Organization": { | 1608 "Organization": { |
1804 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", | 1609 "description": "The root node in the resource hierarchy to which a p
articular entity's\n(e.g., company) resources belong.", |
1805 "id": "Organization", | 1610 "id": "Organization", |
1806 "properties": { | 1611 "properties": { |
| 1612 "creationTime": { |
| 1613 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", |
| 1614 "format": "google-datetime", |
| 1615 "type": "string" |
| 1616 }, |
1807 "lifecycleState": { | 1617 "lifecycleState": { |
1808 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", | 1618 "description": "The organization's current lifecycle state.
Assigned by the server.\n@OutputOnly", |
1809 "enum": [ | 1619 "enum": [ |
1810 "LIFECYCLE_STATE_UNSPECIFIED", | 1620 "LIFECYCLE_STATE_UNSPECIFIED", |
1811 "ACTIVE", | 1621 "ACTIVE", |
1812 "DELETE_REQUESTED" | 1622 "DELETE_REQUESTED" |
1813 ], | 1623 ], |
1814 "enumDescriptions": [ | 1624 "enumDescriptions": [ |
1815 "Unspecified state. This is only useful for distinguish
ing unset values.", | 1625 "Unspecified state. This is only useful for distinguish
ing unset values.", |
1816 "The normal and active state.", | 1626 "The normal and active state.", |
1817 "The organization has been marked for deletion by the us
er." | 1627 "The organization has been marked for deletion by the us
er." |
1818 ], | 1628 ], |
1819 "type": "string" | 1629 "type": "string" |
1820 }, | 1630 }, |
1821 "owner": { | 1631 "owner": { |
1822 "$ref": "OrganizationOwner", | 1632 "$ref": "OrganizationOwner", |
1823 "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." | 1633 "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." |
1824 }, | 1634 }, |
1825 "name": { | 1635 "name": { |
1826 "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\".", | 1636 "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\".", |
1827 "type": "string" | 1637 "type": "string" |
1828 }, | 1638 }, |
1829 "displayName": { | 1639 "displayName": { |
1830 "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", | 1640 "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", |
1831 "type": "string" | 1641 "type": "string" |
1832 }, | |
1833 "creationTime": { | |
1834 "description": "Timestamp when the Organization was created.
Assigned by the server.\n@OutputOnly", | |
1835 "format": "google-datetime", | |
1836 "type": "string" | |
1837 } | 1642 } |
1838 }, | 1643 }, |
1839 "type": "object" | 1644 "type": "object" |
1840 }, | 1645 }, |
1841 "ListAvailableOrgPolicyConstraintsResponse": { | 1646 "ListAvailableOrgPolicyConstraintsResponse": { |
1842 "description": "The response returned from the ListAvailableOrgPolic
yConstraints method.\nReturns all `Constraints` that could be set at this level
of the hierarchy\n(contrast with the response from `ListPolicies`, which returns
all policies\nwhich are set).", | 1647 "description": "The response returned from the ListAvailableOrgPolic
yConstraints method.\nReturns all `Constraints` that could be set at this level
of the hierarchy\n(contrast with the response from `ListPolicies`, which returns
all policies\nwhich are set).", |
1843 "id": "ListAvailableOrgPolicyConstraintsResponse", | 1648 "id": "ListAvailableOrgPolicyConstraintsResponse", |
1844 "properties": { | 1649 "properties": { |
| 1650 "nextPageToken": { |
| 1651 "description": "Page token used to retrieve the next page. T
his is currently not used.", |
| 1652 "type": "string" |
| 1653 }, |
1845 "constraints": { | 1654 "constraints": { |
1846 "description": "The collection of constraints that are setta
ble on the request resource.", | 1655 "description": "The collection of constraints that are setta
ble on the request resource.", |
1847 "items": { | 1656 "items": { |
1848 "$ref": "Constraint" | 1657 "$ref": "Constraint" |
1849 }, | 1658 }, |
1850 "type": "array" | 1659 "type": "array" |
1851 }, | |
1852 "nextPageToken": { | |
1853 "description": "Page token used to retrieve the next page. T
his is currently not used.", | |
1854 "type": "string" | |
1855 } | 1660 } |
1856 }, | 1661 }, |
1857 "type": "object" | 1662 "type": "object" |
1858 }, | 1663 }, |
1859 "ListPolicy": { | 1664 "ListPolicy": { |
1860 "description": "Used in `policy_type` to specify how `list_policy` b
ehaves at this\nresource.\n\nA `ListPolicy` can define specific values that are
allowed or denied by\nsetting either the `allowed_values` or `denied_values` fie
lds. It can also\nbe used to allow or deny all values, by setting the `all_value
s` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_
values`\nor `denied_values` must be set (attempting to set both or neither will\
nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY
`, `allowed_values` and `denied_values` must be unset.", | 1665 "description": "Used in `policy_type` to specify how `list_policy` b
ehaves at this\nresource.\n\nA `ListPolicy` can define specific values that are
allowed or denied by\nsetting either the `allowed_values` or `denied_values` fie
lds. It can also\nbe used to allow or deny all values, by setting the `all_value
s` field. If\n`all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of `allowed_
values`\nor `denied_values` must be set (attempting to set both or neither will\
nresult in a failed request). If `all_values` is set to either `ALLOW` or\n`DENY
`, `allowed_values` and `denied_values` must be unset.", |
1861 "id": "ListPolicy", | 1666 "id": "ListPolicy", |
1862 "properties": { | 1667 "properties": { |
1863 "deniedValues": { | |
1864 "description": "List of values denied at this resource. Can
only be set if no values are\nset for `allowed_values` and `all_values` is set t
o\n`ALL_VALUES_UNSPECIFIED`.", | |
1865 "items": { | |
1866 "type": "string" | |
1867 }, | |
1868 "type": "array" | |
1869 }, | |
1870 "allValues": { | 1668 "allValues": { |
1871 "description": "The policy all_values state.", | 1669 "description": "The policy all_values state.", |
1872 "enum": [ | 1670 "enum": [ |
1873 "ALL_VALUES_UNSPECIFIED", | 1671 "ALL_VALUES_UNSPECIFIED", |
1874 "ALLOW", | 1672 "ALLOW", |
1875 "DENY" | 1673 "DENY" |
1876 ], | 1674 ], |
1877 "enumDescriptions": [ | 1675 "enumDescriptions": [ |
1878 "Indicates that either allowed_values or denied_values m
ust be set.", | 1676 "Indicates that either allowed_values or denied_values m
ust be set.", |
1879 "A policy with this set allows all values.", | 1677 "A policy with this set allows all values.", |
1880 "A policy with this set denies all values." | 1678 "A policy with this set denies all values." |
1881 ], | 1679 ], |
1882 "type": "string" | 1680 "type": "string" |
1883 }, | 1681 }, |
1884 "allowedValues": { | 1682 "allowedValues": { |
1885 "description": "List of values allowed at this resource. Ca
n only be set if no values\nare set for `denied_values` and `all_values` is set
to\n`ALL_VALUES_UNSPECIFIED`.", | 1683 "description": "List of values allowed at this resource. Ca
n only be set if no values\nare set for `denied_values` and `all_values` is set
to\n`ALL_VALUES_UNSPECIFIED`.", |
1886 "items": { | 1684 "items": { |
1887 "type": "string" | 1685 "type": "string" |
1888 }, | 1686 }, |
1889 "type": "array" | 1687 "type": "array" |
1890 }, | 1688 }, |
1891 "inheritFromParent": { | 1689 "inheritFromParent": { |
1892 "description": "Determines the inheritance behavior for this
`Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Polic
y` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is
\nset to `true`, then the values from the effective `Policy` of the parent\nreso
urce are inherited, meaning the values set in this `Policy` are\nadded to the va
lues inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit bo
th allowed values and denied\nvalues isn't recommended in most circumstances to
keep the configuration\nsimple and understandable. However, it is possible to se
t a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_va
lues` set.\nIn this case, the values that are allowed must be in `allowed_values
` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Const
raint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`l
ist_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at
the Organization level, a `Policy` is applied that\nrestricts the allowed API ac
tivations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below th
e Organization that has\n`inherit_from_parent` set to `false` and field all_valu
es set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe foll
owing examples demonstrate different possible layerings:\n\nExample 1 (no inheri
ted values):\n `organizations/foo` has a `Policy` with values:\n {allowed_va
lues: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `f
alse` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe acce
pted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `proj
ects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations
/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”
}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” in
herit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `
E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nE
xample 3 (inheriting both allowed and denied values):\n `organizations/foo` has
a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n
`projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted
values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/b
ar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy
` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar`
has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `
organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are ei
ther all or none depending on\nthe value of `constraint_default` (if `ALLOW`, al
l; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organ
izations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe a
ccepted values at both levels are either all or none depending on\nthe value of
`constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListCons
traint allowing all):\n `organizations/foo` has a `Policy` with values:\n {a
llowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:
\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nA
ny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing no
ne):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E
1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}
\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepte
d at `projects/bar`.", | 1690 "description": "Determines the inheritance behavior for this
`Policy`.\n\nBy default, a `ListPolicy` set at a resource supercedes any `Polic
y` set\nanywhere up the resource hierarchy. However, if `inherit_from_parent` is
\nset to `true`, then the values from the effective `Policy` of the parent\nreso
urce are inherited, meaning the values set in this `Policy` are\nadded to the va
lues inherited up the hierarchy.\n\nSetting `Policy` hierarchies that inherit bo
th allowed values and denied\nvalues isn't recommended in most circumstances to
keep the configuration\nsimple and understandable. However, it is possible to se
t a `Policy` with\n`allowed_values` set that inherits a `Policy` with `denied_va
lues` set.\nIn this case, the values that are allowed must be in `allowed_values
` and\nnot present in `denied_values`.\n\nFor example, suppose you have a `Const
raint`\n`constraints/serviceuser.services`, which has a `constraint_type` of\n`l
ist_constraint`, and with `constraint_default` set to `ALLOW`.\nSuppose that at
the Organization level, a `Policy` is applied that\nrestricts the allowed API ac
tivations to {`E1`, `E2`}. Then, if a\n`Policy` is applied to a project below th
e Organization that has\n`inherit_from_parent` set to `false` and field all_valu
es set to DENY,\nthen an attempt to activate any API will be denied.\n\nThe foll
owing examples demonstrate different possible layerings:\n\nExample 1 (no inheri
ted values):\n `organizations/foo` has a `Policy` with values:\n {allowed_va
lues: “E1” allowed_values:”E2”}\n ``projects/bar`` has `inherit_from_parent` `f
alse` and values:\n {allowed_values: \"E3\" allowed_values: \"E4\"}\nThe acce
pted values at `organizations/foo` are `E1`, `E2`.\nThe accepted values at `proj
ects/bar` are `E3`, and `E4`.\n\nExample 2 (inherited values):\n `organizations
/foo` has a `Policy` with values:\n {allowed_values: “E1” allowed_values:”E2”
}\n `projects/bar` has a `Policy` with values:\n {value: “E3” value: ”E4” in
herit_from_parent: true}\nThe accepted values at `organizations/foo` are `E1`, `
E2`.\nThe accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`.\n\nE
xample 3 (inheriting both allowed and denied values):\n `organizations/foo` has
a `Policy` with values:\n {allowed_values: \"E1\" allowed_values: \"E2\"}\n
`projects/bar` has a `Policy` with:\n {denied_values: \"E1\"}\nThe accepted
values at `organizations/foo` are `E1`, `E2`.\nThe value accepted at `projects/b
ar` is `E2`.\n\nExample 4 (RestoreDefault):\n `organizations/foo` has a `Policy
` with values:\n {allowed_values: “E1” allowed_values:”E2”}\n `projects/bar`
has a `Policy` with values:\n {RestoreDefault: {}}\nThe accepted values at `
organizations/foo` are `E1`, `E2`.\nThe accepted values at `projects/bar` are ei
ther all or none depending on\nthe value of `constraint_default` (if `ALLOW`, al
l; if\n`DENY`, none).\n\nExample 5 (no policy inherits parent policy):\n `organ
izations/foo` has no `Policy` set.\n `projects/bar` has no `Policy` set.\nThe a
ccepted values at both levels are either all or none depending on\nthe value of
`constraint_default` (if `ALLOW`, all; if\n`DENY`, none).\n\nExample 6 (ListCons
traint allowing all):\n `organizations/foo` has a `Policy` with values:\n {a
llowed_values: “E1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:
\n {all: ALLOW}\nThe accepted values at `organizations/foo` are `E1`, E2`.\nA
ny value is accepted at `projects/bar`.\n\nExample 7 (ListConstraint allowing no
ne):\n `organizations/foo` has a `Policy` with values:\n {allowed_values: “E
1” allowed_values: ”E2”}\n `projects/bar` has a `Policy` with:\n {all: DENY}
\nThe accepted values at `organizations/foo` are `E1`, E2`.\nNo value is accepte
d at `projects/bar`.", |
1893 "type": "boolean" | 1691 "type": "boolean" |
1894 }, | 1692 }, |
1895 "suggestedValue": { | 1693 "suggestedValue": { |
1896 "description": "Optional. The Google Cloud Console will try
to default to a configuration\nthat matches the value specified in this `Policy`
. If `suggested_value`\nis not set, it will inherit the value specified higher i
n the hierarchy,\nunless `inherit_from_parent` is `false`.", | 1694 "description": "Optional. The Google Cloud Console will try
to default to a configuration\nthat matches the value specified in this `Policy`
. If `suggested_value`\nis not set, it will inherit the value specified higher i
n the hierarchy,\nunless `inherit_from_parent` is `false`.", |
1897 "type": "string" | 1695 "type": "string" |
| 1696 }, |
| 1697 "deniedValues": { |
| 1698 "description": "List of values denied at this resource. Can
only be set if no values are\nset for `allowed_values` and `all_values` is set t
o\n`ALL_VALUES_UNSPECIFIED`.", |
| 1699 "items": { |
| 1700 "type": "string" |
| 1701 }, |
| 1702 "type": "array" |
1898 } | 1703 } |
1899 }, | 1704 }, |
1900 "type": "object" | 1705 "type": "object" |
1901 }, | 1706 }, |
1902 "GetAncestryResponse": { | 1707 "GetAncestryResponse": { |
1903 "description": "Response from the GetAncestry method.", | 1708 "description": "Response from the GetAncestry method.", |
1904 "id": "GetAncestryResponse", | 1709 "id": "GetAncestryResponse", |
1905 "properties": { | 1710 "properties": { |
1906 "ancestor": { | 1711 "ancestor": { |
1907 "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.", | 1712 "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.", |
1908 "items": { | 1713 "items": { |
1909 "$ref": "Ancestor" | 1714 "$ref": "Ancestor" |
1910 }, | 1715 }, |
1911 "type": "array" | 1716 "type": "array" |
1912 } | 1717 } |
1913 }, | 1718 }, |
1914 "type": "object" | 1719 "type": "object" |
1915 }, | 1720 }, |
1916 "AuditLogConfig": { | 1721 "AuditLogConfig": { |
1917 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n
\"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n
\"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type
\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", | 1722 "description": "Provides the configuration for logging a type of per
missions.\nExample:\n\n {\n \"audit_log_configs\": [\n {\n
\"log_type\": \"DATA_READ\",\n \"exempted_members\": [\n
\"user:foo@gmail.com\"\n ]\n },\n {\n \"log_type
\": \"DATA_WRITE\",\n }\n ]\n }\n\nThis enables 'DATA_READ' and '
DATA_WRITE' logging, while exempting\nfoo@gmail.com from DATA_READ logging.", |
1918 "id": "AuditLogConfig", | 1723 "id": "AuditLogConfig", |
1919 "properties": { | 1724 "properties": { |
| 1725 "exemptedMembers": { |
| 1726 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", |
| 1727 "items": { |
| 1728 "type": "string" |
| 1729 }, |
| 1730 "type": "array" |
| 1731 }, |
1920 "logType": { | 1732 "logType": { |
1921 "description": "The log type that this config enables.", | 1733 "description": "The log type that this config enables.", |
1922 "enum": [ | 1734 "enum": [ |
1923 "LOG_TYPE_UNSPECIFIED", | 1735 "LOG_TYPE_UNSPECIFIED", |
1924 "ADMIN_READ", | 1736 "ADMIN_READ", |
1925 "DATA_WRITE", | 1737 "DATA_WRITE", |
1926 "DATA_READ" | 1738 "DATA_READ" |
1927 ], | 1739 ], |
1928 "enumDescriptions": [ | 1740 "enumDescriptions": [ |
1929 "Default case. Should never be this.", | 1741 "Default case. Should never be this.", |
1930 "Admin reads. Example: CloudIAM getIamPolicy", | 1742 "Admin reads. Example: CloudIAM getIamPolicy", |
1931 "Data writes. Example: CloudSQL Users create", | 1743 "Data writes. Example: CloudSQL Users create", |
1932 "Data reads. Example: CloudSQL Users list" | 1744 "Data reads. Example: CloudSQL Users list" |
1933 ], | 1745 ], |
1934 "type": "string" | 1746 "type": "string" |
1935 }, | |
1936 "exemptedMembers": { | |
1937 "description": "Specifies the identities that do not cause l
ogging for this type of\npermission.\nFollows the same format of Binding.members
.", | |
1938 "items": { | |
1939 "type": "string" | |
1940 }, | |
1941 "type": "array" | |
1942 } | 1747 } |
1943 }, | 1748 }, |
1944 "type": "object" | 1749 "type": "object" |
1945 }, | 1750 }, |
1946 "SearchOrganizationsRequest": { | 1751 "SearchOrganizationsRequest": { |
1947 "description": "The request sent to the `SearchOrganizations` method
.", | 1752 "description": "The request sent to the `SearchOrganizations` method
.", |
1948 "id": "SearchOrganizationsRequest", | 1753 "id": "SearchOrganizationsRequest", |
1949 "properties": { | 1754 "properties": { |
| 1755 "pageToken": { |
| 1756 "description": "A pagination token returned from a previous
call to `SearchOrganizations`\nthat indicates from where listing should continue
.\nThis field is optional.", |
| 1757 "type": "string" |
| 1758 }, |
1950 "pageSize": { | 1759 "pageSize": { |
1951 "description": "The maximum number of Organizations to retur
n in the response.\nThis field is optional.", | 1760 "description": "The maximum number of Organizations to retur
n in the response.\nThis field is optional.", |
1952 "format": "int32", | 1761 "format": "int32", |
1953 "type": "integer" | 1762 "type": "integer" |
1954 }, | 1763 }, |
1955 "filter": { | 1764 "filter": { |
1956 "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."
, | 1765 "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."
, |
1957 "type": "string" | 1766 "type": "string" |
1958 }, | 1767 } |
| 1768 }, |
| 1769 "type": "object" |
| 1770 }, |
| 1771 "GetAncestryRequest": { |
| 1772 "description": "The request sent to the\nGetAncestry\nmethod.", |
| 1773 "id": "GetAncestryRequest", |
| 1774 "properties": {}, |
| 1775 "type": "object" |
| 1776 }, |
| 1777 "TestIamPermissionsRequest": { |
| 1778 "description": "Request message for `TestIamPermissions` method.", |
| 1779 "id": "TestIamPermissionsRequest", |
| 1780 "properties": { |
| 1781 "permissions": { |
| 1782 "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).", |
| 1783 "items": { |
| 1784 "type": "string" |
| 1785 }, |
| 1786 "type": "array" |
| 1787 } |
| 1788 }, |
| 1789 "type": "object" |
| 1790 }, |
| 1791 "ListAvailableOrgPolicyConstraintsRequest": { |
| 1792 "description": "The request sent to the [ListAvailableOrgPolicyConst
raints]\ngoogle.cloud.OrgPolicy.v1.ListAvailableOrgPolicyConstraints] method.", |
| 1793 "id": "ListAvailableOrgPolicyConstraintsRequest", |
| 1794 "properties": { |
1959 "pageToken": { | 1795 "pageToken": { |
1960 "description": "A pagination token returned from a previous
call to `SearchOrganizations`\nthat indicates from where listing should continue
.\nThis field is optional.", | 1796 "description": "Page token used to retrieve the next page. T
his is currently unsupported\nand will be ignored. The server may at any point s
tart using this field.", |
1961 "type": "string" | 1797 "type": "string" |
1962 } | 1798 }, |
1963 }, | 1799 "pageSize": { |
1964 "type": "object" | 1800 "description": "Size of the pages to be returned. This is cu
rrently unsupported and will\nbe ignored. The server may at any point start usin
g this field to limit\npage size.", |
| 1801 "format": "int32", |
| 1802 "type": "integer" |
| 1803 } |
| 1804 }, |
| 1805 "type": "object" |
| 1806 }, |
| 1807 "Policy": { |
| 1808 "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).", |
| 1809 "id": "Policy", |
| 1810 "properties": { |
| 1811 "etag": { |
| 1812 "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.", |
| 1813 "format": "byte", |
| 1814 "type": "string" |
| 1815 }, |
| 1816 "version": { |
| 1817 "description": "Version of the `Policy`. The default version
is 0.", |
| 1818 "format": "int32", |
| 1819 "type": "integer" |
| 1820 }, |
| 1821 "auditConfigs": { |
| 1822 "description": "Specifies cloud audit logging configuration
for this policy.", |
| 1823 "items": { |
| 1824 "$ref": "AuditConfig" |
| 1825 }, |
| 1826 "type": "array" |
| 1827 }, |
| 1828 "bindings": { |
| 1829 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", |
| 1830 "items": { |
| 1831 "$ref": "Binding" |
| 1832 }, |
| 1833 "type": "array" |
| 1834 } |
| 1835 }, |
| 1836 "type": "object" |
| 1837 }, |
| 1838 "FolderOperation": { |
| 1839 "description": "Metadata describing a long running folder operation"
, |
| 1840 "id": "FolderOperation", |
| 1841 "properties": { |
| 1842 "operationType": { |
| 1843 "description": "The type of this operation.", |
| 1844 "enum": [ |
| 1845 "OPERATION_TYPE_UNSPECIFIED", |
| 1846 "CREATE", |
| 1847 "MOVE" |
| 1848 ], |
| 1849 "enumDescriptions": [ |
| 1850 "Operation type not specified.", |
| 1851 "A create folder operation.", |
| 1852 "A move folder operation." |
| 1853 ], |
| 1854 "type": "string" |
| 1855 }, |
| 1856 "sourceParent": { |
| 1857 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
| 1858 "type": "string" |
| 1859 }, |
| 1860 "displayName": { |
| 1861 "description": "The display name of the folder.", |
| 1862 "type": "string" |
| 1863 }, |
| 1864 "destinationParent": { |
| 1865 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
| 1866 "type": "string" |
| 1867 } |
| 1868 }, |
| 1869 "type": "object" |
| 1870 }, |
| 1871 "ResourceId": { |
| 1872 "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
.", |
| 1873 "id": "ResourceId", |
| 1874 "properties": { |
| 1875 "id": { |
| 1876 "description": "Required field for the type-specific id. Thi
s should correspond to the id\nused in the type-specific API's.", |
| 1877 "type": "string" |
| 1878 }, |
| 1879 "type": { |
| 1880 "description": "Required field representing the resource typ
e this id is for.\nAt present, the valid types are: \"organization\"", |
| 1881 "type": "string" |
| 1882 } |
| 1883 }, |
| 1884 "type": "object" |
| 1885 }, |
| 1886 "GetEffectiveOrgPolicyRequest": { |
| 1887 "description": "The request sent to the GetEffectiveOrgPolicy method
.", |
| 1888 "id": "GetEffectiveOrgPolicyRequest", |
| 1889 "properties": { |
| 1890 "constraint": { |
| 1891 "description": "The name of the `Constraint` to compute the
effective `Policy`.", |
| 1892 "type": "string" |
| 1893 } |
| 1894 }, |
| 1895 "type": "object" |
| 1896 }, |
| 1897 "ListOrgPoliciesRequest": { |
| 1898 "description": "The request sent to the ListOrgPolicies method.", |
| 1899 "id": "ListOrgPoliciesRequest", |
| 1900 "properties": { |
| 1901 "pageToken": { |
| 1902 "description": "Page token used to retrieve the next page. T
his is currently unsupported\nand will be ignored. The server may at any point s
tart using this field.", |
| 1903 "type": "string" |
| 1904 }, |
| 1905 "pageSize": { |
| 1906 "description": "Size of the pages to be returned. This is cu
rrently unsupported and will\nbe ignored. The server may at any point start usin
g this field to limit\npage size.", |
| 1907 "format": "int32", |
| 1908 "type": "integer" |
| 1909 } |
| 1910 }, |
| 1911 "type": "object" |
| 1912 }, |
| 1913 "Operation": { |
| 1914 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
| 1915 "id": "Operation", |
| 1916 "properties": { |
| 1917 "response": { |
| 1918 "additionalProperties": { |
| 1919 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1920 "type": "any" |
| 1921 }, |
| 1922 "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`.", |
| 1923 "type": "object" |
| 1924 }, |
| 1925 "name": { |
| 1926 "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`
.", |
| 1927 "type": "string" |
| 1928 }, |
| 1929 "error": { |
| 1930 "$ref": "Status", |
| 1931 "description": "The error result of the operation in case of
failure or cancellation." |
| 1932 }, |
| 1933 "metadata": { |
| 1934 "additionalProperties": { |
| 1935 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1936 "type": "any" |
| 1937 }, |
| 1938 "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.
", |
| 1939 "type": "object" |
| 1940 }, |
| 1941 "done": { |
| 1942 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf `true`, the operation is completed, and either `er
ror` or `response` is\navailable.", |
| 1943 "type": "boolean" |
| 1944 } |
| 1945 }, |
| 1946 "type": "object" |
| 1947 }, |
| 1948 "AuditConfig": { |
| 1949 "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.", |
| 1950 "id": "AuditConfig", |
| 1951 "properties": { |
| 1952 "service": { |
| 1953 "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.", |
| 1954 "type": "string" |
| 1955 }, |
| 1956 "auditLogConfigs": { |
| 1957 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", |
| 1958 "items": { |
| 1959 "$ref": "AuditLogConfig" |
| 1960 }, |
| 1961 "type": "array" |
| 1962 } |
| 1963 }, |
| 1964 "type": "object" |
1965 } | 1965 } |
1966 }, | 1966 }, |
1967 "servicePath": "", | 1967 "servicePath": "", |
1968 "title": "Google Cloud Resource Manager API", | 1968 "title": "Google Cloud Resource Manager API", |
1969 "version": "v1" | 1969 "version": "v1" |
1970 } | 1970 } |
OLD | NEW |