Skip to content

Commit

Permalink
feat(bigqueryreservation): update the API
Browse files Browse the repository at this point in the history
#### bigqueryreservation:v1beta1

The following keys were added:
- schemas.CapacityCommitment.properties.multiRegionAuxiliary.description
- schemas.CapacityCommitment.properties.multiRegionAuxiliary.type
- schemas.Reservation.properties.concurrency.description
- schemas.Reservation.properties.concurrency.format
- schemas.Reservation.properties.concurrency.type
- schemas.Reservation.properties.multiRegionAuxiliary.description
- schemas.Reservation.properties.multiRegionAuxiliary.type

The following keys were changed:
- resources.projects.resources.locations.resources.capacityCommitments.methods.create.parameters.capacityCommitmentId.description
- resources.projects.resources.locations.resources.capacityCommitments.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.reservations.methods.create.parameters.reservationId.description
- resources.projects.resources.locations.resources.reservations.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.reservations.resources.assignments.methods.create.parameters.assignmentId.description
- resources.projects.resources.locations.resources.reservations.resources.assignments.methods.patch.parameters.name.description
- schemas.Assignment.properties.name.description
- schemas.CapacityCommitment.properties.name.description
- schemas.Reservation.properties.name.description

#### bigqueryreservation:v1

The following keys were added:
- schemas.CapacityCommitment.properties.multiRegionAuxiliary.description
- schemas.CapacityCommitment.properties.multiRegionAuxiliary.type
- schemas.Reservation.properties.concurrency.description
- schemas.Reservation.properties.concurrency.format
- schemas.Reservation.properties.concurrency.type
- schemas.Reservation.properties.multiRegionAuxiliary.description
- schemas.Reservation.properties.multiRegionAuxiliary.type

The following keys were changed:
- resources.projects.resources.locations.resources.capacityCommitments.methods.create.parameters.capacityCommitmentId.description
- resources.projects.resources.locations.resources.capacityCommitments.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.reservations.methods.create.parameters.reservationId.description
- resources.projects.resources.locations.resources.reservations.methods.patch.parameters.name.description
- resources.projects.resources.locations.resources.reservations.resources.assignments.methods.create.parameters.assignmentId.description
- schemas.Assignment.properties.name.description
- schemas.CapacityCommitment.properties.name.description
- schemas.Reservation.properties.name.description
  • Loading branch information
