|
143 | 143 | "name"
|
144 | 144 | ],
|
145 | 145 | "parameters": {
|
| 146 | +"extraLocationTypes": { |
| 147 | +"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.", |
| 148 | +"location": "query", |
| 149 | +"repeated": true, |
| 150 | +"type": "string" |
| 151 | +}, |
146 | 152 | "filter": {
|
147 | 153 | "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
|
148 | 154 | "location": "query",
|
|
420 | 426 | "scopes": [
|
421 | 427 | "https://www.googleapis.com/auth/cloud-platform"
|
422 | 428 | ]
|
| 429 | +}, |
| 430 | +"restore": { |
| 431 | +"description": "Restore Looker instance.", |
| 432 | +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restore", |
| 433 | +"httpMethod": "POST", |
| 434 | +"id": "looker.projects.locations.instances.restore", |
| 435 | +"parameterOrder": [ |
| 436 | +"name" |
| 437 | +], |
| 438 | +"parameters": { |
| 439 | +"name": { |
| 440 | +"description": "Required. Instance being restored Format: projects/{project}/locations/{location}/instances/{instance}", |
| 441 | +"location": "path", |
| 442 | +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 443 | +"required": true, |
| 444 | +"type": "string" |
| 445 | +} |
| 446 | +}, |
| 447 | +"path": "v1/{+name}:restore", |
| 448 | +"request": { |
| 449 | +"$ref": "RestoreInstanceRequest" |
| 450 | +}, |
| 451 | +"response": { |
| 452 | +"$ref": "Operation" |
| 453 | +}, |
| 454 | +"scopes": [ |
| 455 | +"https://www.googleapis.com/auth/cloud-platform" |
| 456 | +] |
| 457 | +} |
| 458 | +}, |
| 459 | +"resources": { |
| 460 | +"backups": { |
| 461 | +"methods": { |
| 462 | +"create": { |
| 463 | +"description": "Backup Looker instance.", |
| 464 | +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups", |
| 465 | +"httpMethod": "POST", |
| 466 | +"id": "looker.projects.locations.instances.backups.create", |
| 467 | +"parameterOrder": [ |
| 468 | +"parent" |
| 469 | +], |
| 470 | +"parameters": { |
| 471 | +"parent": { |
| 472 | +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}", |
| 473 | +"location": "path", |
| 474 | +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 475 | +"required": true, |
| 476 | +"type": "string" |
| 477 | +} |
| 478 | +}, |
| 479 | +"path": "v1/{+parent}/backups", |
| 480 | +"request": { |
| 481 | +"$ref": "InstanceBackup" |
| 482 | +}, |
| 483 | +"response": { |
| 484 | +"$ref": "Operation" |
| 485 | +}, |
| 486 | +"scopes": [ |
| 487 | +"https://www.googleapis.com/auth/cloud-platform" |
| 488 | +] |
| 489 | +}, |
| 490 | +"delete": { |
| 491 | +"description": "Delete backup.", |
| 492 | +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}", |
| 493 | +"httpMethod": "DELETE", |
| 494 | +"id": "looker.projects.locations.instances.backups.delete", |
| 495 | +"parameterOrder": [ |
| 496 | +"name" |
| 497 | +], |
| 498 | +"parameters": { |
| 499 | +"name": { |
| 500 | +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}", |
| 501 | +"location": "path", |
| 502 | +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$", |
| 503 | +"required": true, |
| 504 | +"type": "string" |
| 505 | +} |
| 506 | +}, |
| 507 | +"path": "v1/{+name}", |
| 508 | +"response": { |
| 509 | +"$ref": "Operation" |
| 510 | +}, |
| 511 | +"scopes": [ |
| 512 | +"https://www.googleapis.com/auth/cloud-platform" |
| 513 | +] |
| 514 | +}, |
| 515 | +"get": { |
| 516 | +"description": "", |
| 517 | +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups/{backupsId}", |
| 518 | +"httpMethod": "GET", |
| 519 | +"id": "looker.projects.locations.instances.backups.get", |
| 520 | +"parameterOrder": [ |
| 521 | +"name" |
| 522 | +], |
| 523 | +"parameters": { |
| 524 | +"name": { |
| 525 | +"description": "Required. Format: `projects/{project}/locations/{location}/instances/{instance}/backups/{backup}`.", |
| 526 | +"location": "path", |
| 527 | +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+/backups/[^/]+$", |
| 528 | +"required": true, |
| 529 | +"type": "string" |
| 530 | +} |
| 531 | +}, |
| 532 | +"path": "v1/{+name}", |
| 533 | +"response": { |
| 534 | +"$ref": "InstanceBackup" |
| 535 | +}, |
| 536 | +"scopes": [ |
| 537 | +"https://www.googleapis.com/auth/cloud-platform" |
| 538 | +] |
| 539 | +}, |
| 540 | +"list": { |
| 541 | +"description": "List backups of Looker instance.", |
| 542 | +"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/backups", |
| 543 | +"httpMethod": "GET", |
| 544 | +"id": "looker.projects.locations.instances.backups.list", |
| 545 | +"parameterOrder": [ |
| 546 | +"parent" |
| 547 | +], |
| 548 | +"parameters": { |
| 549 | +"orderBy": { |
| 550 | +"description": "Sort results. Default order is \"create_time desc\". Other supported fields are \"state\" and \"expire_time\". https://google.aip.dev/132#ordering", |
| 551 | +"location": "query", |
| 552 | +"type": "string" |
| 553 | +}, |
| 554 | +"pageSize": { |
| 555 | +"description": "The maximum number of instances to return.", |
| 556 | +"format": "int32", |
| 557 | +"location": "query", |
| 558 | +"type": "integer" |
| 559 | +}, |
| 560 | +"pageToken": { |
| 561 | +"description": "A page token received from a previous ListInstances request.", |
| 562 | +"location": "query", |
| 563 | +"type": "string" |
| 564 | +}, |
| 565 | +"parent": { |
| 566 | +"description": "Required. Format: projects/{project}/locations/{location}/instances/{instance}.", |
| 567 | +"location": "path", |
| 568 | +"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$", |
| 569 | +"required": true, |
| 570 | +"type": "string" |
| 571 | +} |
| 572 | +}, |
| 573 | +"path": "v1/{+parent}/backups", |
| 574 | +"response": { |
| 575 | +"$ref": "ListInstanceBackupsResponse" |
| 576 | +}, |
| 577 | +"scopes": [ |
| 578 | +"https://www.googleapis.com/auth/cloud-platform" |
| 579 | +] |
| 580 | +} |
| 581 | +} |
423 | 582 | }
|
424 | 583 | }
|
425 | 584 | },
|
|
551 | 710 | }
|
552 | 711 | }
|
553 | 712 | },
|
554 |
| -"revision": "20250305", |
| 713 | +"revision": "20250414", |
555 | 714 | "rootUrl": "https://looker.googleapis.com/",
|
556 | 715 | "schemas": {
|
557 | 716 | "AdminSettings": {
|
|
971 | 1130 | },
|
972 | 1131 | "type": "object"
|
973 | 1132 | },
|
| 1133 | +"InstanceBackup": { |
| 1134 | +"description": "The details of a backup resource.", |
| 1135 | +"id": "InstanceBackup", |
| 1136 | +"properties": { |
| 1137 | +"createTime": { |
| 1138 | +"description": "Output only. The time when the backup was started.", |
| 1139 | +"format": "google-datetime", |
| 1140 | +"readOnly": true, |
| 1141 | +"type": "string" |
| 1142 | +}, |
| 1143 | +"encryptionConfig": { |
| 1144 | +"$ref": "EncryptionConfig", |
| 1145 | +"description": "Output only. Current status of the CMEK encryption", |
| 1146 | +"readOnly": true |
| 1147 | +}, |
| 1148 | +"expireTime": { |
| 1149 | +"description": "Output only. The time when the backup will be deleted.", |
| 1150 | +"format": "google-datetime", |
| 1151 | +"readOnly": true, |
| 1152 | +"type": "string" |
| 1153 | +}, |
| 1154 | +"name": { |
| 1155 | +"description": "Immutable. The relative resource name of the backup, in the following form: `projects/{project_number}/locations/{location_id}/instances/{instance_id}/backups/{backup}`", |
| 1156 | +"type": "string" |
| 1157 | +}, |
| 1158 | +"state": { |
| 1159 | +"description": "Output only. The current state of the backup.", |
| 1160 | +"enum": [ |
| 1161 | +"STATE_UNSPECIFIED", |
| 1162 | +"CREATING", |
| 1163 | +"DELETING", |
| 1164 | +"ACTIVE", |
| 1165 | +"FAILED" |
| 1166 | +], |
| 1167 | +"enumDescriptions": [ |
| 1168 | +"The state of the backup is unknown.", |
| 1169 | +"The backup is being created.", |
| 1170 | +"The backup is being deleted.", |
| 1171 | +"The backup is active and ready to use.", |
| 1172 | +"The backup failed." |
| 1173 | +], |
| 1174 | +"readOnly": true, |
| 1175 | +"type": "string" |
| 1176 | +} |
| 1177 | +}, |
| 1178 | +"type": "object" |
| 1179 | +}, |
| 1180 | +"ListInstanceBackupsResponse": { |
| 1181 | +"description": "Response from listing Looker instance backups.", |
| 1182 | +"id": "ListInstanceBackupsResponse", |
| 1183 | +"properties": { |
| 1184 | +"instanceBackups": { |
| 1185 | +"description": "The list of instances matching the request filters, up to the requested `page_size`.", |
| 1186 | +"items": { |
| 1187 | +"$ref": "InstanceBackup" |
| 1188 | +}, |
| 1189 | +"type": "array" |
| 1190 | +}, |
| 1191 | +"nextPageToken": { |
| 1192 | +"description": "If provided, a page token that can look up the next `page_size` results. If empty, the results list is exhausted.", |
| 1193 | +"type": "string" |
| 1194 | +}, |
| 1195 | +"unreachable": { |
| 1196 | +"description": "Locations that could not be reached.", |
| 1197 | +"items": { |
| 1198 | +"type": "string" |
| 1199 | +}, |
| 1200 | +"type": "array" |
| 1201 | +} |
| 1202 | +}, |
| 1203 | +"type": "object" |
| 1204 | +}, |
974 | 1205 | "ListInstancesResponse": {
|
975 | 1206 | "description": "Response from ListInstances.",
|
976 | 1207 | "id": "ListInstancesResponse",
|
|
1237 | 1468 | "properties": {},
|
1238 | 1469 | "type": "object"
|
1239 | 1470 | },
|
| 1471 | +"RestoreInstanceRequest": { |
| 1472 | +"description": "Request options for restoring an instance", |
| 1473 | +"id": "RestoreInstanceRequest", |
| 1474 | +"properties": { |
| 1475 | +"backup": { |
| 1476 | +"description": "Required. Backup being used to restore the instance Format: projects/{project}/locations/{location}/instances/{instance}/backups/{backup}", |
| 1477 | +"type": "string" |
| 1478 | +} |
| 1479 | +}, |
| 1480 | +"type": "object" |
| 1481 | +}, |
1240 | 1482 | "ServiceAttachment": {
|
1241 | 1483 | "description": "Service attachment configuration.",
|
1242 | 1484 | "id": "ServiceAttachment",
|
|
0 commit comments