OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 5 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
6 "description": "View your data across Google Cloud Platform
services" | 6 "description": "View your data across Google Cloud Platform
services" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
9 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
10 } | 10 } |
(...skipping 10 matching lines...) Expand all Loading... |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "cloudresourcemanager:v2beta1", | 25 "id": "cloudresourcemanager:v2beta1", |
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 "key": { | |
32 "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.", | |
33 "location": "query", | |
34 "type": "string" | |
35 }, | |
36 "access_token": { | |
37 "description": "OAuth access token.", | |
38 "location": "query", | |
39 "type": "string" | |
40 }, | |
41 "quotaUser": { | |
42 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
43 "location": "query", | |
44 "type": "string" | |
45 }, | |
46 "pp": { | 31 "pp": { |
47 "default": "true", | 32 "default": "true", |
48 "description": "Pretty-print response.", | 33 "description": "Pretty-print response.", |
49 "location": "query", | 34 "location": "query", |
50 "type": "boolean" | 35 "type": "boolean" |
51 }, | 36 }, |
52 "bearer_token": { | 37 "bearer_token": { |
53 "description": "OAuth bearer token.", | 38 "description": "OAuth bearer token.", |
54 "location": "query", | 39 "location": "query", |
55 "type": "string" | 40 "type": "string" |
56 }, | 41 }, |
57 "oauth_token": { | 42 "oauth_token": { |
58 "description": "OAuth 2.0 token for the current user.", | 43 "description": "OAuth 2.0 token for the current user.", |
59 "location": "query", | 44 "location": "query", |
60 "type": "string" | 45 "type": "string" |
61 }, | 46 }, |
62 "upload_protocol": { | 47 "upload_protocol": { |
63 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 48 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
64 "location": "query", | 49 "location": "query", |
65 "type": "string" | 50 "type": "string" |
66 }, | 51 }, |
67 "prettyPrint": { | 52 "prettyPrint": { |
68 "default": "true", | 53 "default": "true", |
69 "description": "Returns response with indentations and line breaks."
, | 54 "description": "Returns response with indentations and line breaks."
, |
70 "location": "query", | 55 "location": "query", |
71 "type": "boolean" | 56 "type": "boolean" |
72 }, | 57 }, |
| 58 "uploadType": { |
| 59 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 60 "location": "query", |
| 61 "type": "string" |
| 62 }, |
73 "fields": { | 63 "fields": { |
74 "description": "Selector specifying which fields to include in a par
tial response.", | 64 "description": "Selector specifying which fields to include in a par
tial response.", |
75 "location": "query", | 65 "location": "query", |
76 "type": "string" | 66 "type": "string" |
77 }, | 67 }, |
78 "uploadType": { | |
79 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
80 "location": "query", | |
81 "type": "string" | |
82 }, | |
83 "$.xgafv": { | 68 "$.xgafv": { |
84 "description": "V1 error format.", | 69 "description": "V1 error format.", |
85 "enum": [ | 70 "enum": [ |
86 "1", | 71 "1", |
87 "2" | 72 "2" |
88 ], | 73 ], |
89 "enumDescriptions": [ | 74 "enumDescriptions": [ |
90 "v1 error format", | 75 "v1 error format", |
91 "v2 error format" | 76 "v2 error format" |
92 ], | 77 ], |
(...skipping 13 matching lines...) Expand all Loading... |
106 "media", | 91 "media", |
107 "proto" | 92 "proto" |
108 ], | 93 ], |
109 "enumDescriptions": [ | 94 "enumDescriptions": [ |
110 "Responses with Content-Type of application/json", | 95 "Responses with Content-Type of application/json", |
111 "Media download with context-dependent Content-Type", | 96 "Media download with context-dependent Content-Type", |
112 "Responses with Content-Type of application/x-protobuf" | 97 "Responses with Content-Type of application/x-protobuf" |
113 ], | 98 ], |
114 "location": "query", | 99 "location": "query", |
115 "type": "string" | 100 "type": "string" |
| 101 }, |
| 102 "access_token": { |
| 103 "description": "OAuth access token.", |
| 104 "location": "query", |
| 105 "type": "string" |
| 106 }, |
| 107 "key": { |
| 108 "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.", |
| 109 "location": "query", |
| 110 "type": "string" |
| 111 }, |
| 112 "quotaUser": { |
| 113 "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.", |
| 114 "location": "query", |
| 115 "type": "string" |
116 } | 116 } |
117 }, | 117 }, |
118 "protocol": "rest", | 118 "protocol": "rest", |
119 "resources": { | 119 "resources": { |
120 "folders": { | 120 "folders": { |
121 "methods": { | 121 "methods": { |
122 "search": { | 122 "search": { |
123 "description": "Search for folders that match specific filte
r criteria.\nSearch provides an eventually consistent view of the folders a user
has\naccess to which meet the specified filter criteria.\n\nThis will only retu
rn folders on which the caller has the\npermission `resourcemanager.folders.get`
.", | 123 "description": "Search for folders that match specific filte
r criteria.\nSearch provides an eventually consistent view of the folders a user
has\naccess to which meet the specified filter criteria.\n\nThis will only retu
rn folders on which the caller has the\npermission `resourcemanager.folders.get`
.", |
124 "httpMethod": "POST", | 124 "httpMethod": "POST", |
125 "id": "cloudresourcemanager.folders.search", | 125 "id": "cloudresourcemanager.folders.search", |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 }, | 330 }, |
331 "path": "v2beta1/folders", | 331 "path": "v2beta1/folders", |
332 "response": { | 332 "response": { |
333 "$ref": "ListFoldersResponse" | 333 "$ref": "ListFoldersResponse" |
334 }, | 334 }, |
335 "scopes": [ | 335 "scopes": [ |
336 "https://www.googleapis.com/auth/cloud-platform", | 336 "https://www.googleapis.com/auth/cloud-platform", |
337 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 337 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
338 ] | 338 ] |
339 }, | 339 }, |
| 340 "create": { |
| 341 "description": "Creates a Folder in the resource hierarchy.\
nReturns an Operation which can be used to track the progress of the\nfolder cre
ation workflow.\nUpon success the Operation.response field will be populated wit
h the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder m
ust not violate\nthe Folder naming, height or fanout constraints.\n+ The Folder'
s display_name must be distinct from all other Folder's that\nshare its parent.\
n+ The addition of the Folder must not cause the active Folder hierarchy\nto exc
eed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed
to reach a height of 8; this provides additional headroom when\nmoving folders t
hat contain deleted folders.\n+ The addition of the Folder must not cause the to
tal number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails
due to a folder constraint violation,\na PreconditionFailure explaining the vio
lation will be returned.\nIf the failure occurs synchronously then the Precondit
ionFailure\nwill be returned via the Status.details field and if it occurs\nasyn
chronously then the PreconditionFailure will be returned\nvia the the Operation.
error field.\n\nThe caller must have `resourcemanager.folders.create` permission
on the\nidentified parent.", |
| 342 "httpMethod": "POST", |
| 343 "id": "cloudresourcemanager.folders.create", |
| 344 "parameterOrder": [], |
| 345 "parameters": { |
| 346 "parent": { |
| 347 "description": "The resource name of the new Folder'
s parent.\nMust be of the form `folders/{folder_id}` or `organizations/{org_id}`
.", |
| 348 "location": "query", |
| 349 "type": "string" |
| 350 } |
| 351 }, |
| 352 "path": "v2beta1/folders", |
| 353 "request": { |
| 354 "$ref": "Folder" |
| 355 }, |
| 356 "response": { |
| 357 "$ref": "Operation" |
| 358 }, |
| 359 "scopes": [ |
| 360 "https://www.googleapis.com/auth/cloud-platform" |
| 361 ] |
| 362 }, |
340 "setIamPolicy": { | 363 "setIamPolicy": { |
341 "description": "Sets the access control policy on a Folder,
replacing any existing policy.\nThe `resource` field should be the Folder's reso
urce name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folder
s.setIamPolicy` permission\non the identified folder.", | 364 "description": "Sets the access control policy on a Folder,
replacing any existing policy.\nThe `resource` field should be the Folder's reso
urce name, e.g.\n\"folders/1234\".\nThe caller must have `resourcemanager.folder
s.setIamPolicy` permission\non the identified folder.", |
342 "httpMethod": "POST", | 365 "httpMethod": "POST", |
343 "id": "cloudresourcemanager.folders.setIamPolicy", | 366 "id": "cloudresourcemanager.folders.setIamPolicy", |
344 "parameterOrder": [ | 367 "parameterOrder": [ |
345 "resource" | 368 "resource" |
346 ], | 369 ], |
347 "parameters": { | 370 "parameters": { |
348 "resource": { | 371 "resource": { |
349 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", | 372 "description": "REQUIRED: The resource for which the
policy is being specified.\nSee the operation documentation for the appropriate
value for this field.", |
350 "location": "path", | 373 "location": "path", |
351 "pattern": "^folders/[^/]+$", | 374 "pattern": "^folders/[^/]+$", |
352 "required": true, | 375 "required": true, |
353 "type": "string" | 376 "type": "string" |
354 } | 377 } |
355 }, | 378 }, |
356 "path": "v2beta1/{+resource}:setIamPolicy", | 379 "path": "v2beta1/{+resource}:setIamPolicy", |
357 "request": { | 380 "request": { |
358 "$ref": "SetIamPolicyRequest" | 381 "$ref": "SetIamPolicyRequest" |
359 }, | 382 }, |
360 "response": { | 383 "response": { |
361 "$ref": "Policy" | 384 "$ref": "Policy" |
362 }, | 385 }, |
363 "scopes": [ | 386 "scopes": [ |
364 "https://www.googleapis.com/auth/cloud-platform" | 387 "https://www.googleapis.com/auth/cloud-platform" |
365 ] | 388 ] |
366 }, | 389 }, |
367 "create": { | |
368 "description": "Creates a Folder in the resource hierarchy.\
nReturns an Operation which can be used to track the progress of the\nfolder cre
ation workflow.\nUpon success the Operation.response field will be populated wit
h the\ncreated Folder.\n\nIn order to succeed, the addition of this new Folder m
ust not violate\nthe Folder naming, height or fanout constraints.\n+ The Folder'
s display_name must be distinct from all other Folder's that\nshare its parent.\
n+ The addition of the Folder must not cause the active Folder hierarchy\nto exc
eed a height of 4. Note, the full active + deleted Folder hierarchy\nis allowed
to reach a height of 8; this provides additional headroom when\nmoving folders t
hat contain deleted folders.\n+ The addition of the Folder must not cause the to
tal number of Folders\nunder its parent to exceed 100.\n\nIf the operation fails
due to a folder constraint violation,\na PreconditionFailure explaining the vio
lation will be returned.\nIf the failure occurs synchronously then the Precondit
ionFailure\nwill be returned via the Status.details field and if it occurs\nasyn
chronously then the PreconditionFailure will be returned\nvia the the Operation.
error field.\n\nThe caller must have `resourcemanager.folders.create` permission
on the\nidentified parent.", | |
369 "httpMethod": "POST", | |
370 "id": "cloudresourcemanager.folders.create", | |
371 "parameterOrder": [], | |
372 "parameters": { | |
373 "parent": { | |
374 "description": "The resource name of the new Folder'
s parent.\nMust be of the form `folders/{folder_id}` or `organizations/{org_id}`
.", | |
375 "location": "query", | |
376 "type": "string" | |
377 } | |
378 }, | |
379 "path": "v2beta1/folders", | |
380 "request": { | |
381 "$ref": "Folder" | |
382 }, | |
383 "response": { | |
384 "$ref": "Operation" | |
385 }, | |
386 "scopes": [ | |
387 "https://www.googleapis.com/auth/cloud-platform" | |
388 ] | |
389 }, | |
390 "getIamPolicy": { | 390 "getIamPolicy": { |
391 "description": "Gets the access control policy for a Folder.
The returned policy may be\nempty if no such policy or resource exists. The `re
source` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe
caller must have `resourcemanager.folders.getIamPolicy` permission\non the iden
tified folder.", | 391 "description": "Gets the access control policy for a Folder.
The returned policy may be\nempty if no such policy or resource exists. The `re
source` field should\nbe the Folder's resource name, e.g. \"folders/1234\".\nThe
caller must have `resourcemanager.folders.getIamPolicy` permission\non the iden
tified folder.", |
392 "httpMethod": "POST", | 392 "httpMethod": "POST", |
393 "id": "cloudresourcemanager.folders.getIamPolicy", | 393 "id": "cloudresourcemanager.folders.getIamPolicy", |
394 "parameterOrder": [ | 394 "parameterOrder": [ |
395 "resource" | 395 "resource" |
396 ], | 396 ], |
397 "parameters": { | 397 "parameters": { |
398 "resource": { | 398 "resource": { |
399 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", | 399 "description": "REQUIRED: The resource for which the
policy is being requested.\nSee the operation documentation for the appropriate
value for this field.", |
(...skipping 11 matching lines...) Expand all Loading... |
411 "$ref": "Policy" | 411 "$ref": "Policy" |
412 }, | 412 }, |
413 "scopes": [ | 413 "scopes": [ |
414 "https://www.googleapis.com/auth/cloud-platform", | 414 "https://www.googleapis.com/auth/cloud-platform", |
415 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" | 415 "https://www.googleapis.com/auth/cloud-platform.read-onl
y" |
416 ] | 416 ] |
417 } | 417 } |
418 } | 418 } |
419 } | 419 } |
420 }, | 420 }, |
421 "revision": "20170726", | 421 "revision": "20170814", |
422 "rootUrl": "https://cloudresourcemanager.googleapis.com/", | 422 "rootUrl": "https://cloudresourcemanager.googleapis.com/", |
423 "schemas": { | 423 "schemas": { |
| 424 "FolderOperationError": { |
| 425 "description": "A classification of the Folder Operation error.", |
| 426 "id": "FolderOperationError", |
| 427 "properties": { |
| 428 "errorMessageId": { |
| 429 "description": "The type of operation error experienced.", |
| 430 "enum": [ |
| 431 "ERROR_TYPE_UNSPECIFIED", |
| 432 "ACTIVE_FOLDER_HEIGHT_VIOLATION", |
| 433 "MAX_CHILD_FOLDERS_VIOLATION", |
| 434 "FOLDER_NAME_UNIQUENESS_VIOLATION", |
| 435 "RESOURCE_DELETED_VIOLATION", |
| 436 "PARENT_DELETED_VIOLATION", |
| 437 "CYCLE_INTRODUCED_VIOLATION", |
| 438 "FOLDER_BEING_MOVED_VIOLATION", |
| 439 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", |
| 440 "DELETED_FOLDER_HEIGHT_VIOLATION" |
| 441 ], |
| 442 "enumDescriptions": [ |
| 443 "The error type was unrecognized or unspecified.", |
| 444 "The attempted action would violate the max folder depth
constraint.", |
| 445 "The attempted action would violate the max child folder
s constraint.", |
| 446 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", |
| 447 "The resource being moved has been deleted.", |
| 448 "The resource a folder was being added to has been delet
ed.", |
| 449 "The attempted action would introduce cycle in resource
path.", |
| 450 "The attempted action would move a folder that is alread
y being moved.", |
| 451 "The folder the caller is trying to delete contains acti
ve resources.", |
| 452 "The attempted action would violate the max deleted fold
er depth\nconstraint." |
| 453 ], |
| 454 "type": "string" |
| 455 } |
| 456 }, |
| 457 "type": "object" |
| 458 }, |
| 459 "FolderOperation": { |
| 460 "description": "Metadata describing a long running folder operation"
, |
| 461 "id": "FolderOperation", |
| 462 "properties": { |
| 463 "sourceParent": { |
| 464 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", |
| 465 "type": "string" |
| 466 }, |
| 467 "displayName": { |
| 468 "description": "The display name of the folder.", |
| 469 "type": "string" |
| 470 }, |
| 471 "destinationParent": { |
| 472 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", |
| 473 "type": "string" |
| 474 }, |
| 475 "operationType": { |
| 476 "description": "The type of this operation.", |
| 477 "enum": [ |
| 478 "OPERATION_TYPE_UNSPECIFIED", |
| 479 "CREATE", |
| 480 "MOVE" |
| 481 ], |
| 482 "enumDescriptions": [ |
| 483 "Operation type not specified.", |
| 484 "A create folder operation.", |
| 485 "A move folder operation." |
| 486 ], |
| 487 "type": "string" |
| 488 } |
| 489 }, |
| 490 "type": "object" |
| 491 }, |
| 492 "Policy": { |
| 493 "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).", |
| 494 "id": "Policy", |
| 495 "properties": { |
| 496 "etag": { |
| 497 "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.", |
| 498 "format": "byte", |
| 499 "type": "string" |
| 500 }, |
| 501 "version": { |
| 502 "description": "Version of the `Policy`. The default version
is 0.", |
| 503 "format": "int32", |
| 504 "type": "integer" |
| 505 }, |
| 506 "auditConfigs": { |
| 507 "description": "Specifies cloud audit logging configuration
for this policy.", |
| 508 "items": { |
| 509 "$ref": "AuditConfig" |
| 510 }, |
| 511 "type": "array" |
| 512 }, |
| 513 "bindings": { |
| 514 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", |
| 515 "items": { |
| 516 "$ref": "Binding" |
| 517 }, |
| 518 "type": "array" |
| 519 } |
| 520 }, |
| 521 "type": "object" |
| 522 }, |
| 523 "AuditConfig": { |
| 524 "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.", |
| 525 "id": "AuditConfig", |
| 526 "properties": { |
| 527 "auditLogConfigs": { |
| 528 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", |
| 529 "items": { |
| 530 "$ref": "AuditLogConfig" |
| 531 }, |
| 532 "type": "array" |
| 533 }, |
| 534 "service": { |
| 535 "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.", |
| 536 "type": "string" |
| 537 } |
| 538 }, |
| 539 "type": "object" |
| 540 }, |
| 541 "Operation": { |
| 542 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
| 543 "id": "Operation", |
| 544 "properties": { |
| 545 "done": { |
| 546 "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.", |
| 547 "type": "boolean" |
| 548 }, |
| 549 "response": { |
| 550 "additionalProperties": { |
| 551 "description": "Properties of the object. Contains field
@type with type URL.", |
| 552 "type": "any" |
| 553 }, |
| 554 "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`.", |
| 555 "type": "object" |
| 556 }, |
| 557 "name": { |
| 558 "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`
.", |
| 559 "type": "string" |
| 560 }, |
| 561 "error": { |
| 562 "$ref": "Status", |
| 563 "description": "The error result of the operation in case of
failure or cancellation." |
| 564 }, |
| 565 "metadata": { |
| 566 "additionalProperties": { |
| 567 "description": "Properties of the object. Contains field
@type with type URL.", |
| 568 "type": "any" |
| 569 }, |
| 570 "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.
", |
| 571 "type": "object" |
| 572 } |
| 573 }, |
| 574 "type": "object" |
| 575 }, |
424 "ListFoldersResponse": { | 576 "ListFoldersResponse": { |
425 "description": "The ListFolders response message.", | 577 "description": "The ListFolders response message.", |
426 "id": "ListFoldersResponse", | 578 "id": "ListFoldersResponse", |
427 "properties": { | 579 "properties": { |
428 "folders": { | 580 "folders": { |
429 "description": "A possibly paginated list of Folders that ar
e direct descendants of\nthe specified parent resource.", | 581 "description": "A possibly paginated list of Folders that ar
e direct descendants of\nthe specified parent resource.", |
430 "items": { | 582 "items": { |
431 "$ref": "Folder" | 583 "$ref": "Folder" |
432 }, | 584 }, |
433 "type": "array" | 585 "type": "array" |
(...skipping 29 matching lines...) Expand all Loading... |
463 "format": "google-fieldmask", | 615 "format": "google-fieldmask", |
464 "type": "string" | 616 "type": "string" |
465 } | 617 } |
466 }, | 618 }, |
467 "type": "object" | 619 "type": "object" |
468 }, | 620 }, |
469 "SearchFoldersResponse": { | 621 "SearchFoldersResponse": { |
470 "description": "The response message for searching folders.", | 622 "description": "The response message for searching folders.", |
471 "id": "SearchFoldersResponse", | 623 "id": "SearchFoldersResponse", |
472 "properties": { | 624 "properties": { |
| 625 "nextPageToken": { |
| 626 "description": "A pagination token returned from a previous
call to `SearchFolders`\nthat indicates from where searching should continue.\nT
his field is optional.", |
| 627 "type": "string" |
| 628 }, |
473 "folders": { | 629 "folders": { |
474 "description": "A possibly paginated folder search results.\
nthe specified parent resource.", | 630 "description": "A possibly paginated folder search results.\
nthe specified parent resource.", |
475 "items": { | 631 "items": { |
476 "$ref": "Folder" | 632 "$ref": "Folder" |
477 }, | 633 }, |
478 "type": "array" | 634 "type": "array" |
479 }, | |
480 "nextPageToken": { | |
481 "description": "A pagination token returned from a previous
call to `SearchFolders`\nthat indicates from where searching should continue.\nT
his field is optional.", | |
482 "type": "string" | |
483 } | 635 } |
484 }, | 636 }, |
485 "type": "object" | 637 "type": "object" |
486 }, | 638 }, |
487 "Status": { | 639 "Status": { |
488 "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.", | 640 "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.", |
489 "id": "Status", | 641 "id": "Status", |
490 "properties": { | 642 "properties": { |
491 "code": { | 643 "code": { |
492 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 644 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 "description": "Search criteria used to select the Folders t
o return.\nIf no search criteria is specified then all accessible folders will b
e\nreturned.\n\nQuery expressions can be used to restrict results based upon dis
playName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and
`OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example que
ries are:\n|Query|Description|\n|------|-----------|\n|displayName=Test*|Folders
whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose
lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folde
rs/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose\n
parent is \"folders/123\".|", | 698 "description": "Search criteria used to select the Folders t
o return.\nIf no search criteria is specified then all accessible folders will b
e\nreturned.\n\nQuery expressions can be used to restrict results based upon dis
playName,\nlifecycleState and parent, where the operators `=`, `NOT`, `AND` and
`OR`\ncan be used along with the suffix wildcard symbol `*`.\n\nSome example que
ries are:\n|Query|Description|\n|------|-----------|\n|displayName=Test*|Folders
whose display name starts with \"Test\".|\n|lifecycleState=ACTIVE|Folders whose
lifecycleState is ACTIVE.|\n|parent=folders/123|Folders whose parent is \"folde
rs/123\".|\n|parent=folders/123 AND lifecycleState=ACTIVE|Active folders whose\n
parent is \"folders/123\".|", |
547 "type": "string" | 699 "type": "string" |
548 } | 700 } |
549 }, | 701 }, |
550 "type": "object" | 702 "type": "object" |
551 }, | 703 }, |
552 "Folder": { | 704 "Folder": { |
553 "description": "A Folder in an Organization's resource hierarchy, us
ed to\norganize that Organization's resources.", | 705 "description": "A Folder in an Organization's resource hierarchy, us
ed to\norganize that Organization's resources.", |
554 "id": "Folder", | 706 "id": "Folder", |
555 "properties": { | 707 "properties": { |
| 708 "displayName": { |
| 709 "description": "The folder’s display name.\nA folder’s displ
ay name must be unique amongst its siblings, e.g.\nno two folders with the same
parent can share the same display name.\nThe display name must start and end wit
h a letter or digit, may contain\nletters, digits, spaces, hyphens and underscor
es and can be no longer\nthan 30 characters. This is captured by the regular exp
ression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.", |
| 710 "type": "string" |
| 711 }, |
| 712 "parent": { |
| 713 "description": "The Folder’s parent's resource name.\nUpdate
s to the folder's parent must be performed via [MoveFolders].", |
| 714 "type": "string" |
| 715 }, |
556 "createTime": { | 716 "createTime": { |
557 "description": "Output only. Timestamp when the Folder was c
reated. Assigned by the server.", | 717 "description": "Output only. Timestamp when the Folder was c
reated. Assigned by the server.", |
558 "format": "google-datetime", | 718 "format": "google-datetime", |
559 "type": "string" | 719 "type": "string" |
560 }, | 720 }, |
561 "lifecycleState": { | 721 "lifecycleState": { |
562 "description": "Output only. The lifecycle state of the fol
der.\nUpdates to the lifecycle_state must be performed via\n[DeleteFolder] and [
UndeleteFolder].", | 722 "description": "Output only. The lifecycle state of the fol
der.\nUpdates to the lifecycle_state must be performed via\n[DeleteFolder] and [
UndeleteFolder].", |
563 "enum": [ | 723 "enum": [ |
564 "LIFECYCLE_STATE_UNSPECIFIED", | 724 "LIFECYCLE_STATE_UNSPECIFIED", |
565 "ACTIVE", | 725 "ACTIVE", |
566 "DELETE_REQUESTED" | 726 "DELETE_REQUESTED" |
567 ], | 727 ], |
568 "enumDescriptions": [ | 728 "enumDescriptions": [ |
569 "Unspecified state.", | 729 "Unspecified state.", |
570 "The normal and active state.", | 730 "The normal and active state.", |
571 "The folder has been marked for deletion by the user." | 731 "The folder has been marked for deletion by the user." |
572 ], | 732 ], |
573 "type": "string" | 733 "type": "string" |
574 }, | 734 }, |
575 "name": { | 735 "name": { |
576 "description": "Output only. The resource name of the Folder
.\nIts format is `folders/{folder_id}`, for example: \"folders/1234\".", | 736 "description": "Output only. The resource name of the Folder
.\nIts format is `folders/{folder_id}`, for example: \"folders/1234\".", |
577 "type": "string" | 737 "type": "string" |
578 }, | |
579 "displayName": { | |
580 "description": "The folder’s display name.\nA folder’s displ
ay name must be unique amongst its siblings, e.g.\nno two folders with the same
parent can share the same display name.\nThe display name must start and end wit
h a letter or digit, may contain\nletters, digits, spaces, hyphens and underscor
es and can be no longer\nthan 30 characters. This is captured by the regular exp
ression:\n[\\p{L}\\p{N}]({\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.", | |
581 "type": "string" | |
582 }, | |
583 "parent": { | |
584 "description": "The Folder’s parent's resource name.\nUpdate
s to the folder's parent must be performed via [MoveFolders].", | |
585 "type": "string" | |
586 } | 738 } |
587 }, | 739 }, |
588 "type": "object" | 740 "type": "object" |
589 }, | 741 }, |
590 "ProjectCreationStatus": { | 742 "ProjectCreationStatus": { |
591 "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.", | 743 "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.", |
592 "id": "ProjectCreationStatus", | 744 "id": "ProjectCreationStatus", |
593 "properties": { | 745 "properties": { |
594 "ready": { | |
595 "description": "True if the project creation process is comp
lete.", | |
596 "type": "boolean" | |
597 }, | |
598 "gettable": { | 746 "gettable": { |
599 "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.", | 747 "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.", |
600 "type": "boolean" | 748 "type": "boolean" |
601 }, | 749 }, |
602 "createTime": { | 750 "createTime": { |
603 "description": "Creation time of the project creation workfl
ow.", | 751 "description": "Creation time of the project creation workfl
ow.", |
604 "format": "google-datetime", | 752 "format": "google-datetime", |
605 "type": "string" | 753 "type": "string" |
| 754 }, |
| 755 "ready": { |
| 756 "description": "True if the project creation process is comp
lete.", |
| 757 "type": "boolean" |
606 } | 758 } |
607 }, | 759 }, |
608 "type": "object" | 760 "type": "object" |
609 }, | 761 }, |
610 "TestIamPermissionsResponse": { | 762 "TestIamPermissionsResponse": { |
611 "description": "Response message for `TestIamPermissions` method.", | 763 "description": "Response message for `TestIamPermissions` method.", |
612 "id": "TestIamPermissionsResponse", | 764 "id": "TestIamPermissionsResponse", |
613 "properties": { | 765 "properties": { |
614 "permissions": { | 766 "permissions": { |
615 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", | 767 "description": "A subset of `TestPermissionsRequest.permissi
ons` that the caller is\nallowed.", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 "properties": { | 821 "properties": { |
670 "permissions": { | 822 "permissions": { |
671 "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).", | 823 "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).", |
672 "items": { | 824 "items": { |
673 "type": "string" | 825 "type": "string" |
674 }, | 826 }, |
675 "type": "array" | 827 "type": "array" |
676 } | 828 } |
677 }, | 829 }, |
678 "type": "object" | 830 "type": "object" |
679 }, | |
680 "FolderOperationError": { | |
681 "description": "A classification of the Folder Operation error.", | |
682 "id": "FolderOperationError", | |
683 "properties": { | |
684 "errorMessageId": { | |
685 "description": "The type of operation error experienced.", | |
686 "enum": [ | |
687 "ERROR_TYPE_UNSPECIFIED", | |
688 "ACTIVE_FOLDER_HEIGHT_VIOLATION", | |
689 "MAX_CHILD_FOLDERS_VIOLATION", | |
690 "FOLDER_NAME_UNIQUENESS_VIOLATION", | |
691 "RESOURCE_DELETED_VIOLATION", | |
692 "PARENT_DELETED_VIOLATION", | |
693 "CYCLE_INTRODUCED_VIOLATION", | |
694 "FOLDER_BEING_MOVED_VIOLATION", | |
695 "FOLDER_TO_DELETE_NON_EMPTY_VIOLATION", | |
696 "DELETED_FOLDER_HEIGHT_VIOLATION" | |
697 ], | |
698 "enumDescriptions": [ | |
699 "The error type was unrecognized or unspecified.", | |
700 "The attempted action would violate the max folder depth
constraint.", | |
701 "The attempted action would violate the max child folder
s constraint.", | |
702 "The attempted action would violate the locally-unique f
older\ndisplay_name constraint.", | |
703 "The resource being moved has been deleted.", | |
704 "The resource a folder was being added to has been delet
ed.", | |
705 "The attempted action would introduce cycle in resource
path.", | |
706 "The attempted action would move a folder that is alread
y being moved.", | |
707 "The folder the caller is trying to delete contains acti
ve resources.", | |
708 "The attempted action would violate the max deleted fold
er depth\nconstraint." | |
709 ], | |
710 "type": "string" | |
711 } | |
712 }, | |
713 "type": "object" | |
714 }, | |
715 "FolderOperation": { | |
716 "description": "Metadata describing a long running folder operation"
, | |
717 "id": "FolderOperation", | |
718 "properties": { | |
719 "operationType": { | |
720 "description": "The type of this operation.", | |
721 "enum": [ | |
722 "OPERATION_TYPE_UNSPECIFIED", | |
723 "CREATE", | |
724 "MOVE" | |
725 ], | |
726 "enumDescriptions": [ | |
727 "Operation type not specified.", | |
728 "A create folder operation.", | |
729 "A move folder operation." | |
730 ], | |
731 "type": "string" | |
732 }, | |
733 "sourceParent": { | |
734 "description": "The resource name of the folder's parent.\nO
nly applicable when the operation_type is MOVE.", | |
735 "type": "string" | |
736 }, | |
737 "displayName": { | |
738 "description": "The display name of the folder.", | |
739 "type": "string" | |
740 }, | |
741 "destinationParent": { | |
742 "description": "The resource name of the folder or organizat
ion we are either creating\nthe folder under or moving the folder to.", | |
743 "type": "string" | |
744 } | |
745 }, | |
746 "type": "object" | |
747 }, | |
748 "Policy": { | |
749 "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).", | |
750 "id": "Policy", | |
751 "properties": { | |
752 "auditConfigs": { | |
753 "description": "Specifies cloud audit logging configuration
for this policy.", | |
754 "items": { | |
755 "$ref": "AuditConfig" | |
756 }, | |
757 "type": "array" | |
758 }, | |
759 "bindings": { | |
760 "description": "Associates a list of `members` to a `role`.\
n`bindings` with no members will result in an error.", | |
761 "items": { | |
762 "$ref": "Binding" | |
763 }, | |
764 "type": "array" | |
765 }, | |
766 "etag": { | |
767 "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.", | |
768 "format": "byte", | |
769 "type": "string" | |
770 }, | |
771 "version": { | |
772 "description": "Version of the `Policy`. The default version
is 0.", | |
773 "format": "int32", | |
774 "type": "integer" | |
775 } | |
776 }, | |
777 "type": "object" | |
778 }, | |
779 "AuditConfig": { | |
780 "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.", | |
781 "id": "AuditConfig", | |
782 "properties": { | |
783 "service": { | |
784 "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.", | |
785 "type": "string" | |
786 }, | |
787 "auditLogConfigs": { | |
788 "description": "The configuration for logging of each type o
f permission.\nNext ID: 4", | |
789 "items": { | |
790 "$ref": "AuditLogConfig" | |
791 }, | |
792 "type": "array" | |
793 } | |
794 }, | |
795 "type": "object" | |
796 }, | |
797 "Operation": { | |
798 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | |
799 "id": "Operation", | |
800 "properties": { | |
801 "error": { | |
802 "$ref": "Status", | |
803 "description": "The error result of the operation in case of
failure or cancellation." | |
804 }, | |
805 "metadata": { | |
806 "additionalProperties": { | |
807 "description": "Properties of the object. Contains field
@type with type URL.", | |
808 "type": "any" | |
809 }, | |
810 "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.
", | |
811 "type": "object" | |
812 }, | |
813 "done": { | |
814 "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.", | |
815 "type": "boolean" | |
816 }, | |
817 "response": { | |
818 "additionalProperties": { | |
819 "description": "Properties of the object. Contains field
@type with type URL.", | |
820 "type": "any" | |
821 }, | |
822 "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`.", | |
823 "type": "object" | |
824 }, | |
825 "name": { | |
826 "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`
.", | |
827 "type": "string" | |
828 } | |
829 }, | |
830 "type": "object" | |
831 } | 831 } |
832 }, | 832 }, |
833 "servicePath": "", | 833 "servicePath": "", |
834 "title": "Google Cloud Resource Manager API", | 834 "title": "Google Cloud Resource Manager API", |
835 "version": "v2beta1" | 835 "version": "v2beta1" |
836 } | 836 } |
OLD | NEW |