From d301b79dee83948bada4b16e33048933d454c051 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 22 Jun 2021 20:20:14 +0000 Subject: [PATCH] fix: make request optional in all cases (#917) ... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0 Committer: @miraleung PiperOrigin-RevId: 380641501 Source-Link: https://github.com/googleapis/googleapis/commit/076f7e9f0b258bdb54338895d7251b202e8f0de3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/27e4c88b4048e5f56508d4e1aa417d60a3380892 --- src/v1/image_annotator_client.ts | 16 +++--- src/v1/product_search_client.ts | 76 ++++++++++++------------- src/v1p1beta1/image_annotator_client.ts | 4 +- src/v1p2beta1/image_annotator_client.ts | 8 +-- src/v1p3beta1/image_annotator_client.ts | 8 +-- src/v1p3beta1/product_search_client.ts | 72 +++++++++++------------ src/v1p4beta1/image_annotator_client.ts | 16 +++--- src/v1p4beta1/product_search_client.ts | 76 ++++++++++++------------- 8 files changed, 138 insertions(+), 138 deletions(-) diff --git a/src/v1/image_annotator_client.ts b/src/v1/image_annotator_client.ts index 22a2201f..e8e2b8ef 100644 --- a/src/v1/image_annotator_client.ts +++ b/src/v1/image_annotator_client.ts @@ -346,7 +346,7 @@ export class ImageAnnotatorClient { // -- Service calls -- // ------------------- batchAnnotateImages( - request: protos.google.cloud.vision.v1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1.IBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -407,7 +407,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateImages(request); */ batchAnnotateImages( - request: protos.google.cloud.vision.v1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1.IBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -450,7 +450,7 @@ export class ImageAnnotatorClient { return this.innerApiCalls.batchAnnotateImages(request, options, callback); } batchAnnotateFiles( - request: protos.google.cloud.vision.v1.IBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1.IBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -518,7 +518,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateFiles(request); */ batchAnnotateFiles( - request: protos.google.cloud.vision.v1.IBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1.IBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -562,7 +562,7 @@ export class ImageAnnotatorClient { } asyncBatchAnnotateImages( - request: protos.google.cloud.vision.v1.IAsyncBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1.IAsyncBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -641,7 +641,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateImages( - request: protos.google.cloud.vision.v1.IAsyncBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1.IAsyncBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -730,7 +730,7 @@ export class ImageAnnotatorClient { >; } asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1.IAsyncBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -804,7 +804,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1.IAsyncBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1/product_search_client.ts b/src/v1/product_search_client.ts index 411c9732..7362a5fd 100644 --- a/src/v1/product_search_client.ts +++ b/src/v1/product_search_client.ts @@ -400,7 +400,7 @@ export class ProductSearchClient { // -- Service calls -- // ------------------- createProductSet( - request: protos.google.cloud.vision.v1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1.ICreateProductSetRequest, options?: CallOptions ): Promise< [ @@ -458,7 +458,7 @@ export class ProductSearchClient { * const [response] = await client.createProductSet(request); */ createProductSet( - request: protos.google.cloud.vision.v1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1.ICreateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -499,7 +499,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProductSet(request, options, callback); } getProductSet( - request: protos.google.cloud.vision.v1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1.IGetProductSetRequest, options?: CallOptions ): Promise< [ @@ -550,7 +550,7 @@ export class ProductSearchClient { * const [response] = await client.getProductSet(request); */ getProductSet( - request: protos.google.cloud.vision.v1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1.IGetProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -591,7 +591,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProductSet(request, options, callback); } updateProductSet( - request: protos.google.cloud.vision.v1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1.IUpdateProductSetRequest, options?: CallOptions ): Promise< [ @@ -647,7 +647,7 @@ export class ProductSearchClient { * const [response] = await client.updateProductSet(request); */ updateProductSet( - request: protos.google.cloud.vision.v1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1.IUpdateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -688,7 +688,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProductSet(request, options, callback); } deleteProductSet( - request: protos.google.cloud.vision.v1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1.IDeleteProductSetRequest, options?: CallOptions ): Promise< [ @@ -738,7 +738,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProductSet(request); */ deleteProductSet( - request: protos.google.cloud.vision.v1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1.IDeleteProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -779,7 +779,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProductSet(request, options, callback); } createProduct( - request: protos.google.cloud.vision.v1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1.ICreateProductRequest, options?: CallOptions ): Promise< [ @@ -840,7 +840,7 @@ export class ProductSearchClient { * const [response] = await client.createProduct(request); */ createProduct( - request: protos.google.cloud.vision.v1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1.ICreateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -881,7 +881,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProduct(request, options, callback); } getProduct( - request: protos.google.cloud.vision.v1.IGetProductRequest, + request?: protos.google.cloud.vision.v1.IGetProductRequest, options?: CallOptions ): Promise< [ @@ -932,7 +932,7 @@ export class ProductSearchClient { * const [response] = await client.getProduct(request); */ getProduct( - request: protos.google.cloud.vision.v1.IGetProductRequest, + request?: protos.google.cloud.vision.v1.IGetProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -971,7 +971,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProduct(request, options, callback); } updateProduct( - request: protos.google.cloud.vision.v1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1.IUpdateProductRequest, options?: CallOptions ): Promise< [ @@ -1036,7 +1036,7 @@ export class ProductSearchClient { * const [response] = await client.updateProduct(request); */ updateProduct( - request: protos.google.cloud.vision.v1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1.IUpdateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1077,7 +1077,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProduct(request, options, callback); } deleteProduct( - request: protos.google.cloud.vision.v1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1.IDeleteProductRequest, options?: CallOptions ): Promise< [ @@ -1128,7 +1128,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProduct(request); */ deleteProduct( - request: protos.google.cloud.vision.v1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1.IDeleteProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1169,7 +1169,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProduct(request, options, callback); } createReferenceImage( - request: protos.google.cloud.vision.v1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1.ICreateReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1246,7 +1246,7 @@ export class ProductSearchClient { * const [response] = await client.createReferenceImage(request); */ createReferenceImage( - request: protos.google.cloud.vision.v1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1.ICreateReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1289,7 +1289,7 @@ export class ProductSearchClient { return this.innerApiCalls.createReferenceImage(request, options, callback); } deleteReferenceImage( - request: protos.google.cloud.vision.v1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1.IDeleteReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1346,7 +1346,7 @@ export class ProductSearchClient { * const [response] = await client.deleteReferenceImage(request); */ deleteReferenceImage( - request: protos.google.cloud.vision.v1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1.IDeleteReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1389,7 +1389,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteReferenceImage(request, options, callback); } getReferenceImage( - request: protos.google.cloud.vision.v1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1.IGetReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1444,7 +1444,7 @@ export class ProductSearchClient { * const [response] = await client.getReferenceImage(request); */ getReferenceImage( - request: protos.google.cloud.vision.v1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1.IGetReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1487,7 +1487,7 @@ export class ProductSearchClient { return this.innerApiCalls.getReferenceImage(request, options, callback); } addProductToProductSet( - request: protos.google.cloud.vision.v1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1.IAddProductToProductSetRequest, options?: CallOptions ): Promise< [ @@ -1550,7 +1550,7 @@ export class ProductSearchClient { * const [response] = await client.addProductToProductSet(request); */ addProductToProductSet( - request: protos.google.cloud.vision.v1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1.IAddProductToProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1597,7 +1597,7 @@ export class ProductSearchClient { ); } removeProductFromProductSet( - request: protos.google.cloud.vision.v1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1.IRemoveProductFromProductSetRequest, options?: CallOptions ): Promise< [ @@ -1656,7 +1656,7 @@ export class ProductSearchClient { * const [response] = await client.removeProductFromProductSet(request); */ removeProductFromProductSet( - request: protos.google.cloud.vision.v1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1.IRemoveProductFromProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1707,7 +1707,7 @@ export class ProductSearchClient { } importProductSets( - request: protos.google.cloud.vision.v1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1.IImportProductSetsRequest, options?: CallOptions ): Promise< [ @@ -1777,7 +1777,7 @@ export class ProductSearchClient { * const [response] = await operation.promise(); */ importProductSets( - request: protos.google.cloud.vision.v1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1.IImportProductSetsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1862,7 +1862,7 @@ export class ProductSearchClient { >; } purgeProducts( - request: protos.google.cloud.vision.v1.IPurgeProductsRequest, + request?: protos.google.cloud.vision.v1.IPurgeProductsRequest, options?: CallOptions ): Promise< [ @@ -1951,7 +1951,7 @@ export class ProductSearchClient { * const [response] = await operation.promise(); */ purgeProducts( - request: protos.google.cloud.vision.v1.IPurgeProductsRequest, + request?: protos.google.cloud.vision.v1.IPurgeProductsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -2036,7 +2036,7 @@ export class ProductSearchClient { >; } listProductSets( - request: protos.google.cloud.vision.v1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1.IListProductSetsRequest, options?: CallOptions ): Promise< [ @@ -2094,7 +2094,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductSets( - request: protos.google.cloud.vision.v1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1.IListProductSetsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2232,7 +2232,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProducts( - request: protos.google.cloud.vision.v1.IListProductsRequest, + request?: protos.google.cloud.vision.v1.IListProductsRequest, options?: CallOptions ): Promise< [ @@ -2290,7 +2290,7 @@ export class ProductSearchClient { * for more details and examples. */ listProducts( - request: protos.google.cloud.vision.v1.IListProductsRequest, + request?: protos.google.cloud.vision.v1.IListProductsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2430,7 +2430,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listReferenceImages( - request: protos.google.cloud.vision.v1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1.IListReferenceImagesRequest, options?: CallOptions ): Promise< [ @@ -2497,7 +2497,7 @@ export class ProductSearchClient { * for more details and examples. */ listReferenceImages( - request: protos.google.cloud.vision.v1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1.IListReferenceImagesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2645,7 +2645,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProductsInProductSet( - request: protos.google.cloud.vision.v1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1.IListProductsInProductSetRequest, options?: CallOptions ): Promise< [ @@ -2709,7 +2709,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductsInProductSet( - request: protos.google.cloud.vision.v1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1.IListProductsInProductSetRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/src/v1p1beta1/image_annotator_client.ts b/src/v1p1beta1/image_annotator_client.ts index 160a9b03..9c6a1ccf 100644 --- a/src/v1p1beta1/image_annotator_client.ts +++ b/src/v1p1beta1/image_annotator_client.ts @@ -272,7 +272,7 @@ export class ImageAnnotatorClient { // -- Service calls -- // ------------------- batchAnnotateImages( - request: protos.google.cloud.vision.v1p1beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p1beta1.IBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -323,7 +323,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateImages(request); */ batchAnnotateImages( - request: protos.google.cloud.vision.v1p1beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p1beta1.IBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1p2beta1/image_annotator_client.ts b/src/v1p2beta1/image_annotator_client.ts index ff412eef..bed840f2 100644 --- a/src/v1p2beta1/image_annotator_client.ts +++ b/src/v1p2beta1/image_annotator_client.ts @@ -313,7 +313,7 @@ export class ImageAnnotatorClient { // -- Service calls -- // ------------------- batchAnnotateImages( - request: protos.google.cloud.vision.v1p2beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p2beta1.IBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -364,7 +364,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateImages(request); */ batchAnnotateImages( - request: protos.google.cloud.vision.v1p2beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p2beta1.IBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -405,7 +405,7 @@ export class ImageAnnotatorClient { } asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p2beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p2beta1.IAsyncBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -466,7 +466,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p2beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p2beta1.IAsyncBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1p3beta1/image_annotator_client.ts b/src/v1p3beta1/image_annotator_client.ts index 0e5545cc..25b22473 100644 --- a/src/v1p3beta1/image_annotator_client.ts +++ b/src/v1p3beta1/image_annotator_client.ts @@ -329,7 +329,7 @@ export class ImageAnnotatorClient { // -- Service calls -- // ------------------- batchAnnotateImages( - request: protos.google.cloud.vision.v1p3beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -380,7 +380,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateImages(request); */ batchAnnotateImages( - request: protos.google.cloud.vision.v1p3beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -421,7 +421,7 @@ export class ImageAnnotatorClient { } asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p3beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IAsyncBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -482,7 +482,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p3beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IAsyncBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1p3beta1/product_search_client.ts b/src/v1p3beta1/product_search_client.ts index a2012ef1..34f9be8d 100644 --- a/src/v1p3beta1/product_search_client.ts +++ b/src/v1p3beta1/product_search_client.ts @@ -388,7 +388,7 @@ export class ProductSearchClient { // -- Service calls -- // ------------------- createProductSet( - request: protos.google.cloud.vision.v1p3beta1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateProductSetRequest, options?: CallOptions ): Promise< [ @@ -450,7 +450,7 @@ export class ProductSearchClient { * const [response] = await client.createProductSet(request); */ createProductSet( - request: protos.google.cloud.vision.v1p3beta1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -493,7 +493,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProductSet(request, options, callback); } getProductSet( - request: protos.google.cloud.vision.v1p3beta1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetProductSetRequest, options?: CallOptions ): Promise< [ @@ -548,7 +548,7 @@ export class ProductSearchClient { * const [response] = await client.getProductSet(request); */ getProductSet( - request: protos.google.cloud.vision.v1p3beta1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -591,7 +591,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProductSet(request, options, callback); } updateProductSet( - request: protos.google.cloud.vision.v1p3beta1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IUpdateProductSetRequest, options?: CallOptions ): Promise< [ @@ -651,7 +651,7 @@ export class ProductSearchClient { * const [response] = await client.updateProductSet(request); */ updateProductSet( - request: protos.google.cloud.vision.v1p3beta1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IUpdateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -694,7 +694,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProductSet(request, options, callback); } deleteProductSet( - request: protos.google.cloud.vision.v1p3beta1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteProductSetRequest, options?: CallOptions ): Promise< [ @@ -752,7 +752,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProductSet(request); */ deleteProductSet( - request: protos.google.cloud.vision.v1p3beta1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -795,7 +795,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProductSet(request, options, callback); } createProduct( - request: protos.google.cloud.vision.v1p3beta1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateProductRequest, options?: CallOptions ): Promise< [ @@ -860,7 +860,7 @@ export class ProductSearchClient { * const [response] = await client.createProduct(request); */ createProduct( - request: protos.google.cloud.vision.v1p3beta1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -903,7 +903,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProduct(request, options, callback); } getProduct( - request: protos.google.cloud.vision.v1p3beta1.IGetProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetProductRequest, options?: CallOptions ): Promise< [ @@ -958,7 +958,7 @@ export class ProductSearchClient { * const [response] = await client.getProduct(request); */ getProduct( - request: protos.google.cloud.vision.v1p3beta1.IGetProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1001,7 +1001,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProduct(request, options, callback); } updateProduct( - request: protos.google.cloud.vision.v1p3beta1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IUpdateProductRequest, options?: CallOptions ): Promise< [ @@ -1069,7 +1069,7 @@ export class ProductSearchClient { * const [response] = await client.updateProduct(request); */ updateProduct( - request: protos.google.cloud.vision.v1p3beta1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IUpdateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1112,7 +1112,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProduct(request, options, callback); } deleteProduct( - request: protos.google.cloud.vision.v1p3beta1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteProductRequest, options?: CallOptions ): Promise< [ @@ -1171,7 +1171,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProduct(request); */ deleteProduct( - request: protos.google.cloud.vision.v1p3beta1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1214,7 +1214,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProduct(request, options, callback); } createReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1294,7 +1294,7 @@ export class ProductSearchClient { * const [response] = await client.createReferenceImage(request); */ createReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.ICreateReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1340,7 +1340,7 @@ export class ProductSearchClient { return this.innerApiCalls.createReferenceImage(request, options, callback); } deleteReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1405,7 +1405,7 @@ export class ProductSearchClient { * const [response] = await client.deleteReferenceImage(request); */ deleteReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.IDeleteReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1451,7 +1451,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteReferenceImage(request, options, callback); } getReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1510,7 +1510,7 @@ export class ProductSearchClient { * const [response] = await client.getReferenceImage(request); */ getReferenceImage( - request: protos.google.cloud.vision.v1p3beta1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1p3beta1.IGetReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1556,7 +1556,7 @@ export class ProductSearchClient { return this.innerApiCalls.getReferenceImage(request, options, callback); } addProductToProductSet( - request: protos.google.cloud.vision.v1p3beta1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IAddProductToProductSetRequest, options?: CallOptions ): Promise< [ @@ -1622,7 +1622,7 @@ export class ProductSearchClient { * const [response] = await client.addProductToProductSet(request); */ addProductToProductSet( - request: protos.google.cloud.vision.v1p3beta1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IAddProductToProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1672,7 +1672,7 @@ export class ProductSearchClient { ); } removeProductFromProductSet( - request: protos.google.cloud.vision.v1p3beta1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IRemoveProductFromProductSetRequest, options?: CallOptions ): Promise< [ @@ -1735,7 +1735,7 @@ export class ProductSearchClient { * const [response] = await client.removeProductFromProductSet(request); */ removeProductFromProductSet( - request: protos.google.cloud.vision.v1p3beta1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IRemoveProductFromProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1786,7 +1786,7 @@ export class ProductSearchClient { } importProductSets( - request: protos.google.cloud.vision.v1p3beta1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IImportProductSetsRequest, options?: CallOptions ): Promise< [ @@ -1856,7 +1856,7 @@ export class ProductSearchClient { * const [response] = await operation.promise(); */ importProductSets( - request: protos.google.cloud.vision.v1p3beta1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IImportProductSetsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1941,7 +1941,7 @@ export class ProductSearchClient { >; } listProductSets( - request: protos.google.cloud.vision.v1p3beta1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductSetsRequest, options?: CallOptions ): Promise< [ @@ -2003,7 +2003,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductSets( - request: protos.google.cloud.vision.v1p3beta1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductSetsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2143,7 +2143,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProducts( - request: protos.google.cloud.vision.v1p3beta1.IListProductsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductsRequest, options?: CallOptions ): Promise< [ @@ -2205,7 +2205,7 @@ export class ProductSearchClient { * for more details and examples. */ listProducts( - request: protos.google.cloud.vision.v1p3beta1.IListProductsRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2347,7 +2347,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listReferenceImages( - request: protos.google.cloud.vision.v1p3beta1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListReferenceImagesRequest, options?: CallOptions ): Promise< [ @@ -2414,7 +2414,7 @@ export class ProductSearchClient { * for more details and examples. */ listReferenceImages( - request: protos.google.cloud.vision.v1p3beta1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListReferenceImagesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2562,7 +2562,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProductsInProductSet( - request: protos.google.cloud.vision.v1p3beta1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductsInProductSetRequest, options?: CallOptions ): Promise< [ @@ -2626,7 +2626,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductsInProductSet( - request: protos.google.cloud.vision.v1p3beta1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1p3beta1.IListProductsInProductSetRequest, optionsOrCallback?: | CallOptions | PaginationCallback< diff --git a/src/v1p4beta1/image_annotator_client.ts b/src/v1p4beta1/image_annotator_client.ts index 3776c64c..e091415a 100644 --- a/src/v1p4beta1/image_annotator_client.ts +++ b/src/v1p4beta1/image_annotator_client.ts @@ -346,7 +346,7 @@ export class ImageAnnotatorClient { // -- Service calls -- // ------------------- batchAnnotateImages( - request: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -397,7 +397,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateImages(request); */ batchAnnotateImages( - request: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -437,7 +437,7 @@ export class ImageAnnotatorClient { return this.innerApiCalls.batchAnnotateImages(request, options, callback); } batchAnnotateFiles( - request: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -495,7 +495,7 @@ export class ImageAnnotatorClient { * const [response] = await client.batchAnnotateFiles(request); */ batchAnnotateFiles( - request: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -536,7 +536,7 @@ export class ImageAnnotatorClient { } asyncBatchAnnotateImages( - request: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateImagesRequest, options?: CallOptions ): Promise< [ @@ -602,7 +602,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateImages( - request: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateImagesRequest, optionsOrCallback?: | CallOptions | Callback< @@ -685,7 +685,7 @@ export class ImageAnnotatorClient { >; } asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateFilesRequest, options?: CallOptions ): Promise< [ @@ -746,7 +746,7 @@ export class ImageAnnotatorClient { * const [response] = await operation.promise(); */ asyncBatchAnnotateFiles( - request: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateFilesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAsyncBatchAnnotateFilesRequest, optionsOrCallback?: | CallOptions | Callback< diff --git a/src/v1p4beta1/product_search_client.ts b/src/v1p4beta1/product_search_client.ts index b5fb1aa9..38e602eb 100644 --- a/src/v1p4beta1/product_search_client.ts +++ b/src/v1p4beta1/product_search_client.ts @@ -404,7 +404,7 @@ export class ProductSearchClient { // -- Service calls -- // ------------------- createProductSet( - request: protos.google.cloud.vision.v1p4beta1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateProductSetRequest, options?: CallOptions ): Promise< [ @@ -466,7 +466,7 @@ export class ProductSearchClient { * const [response] = await client.createProductSet(request); */ createProductSet( - request: protos.google.cloud.vision.v1p4beta1.ICreateProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -509,7 +509,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProductSet(request, options, callback); } getProductSet( - request: protos.google.cloud.vision.v1p4beta1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetProductSetRequest, options?: CallOptions ): Promise< [ @@ -564,7 +564,7 @@ export class ProductSearchClient { * const [response] = await client.getProductSet(request); */ getProductSet( - request: protos.google.cloud.vision.v1p4beta1.IGetProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -607,7 +607,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProductSet(request, options, callback); } updateProductSet( - request: protos.google.cloud.vision.v1p4beta1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IUpdateProductSetRequest, options?: CallOptions ): Promise< [ @@ -667,7 +667,7 @@ export class ProductSearchClient { * const [response] = await client.updateProductSet(request); */ updateProductSet( - request: protos.google.cloud.vision.v1p4beta1.IUpdateProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IUpdateProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -710,7 +710,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProductSet(request, options, callback); } deleteProductSet( - request: protos.google.cloud.vision.v1p4beta1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteProductSetRequest, options?: CallOptions ): Promise< [ @@ -764,7 +764,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProductSet(request); */ deleteProductSet( - request: protos.google.cloud.vision.v1p4beta1.IDeleteProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -807,7 +807,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProductSet(request, options, callback); } createProduct( - request: protos.google.cloud.vision.v1p4beta1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateProductRequest, options?: CallOptions ): Promise< [ @@ -872,7 +872,7 @@ export class ProductSearchClient { * const [response] = await client.createProduct(request); */ createProduct( - request: protos.google.cloud.vision.v1p4beta1.ICreateProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -915,7 +915,7 @@ export class ProductSearchClient { return this.innerApiCalls.createProduct(request, options, callback); } getProduct( - request: protos.google.cloud.vision.v1p4beta1.IGetProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetProductRequest, options?: CallOptions ): Promise< [ @@ -970,7 +970,7 @@ export class ProductSearchClient { * const [response] = await client.getProduct(request); */ getProduct( - request: protos.google.cloud.vision.v1p4beta1.IGetProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1013,7 +1013,7 @@ export class ProductSearchClient { return this.innerApiCalls.getProduct(request, options, callback); } updateProduct( - request: protos.google.cloud.vision.v1p4beta1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IUpdateProductRequest, options?: CallOptions ): Promise< [ @@ -1082,7 +1082,7 @@ export class ProductSearchClient { * const [response] = await client.updateProduct(request); */ updateProduct( - request: protos.google.cloud.vision.v1p4beta1.IUpdateProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IUpdateProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1125,7 +1125,7 @@ export class ProductSearchClient { return this.innerApiCalls.updateProduct(request, options, callback); } deleteProduct( - request: protos.google.cloud.vision.v1p4beta1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteProductRequest, options?: CallOptions ): Promise< [ @@ -1180,7 +1180,7 @@ export class ProductSearchClient { * const [response] = await client.deleteProduct(request); */ deleteProduct( - request: protos.google.cloud.vision.v1p4beta1.IDeleteProductRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteProductRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1223,7 +1223,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteProduct(request, options, callback); } createReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1304,7 +1304,7 @@ export class ProductSearchClient { * const [response] = await client.createReferenceImage(request); */ createReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.ICreateReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.ICreateReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1350,7 +1350,7 @@ export class ProductSearchClient { return this.innerApiCalls.createReferenceImage(request, options, callback); } deleteReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1411,7 +1411,7 @@ export class ProductSearchClient { * const [response] = await client.deleteReferenceImage(request); */ deleteReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.IDeleteReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.IDeleteReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1457,7 +1457,7 @@ export class ProductSearchClient { return this.innerApiCalls.deleteReferenceImage(request, options, callback); } getReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetReferenceImageRequest, options?: CallOptions ): Promise< [ @@ -1516,7 +1516,7 @@ export class ProductSearchClient { * const [response] = await client.getReferenceImage(request); */ getReferenceImage( - request: protos.google.cloud.vision.v1p4beta1.IGetReferenceImageRequest, + request?: protos.google.cloud.vision.v1p4beta1.IGetReferenceImageRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1562,7 +1562,7 @@ export class ProductSearchClient { return this.innerApiCalls.getReferenceImage(request, options, callback); } addProductToProductSet( - request: protos.google.cloud.vision.v1p4beta1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAddProductToProductSetRequest, options?: CallOptions ): Promise< [ @@ -1628,7 +1628,7 @@ export class ProductSearchClient { * const [response] = await client.addProductToProductSet(request); */ addProductToProductSet( - request: protos.google.cloud.vision.v1p4beta1.IAddProductToProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IAddProductToProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1678,7 +1678,7 @@ export class ProductSearchClient { ); } removeProductFromProductSet( - request: protos.google.cloud.vision.v1p4beta1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IRemoveProductFromProductSetRequest, options?: CallOptions ): Promise< [ @@ -1738,7 +1738,7 @@ export class ProductSearchClient { * const [response] = await client.removeProductFromProductSet(request); */ removeProductFromProductSet( - request: protos.google.cloud.vision.v1p4beta1.IRemoveProductFromProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IRemoveProductFromProductSetRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1789,7 +1789,7 @@ export class ProductSearchClient { } importProductSets( - request: protos.google.cloud.vision.v1p4beta1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IImportProductSetsRequest, options?: CallOptions ): Promise< [ @@ -1859,7 +1859,7 @@ export class ProductSearchClient { * const [response] = await operation.promise(); */ importProductSets( - request: protos.google.cloud.vision.v1p4beta1.IImportProductSetsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IImportProductSetsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -1944,7 +1944,7 @@ export class ProductSearchClient { >; } purgeProducts( - request: protos.google.cloud.vision.v1p4beta1.IPurgeProductsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IPurgeProductsRequest, options?: CallOptions ): Promise< [ @@ -2033,7 +2033,7 @@ export class ProductSearchClient { * const [response] = await operation.promise(); */ purgeProducts( - request: protos.google.cloud.vision.v1p4beta1.IPurgeProductsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IPurgeProductsRequest, optionsOrCallback?: | CallOptions | Callback< @@ -2118,7 +2118,7 @@ export class ProductSearchClient { >; } listProductSets( - request: protos.google.cloud.vision.v1p4beta1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductSetsRequest, options?: CallOptions ): Promise< [ @@ -2180,7 +2180,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductSets( - request: protos.google.cloud.vision.v1p4beta1.IListProductSetsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductSetsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2320,7 +2320,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProducts( - request: protos.google.cloud.vision.v1p4beta1.IListProductsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductsRequest, options?: CallOptions ): Promise< [ @@ -2382,7 +2382,7 @@ export class ProductSearchClient { * for more details and examples. */ listProducts( - request: protos.google.cloud.vision.v1p4beta1.IListProductsRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductsRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2524,7 +2524,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listReferenceImages( - request: protos.google.cloud.vision.v1p4beta1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListReferenceImagesRequest, options?: CallOptions ): Promise< [ @@ -2591,7 +2591,7 @@ export class ProductSearchClient { * for more details and examples. */ listReferenceImages( - request: protos.google.cloud.vision.v1p4beta1.IListReferenceImagesRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListReferenceImagesRequest, optionsOrCallback?: | CallOptions | PaginationCallback< @@ -2739,7 +2739,7 @@ export class ProductSearchClient { ) as AsyncIterable; } listProductsInProductSet( - request: protos.google.cloud.vision.v1p4beta1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductsInProductSetRequest, options?: CallOptions ): Promise< [ @@ -2803,7 +2803,7 @@ export class ProductSearchClient { * for more details and examples. */ listProductsInProductSet( - request: protos.google.cloud.vision.v1p4beta1.IListProductsInProductSetRequest, + request?: protos.google.cloud.vision.v1p4beta1.IListProductsInProductSetRequest, optionsOrCallback?: | CallOptions | PaginationCallback<