@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/v1p1beta1.ts CHANGED
@@ -5276,8 +5276,7 @@ export namespace vision_v1p1beta1 {
5276
5276
  | BodyResponseCallback<Schema$Operation>
5277
5277
  | BodyResponseCallback<Readable>,
5278
5278
  callback?:
5279
- | BodyResponseCallback<Schema$Operation>
5280
- | BodyResponseCallback<Readable>
5279
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5281
5280
  ):
5282
5281
  | void
5283
5282
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5332,8 +5331,7 @@ export namespace vision_v1p1beta1 {
5332
5331
  */
5333
5332
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
5334
5333
  }
5335
- export interface Params$Resource$Files$Asyncbatchannotate
5336
- extends StandardParameters {
5334
+ export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
5337
5335
  /**
5338
5336
  * Request body metadata
5339
5337
  */
@@ -5605,8 +5603,7 @@ export namespace vision_v1p1beta1 {
5605
5603
  | BodyResponseCallback<Schema$Operation>
5606
5604
  | BodyResponseCallback<Readable>,
5607
5605
  callback?:
5608
- | BodyResponseCallback<Schema$Operation>
5609
- | BodyResponseCallback<Readable>
5606
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5610
5607
  ):
5611
5608
  | void
5612
5609
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5661,8 +5658,7 @@ export namespace vision_v1p1beta1 {
5661
5658
  */
5662
5659
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
5663
5660
  }
5664
- export interface Params$Resource$Images$Asyncbatchannotate
5665
- extends StandardParameters {
5661
+ export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
5666
5662
  /**
5667
5663
  * Request body metadata
5668
5664
  */
@@ -5953,8 +5949,7 @@ export namespace vision_v1p1beta1 {
5953
5949
  | BodyResponseCallback<Schema$Operation>
5954
5950
  | BodyResponseCallback<Readable>,
5955
5951
  callback?:
5956
- | BodyResponseCallback<Schema$Operation>
5957
- | BodyResponseCallback<Readable>
5952
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5958
5953
  ):
5959
5954
  | void
5960
5955
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6002,8 +5997,7 @@ export namespace vision_v1p1beta1 {
6002
5997
  }
6003
5998
  }
6004
5999
 
6005
- export interface Params$Resource$Projects$Files$Annotate
6006
- extends StandardParameters {
6000
+ export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
6007
6001
  /**
6008
6002
  * 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`.
6009
6003
  */
@@ -6014,8 +6008,7 @@ export namespace vision_v1p1beta1 {
6014
6008
  */
6015
6009
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
6016
6010
  }
6017
- export interface Params$Resource$Projects$Files$Asyncbatchannotate
6018
- extends StandardParameters {
6011
+ export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
6019
6012
  /**
6020
6013
  * 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`.
6021
6014
  */
@@ -6299,8 +6292,7 @@ export namespace vision_v1p1beta1 {
6299
6292
  | BodyResponseCallback<Schema$Operation>
6300
6293
  | BodyResponseCallback<Readable>,
6301
6294
  callback?:
6302
- | BodyResponseCallback<Schema$Operation>
6303
- | BodyResponseCallback<Readable>
6295
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6304
6296
  ):
6305
6297
  | void
6306
6298
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6348,8 +6340,7 @@ export namespace vision_v1p1beta1 {
6348
6340
  }
6349
6341
  }
6350
6342
 
6351
- export interface Params$Resource$Projects$Images$Annotate
6352
- extends StandardParameters {
6343
+ export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
6353
6344
  /**
6354
6345
  * 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`.
6355
6346
  */
@@ -6360,8 +6351,7 @@ export namespace vision_v1p1beta1 {
6360
6351
  */
6361
6352
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
6362
6353
  }
6363
- export interface Params$Resource$Projects$Images$Asyncbatchannotate
6364
- extends StandardParameters {
6354
+ export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
6365
6355
  /**
6366
6356
  * 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`.
6367
6357
  */
@@ -6655,8 +6645,7 @@ export namespace vision_v1p1beta1 {
6655
6645
  | BodyResponseCallback<Schema$Operation>
6656
6646
  | BodyResponseCallback<Readable>,
6657
6647
  callback?:
6658
- | BodyResponseCallback<Schema$Operation>
6659
- | BodyResponseCallback<Readable>
6648
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6660
6649
  ):
6661
6650
  | void
6662
6651
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6705,8 +6694,7 @@ export namespace vision_v1p1beta1 {
6705
6694
  }
6706
6695
  }
6707
6696
 
6708
- export interface Params$Resource$Projects$Locations$Files$Annotate
6709
- extends StandardParameters {
6697
+ export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
6710
6698
  /**
6711
6699
  * 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`.
6712
6700
  */
@@ -6717,8 +6705,7 @@ export namespace vision_v1p1beta1 {
6717
6705
  */
6718
6706
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
6719
6707
  }
6720
- export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
6721
- extends StandardParameters {
6708
+ export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
6722
6709
  /**
6723
6710
  * 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`.
6724
6711
  */
@@ -7002,8 +6989,7 @@ export namespace vision_v1p1beta1 {
7002
6989
  | BodyResponseCallback<Schema$Operation>
7003
6990
  | BodyResponseCallback<Readable>,
7004
6991
  callback?:
7005
- | BodyResponseCallback<Schema$Operation>
7006
- | BodyResponseCallback<Readable>
6992
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7007
6993
  ):
7008
6994
  | void
7009
6995
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7052,8 +7038,7 @@ export namespace vision_v1p1beta1 {
7052
7038
  }
7053
7039
  }
7054
7040
 
7055
- export interface Params$Resource$Projects$Locations$Images$Annotate
7056
- extends StandardParameters {
7041
+ export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
7057
7042
  /**
7058
7043
  * 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`.
7059
7044
  */
@@ -7064,8 +7049,7 @@ export namespace vision_v1p1beta1 {
7064
7049
  */
7065
7050
  requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
7066
7051
  }
7067
- export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
7068
- extends StandardParameters {
7052
+ export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
7069
7053
  /**
7070
7054
  * 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`.
7071
7055
  */
package/v1p2beta1.ts CHANGED
@@ -5276,8 +5276,7 @@ export namespace vision_v1p2beta1 {
5276
5276
  | BodyResponseCallback<Schema$Operation>
5277
5277
  | BodyResponseCallback<Readable>,
5278
5278
  callback?:
5279
- | BodyResponseCallback<Schema$Operation>
5280
- | BodyResponseCallback<Readable>
5279
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5281
5280
  ):
5282
5281
  | void
5283
5282
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5332,8 +5331,7 @@ export namespace vision_v1p2beta1 {
5332
5331
  */
5333
5332
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
5334
5333
  }
5335
- export interface Params$Resource$Files$Asyncbatchannotate
5336
- extends StandardParameters {
5334
+ export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
5337
5335
  /**
5338
5336
  * Request body metadata
5339
5337
  */
@@ -5605,8 +5603,7 @@ export namespace vision_v1p2beta1 {
5605
5603
  | BodyResponseCallback<Schema$Operation>
5606
5604
  | BodyResponseCallback<Readable>,
5607
5605
  callback?:
5608
- | BodyResponseCallback<Schema$Operation>
5609
- | BodyResponseCallback<Readable>
5606
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5610
5607
  ):
5611
5608
  | void
5612
5609
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -5661,8 +5658,7 @@ export namespace vision_v1p2beta1 {
5661
5658
  */
5662
5659
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
5663
5660
  }
5664
- export interface Params$Resource$Images$Asyncbatchannotate
5665
- extends StandardParameters {
5661
+ export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
5666
5662
  /**
5667
5663
  * Request body metadata
5668
5664
  */
@@ -5953,8 +5949,7 @@ export namespace vision_v1p2beta1 {
5953
5949
  | BodyResponseCallback<Schema$Operation>
5954
5950
  | BodyResponseCallback<Readable>,
5955
5951
  callback?:
5956
- | BodyResponseCallback<Schema$Operation>
5957
- | BodyResponseCallback<Readable>
5952
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
5958
5953
  ):
5959
5954
  | void
5960
5955
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6002,8 +5997,7 @@ export namespace vision_v1p2beta1 {
6002
5997
  }
6003
5998
  }
6004
5999
 
6005
- export interface Params$Resource$Projects$Files$Annotate
6006
- extends StandardParameters {
6000
+ export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
6007
6001
  /**
6008
6002
  * 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`.
6009
6003
  */
@@ -6014,8 +6008,7 @@ export namespace vision_v1p2beta1 {
6014
6008
  */
6015
6009
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
6016
6010
  }
6017
- export interface Params$Resource$Projects$Files$Asyncbatchannotate
6018
- extends StandardParameters {
6011
+ export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
6019
6012
  /**
6020
6013
  * 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`.
6021
6014
  */
@@ -6299,8 +6292,7 @@ export namespace vision_v1p2beta1 {
6299
6292
  | BodyResponseCallback<Schema$Operation>
6300
6293
  | BodyResponseCallback<Readable>,
6301
6294
  callback?:
6302
- | BodyResponseCallback<Schema$Operation>
6303
- | BodyResponseCallback<Readable>
6295
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6304
6296
  ):
6305
6297
  | void
6306
6298
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6348,8 +6340,7 @@ export namespace vision_v1p2beta1 {
6348
6340
  }
6349
6341
  }
6350
6342
 
6351
- export interface Params$Resource$Projects$Images$Annotate
6352
- extends StandardParameters {
6343
+ export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
6353
6344
  /**
6354
6345
  * 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`.
6355
6346
  */
@@ -6360,8 +6351,7 @@ export namespace vision_v1p2beta1 {
6360
6351
  */
6361
6352
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
6362
6353
  }
6363
- export interface Params$Resource$Projects$Images$Asyncbatchannotate
6364
- extends StandardParameters {
6354
+ export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
6365
6355
  /**
6366
6356
  * 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`.
6367
6357
  */
@@ -6655,8 +6645,7 @@ export namespace vision_v1p2beta1 {
6655
6645
  | BodyResponseCallback<Schema$Operation>
6656
6646
  | BodyResponseCallback<Readable>,
6657
6647
  callback?:
6658
- | BodyResponseCallback<Schema$Operation>
6659
- | BodyResponseCallback<Readable>
6648
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
6660
6649
  ):
6661
6650
  | void
6662
6651
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -6705,8 +6694,7 @@ export namespace vision_v1p2beta1 {
6705
6694
  }
6706
6695
  }
6707
6696
 
6708
- export interface Params$Resource$Projects$Locations$Files$Annotate
6709
- extends StandardParameters {
6697
+ export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
6710
6698
  /**
6711
6699
  * 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`.
6712
6700
  */
@@ -6717,8 +6705,7 @@ export namespace vision_v1p2beta1 {
6717
6705
  */
6718
6706
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
6719
6707
  }
6720
- export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
6721
- extends StandardParameters {
6708
+ export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
6722
6709
  /**
6723
6710
  * 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`.
6724
6711
  */
@@ -7002,8 +6989,7 @@ export namespace vision_v1p2beta1 {
7002
6989
  | BodyResponseCallback<Schema$Operation>
7003
6990
  | BodyResponseCallback<Readable>,
7004
6991
  callback?:
7005
- | BodyResponseCallback<Schema$Operation>
7006
- | BodyResponseCallback<Readable>
6992
+ BodyResponseCallback<Schema$Operation> | BodyResponseCallback<Readable>
7007
6993
  ):
7008
6994
  | void
7009
6995
  | Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
@@ -7052,8 +7038,7 @@ export namespace vision_v1p2beta1 {
7052
7038
  }
7053
7039
  }
7054
7040
 
7055
- export interface Params$Resource$Projects$Locations$Images$Annotate
7056
- extends StandardParameters {
7041
+ export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
7057
7042
  /**
7058
7043
  * 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`.
7059
7044
  */
@@ -7064,8 +7049,7 @@ export namespace vision_v1p2beta1 {
7064
7049
  */
7065
7050
  requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
7066
7051
  }
7067
- export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
7068
- extends StandardParameters {
7052
+ export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
7069
7053
  /**
7070
7054
  * 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`.
7071
7055
  */