| OLD | NEW |
| (Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
| 9 "description": "View your data across Google Cloud Platform
services" |
| 10 } |
| 11 } |
| 12 } |
| 13 }, |
| 14 "basePath": "", |
| 15 "baseUrl": "https://cloudresourcemanager.googleapis.com/", |
| 16 "batchPath": "batch", |
| 17 "description": "The Google Cloud Resource Manager API provides methods for c
reating, reading, and updating project metadata.", |
| 18 "discoveryVersion": "v1", |
| 19 "documentationLink": "https://cloud.google.com/resource-manager", |
| 20 "etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/8EOgQpr1bAhvZ8Ay5woGZcfT03Y\"", |
| 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, |
| 25 "id": "cloudresourcemanager:v1", |
| 26 "kind": "discovery#restDescription", |
| 27 "name": "cloudresourcemanager", |
| 28 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", |
| 30 "parameters": { |
| 31 "access_token": { |
| 32 "description": "OAuth access token.", |
| 33 "location": "query", |
| 34 "type": "string" |
| 35 }, |
| 36 "alt": { |
| 37 "default": "json", |
| 38 "description": "Data format for response.", |
| 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 ], |
| 44 "location": "query", |
| 45 "type": "string" |
| 46 }, |
| 47 "bearer_token": { |
| 48 "description": "OAuth bearer token.", |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 52 "callback": { |
| 53 "description": "JSONP", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 57 "fields": { |
| 58 "description": "Selector specifying which fields to include in a par
tial response.", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
| 62 "key": { |
| 63 "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.", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
| 67 "oauth_token": { |
| 68 "description": "OAuth 2.0 token for the current user.", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 }, |
| 72 "pp": { |
| 73 "default": "true", |
| 74 "description": "Pretty-print response.", |
| 75 "location": "query", |
| 76 "type": "boolean" |
| 77 }, |
| 78 "prettyPrint": { |
| 79 "default": "true", |
| 80 "description": "Returns response with indentations and line breaks."
, |
| 81 "location": "query", |
| 82 "type": "boolean" |
| 83 }, |
| 84 "quotaUser": { |
| 85 "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.", |
| 86 "location": "query", |
| 87 "type": "string" |
| 88 }, |
| 89 "upload_protocol": { |
| 90 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
| 94 "uploadType": { |
| 95 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 96 "location": "query", |
| 97 "type": "string" |
| 98 }, |
| 99 "$.xgafv": { |
| 100 "description": "V1 error format.", |
| 101 "enumDescriptions": [ |
| 102 "v1 error format", |
| 103 "v2 error format" |
| 104 ], |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 } |
| 108 }, |
| 109 "protocol": "rest", |
| 110 "resources": { |
| 111 "projects": { |
| 112 "methods": { |
| 113 "get": { |
| 114 "description": "Retrieves the Project identified by the spec
ified `project_id` (for example, `my-project-123`). The caller must have read pe
rmissions for this Project.", |
| 115 "httpMethod": "GET", |
| 116 "id": "cloudresourcemanager.projects.get", |
| 117 "parameterOrder": [ |
| 118 "projectId" |
| 119 ], |
| 120 "parameters": { |
| 121 "projectId": { |
| 122 "description": "The Project ID (for example, `my-pro
ject-123`). Required.", |
| 123 "location": "path", |
| 124 "required": true, |
| 125 "type": "string" |
| 126 } |
| 127 }, |
| 128 "path": "v1/projects/{projectId}", |
| 129 "response": { |
| 130 "$ref": "Project" |
| 131 }, |
| 132 "scopes": [ |
| 133 "https://www.googleapis.com/auth/cloud-platform", |
| 134 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 135 ] |
| 136 }, |
| 137 "list": { |
| 138 "description": "Lists Projects that are visible to the user
and satisfy the specified filter. This method returns Projects in an unspecified
order. New Projects do not necessarily appear at the end of the list.", |
| 139 "httpMethod": "GET", |
| 140 "id": "cloudresourcemanager.projects.list", |
| 141 "parameters": { |
| 142 "pageToken": { |
| 143 "description": "A pagination token returned from a p
revious call to ListProjects that indicates from where listing should continue.
Optional.", |
| 144 "location": "query", |
| 145 "type": "string" |
| 146 }, |
| 147 "pageSize": { |
| 148 "description": "The maximum number of Projects to re
turn in the response. The server can return fewer Projects than requested. If un
specified, server picks an appropriate default. Optional.", |
| 149 "format": "int32", |
| 150 "location": "query", |
| 151 "type": "integer" |
| 152 }, |
| 153 "filter": { |
| 154 "description": "An expression for filtering the resu
lts of the request. Filter rules are case insensitive. The fields eligible for f
iltering are: + `name` + `id` + labels.key where *key* is the name of a label So
me examples of using labels as filters: |Filter|Description| |------|-----------
| |name:*|The project has a name.| |name:Howl|The project's name is `Howl` or `h
owl`.| |name:HOWL|Equivalent to above.| |NAME:howl|Equivalent to above.| |labels
.color:*|The project has the label `color`.| |labels.color:red|The project's lab
el `color` has the value `red`.| |labels.color:red label.size:big|The project's
label `color` has the value `red` and its label `size` has the value `big`. Opti
onal.", |
| 155 "location": "query", |
| 156 "type": "string" |
| 157 } |
| 158 }, |
| 159 "path": "v1/projects", |
| 160 "response": { |
| 161 "$ref": "ListProjectsResponse" |
| 162 }, |
| 163 "scopes": [ |
| 164 "https://www.googleapis.com/auth/cloud-platform", |
| 165 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 166 ] |
| 167 }, |
| 168 "update": { |
| 169 "description": "Updates the attributes of the Project identi
fied by the specified `project_id` (for example, `my-project-123`). The caller m
ust have modify permissions for this Project.", |
| 170 "httpMethod": "PUT", |
| 171 "id": "cloudresourcemanager.projects.update", |
| 172 "parameterOrder": [ |
| 173 "projectId" |
| 174 ], |
| 175 "parameters": { |
| 176 "projectId": { |
| 177 "description": "The project ID (for example, `my-pro
ject-123`). Required.", |
| 178 "location": "path", |
| 179 "required": true, |
| 180 "type": "string" |
| 181 } |
| 182 }, |
| 183 "path": "v1/projects/{projectId}", |
| 184 "request": { |
| 185 "$ref": "Project" |
| 186 }, |
| 187 "response": { |
| 188 "$ref": "Project" |
| 189 }, |
| 190 "scopes": [ |
| 191 "https://www.googleapis.com/auth/cloud-platform" |
| 192 ] |
| 193 }, |
| 194 "delete": { |
| 195 "description": "Marks the Project identified by the specifie
d `project_id` (for example, `my-project-123`) for deletion. This method will on
ly affect the Project if the following criteria are met: + The Project does not
have a billing account associated with it. + The Project has a lifecycle state o
f ACTIVE. This method changes the Project's lifecycle state from ACTIVE to DELET
E_REQUESTED. The deletion starts at an unspecified time, at which point the life
cycle state changes to DELETE_IN_PROGRESS. Until the deletion completes, you can
check the lifecycle state checked by retrieving the Project with GetProject, an
d the Project remains visible to ListProjects. However, you cannot update the pr
oject. After the deletion completes, the Project is not retrievable by the GetPr
oject and ListProjects methods. The caller must have modify permissions for this
Project.", |
| 196 "httpMethod": "DELETE", |
| 197 "id": "cloudresourcemanager.projects.delete", |
| 198 "parameterOrder": [ |
| 199 "projectId" |
| 200 ], |
| 201 "parameters": { |
| 202 "projectId": { |
| 203 "description": "The Project ID (for example, `foo-ba
r-123`). Required.", |
| 204 "location": "path", |
| 205 "required": true, |
| 206 "type": "string" |
| 207 } |
| 208 }, |
| 209 "path": "v1/projects/{projectId}", |
| 210 "response": { |
| 211 "$ref": "Empty" |
| 212 }, |
| 213 "scopes": [ |
| 214 "https://www.googleapis.com/auth/cloud-platform" |
| 215 ] |
| 216 }, |
| 217 "undelete": { |
| 218 "description": "Restores the Project identified by the speci
fied `project_id` (for example, `my-project-123`). You can only use this method
for a Project that has a lifecycle state of DELETE_REQUESTED. After deletion sta
rts, as indicated by a lifecycle state of DELETE_IN_PROGRESS, the Project cannot
be restored. The caller must have modify permissions for this Project.", |
| 219 "httpMethod": "POST", |
| 220 "id": "cloudresourcemanager.projects.undelete", |
| 221 "parameterOrder": [ |
| 222 "projectId" |
| 223 ], |
| 224 "parameters": { |
| 225 "projectId": { |
| 226 "description": "The project ID (for example, `foo-ba
r-123`). Required.", |
| 227 "location": "path", |
| 228 "required": true, |
| 229 "type": "string" |
| 230 } |
| 231 }, |
| 232 "path": "v1/projects/{projectId}:undelete", |
| 233 "request": { |
| 234 "$ref": "UndeleteProjectRequest" |
| 235 }, |
| 236 "response": { |
| 237 "$ref": "Empty" |
| 238 }, |
| 239 "scopes": [ |
| 240 "https://www.googleapis.com/auth/cloud-platform" |
| 241 ] |
| 242 }, |
| 243 "getIamPolicy": { |
| 244 "description": "Returns the IAM access control policy for th
e specified Project. Permission is denied if the policy or the resource does not
exist.", |
| 245 "httpMethod": "POST", |
| 246 "id": "cloudresourcemanager.projects.getIamPolicy", |
| 247 "parameterOrder": [ |
| 248 "resource" |
| 249 ], |
| 250 "parameters": { |
| 251 "resource": { |
| 252 "description": "REQUIRED: The resource for which the
policy is being requested. `resource` is usually specified as a path, such as `
projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified
in this value is resource specific and is specified in the `getIamPolicy` docum
entation.", |
| 253 "location": "path", |
| 254 "required": true, |
| 255 "type": "string" |
| 256 } |
| 257 }, |
| 258 "path": "v1/projects/{resource}:getIamPolicy", |
| 259 "request": { |
| 260 "$ref": "GetIamPolicyRequest" |
| 261 }, |
| 262 "response": { |
| 263 "$ref": "Policy" |
| 264 }, |
| 265 "scopes": [ |
| 266 "https://www.googleapis.com/auth/cloud-platform", |
| 267 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 268 ] |
| 269 }, |
| 270 "setIamPolicy": { |
| 271 "description": "Sets the IAM access control policy for the s
pecified Project. Replaces any existing policy. The following constraints apply
when using `setIamPolicy()`: + Project currently supports only `user:{emailid}`
and `serviceAccount:{emailid}` members in a `Binding` of a `Policy`. + To be add
ed as an `owner`, a user must be invited via Cloud Platform console and must acc
ept the invitation. + Members cannot be added to more than one role in the same
policy. + There must be at least one owner who has accepted the Terms of Service
(ToS) agreement in the policy. Calling `setIamPolicy()` to to remove the last T
oS-accepted owner from the policy will fail. + Calling this method requires enab
ling the App Engine Admin API. Note: Removing service accounts from policies or
changing their roles can render services completely inoperable. It is important
to understand how the service account is being used before removing or updating
its roles.", |
| 272 "httpMethod": "POST", |
| 273 "id": "cloudresourcemanager.projects.setIamPolicy", |
| 274 "parameterOrder": [ |
| 275 "resource" |
| 276 ], |
| 277 "parameters": { |
| 278 "resource": { |
| 279 "description": "REQUIRED: The resource for which the
policy is being specified. `resource` is usually specified as a path, such as `
projects/*project*/zones/*zone*/disks/*disk*`. The format for the path specified
in this value is resource specific and is specified in the `setIamPolicy` docum
entation.", |
| 280 "location": "path", |
| 281 "required": true, |
| 282 "type": "string" |
| 283 } |
| 284 }, |
| 285 "path": "v1/projects/{resource}:setIamPolicy", |
| 286 "request": { |
| 287 "$ref": "SetIamPolicyRequest" |
| 288 }, |
| 289 "response": { |
| 290 "$ref": "Policy" |
| 291 }, |
| 292 "scopes": [ |
| 293 "https://www.googleapis.com/auth/cloud-platform" |
| 294 ] |
| 295 }, |
| 296 "testIamPermissions": { |
| 297 "description": "Returns permissions that a caller has on the
specified Project.", |
| 298 "httpMethod": "POST", |
| 299 "id": "cloudresourcemanager.projects.testIamPermissions", |
| 300 "parameterOrder": [ |
| 301 "resource" |
| 302 ], |
| 303 "parameters": { |
| 304 "resource": { |
| 305 "description": "REQUIRED: The resource for which the
policy detail is being requested. `resource` is usually specified as a path, su
ch as `projects/*project*/zones/*zone*/disks/*disk*`. The format for the path sp
ecified in this value is resource specific and is specified in the `testIamPermi
ssions` documentation.", |
| 306 "location": "path", |
| 307 "required": true, |
| 308 "type": "string" |
| 309 } |
| 310 }, |
| 311 "path": "v1/projects/{resource}:testIamPermissions", |
| 312 "request": { |
| 313 "$ref": "TestIamPermissionsRequest" |
| 314 }, |
| 315 "response": { |
| 316 "$ref": "TestIamPermissionsResponse" |
| 317 }, |
| 318 "scopes": [ |
| 319 "https://www.googleapis.com/auth/cloud-platform", |
| 320 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
| 321 ] |
| 322 } |
| 323 } |
| 324 } |
| 325 }, |
| 326 "revision": "20160225", |
| 327 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
| 328 "schemas": { |
| 329 "Project": { |
| 330 "description": "A Project is a high-level Google Cloud Platform enti
ty. It is a container for ACLs, APIs, AppEngine Apps, VMs, and other Google Clou
d Platform resources.", |
| 331 "id": "Project", |
| 332 "properties": { |
| 333 "projectNumber": { |
| 334 "description": "The number uniquely identifying the project.
Example: 415104041262 Read-only.", |
| 335 "format": "int64", |
| 336 "type": "string" |
| 337 }, |
| 338 "projectId": { |
| 339 "description": "The unique, user-assigned ID of the Project.
It must be 6 to 30 lowercase letters, digits, or hyphens. It must start with a
letter. Trailing hyphens are prohibited. Example: tokyo-rain-123 Read-only after
creation.", |
| 340 "type": "string" |
| 341 }, |
| 342 "lifecycleState": { |
| 343 "description": "The Project lifecycle state. Read-only.", |
| 344 "enum": [ |
| 345 "LIFECYCLE_STATE_UNSPECIFIED", |
| 346 "ACTIVE", |
| 347 "DELETE_REQUESTED", |
| 348 "DELETE_IN_PROGRESS" |
| 349 ], |
| 350 "type": "string" |
| 351 }, |
| 352 "name": { |
| 353 "description": "The user-assigned name of the Project. It mu
st be 4 to 30 characters. Allowed characters are: lowercase and uppercase letter
s, numbers, hyphen, single-quote, double-quote, space, and exclamation point. Ex
ample: My Project Read-write.", |
| 354 "type": "string" |
| 355 }, |
| 356 "createTime": { |
| 357 "description": "Creation time. Read-only.", |
| 358 "type": "string" |
| 359 }, |
| 360 "labels": { |
| 361 "additionalProperties": { |
| 362 "type": "string" |
| 363 }, |
| 364 "description": "The labels associated with this Project. Lab
el keys must be between 1 and 63 characters long and must conform to the followi
ng regular expression: \\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?. Label values must
be between 0 and 63 characters long and must conform to the regular expression
(\\[a-z\\](\\[-a-z0-9\\]*\\[a-z0-9\\])?)?. No more than 256 labels can be associ
ated with a given resource. Clients should store labels in a representation such
as JSON that does not depend on specific characters being disallowed. Example:
\"environment\" : \"dev\" Read-write.", |
| 365 "type": "object" |
| 366 }, |
| 367 "parent": { |
| 368 "$ref": "ResourceId", |
| 369 "description": "An optional reference to a parent Resource.
The only supported parent type is \"organization\". Once set, the parent cannot
be modified. Read-write." |
| 370 } |
| 371 }, |
| 372 "type": "object" |
| 373 }, |
| 374 "ResourceId": { |
| 375 "description": "A container to reference an id for any resource type
. A `resource` in Google Cloud Platform is a generic term for something you (a d
eveloper) may want to interact with through one of our API's. Some examples are
an AppEngine app, a Compute Engine instance, a Cloud SQL database, and so on.", |
| 376 "id": "ResourceId", |
| 377 "properties": { |
| 378 "type": { |
| 379 "description": "Required field representing the resource typ
e this id is for. At present, the only valid type is \"organization\".", |
| 380 "type": "string" |
| 381 }, |
| 382 "id": { |
| 383 "description": "Required field for the type-specific id. Thi
s should correspond to the id used in the type-specific API's.", |
| 384 "type": "string" |
| 385 } |
| 386 }, |
| 387 "type": "object" |
| 388 }, |
| 389 "ListProjectsResponse": { |
| 390 "description": "A page of the response received from the ListProject
s method. A paginated response where more pages are available has `next_page_tok
en` set. This token can be used in a subsequent request to retrieve the next req
uest page.", |
| 391 "id": "ListProjectsResponse", |
| 392 "properties": { |
| 393 "projects": { |
| 394 "description": "The list of Projects that matched the list f
ilter. This list can be paginated.", |
| 395 "items": { |
| 396 "$ref": "Project" |
| 397 }, |
| 398 "type": "array" |
| 399 }, |
| 400 "nextPageToken": { |
| 401 "description": "Pagination token. If the result set is too l
arge to fit in a single response, this token is returned. It encodes the positio
n of the current result cursor. Feeding this value into a new list request with
the `page_token` parameter gives the next page of the results. When `next_page_t
oken` is not filled in, there is no next page and the list returned is the last
page in the result set. Pagination tokens have a limited lifetime.", |
| 402 "type": "string" |
| 403 } |
| 404 }, |
| 405 "type": "object" |
| 406 }, |
| 407 "Empty": { |
| 408 "description": "A generic empty message that you can re-use to avoid
defining duplicated empty messages in your APIs. A typical example is to use it
as the request or the response type of an API method. For instance: service Foo
{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re
presentation for `Empty` is empty JSON object `{}`.", |
| 409 "id": "Empty", |
| 410 "type": "object" |
| 411 }, |
| 412 "UndeleteProjectRequest": { |
| 413 "description": "The request sent to the UndeleteProject method.", |
| 414 "id": "UndeleteProjectRequest", |
| 415 "type": "object" |
| 416 }, |
| 417 "GetIamPolicyRequest": { |
| 418 "description": "Request message for `GetIamPolicy` method.", |
| 419 "id": "GetIamPolicyRequest", |
| 420 "type": "object" |
| 421 }, |
| 422 "Policy": { |
| 423 "description": "Defines an Identity and Access Management (IAM) poli
cy. It is used to specify access control policies for Cloud Platform resources.
A `Policy` consists of a list of `bindings`. A `Binding` binds a list of `member
s` to a `role`, where the members can be user accounts, Google groups, Google do
mains, and service accounts. A `role` is a named list of permissions defined by
IAM. **Example** { \"bindings\": [ { \"role\": \"roles/owner\", \"members\": [ \
"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \
"serviceAccount:my-other-app@appspot.gserviceaccount.com\", ] }, { \"role\": \"r
oles/viewer\", \"members\": [\"user:sean@example.com\"] } ] } For a description
of IAM and its features, see the [IAM developer's guide](https://cloud.google.co
m/iam).", |
| 424 "id": "Policy", |
| 425 "properties": { |
| 426 "version": { |
| 427 "description": "Version of the `Policy`. The default version
is 0.", |
| 428 "format": "int32", |
| 429 "type": "integer" |
| 430 }, |
| 431 "bindings": { |
| 432 "description": "Associates a list of `members` to a `role`.
Multiple `bindings` must not be specified for the same `role`. `bindings` with n
o members will result in an error.", |
| 433 "items": { |
| 434 "$ref": "Binding" |
| 435 }, |
| 436 "type": "array" |
| 437 }, |
| 438 "etag": { |
| 439 "description": "`etag` is used for optimistic concurrency co
ntrol as a way to help prevent simultaneous updates of a policy from overwriting
each other. It is strongly suggested that systems make use of the `etag` in the
read-modify-write cycle to perform policy updates in order to avoid race condit
ions: An `etag` is returned in the response to `getIamPolicy`, and systems are e
xpected to put that etag in the request to `setIamPolicy` to ensure that their c
hange will be applied to the same version of the policy. If no `etag` is provide
d in the call to `setIamPolicy`, then the existing policy is overwritten blindly
.", |
| 440 "format": "byte", |
| 441 "type": "string" |
| 442 } |
| 443 }, |
| 444 "type": "object" |
| 445 }, |
| 446 "Binding": { |
| 447 "description": "Associates `members` with a `role`.", |
| 448 "id": "Binding", |
| 449 "properties": { |
| 450 "role": { |
| 451 "description": "Role that is assigned to `members`. For exam
ple, `roles/viewer`, `roles/editor`, or `roles/owner`. Required", |
| 452 "type": "string" |
| 453 }, |
| 454 "members": { |
| 455 "description": "Specifies the identities requesting access f
or a Cloud Platform resource. `members` can have the following values: * `allUse
rs`: A special identifier that represents anyone who is on the internet; with or
without a Google account. * `allAuthenticatedUsers`: A special identifier that
represents anyone who is authenticated with a Google account or a service accoun
t. * `user:{emailid}`: An email address that represents a specific Google accoun
t. For example, `alice@gmail.com` or `joe@example.com`. * `serviceAccount:{email
id}`: An email address that represents a service account. For example, `my-other
-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that re
presents a Google group. For example, `admins@example.com`. * `domain:{domain}`:
A Google Apps domain name that represents all the users of that domain. For exa
mple, `google.com` or `example.com`.", |
| 456 "items": { |
| 457 "type": "string" |
| 458 }, |
| 459 "type": "array" |
| 460 } |
| 461 }, |
| 462 "type": "object" |
| 463 }, |
| 464 "SetIamPolicyRequest": { |
| 465 "description": "Request message for `SetIamPolicy` method.", |
| 466 "id": "SetIamPolicyRequest", |
| 467 "properties": { |
| 468 "policy": { |
| 469 "$ref": "Policy", |
| 470 "description": "REQUIRED: The complete policy to be applied
to the `resource`. The size of the policy is limited to a few 10s of KB. An empt
y policy is a valid policy but certain Cloud Platform services (such as Projects
) might reject them." |
| 471 } |
| 472 }, |
| 473 "type": "object" |
| 474 }, |
| 475 "TestIamPermissionsRequest": { |
| 476 "description": "Request message for `TestIamPermissions` method.", |
| 477 "id": "TestIamPermissionsRequest", |
| 478 "properties": { |
| 479 "permissions": { |
| 480 "description": "The set of permissions to check for the `res
ource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed.
For more information see IAM Overview.", |
| 481 "items": { |
| 482 "type": "string" |
| 483 }, |
| 484 "type": "array" |
| 485 } |
| 486 }, |
| 487 "type": "object" |
| 488 }, |
| 489 "TestIamPermissionsResponse": { |
| 490 "description": "Response message for `TestIamPermissions` method.", |
| 491 "id": "TestIamPermissionsResponse", |
| 492 "properties": { |
| 493 "permissions": { |
| 494 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is allowed.", |
| 495 "items": { |
| 496 "type": "string" |
| 497 }, |
| 498 "type": "array" |
| 499 } |
| 500 }, |
| 501 "type": "object" |
| 502 } |
| 503 }, |
| 504 "servicePath": "", |
| 505 "title": "Google Cloud Resource Manager API", |
| 506 "version": "v1" |
| 507 } |
| OLD | NEW |