@googleapis/vision 4.0.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1.ts CHANGED
@@ -4520,6 +4520,10 @@ export namespace vision_v1 {
4520
4520
  * A list of operations that matches the specified filter in the request.
4521
4521
  */
4522
4522
  operations?: Schema$Operation[];
4523
+ /**
4524
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
4525
+ */
4526
+ unreachable?: string[] | null;
4523
4527
  }
4524
4528
  /**
4525
4529
  * Response message for the `ListProductSets` method.
@@ -5262,8 +5266,7 @@ export namespace vision_v1 {
5262
5266
  annotate(
5263
5267
  params: Params$Resource$Files$Annotate,
5264
5268
  options:
5265
- | MethodOptions
5266
- | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
5269
+ MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
5267
5270
  callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>
5268
5271
  ): void;
5269
5272
  annotate(
@@ -5431,8 +5434,7 @@ export namespace vision_v1 {
5431
5434
  | BodyResponseCallback<Schema$Operation>
5432
5435
  | BodyResponseCallback<Readable>,
5433
5436
  callback?:
5434
- | BodyResponseCallback<Schema$Operation>
5435
- | BodyResponseCallback<Readable>
5437
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5436
5438
  ):
5437
5439
  | void
5438
5440
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5487,8 +5489,7 @@ export namespace vision_v1 {
5487
5489
  */
5488
5490
  requestBody?: Schema$BatchAnnotateFilesRequest;
5489
5491
  }
