|
597 | 597 | }
|
598 | 598 | }
|
599 | 599 | },
|
| 600 | + "reservationGroups": { |
| 601 | + "methods": { |
| 602 | + "create": { |
| 603 | + "description": "Creates a new reservation group.", |
| 604 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservationGroups", |
| 605 | + "httpMethod": "POST", |
| 606 | + "id": "bigqueryreservation.projects.locations.reservationGroups.create", |
| 607 | + "parameterOrder": [ |
| 608 | + "parent" |
| 609 | + ], |
| 610 | + "parameters": { |
| 611 | + "parent": { |
| 612 | + "description": "Required. Project, location. E.g., `projects/myproject/locations/US`", |
| 613 | + "location": "path", |
| 614 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 615 | + "required": true, |
| 616 | + "type": "string" |
| 617 | + }, |
| 618 | + "reservationGroupId": { |
| 619 | + "description": "Required. The reservation group ID. It must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", |
| 620 | + "location": "query", |
| 621 | + "type": "string" |
| 622 | + } |
| 623 | + }, |
| 624 | + "path": "v1/{+parent}/reservationGroups", |
| 625 | + "request": { |
| 626 | + "$ref": "ReservationGroup" |
| 627 | + }, |
| 628 | + "response": { |
| 629 | + "$ref": "ReservationGroup" |
| 630 | + }, |
| 631 | + "scopes": [ |
| 632 | + "https://www.googleapis.com/auth/bigquery", |
| 633 | + "https://www.googleapis.com/auth/cloud-platform" |
| 634 | + ] |
| 635 | + }, |
| 636 | + "delete": { |
| 637 | + "description": "Deletes a reservation. Returns `google.rpc.Code.FAILED_PRECONDITION` when reservation has assignments.", |
| 638 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservationGroups/{reservationGroupsId}", |
| 639 | + "httpMethod": "DELETE", |
| 640 | + "id": "bigqueryreservation.projects.locations.reservationGroups.delete", |
| 641 | + "parameterOrder": [ |
| 642 | + "name" |
| 643 | + ], |
| 644 | + "parameters": { |
| 645 | + "name": { |
| 646 | + "description": "Required. Resource name of the reservation group to retrieve. E.g., `projects/myproject/locations/US/reservationGroups/team1-prod`", |
| 647 | + "location": "path", |
| 648 | + "pattern": "^projects/[^/]+/locations/[^/]+/reservationGroups/[^/]+$", |
| 649 | + "required": true, |
| 650 | + "type": "string" |
| 651 | + } |
| 652 | + }, |
| 653 | + "path": "v1/{+name}", |
| 654 | + "response": { |
| 655 | + "$ref": "Empty" |
| 656 | + }, |
| 657 | + "scopes": [ |
| 658 | + "https://www.googleapis.com/auth/bigquery", |
| 659 | + "https://www.googleapis.com/auth/cloud-platform" |
| 660 | + ] |
| 661 | + }, |
| 662 | + "get": { |
| 663 | + "description": "Returns information about the reservation group.", |
| 664 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservationGroups/{reservationGroupsId}", |
| 665 | + "httpMethod": "GET", |
| 666 | + "id": "bigqueryreservation.projects.locations.reservationGroups.get", |
| 667 | + "parameterOrder": [ |
| 668 | + "name" |
| 669 | + ], |
| 670 | + "parameters": { |
| 671 | + "name": { |
| 672 | + "description": "Required. Resource name of the reservation group to retrieve. E.g., `projects/myproject/locations/US/reservationGroups/team1-prod`", |
| 673 | + "location": "path", |
| 674 | + "pattern": "^projects/[^/]+/locations/[^/]+/reservationGroups/[^/]+$", |
| 675 | + "required": true, |
| 676 | + "type": "string" |
| 677 | + } |
| 678 | + }, |
| 679 | + "path": "v1/{+name}", |
| 680 | + "response": { |
| 681 | + "$ref": "ReservationGroup" |
| 682 | + }, |
| 683 | + "scopes": [ |
| 684 | + "https://www.googleapis.com/auth/bigquery", |
| 685 | + "https://www.googleapis.com/auth/cloud-platform" |
| 686 | + ] |
| 687 | + }, |
| 688 | + "list": { |
| 689 | + "description": "Lists all the reservation groups for the project in the specified location.", |
| 690 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/reservationGroups", |
| 691 | + "httpMethod": "GET", |
| 692 | + "id": "bigqueryreservation.projects.locations.reservationGroups.list", |
| 693 | + "parameterOrder": [ |
| 694 | + "parent" |
| 695 | + ], |
| 696 | + "parameters": { |
| 697 | + "pageSize": { |
| 698 | + "description": "The maximum number of items to return per page.", |
| 699 | + "format": "int32", |
| 700 | + "location": "query", |
| 701 | + "type": "integer" |
| 702 | + }, |
| 703 | + "pageToken": { |
| 704 | + "description": "The next_page_token value returned from a previous List request, if any.", |
| 705 | + "location": "query", |
| 706 | + "type": "string" |
| 707 | + }, |
| 708 | + "parent": { |
| 709 | + "description": "Required. The parent resource name containing project and location, e.g.: `projects/myproject/locations/US`", |
| 710 | + "location": "path", |
| 711 | + "pattern": "^projects/[^/]+/locations/[^/]+$", |
| 712 | + "required": true, |
| 713 | + "type": "string" |
| 714 | + } |
| 715 | + }, |
| 716 | + "path": "v1/{+parent}/reservationGroups", |
| 717 | + "response": { |
| 718 | + "$ref": "ListReservationGroupsResponse" |
| 719 | + }, |
| 720 | + "scopes": [ |
| 721 | + "https://www.googleapis.com/auth/bigquery", |
| 722 | + "https://www.googleapis.com/auth/cloud-platform" |
| 723 | + ] |
| 724 | + } |
| 725 | + } |
| 726 | + }, |
600 | 727 | "reservations": {
|
601 | 728 | "methods": {
|
602 | 729 | "create": {
|
|
1140 | 1267 | }
|
1141 | 1268 | }
|
1142 | 1269 | },
|
1143 |
| - "revision": "20250611", |
| 1270 | + "revision": "20250620", |
1144 | 1271 | "rootUrl": "https://bigqueryreservation.googleapis.com/",
|
1145 | 1272 | "schemas": {
|
1146 | 1273 | "Assignment": {
|
|
1558 | 1685 | },
|
1559 | 1686 | "type": "object"
|
1560 | 1687 | },
|
| 1688 | + "ListReservationGroupsResponse": { |
| 1689 | + "description": "The response for ReservationService.ListReservationGroups.", |
| 1690 | + "id": "ListReservationGroupsResponse", |
| 1691 | + "properties": { |
| 1692 | + "nextPageToken": { |
| 1693 | + "description": "Token to retrieve the next page of results, or empty if there are no more results in the list.", |
| 1694 | + "type": "string" |
| 1695 | + }, |
| 1696 | + "reservationGroups": { |
| 1697 | + "description": "List of reservations visible to the user.", |
| 1698 | + "items": { |
| 1699 | + "$ref": "ReservationGroup" |
| 1700 | + }, |
| 1701 | + "type": "array" |
| 1702 | + } |
| 1703 | + }, |
| 1704 | + "type": "object" |
| 1705 | + }, |
1561 | 1706 | "ListReservationsResponse": {
|
1562 | 1707 | "description": "The response for ReservationService.ListReservations.",
|
1563 | 1708 | "id": "ListReservationsResponse",
|
|
1713 | 1858 | "additionalProperties": {
|
1714 | 1859 | "type": "string"
|
1715 | 1860 | },
|
1716 |
| - "description": "Optional. The labels associated with this reservation. You can use these to organize and group your reservations. You can set this property when inserting or updating a reservation.", |
| 1861 | + "description": "Optional. The labels associated with this reservation. You can use these to organize and group your reservations. You can set this property when you create or update a reservation.", |
1717 | 1862 | "type": "object"
|
1718 | 1863 | },
|
1719 | 1864 | "maxSlots": {
|
|
1745 | 1890 | "description": "Output only. The Disaster Recovery(DR) replication status of the reservation. This is only available for the primary replicas of DR/failover reservations and provides information about the both the staleness of the secondary and the last error encountered while trying to replicate changes from the primary to the secondary. If this field is blank, it means that the reservation is either not a DR reservation or the reservation is a DR secondary or that any replication operations on the reservation have succeeded.",
|
1746 | 1891 | "readOnly": true
|
1747 | 1892 | },
|
| 1893 | + "reservationGroup": { |
| 1894 | + "description": "Optional. The reservation group that this reservation belongs to. You can set this property when you create or update a reservation. Reservations do not need to belong to a reservation group. Format: projects/{project}/locations/{location}/reservationGroups/{reservation_group} or just {reservation_group}", |
| 1895 | + "type": "string" |
| 1896 | + }, |
1748 | 1897 | "scalingMode": {
|
1749 | 1898 | "description": "Optional. The scaling mode for the reservation. If the field is present but max_slots is not present, requests will be rejected with error code `google.rpc.Code.INVALID_ARGUMENT`.",
|
1750 | 1899 | "enum": [
|
|
1779 | 1928 | },
|
1780 | 1929 | "type": "object"
|
1781 | 1930 | },
|
| 1931 | + "ReservationGroup": { |
| 1932 | + "description": "A reservation group is a container for reservations.", |
| 1933 | + "id": "ReservationGroup", |
| 1934 | + "properties": { |
| 1935 | + "name": { |
| 1936 | + "description": "Identifier. The resource name of the reservation group, e.g., `projects/*/locations/*/reservationGroups/team1-prod`. The reservation_group_id must only contain lower case alphanumeric characters or dashes. It must start with a letter and must not end with a dash. Its maximum length is 64 characters.", |
| 1937 | + "type": "string" |
| 1938 | + } |
| 1939 | + }, |
| 1940 | + "type": "object" |
| 1941 | + }, |
1782 | 1942 | "SearchAllAssignmentsResponse": {
|
1783 | 1943 | "description": "The response for ReservationService.SearchAllAssignments.",
|
1784 | 1944 | "id": "SearchAllAssignmentsResponse",
|
|
0 commit comments