Skip to content

Commit

Permalink
fix: make request optional in all cases (#179)
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 a19c063 commit faa8c61
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ export class BigQueryReadClient {
// -- Service calls --
// -------------------
createReadSession(
request: protos.google.cloud.bigquery.storage.v1.ICreateReadSessionRequest,
request?: protos.google.cloud.bigquery.storage.v1.ICreateReadSessionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -382,7 +382,7 @@ export class BigQueryReadClient {
* const [response] = await client.createReadSession(request);
*/
createReadSession(
request: protos.google.cloud.bigquery.storage.v1.ICreateReadSessionRequest,
request?: protos.google.cloud.bigquery.storage.v1.ICreateReadSessionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -428,7 +428,7 @@ export class BigQueryReadClient {
return this.innerApiCalls.createReadSession(request, options, callback);
}
splitReadStream(
request: protos.google.cloud.bigquery.storage.v1.ISplitReadStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1.ISplitReadStreamRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -498,7 +498,7 @@ export class BigQueryReadClient {
* const [response] = await client.splitReadStream(request);
*/
splitReadStream(
request: protos.google.cloud.bigquery.storage.v1.ISplitReadStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1.ISplitReadStreamRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export class BigQueryStorageClient {
// -- Service calls --
// -------------------
createReadSession(
request: protos.google.cloud.bigquery.storage.v1beta1.ICreateReadSessionRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.ICreateReadSessionRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -387,7 +387,7 @@ export class BigQueryStorageClient {
* const [response] = await client.createReadSession(request);
*/
createReadSession(
request: protos.google.cloud.bigquery.storage.v1beta1.ICreateReadSessionRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.ICreateReadSessionRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -434,7 +434,7 @@ export class BigQueryStorageClient {
return this.innerApiCalls.createReadSession(request, options, callback);
}
batchCreateReadSessionStreams(
request: protos.google.cloud.bigquery.storage.v1beta1.IBatchCreateReadSessionStreamsRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.IBatchCreateReadSessionStreamsRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -492,7 +492,7 @@ export class BigQueryStorageClient {
* const [response] = await client.batchCreateReadSessionStreams(request);
*/
batchCreateReadSessionStreams(
request: protos.google.cloud.bigquery.storage.v1beta1.IBatchCreateReadSessionStreamsRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.IBatchCreateReadSessionStreamsRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -542,7 +542,7 @@ export class BigQueryStorageClient {
);
}
finalizeStream(
request: protos.google.cloud.bigquery.storage.v1beta1.IFinalizeStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.IFinalizeStreamRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -606,7 +606,7 @@ export class BigQueryStorageClient {
* const [response] = await client.finalizeStream(request);
*/
finalizeStream(
request: protos.google.cloud.bigquery.storage.v1beta1.IFinalizeStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.IFinalizeStreamRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -652,7 +652,7 @@ export class BigQueryStorageClient {
return this.innerApiCalls.finalizeStream(request, options, callback);
}
splitReadStream(
request: protos.google.cloud.bigquery.storage.v1beta1.ISplitReadStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.ISplitReadStreamRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -723,7 +723,7 @@ export class BigQueryStorageClient {
* const [response] = await client.splitReadStream(request);
*/
splitReadStream(
request: protos.google.cloud.bigquery.storage.v1beta1.ISplitReadStreamRequest,
request?: protos.google.cloud.bigquery.storage.v1beta1.ISplitReadStreamRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down

0 comments on commit faa8c61

Please sign in to comment.