Skip to content

Commit

Permalink
fix: make request optional in all cases (#80)
Browse files Browse the repository at this point in the history
... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501

Source-Link: googleapis/googleapis@076f7e9

Source-Link: googleapis/googleapis-gen@27e4c88
  • Loading branch information
gcf-owl-bot[bot] authored Jun 22, 2021
1 parent d7f5b51 commit 182c086
Showing 1 changed file with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ export class ReservationServiceClient {
// -- Service calls --
// -------------------
createReservation(
request: protos.google.cloud.bigquery.reservation.v1.ICreateReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -422,7 +422,7 @@ export class ReservationServiceClient {
* const [response] = await client.createReservation(request);
*/
createReservation(
request: protos.google.cloud.bigquery.reservation.v1.ICreateReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -468,7 +468,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.createReservation(request, options, callback);
}
getReservation(
request: protos.google.cloud.bigquery.reservation.v1.IGetReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -520,7 +520,7 @@ export class ReservationServiceClient {
* const [response] = await client.getReservation(request);
*/
getReservation(
request: protos.google.cloud.bigquery.reservation.v1.IGetReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -566,7 +566,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.getReservation(request, options, callback);
}
deleteReservation(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -620,7 +620,7 @@ export class ReservationServiceClient {
* const [response] = await client.deleteReservation(request);
*/
deleteReservation(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -666,7 +666,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.deleteReservation(request, options, callback);
}
updateReservation(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -719,7 +719,7 @@ export class ReservationServiceClient {
* const [response] = await client.updateReservation(request);
*/
updateReservation(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -765,7 +765,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.updateReservation(request, options, callback);
}
createCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.ICreateCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateCapacityCommitmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -822,7 +822,7 @@ export class ReservationServiceClient {
* const [response] = await client.createCapacityCommitment(request);
*/
createCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.ICreateCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateCapacityCommitmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -872,7 +872,7 @@ export class ReservationServiceClient {
);
}
getCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IGetCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetCapacityCommitmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -924,7 +924,7 @@ export class ReservationServiceClient {
* const [response] = await client.getCapacityCommitment(request);
*/
getCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IGetCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetCapacityCommitmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -970,7 +970,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.getCapacityCommitment(request, options, callback);
}
deleteCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteCapacityCommitmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1024,7 +1024,7 @@ export class ReservationServiceClient {
* const [response] = await client.deleteCapacityCommitment(request);
*/
deleteCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteCapacityCommitmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1074,7 +1074,7 @@ export class ReservationServiceClient {
);
}
updateCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateCapacityCommitmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1133,7 +1133,7 @@ export class ReservationServiceClient {
* const [response] = await client.updateCapacityCommitment(request);
*/
updateCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateCapacityCommitmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1183,7 +1183,7 @@ export class ReservationServiceClient {
);
}
splitCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.ISplitCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ISplitCapacityCommitmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1244,7 +1244,7 @@ export class ReservationServiceClient {
* const [response] = await client.splitCapacityCommitment(request);
*/
splitCapacityCommitment(
request: protos.google.cloud.bigquery.reservation.v1.ISplitCapacityCommitmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ISplitCapacityCommitmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1294,7 +1294,7 @@ export class ReservationServiceClient {
);
}
mergeCapacityCommitments(
request: protos.google.cloud.bigquery.reservation.v1.IMergeCapacityCommitmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IMergeCapacityCommitmentsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1358,7 +1358,7 @@ export class ReservationServiceClient {
* const [response] = await client.mergeCapacityCommitments(request);
*/
mergeCapacityCommitments(
request: protos.google.cloud.bigquery.reservation.v1.IMergeCapacityCommitmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IMergeCapacityCommitmentsRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1408,7 +1408,7 @@ export class ReservationServiceClient {
);
}
createAssignment(
request: protos.google.cloud.bigquery.reservation.v1.ICreateAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateAssignmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1491,7 +1491,7 @@ export class ReservationServiceClient {
* const [response] = await client.createAssignment(request);
*/
createAssignment(
request: protos.google.cloud.bigquery.reservation.v1.ICreateAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ICreateAssignmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1537,7 +1537,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.createAssignment(request, options, callback);
}
deleteAssignment(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteAssignmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1603,7 +1603,7 @@ export class ReservationServiceClient {
* const [response] = await client.deleteAssignment(request);
*/
deleteAssignment(
request: protos.google.cloud.bigquery.reservation.v1.IDeleteAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IDeleteAssignmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1649,7 +1649,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.deleteAssignment(request, options, callback);
}
moveAssignment(
request: protos.google.cloud.bigquery.reservation.v1.IMoveAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IMoveAssignmentRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1709,7 +1709,7 @@ export class ReservationServiceClient {
* const [response] = await client.moveAssignment(request);
*/
moveAssignment(
request: protos.google.cloud.bigquery.reservation.v1.IMoveAssignmentRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IMoveAssignmentRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1755,7 +1755,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.moveAssignment(request, options, callback);
}
getBiReservation(
request: protos.google.cloud.bigquery.reservation.v1.IGetBiReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetBiReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1807,7 +1807,7 @@ export class ReservationServiceClient {
* const [response] = await client.getBiReservation(request);
*/
getBiReservation(
request: protos.google.cloud.bigquery.reservation.v1.IGetBiReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IGetBiReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1853,7 +1853,7 @@ export class ReservationServiceClient {
return this.innerApiCalls.getBiReservation(request, options, callback);
}
updateBiReservation(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateBiReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateBiReservationRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -1913,7 +1913,7 @@ export class ReservationServiceClient {
* const [response] = await client.updateBiReservation(request);
*/
updateBiReservation(
request: protos.google.cloud.bigquery.reservation.v1.IUpdateBiReservationRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IUpdateBiReservationRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -1960,7 +1960,7 @@ export class ReservationServiceClient {
}

listReservations(
request: protos.google.cloud.bigquery.reservation.v1.IListReservationsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListReservationsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2016,7 +2016,7 @@ export class ReservationServiceClient {
* for more details and examples.
*/
listReservations(
request: protos.google.cloud.bigquery.reservation.v1.IListReservationsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListReservationsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down Expand Up @@ -2154,7 +2154,7 @@ export class ReservationServiceClient {
) as AsyncIterable<protos.google.cloud.bigquery.reservation.v1.IReservation>;
}
listCapacityCommitments(
request: protos.google.cloud.bigquery.reservation.v1.IListCapacityCommitmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListCapacityCommitmentsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2210,7 +2210,7 @@ export class ReservationServiceClient {
* for more details and examples.
*/
listCapacityCommitments(
request: protos.google.cloud.bigquery.reservation.v1.IListCapacityCommitmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListCapacityCommitmentsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down Expand Up @@ -2352,7 +2352,7 @@ export class ReservationServiceClient {
) as AsyncIterable<protos.google.cloud.bigquery.reservation.v1.ICapacityCommitment>;
}
listAssignments(
request: protos.google.cloud.bigquery.reservation.v1.IListAssignmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListAssignmentsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2433,7 +2433,7 @@ export class ReservationServiceClient {
* for more details and examples.
*/
listAssignments(
request: protos.google.cloud.bigquery.reservation.v1.IListAssignmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.IListAssignmentsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down Expand Up @@ -2581,7 +2581,7 @@ export class ReservationServiceClient {
) as AsyncIterable<protos.google.cloud.bigquery.reservation.v1.IAssignment>;
}
searchAssignments(
request: protos.google.cloud.bigquery.reservation.v1.ISearchAssignmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ISearchAssignmentsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -2668,7 +2668,7 @@ export class ReservationServiceClient {
* for more details and examples.
*/
searchAssignments(
request: protos.google.cloud.bigquery.reservation.v1.ISearchAssignmentsRequest,
request?: protos.google.cloud.bigquery.reservation.v1.ISearchAssignmentsRequest,
optionsOrCallback?:
| CallOptions
| PaginationCallback<
Expand Down

0 comments on commit 182c086

Please sign in to comment.