yoshi-automation authored and bcoe committed Mar 8, 2022
1 parent 7009186 commit 039a08f
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 48 deletions.
31 changes: 22 additions & 9 deletions discovery/bigqueryreservation-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
],
"parameters": {
"capacityCommitmentId": {
"description": "The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.",
"description": "The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -433,7 +433,7 @@
],
"parameters": {
"name": {
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`",
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` For the commitment 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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
Expand Down Expand Up @@ -508,7 +508,7 @@
"type": "string"
},
"reservationId": {
"description": "The reservation ID. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.",
"description": "The reservation 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.",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -624,7 +624,7 @@
],
"parameters": {
"name": {
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.",
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. For the reservation 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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -663,7 +663,7 @@
],
"parameters": {
"assignmentId": {
"description": "The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.",
"description": "The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -788,7 +788,7 @@
}
}
},
"revision": "20211015",
"revision": "20220226",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -816,7 +816,7 @@
"type": "string"
},
"name": {
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.",
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. For the assignment id, it must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -881,8 +881,12 @@
"description": "Output only. For FAILED commitment plan, provides the reason of failure.",
"readOnly": true
},
"multiRegionAuxiliary": {
"description": "Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region.",
"type": "boolean"
},
"name": {
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`",
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` For the commitment 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.",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -1036,6 +1040,11 @@
"description": "A reservation is a mechanism used to guarantee slots to users.",
"id": "Reservation",
"properties": {
"concurrency": {
"description": "Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.",
"format": "int64",
"type": "string"
},
"creationTime": {
"description": "Output only. Creation time of the reservation.",
"format": "google-datetime",
Expand All @@ -1046,8 +1055,12 @@
"description": "If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.",
"type": "boolean"
},
"multiRegionAuxiliary": {
"description": "Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.",
"type": "boolean"
},
"name": {
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.",
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. For the reservation 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.",
"type": "string"
},
"slotCapacity": {
Expand Down
33 changes: 23 additions & 10 deletions discovery/bigqueryreservation-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
],
"parameters": {
"capacityCommitmentId": {
"description": "The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.",
"description": "The optional capacity commitment ID. Capacity commitment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. The first and last character cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if the capacity commitment is split or merged.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -391,7 +391,7 @@
],
"parameters": {
"name": {
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`",
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` For the commitment 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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/capacityCommitments/[^/]+$",
"required": true,
Expand Down Expand Up @@ -466,7 +466,7 @@
"type": "string"
},
"reservationId": {
"description": "The reservation ID. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.",
"description": "The reservation 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.",
"location": "query",
"type": "string"
}
Expand Down Expand Up @@ -587,7 +587,7 @@
],
"parameters": {
"name": {
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.",
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. For the reservation 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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+$",
"required": true,
Expand Down Expand Up @@ -626,7 +626,7 @@
],
"parameters": {
"assignmentId": {
"description": "The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dash. Max length is 64 characters.",
"description": "The optional assignment ID. Assignment name will be generated automatically if this field is empty. This field must only contain lower case alphanumeric characters or dashes. Max length is 64 characters.",
"location": "query",
"type": "string"
},
Expand Down Expand Up @@ -752,7 +752,7 @@
],
"parameters": {
"name": {
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.",
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. For the assignment id, it must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/reservations/[^/]+/assignments/[^/]+$",
"required": true,
Expand Down Expand Up @@ -786,7 +786,7 @@
}
}
},
"revision": "20211015",
"revision": "20220226",
"rootUrl": "https://bigqueryreservation.googleapis.com/",
"schemas": {
"Assignment": {
Expand Down Expand Up @@ -814,7 +814,7 @@
"type": "string"
},
"name": {
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`.",
"description": "Output only. Name of the resource. E.g.: `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. For the assignment id, it must only contain lower case alphanumeric characters or dashes and the max length is 64 characters.",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -879,8 +879,12 @@
"description": "Output only. For FAILED commitment plan, provides the reason of failure.",
"readOnly": true
},
"multiRegionAuxiliary": {
"description": "Applicable only for commitments located within one of the BigQuery multi-regions (US or EU). If set to true, this commitment is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this commitment is placed in the organization's default region.",
"type": "boolean"
},
"name": {
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123`",
"description": "Output only. The resource name of the capacity commitment, e.g., `projects/myproject/locations/US/capacityCommitments/123` For the commitment 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.",
"readOnly": true,
"type": "string"
},
Expand Down Expand Up @@ -1034,6 +1038,11 @@
"description": "A reservation is a mechanism used to guarantee slots to users.",
"id": "Reservation",
"properties": {
"concurrency": {
"description": "Maximum number of queries that are allowed to run concurrently in this reservation. This is a soft limit due to asynchronous nature of the system and various optimizations for small queries. Default value is 0 which means that concurrency will be automatically set based on the reservation size.",
"format": "int64",
"type": "string"
},
"creationTime": {
"description": "Output only. Creation time of the reservation.",
"format": "google-datetime",
Expand All @@ -1044,8 +1053,12 @@
"description": "If false, any query or pipeline job using this reservation will use idle slots from other reservations within the same admin project. If true, a query or pipeline job using this reservation will execute with the slot capacity specified in the slot_capacity field at most.",
"type": "boolean"
},
"multiRegionAuxiliary": {
"description": "Applicable only for reservations located within one of the BigQuery multi-regions (US or EU). If set to true, this reservation is placed in the organization's secondary region which is designated for disaster recovery purposes. If false, this reservation is placed in the organization's default region.",
"type": "boolean"
},
"name": {
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`.",
"description": "The resource name of the reservation, e.g., `projects/*/locations/*/reservations/team1-prod`. For the reservation 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.",
"type": "string"
},
"slotCapacity": {
Expand Down
Loading

0 comments on commit 039a08f

Please sign in to comment.