5490
- export interface Params$Resource$Files$Asyncbatchannotate
5491
- extends StandardParameters {
5492
+ export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
5492
5493
  /**
5493
5494
  * Request body metadata
5494
5495
  */
@@ -5754,8 +5755,7 @@ export namespace vision_v1 {
5754
5755
  | BodyResponseCallback<Schema$Operation>
5755
5756
  | BodyResponseCallback<Readable>,
5756
5757
  callback?:
5757
- | BodyResponseCallback<Schema$Operation>
5758
- | BodyResponseCallback<Readable>
5758
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5759
5759
  ):
5760
5760
  | void
5761
5761
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5810,8 +5810,7 @@ export namespace vision_v1 {
5810
5810
  */
5811
5811
  requestBody?: Schema$BatchAnnotateImagesRequest;
5812
5812
  }
5813
- export interface Params$Resource$Images$Asyncbatchannotate
5814
- extends StandardParameters {
5813
+ export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
5815
5814
  /**
5816
5815
  * Request body metadata
5817
5816
  */
@@ -5928,8 +5927,7 @@ export namespace vision_v1 {
5928
5927
  | BodyResponseCallback<Schema$Operation>
5929
5928
  | BodyResponseCallback<Readable>,
5930
5929
  callback?:
5931
- | BodyResponseCallback<Schema$Operation>
5932
- | BodyResponseCallback<Readable>
5930
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5933
5931
  ):
5934
5932
  | void
5935
5933
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5975,8 +5973,7 @@ export namespace vision_v1 {
5975
5973
  }
5976
5974
  }
5977
5975
 
5978
- export interface Params$Resource$Locations$Operations$Get
5979
- extends StandardParameters {
5976
+ export interface Params$Resource$Locations$Operations$Get extends StandardParameters {
5980
5977
  /**
5981
5978
  * The name of the operation resource.
5982
5979
  */
@@ -6084,8 +6081,7 @@ export namespace vision_v1 {
6084
6081
  | BodyResponseCallback<Schema$Empty>
6085
6082
  | BodyResponseCallback<Readable>,
6086
6083
  callback?:
6087
- | BodyResponseCallback<Schema$Empty>
6088
- | BodyResponseCallback<Readable>
6084
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
6089
6085
  ):
6090
6086
  | void
6091
6087
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -6219,8 +6215,7 @@ export namespace vision_v1 {
6219
6215
  | BodyResponseCallback<Schema$Empty>
6220
6216
  | BodyResponseCallback<Readable>,
6221
6217
  callback?:
6222
- | BodyResponseCallback<Schema$Empty>
6223
- | BodyResponseCallback<Readable>
6218
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
6224
6219
  ):
6225
6220
  | void
6226
6221
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -6360,8 +6355,7 @@ export namespace vision_v1 {
6360
6355
  | BodyResponseCallback<Schema$Operation>
6361
6356
  | BodyResponseCallback<Readable>,
6362
6357
  callback?:
6363
- | BodyResponseCallback<Schema$Operation>
6364
- | BodyResponseCallback<Readable>
6358
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6365
6359
  ):
6366
6360
  | void
6367
6361
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6447,13 +6441,16 @@ export namespace vision_v1 {
6447
6441
  * pageSize: 'placeholder-value',
6448
6442
  * // The standard list page token.
6449
6443
  * pageToken: 'placeholder-value',
6444
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6445
+ * returnPartialSuccess: 'placeholder-value',
6450
6446
  * });
6451
6447
  * console.log(res.data);
6452
6448
  *
6453
6449
  * // Example response
6454
6450
  * // {
6455
6451
  * // "nextPageToken": "my_nextPageToken",
6456
- * // "operations": []
6452
+ * // "operations": [],
6453
+ * // "unreachable": []
6457
6454
  * // }
6458
6455
  * }
6459
6456
  *
@@ -6485,8 +6482,7 @@ export namespace vision_v1 {
6485
6482
  list(
6486
6483
  params: Params$Resource$Operations$List,
6487
6484
  options:
6488
- | MethodOptions
6489
- | BodyResponseCallback<Schema$ListOperationsResponse>,
6485
+ MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>,
6490
6486
  callback: BodyResponseCallback<Schema$ListOperationsResponse>
6491
6487
  ): void;
6492
6488
  list(
@@ -6551,8 +6547,7 @@ export namespace vision_v1 {
6551
6547
  }
6552
6548
  }
6553
6549
 
6554
- export interface Params$Resource$Operations$Cancel
6555
- extends StandardParameters {
6550
+ export interface Params$Resource$Operations$Cancel extends StandardParameters {
6556
6551
  /**
6557
6552
  * The name of the operation resource to be cancelled.
6558
6553
  */
@@ -6563,8 +6558,7 @@ export namespace vision_v1 {
6563
6558
  */
6564
6559
  requestBody?: Schema$CancelOperationRequest;
6565
6560
  }
6566
- export interface Params$Resource$Operations$Delete
6567
- extends StandardParameters {
6561
+ export interface Params$Resource$Operations$Delete extends StandardParameters {
6568
6562
  /**
6569
6563
  * The name of the operation resource to be deleted.
6570
6564
  */
@@ -6593,6 +6587,10 @@ export namespace vision_v1 {
6593
6587
  * The standard list page token.
6594
6588
  */
6595
6589
  pageToken?: string;
6590
+ /**
6591
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6592
+ */
6593
+ returnPartialSuccess?: boolean;
6596
6594
  }
6597
6595
 
6598
6596
  export class Resource$Projects {
@@ -6699,8 +6697,7 @@ export namespace vision_v1 {
6699
6697
  annotate(
6700
6698
  params: Params$Resource$Projects$Files$Annotate,
6701
6699
  options:
6702
- | MethodOptions
6703
- | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
6700
+ MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
6704
6701
  callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>
6705
6702
  ): void;
6706
6703
  annotate(
@@ -6875,8 +6872,7 @@ export namespace vision_v1 {
6875
6872
  | BodyResponseCallback<Schema$Operation>
6876
6873
  | BodyResponseCallback<Readable>,
6877
6874
  callback?:
6878
- | BodyResponseCallback<Schema$Operation>
6879
- | BodyResponseCallback<Readable>
6875
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6880
6876
  ):
6881
6877
  | void
6882
6878
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6925,8 +6921,7 @@ export namespace vision_v1 {
6925
6921
  }
6926
6922
  }
6927
6923
 
6928
- export interface Params$Resource$Projects$Files$Annotate
6929
- extends StandardParameters {
6924
+ export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
6930
6925
  /**
6931
6926
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
6932
6927
  */
@@ -6937,8 +6932,7 @@ export namespace vision_v1 {
6937
6932
  */
6938
6933
  requestBody?: Schema$BatchAnnotateFilesRequest;
6939
6934
  }
6940
- export interface Params$Resource$Projects$Files$Asyncbatchannotate
6941
- extends StandardParameters {
6935
+ export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
6942
6936
  /**
6943
6937
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
6944
6938
  */
@@ -7216,8 +7210,7 @@ export namespace vision_v1 {
7216
7210
  | BodyResponseCallback<Schema$Operation>
7217
7211
  | BodyResponseCallback<Readable>,
7218
7212
  callback?:
7219
- | BodyResponseCallback<Schema$Operation>
7220
- | BodyResponseCallback<Readable>
7213
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7221
7214
  ):
7222
7215
  | void
7223
7216
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7266,8 +7259,7 @@ export namespace vision_v1 {
7266
7259
  }
7267
7260
  }
7268
7261
 
7269
- export interface Params$Resource$Projects$Images$Annotate
7270
- extends StandardParameters {
7262
+ export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
7271
7263
  /**
7272
7264
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7273
7265
  */
@@ -7278,8 +7270,7 @@ export namespace vision_v1 {
7278
7270
  */
7279
7271
  requestBody?: Schema$BatchAnnotateImagesRequest;
7280
7272
  }
7281
- export interface Params$Resource$Projects$Images$Asyncbatchannotate
7282
- extends StandardParameters {
7273
+ export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
7283
7274
  /**
7284
7275
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7285
7276
  */
@@ -7401,8 +7392,7 @@ export namespace vision_v1 {
7401
7392
  annotate(
7402
7393
  params: Params$Resource$Projects$Locations$Files$Annotate,
7403
7394
  options:
7404
- | MethodOptions
7405
- | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
7395
+ MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>,
7406
7396
  callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>
7407
7397
  ): void;
7408
7398
  annotate(
@@ -7577,8 +7567,7 @@ export namespace vision_v1 {
7577
7567
  | BodyResponseCallback<Schema$Operation>
7578
7568
  | BodyResponseCallback<Readable>,
7579
7569
  callback?:
7580
- | BodyResponseCallback<Schema$Operation>
7581
- | BodyResponseCallback<Readable>
7570
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7582
7571
  ):
7583
7572
  | void
7584
7573
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7628,8 +7617,7 @@ export namespace vision_v1 {
7628
7617
  }
7629
7618
  }
7630
7619
 
7631
- export interface Params$Resource$Projects$Locations$Files$Annotate
7632
- extends StandardParameters {
7620
+ export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
7633
7621
  /**
7634
7622
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7635
7623
  */
@@ -7640,8 +7628,7 @@ export namespace vision_v1 {
7640
7628
  */
7641
7629
  requestBody?: Schema$BatchAnnotateFilesRequest;
7642
7630
  }
7643
- export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
7644
- extends StandardParameters {
7631
+ export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
7645
7632
  /**
7646
7633
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7647
7634
  */
@@ -7919,8 +7906,7 @@ export namespace vision_v1 {
7919
7906
  | BodyResponseCallback<Schema$Operation>
7920
7907
  | BodyResponseCallback<Readable>,
7921
7908
  callback?:
7922
- | BodyResponseCallback<Schema$Operation>
7923
- | BodyResponseCallback<Readable>
7909
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7924
7910
  ):
7925
7911
  | void
7926
7912
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7970,8 +7956,7 @@ export namespace vision_v1 {
7970
7956
  }
7971
7957
  }
7972
7958
 
7973
- export interface Params$Resource$Projects$Locations$Images$Annotate
7974
- extends StandardParameters {
7959
+ export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
7975
7960
  /**
7976
7961
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7977
7962
  */
@@ -7982,8 +7967,7 @@ export namespace vision_v1 {
7982
7967
  */
7983
7968
  requestBody?: Schema$BatchAnnotateImagesRequest;
7984
7969
  }
7985
- export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
7986
- extends StandardParameters {
7970
+ export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
7987
7971
  /**
7988
7972
  * Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
7989
7973
  */
@@ -8096,8 +8080,7 @@ export namespace vision_v1 {
8096
8080
  | BodyResponseCallback<Schema$Operation>
8097
8081
  | BodyResponseCallback<Readable>,
8098
8082
  callback?:
8099
- | BodyResponseCallback<Schema$Operation>
8100
- | BodyResponseCallback<Readable>
8083
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
8101
8084
  ):
8102
8085
  | void
8103
8086
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -8143,8 +8126,7 @@ export namespace vision_v1 {
8143
8126
  }
8144
8127
  }
8145
8128
 
8146
- export interface Params$Resource$Projects$Locations$Operations$Get
8147
- extends StandardParameters {
8129
+ export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
8148
8130
  /**
8149
8131
  * The name of the operation resource.
8150
8132
  */
@@ -8269,8 +8251,7 @@ export namespace vision_v1 {
8269
8251
  | BodyResponseCallback<Schema$Product>
8270
8252
  | BodyResponseCallback<Readable>,
8271
8253
  callback?:
8272
- | BodyResponseCallback<Schema$Product>
8273
- | BodyResponseCallback<Readable>
8254
+ BodyResponseCallback<Schema$Product> | BodyResponseCallback<Readable>
8274
8255
  ):
8275
8256
  | void
8276
8257
  | Promise<GaxiosResponseWithHTTP2<Schema$Product>>
@@ -8407,8 +8388,7 @@ export namespace vision_v1 {
8407
8388
  | BodyResponseCallback<Schema$Empty>
8408
8389
  | BodyResponseCallback<Readable>,
8409
8390
  callback?:
8410
- | BodyResponseCallback<Schema$Empty>
8411
- | BodyResponseCallback<Readable>
8391
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
8412
8392
  ):
8413
8393
  | void
8414
8394
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -8548,8 +8528,7 @@ export namespace vision_v1 {
8548
8528
  | BodyResponseCallback<Schema$Product>
8549
8529
  | BodyResponseCallback<Readable>,
8550
8530
  callback?:
8551
- | BodyResponseCallback<Schema$Product>
8552
- | BodyResponseCallback<Readable>
8531
+ BodyResponseCallback<Schema$Product> | BodyResponseCallback<Readable>
8553
8532
  ):
8554
8533
  | void
8555
8534
  | Promise<GaxiosResponseWithHTTP2<Schema$Product>>
@@ -8672,8 +8651,7 @@ export namespace vision_v1 {
8672
8651
  list(
8673
8652
  params: Params$Resource$Projects$Locations$Products$List,
8674
8653
  options:
8675
- | MethodOptions
8676
- | BodyResponseCallback<Schema$ListProductsResponse>,
8654
+ MethodOptions | BodyResponseCallback<Schema$ListProductsResponse>,
8677
8655
  callback: BodyResponseCallback<Schema$ListProductsResponse>
8678
8656
  ): void;
8679
8657
  list(
@@ -8850,8 +8828,7 @@ export namespace vision_v1 {
8850
8828
  | BodyResponseCallback<Schema$Product>
8851
8829
  | BodyResponseCallback<Readable>,
8852
8830
  callback?:
8853
- | BodyResponseCallback<Schema$Product>
8854
- | BodyResponseCallback<Readable>
8831
+ BodyResponseCallback<Schema$Product> | BodyResponseCallback<Readable>
8855
8832
  ):
8856
8833
  | void
8857
8834
  | Promise<GaxiosResponseWithHTTP2<Schema$Product>>
@@ -9001,8 +8978,7 @@ export namespace vision_v1 {
9001
8978
  | BodyResponseCallback<Schema$Operation>
9002
8979
  | BodyResponseCallback<Readable>,
9003
8980
  callback?:
9004
- | BodyResponseCallback<Schema$Operation>
9005
- | BodyResponseCallback<Readable>
8981
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
9006
8982
  ):
9007
8983
  | void
9008
8984
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -9051,8 +9027,7 @@ export namespace vision_v1 {
9051
9027
  }
9052
9028
  }
9053
9029
 
9054
- export interface Params$Resource$Projects$Locations$Products$Create
9055
- extends StandardParameters {
9030
+ export interface Params$Resource$Projects$Locations$Products$Create extends StandardParameters {
9056
9031
  /**
9057
9032
  * Required. The project in which the Product should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
9058
9033
  */
@@ -9067,22 +9042,19 @@ export namespace vision_v1 {
9067
9042
  */
9068
9043
  requestBody?: Schema$Product;
9069
9044
  }
9070
- export interface Params$Resource$Projects$Locations$Products$Delete
9071
- extends StandardParameters {
9045
+ export interface Params$Resource$Projects$Locations$Products$Delete extends StandardParameters {
9072
9046
  /**
9073
9047
  * Required. Resource name of product to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
9074
9048
  */
9075
9049
  name?: string;
9076
9050
  }
9077
- export interface Params$Resource$Projects$Locations$Products$Get
9078
- extends StandardParameters {
9051
+ export interface Params$Resource$Projects$Locations$Products$Get extends StandardParameters {
9079
9052
  /**
9080
9053
  * Required. Resource name of the Product to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
9081
9054
  */
9082
9055
  name?: string;
9083
9056
  }
9084
- export interface Params$Resource$Projects$Locations$Products$List
9085
- extends StandardParameters {
9057
+ export interface Params$Resource$Projects$Locations$Products$List extends StandardParameters {
9086
9058
  /**
9087
9059
  * The maximum number of items to return. Default 10, maximum 100.
9088
9060
  */
@@ -9096,8 +9068,7 @@ export namespace vision_v1 {
9096
9068
  */
9097
9069
  parent?: string;
9098
9070
  }
9099
- export interface Params$Resource$Projects$Locations$Products$Patch
9100
- extends StandardParameters {
9071
+ export interface Params$Resource$Projects$Locations$Products$Patch extends StandardParameters {
9101
9072
  /**
9102
9073
  * The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
9103
9074
  */
@@ -9112,8 +9083,7 @@ export namespace vision_v1 {
9112
9083
  */
9113
9084
  requestBody?: Schema$Product;
9114
9085
  }
9115
- export interface Params$Resource$Projects$Locations$Products$Purge
9116
- extends StandardParameters {
9086
+ export interface Params$Resource$Projects$Locations$Products$Purge extends StandardParameters {
9117
9087
  /**
9118
9088
  * Required. The project and location in which the Products should be deleted. Format is `projects/PROJECT_ID/locations/LOC_ID`.
9119
9089
  */
@@ -9375,8 +9345,7 @@ export namespace vision_v1 {
9375
9345
  | BodyResponseCallback<Schema$Empty>
9376
9346
  | BodyResponseCallback<Readable>,
9377
9347
  callback?:
9378
- | BodyResponseCallback<Schema$Empty>
9379
- | BodyResponseCallback<Readable>
9348
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
9380
9349
  ):
9381
9350
  | void
9382
9351
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -9714,8 +9683,7 @@ export namespace vision_v1 {
9714
9683
  }
9715
9684
  }
9716
9685
 
9717
- export interface Params$Resource$Projects$Locations$Products$Referenceimages$Create
9718
- extends StandardParameters {
9686
+ export interface Params$Resource$Projects$Locations$Products$Referenceimages$Create extends StandardParameters {
9719
9687
  /**
9720
9688
  * Required. Resource name of the product in which to create the reference image. Format is `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
9721
9689
  */
@@ -9730,22 +9698,19 @@ export namespace vision_v1 {
9730
9698
  */
9731
9699
  requestBody?: Schema$ReferenceImage;
9732
9700
  }
9733
- export interface Params$Resource$Projects$Locations$Products$Referenceimages$Delete
9734
- extends StandardParameters {
9701
+ export interface Params$Resource$Projects$Locations$Products$Referenceimages$Delete extends StandardParameters {
9735
9702
  /**
9736
9703
  * Required. The resource name of the reference image to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`
9737
9704
  */
9738
9705
  name?: string;
9739
9706
  }
9740
- export interface Params$Resource$Projects$Locations$Products$Referenceimages$Get
9741
- extends StandardParameters {
9707
+ export interface Params$Resource$Projects$Locations$Products$Referenceimages$Get extends StandardParameters {
9742
9708
  /**
9743
9709
  * Required. The resource name of the ReferenceImage to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
9744
9710
  */
9745
9711
  name?: string;
9746
9712
  }
9747
- export interface Params$Resource$Projects$Locations$Products$Referenceimages$List
9748
- extends StandardParameters {
9713
+ export interface Params$Resource$Projects$Locations$Products$Referenceimages$List extends StandardParameters {
9749
9714
  /**
9750
9715
  * The maximum number of items to return. Default 10, maximum 100.
9751
9716
  */
@@ -9867,8 +9832,7 @@ export namespace vision_v1 {
9867
9832
  | BodyResponseCallback<Schema$Empty>
9868
9833
  | BodyResponseCallback<Readable>,
9869
9834
  callback?:
9870
- | BodyResponseCallback<Schema$Empty>
9871
- | BodyResponseCallback<Readable>
9835
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
9872
9836
  ):
9873
9837
  | void
9874
9838
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -10024,8 +9988,7 @@ export namespace vision_v1 {
10024
9988
  | BodyResponseCallback<Schema$ProductSet>
10025
9989
  | BodyResponseCallback<Readable>,
10026
9990
  callback?:
10027
- | BodyResponseCallback<Schema$ProductSet>
10028
- | BodyResponseCallback<Readable>
9991
+ BodyResponseCallback<Schema$ProductSet> | BodyResponseCallback<Readable>
10029
9992
  ):
10030
9993
  | void
10031
9994
  | Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>
@@ -10162,8 +10125,7 @@ export namespace vision_v1 {
10162
10125
  | BodyResponseCallback<Schema$Empty>
10163
10126
  | BodyResponseCallback<Readable>,
10164
10127
  callback?:
10165
- | BodyResponseCallback<Schema$Empty>
10166
- | BodyResponseCallback<Readable>
10128
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
10167
10129
  ):
10168
10130
  | void
10169
10131
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -10302,8 +10264,7 @@ export namespace vision_v1 {
10302
10264
  | BodyResponseCallback<Schema$ProductSet>
10303
10265
  | BodyResponseCallback<Readable>,
10304
10266
  callback?:
10305
- | BodyResponseCallback<Schema$ProductSet>
10306
- | BodyResponseCallback<Readable>
10267
+ BodyResponseCallback<Schema$ProductSet> | BodyResponseCallback<Readable>
10307
10268
  ):
10308
10269
  | void
10309
10270
  | Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>
@@ -10451,8 +10412,7 @@ export namespace vision_v1 {
10451
10412
  | BodyResponseCallback<Schema$Operation>
10452
10413
  | BodyResponseCallback<Readable>,
10453
10414
  callback?:
10454
- | BodyResponseCallback<Schema$Operation>
10455
- | BodyResponseCallback<Readable>
10415
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
10456
10416
  ):
10457
10417
  | void
10458
10418
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -10578,8 +10538,7 @@ export namespace vision_v1 {
10578
10538
  list(
10579
10539
  params: Params$Resource$Projects$Locations$Productsets$List,
10580
10540
  options:
10581
- | MethodOptions
10582
- | BodyResponseCallback<Schema$ListProductSetsResponse>,
10541
+ MethodOptions | BodyResponseCallback<Schema$ListProductSetsResponse>,
10583
10542
  callback: BodyResponseCallback<Schema$ListProductSetsResponse>
10584
10543
  ): void;
10585
10544
  list(
@@ -10754,8 +10713,7 @@ export namespace vision_v1 {
10754
10713
  | BodyResponseCallback<Schema$ProductSet>
10755
10714
  | BodyResponseCallback<Readable>,
10756
10715
  callback?:
10757
- | BodyResponseCallback<Schema$ProductSet>
10758
- | BodyResponseCallback<Readable>
10716
+ BodyResponseCallback<Schema$ProductSet> | BodyResponseCallback<Readable>
10759
10717
  ):
10760
10718
  | void
10761
10719
  | Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>
@@ -10897,8 +10855,7 @@ export namespace vision_v1 {
10897
10855
  | BodyResponseCallback<Schema$Empty>
10898
10856
  | BodyResponseCallback<Readable>,
10899
10857
  callback?:
10900
- | BodyResponseCallback<Schema$Empty>
10901
- | BodyResponseCallback<Readable>
10858
+ BodyResponseCallback<Schema$Empty> | BodyResponseCallback<Readable>
10902
10859
  ):
10903
10860
  | void
10904
10861
  | Promise<GaxiosResponseWithHTTP2<Schema$Empty>>
@@ -10948,8 +10905,7 @@ export namespace vision_v1 {
10948
10905
  }
10949
10906
  }
10950
10907
 
10951
- export interface Params$Resource$Projects$Locations$Productsets$Addproduct
10952
- extends StandardParameters {
10908
+ export interface Params$Resource$Projects$Locations$Productsets$Addproduct extends StandardParameters {
10953
10909
  /**
10954
10910
  * Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
10955
10911
  */
@@ -10960,8 +10916,7 @@ export namespace vision_v1 {
10960
10916
  */
10961
10917
  requestBody?: Schema$AddProductToProductSetRequest;
10962
10918
  }
10963
- export interface Params$Resource$Projects$Locations$Productsets$Create
10964
- extends StandardParameters {
10919
+ export interface Params$Resource$Projects$Locations$Productsets$Create extends StandardParameters {
10965
10920
  /**
10966
10921
  * Required. The project in which the ProductSet should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
10967
10922
  */
@@ -10976,22 +10931,19 @@ export namespace vision_v1 {
10976
10931
  */
10977
10932
  requestBody?: Schema$ProductSet;
10978
10933
  }
10979
- export interface Params$Resource$Projects$Locations$Productsets$Delete
10980
- extends StandardParameters {
10934
+ export interface Params$Resource$Projects$Locations$Productsets$Delete extends StandardParameters {
10981
10935
  /**
10982
10936
  * Required. Resource name of the ProductSet to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
10983
10937
  */
10984
10938
  name?: string;
10985
10939
  }
10986
- export interface Params$Resource$Projects$Locations$Productsets$Get
10987
- extends StandardParameters {
10940
+ export interface Params$Resource$Projects$Locations$Productsets$Get extends StandardParameters {
10988
10941
  /**
10989
10942
  * Required. Resource name of the ProductSet to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
10990
10943
  */
10991
10944
  name?: string;
10992
10945
  }
10993
- export interface Params$Resource$Projects$Locations$Productsets$Import
10994
- extends StandardParameters {
10946
+ export interface Params$Resource$Projects$Locations$Productsets$Import extends StandardParameters {
10995
10947
  /**
10996
10948
  * Required. The project in which the ProductSets should be imported. Format is `projects/PROJECT_ID/locations/LOC_ID`.
10997
10949
  */
@@ -11002,8 +10954,7 @@ export namespace vision_v1 {
11002
10954
  */
11003
10955
  requestBody?: Schema$ImportProductSetsRequest;
11004
10956
  }
11005
- export interface Params$Resource$Projects$Locations$Productsets$List
11006
- extends StandardParameters {
10957
+ export interface Params$Resource$Projects$Locations$Productsets$List extends StandardParameters {
11007
10958
  /**
11008
10959
  * The maximum number of items to return. Default 10, maximum 100.
11009
10960
  */
@@ -11017,8 +10968,7 @@ export namespace vision_v1 {
11017
10968
  */
11018
10969
  parent?: string;
11019
10970
  }
11020
- export interface Params$Resource$Projects$Locations$Productsets$Patch
11021
- extends StandardParameters {
10971
+ export interface Params$Resource$Projects$Locations$Productsets$Patch extends StandardParameters {
11022
10972
  /**
11023
10973
  * The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
11024
10974
  */
@@ -11033,8 +10983,7 @@ export namespace vision_v1 {
11033
10983
  */
11034
10984
  requestBody?: Schema$ProductSet;
11035
10985
  }
11036
- export interface Params$Resource$Projects$Locations$Productsets$Removeproduct
11037
- extends StandardParameters {
10986
+ export interface Params$Resource$Projects$Locations$Productsets$Removeproduct extends StandardParameters {
11038
10987
  /**
11039
10988
  * Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
11040
10989
  */
@@ -11209,8 +11158,7 @@ export namespace vision_v1 {
11209
11158
  }
11210
11159
  }
11211
11160
 
11212
- export interface Params$Resource$Projects$Locations$Productsets$Products$List
11213
- extends StandardParameters {
11161
+ export interface Params$Resource$Projects$Locations$Productsets$Products$List extends StandardParameters {
11214
11162
  /**
11215
11163
  * Required. The ProductSet resource for which to retrieve Products. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
11216
11164
  */
@@ -11326,8 +11274,7 @@ export namespace vision_v1 {
11326
11274
  | BodyResponseCallback<Schema$Operation>
11327
11275
  | BodyResponseCallback<Readable>,
11328
11276
  callback?:
11329
- | BodyResponseCallback<Schema$Operation>
11330
- | BodyResponseCallback<Readable>
11277
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
11331
11278
  ):
11332
11279
  | void
11333
11280
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -11373,8 +11320,7 @@ export namespace vision_v1 {
11373
11320
  }
11374
11321
  }
11375
11322
 
11376
- export interface Params$Resource$Projects$Operations$Get
11377
- extends StandardParameters {
11323
+ export interface Params$Resource$Projects$Operations$Get extends StandardParameters {
11378
11324
  /**
11379
11325
  * The name of the operation resource.
11380
11326
  */