@googleapis/vision 1.5.2 → 2.0.1
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/CHANGELOG.md +33 -0
- package/build/index.d.ts +1 -1
- package/build/index.js.map +1 -1
- package/build/v1.d.ts +83 -83
- package/build/v1.js.map +1 -1
- package/build/v1p1beta1.d.ts +30 -30
- package/build/v1p1beta1.js.map +1 -1
- package/build/v1p2beta1.d.ts +30 -30
- package/build/v1p2beta1.js.map +1 -1
- package/index.ts +0 -1
- package/package.json +2 -2
- package/v1.ts +217 -132
- package/v1p1beta1.ts +90 -48
- package/v1p2beta1.ts +90 -48
package/v1p2beta1.ts
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
Compute,
|
|
24
24
|
UserRefreshClient,
|
|
25
25
|
BaseExternalAccountClient,
|
|
26
|
-
|
|
26
|
+
GaxiosResponseWithHTTP2,
|
|
27
27
|
GoogleConfigurable,
|
|
28
28
|
createAPIRequest,
|
|
29
29
|
MethodOptions,
|
|
@@ -821,7 +821,7 @@ export namespace vision_v1p2beta1 {
|
|
|
821
821
|
underExposedLikelihood?: string | null;
|
|
822
822
|
}
|
|
823
823
|
/**
|
|
824
|
-
* A face-specific landmark (for example, a face feature).
|
|
824
|
+
* A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.
|
|
825
825
|
*/
|
|
826
826
|
export interface Schema$GoogleCloudVisionV1p1beta1FaceAnnotationLandmark {
|
|
827
827
|
/**
|
|
@@ -1841,7 +1841,7 @@ export namespace vision_v1p2beta1 {
|
|
|
1841
1841
|
underExposedLikelihood?: string | null;
|
|
1842
1842
|
}
|
|
1843
1843
|
/**
|
|
1844
|
-
* A face-specific landmark (for example, a face feature).
|
|
1844
|
+
* A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.
|
|
1845
1845
|
*/
|
|
1846
1846
|
export interface Schema$GoogleCloudVisionV1p2beta1FaceAnnotationLandmark {
|
|
1847
1847
|
/**
|
|
@@ -2848,7 +2848,7 @@ export namespace vision_v1p2beta1 {
|
|
|
2848
2848
|
underExposedLikelihood?: string | null;
|
|
2849
2849
|
}
|
|
2850
2850
|
/**
|
|
2851
|
-
* A face-specific landmark (for example, a face feature).
|
|
2851
|
+
* A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.
|
|
2852
2852
|
*/
|
|
2853
2853
|
export interface Schema$GoogleCloudVisionV1p3beta1FaceAnnotationLandmark {
|
|
2854
2854
|
/**
|
|
@@ -3796,7 +3796,7 @@ export namespace vision_v1p2beta1 {
|
|
|
3796
3796
|
underExposedLikelihood?: string | null;
|
|
3797
3797
|
}
|
|
3798
3798
|
/**
|
|
3799
|
-
* A face-specific landmark (for example, a face feature).
|
|
3799
|
+
* A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.
|
|
3800
3800
|
*/
|
|
3801
3801
|
export interface Schema$GoogleCloudVisionV1p4beta1FaceAnnotationLandmark {
|
|
3802
3802
|
/**
|
|
@@ -4487,7 +4487,7 @@ export namespace vision_v1p2beta1 {
|
|
|
4487
4487
|
value?: string | null;
|
|
4488
4488
|
}
|
|
4489
4489
|
/**
|
|
4490
|
-
* A face-specific landmark (for example, a face feature).
|
|
4490
|
+
* A face-specific landmark (for example, a face feature). Landmark positions may fall outside the bounds of the image if the face is near one or more edges of the image. Therefore it is NOT guaranteed that `0 <= x < width` or `0 <= y < height`.
|
|
4491
4491
|
*/
|
|
4492
4492
|
export interface Schema$Landmark {
|
|
4493
4493
|
/**
|
|
@@ -5029,11 +5029,13 @@ export namespace vision_v1p2beta1 {
|
|
|
5029
5029
|
annotate(
|
|
5030
5030
|
params: Params$Resource$Files$Annotate,
|
|
5031
5031
|
options: StreamMethodOptions
|
|
5032
|
-
):
|
|
5032
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5033
5033
|
annotate(
|
|
5034
5034
|
params?: Params$Resource$Files$Annotate,
|
|
5035
5035
|
options?: MethodOptions
|
|
5036
|
-
):
|
|
5036
|
+
): Promise<
|
|
5037
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5038
|
+
>;
|
|
5037
5039
|
annotate(
|
|
5038
5040
|
params: Params$Resource$Files$Annotate,
|
|
5039
5041
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5068,8 +5070,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5068
5070
|
| BodyResponseCallback<Readable>
|
|
5069
5071
|
):
|
|
5070
5072
|
| void
|
|
5071
|
-
|
|
|
5072
|
-
|
|
5073
|
+
| Promise<
|
|
5074
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5075
|
+
>
|
|
5076
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5073
5077
|
let params = (paramsOrCallback || {}) as Params$Resource$Files$Annotate;
|
|
5074
5078
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5075
5079
|
|
|
@@ -5125,11 +5129,11 @@ export namespace vision_v1p2beta1 {
|
|
|
5125
5129
|
asyncBatchAnnotate(
|
|
5126
5130
|
params: Params$Resource$Files$Asyncbatchannotate,
|
|
5127
5131
|
options: StreamMethodOptions
|
|
5128
|
-
):
|
|
5132
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5129
5133
|
asyncBatchAnnotate(
|
|
5130
5134
|
params?: Params$Resource$Files$Asyncbatchannotate,
|
|
5131
5135
|
options?: MethodOptions
|
|
5132
|
-
):
|
|
5136
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5133
5137
|
asyncBatchAnnotate(
|
|
5134
5138
|
params: Params$Resource$Files$Asyncbatchannotate,
|
|
5135
5139
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5158,7 +5162,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5158
5162
|
callback?:
|
|
5159
5163
|
| BodyResponseCallback<Schema$Operation>
|
|
5160
5164
|
| BodyResponseCallback<Readable>
|
|
5161
|
-
):
|
|
5165
|
+
):
|
|
5166
|
+
| void
|
|
5167
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5168
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5162
5169
|
let params = (paramsOrCallback ||
|
|
5163
5170
|
{}) as Params$Resource$Files$Asyncbatchannotate;
|
|
5164
5171
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5234,11 +5241,13 @@ export namespace vision_v1p2beta1 {
|
|
|
5234
5241
|
annotate(
|
|
5235
5242
|
params: Params$Resource$Images$Annotate,
|
|
5236
5243
|
options: StreamMethodOptions
|
|
5237
|
-
):
|
|
5244
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5238
5245
|
annotate(
|
|
5239
5246
|
params?: Params$Resource$Images$Annotate,
|
|
5240
5247
|
options?: MethodOptions
|
|
5241
|
-
):
|
|
5248
|
+
): Promise<
|
|
5249
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
5250
|
+
>;
|
|
5242
5251
|
annotate(
|
|
5243
5252
|
params: Params$Resource$Images$Annotate,
|
|
5244
5253
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5273,8 +5282,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5273
5282
|
| BodyResponseCallback<Readable>
|
|
5274
5283
|
):
|
|
5275
5284
|
| void
|
|
5276
|
-
|
|
|
5277
|
-
|
|
5285
|
+
| Promise<
|
|
5286
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
5287
|
+
>
|
|
5288
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5278
5289
|
let params = (paramsOrCallback || {}) as Params$Resource$Images$Annotate;
|
|
5279
5290
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
5280
5291
|
|
|
@@ -5330,11 +5341,11 @@ export namespace vision_v1p2beta1 {
|
|
|
5330
5341
|
asyncBatchAnnotate(
|
|
5331
5342
|
params: Params$Resource$Images$Asyncbatchannotate,
|
|
5332
5343
|
options: StreamMethodOptions
|
|
5333
|
-
):
|
|
5344
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5334
5345
|
asyncBatchAnnotate(
|
|
5335
5346
|
params?: Params$Resource$Images$Asyncbatchannotate,
|
|
5336
5347
|
options?: MethodOptions
|
|
5337
|
-
):
|
|
5348
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5338
5349
|
asyncBatchAnnotate(
|
|
5339
5350
|
params: Params$Resource$Images$Asyncbatchannotate,
|
|
5340
5351
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5363,7 +5374,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5363
5374
|
callback?:
|
|
5364
5375
|
| BodyResponseCallback<Schema$Operation>
|
|
5365
5376
|
| BodyResponseCallback<Readable>
|
|
5366
|
-
):
|
|
5377
|
+
):
|
|
5378
|
+
| void
|
|
5379
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5380
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5367
5381
|
let params = (paramsOrCallback ||
|
|
5368
5382
|
{}) as Params$Resource$Images$Asyncbatchannotate;
|
|
5369
5383
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5452,11 +5466,13 @@ export namespace vision_v1p2beta1 {
|
|
|
5452
5466
|
annotate(
|
|
5453
5467
|
params: Params$Resource$Projects$Files$Annotate,
|
|
5454
5468
|
options: StreamMethodOptions
|
|
5455
|
-
):
|
|
5469
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5456
5470
|
annotate(
|
|
5457
5471
|
params?: Params$Resource$Projects$Files$Annotate,
|
|
5458
5472
|
options?: MethodOptions
|
|
5459
|
-
):
|
|
5473
|
+
): Promise<
|
|
5474
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5475
|
+
>;
|
|
5460
5476
|
annotate(
|
|
5461
5477
|
params: Params$Resource$Projects$Files$Annotate,
|
|
5462
5478
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5491,8 +5507,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5491
5507
|
| BodyResponseCallback<Readable>
|
|
5492
5508
|
):
|
|
5493
5509
|
| void
|
|
5494
|
-
|
|
|
5495
|
-
|
|
5510
|
+
| Promise<
|
|
5511
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5512
|
+
>
|
|
5513
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5496
5514
|
let params = (paramsOrCallback ||
|
|
5497
5515
|
{}) as Params$Resource$Projects$Files$Annotate;
|
|
5498
5516
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5549,11 +5567,11 @@ export namespace vision_v1p2beta1 {
|
|
|
5549
5567
|
asyncBatchAnnotate(
|
|
5550
5568
|
params: Params$Resource$Projects$Files$Asyncbatchannotate,
|
|
5551
5569
|
options: StreamMethodOptions
|
|
5552
|
-
):
|
|
5570
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5553
5571
|
asyncBatchAnnotate(
|
|
5554
5572
|
params?: Params$Resource$Projects$Files$Asyncbatchannotate,
|
|
5555
5573
|
options?: MethodOptions
|
|
5556
|
-
):
|
|
5574
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5557
5575
|
asyncBatchAnnotate(
|
|
5558
5576
|
params: Params$Resource$Projects$Files$Asyncbatchannotate,
|
|
5559
5577
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5582,7 +5600,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5582
5600
|
callback?:
|
|
5583
5601
|
| BodyResponseCallback<Schema$Operation>
|
|
5584
5602
|
| BodyResponseCallback<Readable>
|
|
5585
|
-
):
|
|
5603
|
+
):
|
|
5604
|
+
| void
|
|
5605
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5606
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5586
5607
|
let params = (paramsOrCallback ||
|
|
5587
5608
|
{}) as Params$Resource$Projects$Files$Asyncbatchannotate;
|
|
5588
5609
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5668,11 +5689,13 @@ export namespace vision_v1p2beta1 {
|
|
|
5668
5689
|
annotate(
|
|
5669
5690
|
params: Params$Resource$Projects$Images$Annotate,
|
|
5670
5691
|
options: StreamMethodOptions
|
|
5671
|
-
):
|
|
5692
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5672
5693
|
annotate(
|
|
5673
5694
|
params?: Params$Resource$Projects$Images$Annotate,
|
|
5674
5695
|
options?: MethodOptions
|
|
5675
|
-
):
|
|
5696
|
+
): Promise<
|
|
5697
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
5698
|
+
>;
|
|
5676
5699
|
annotate(
|
|
5677
5700
|
params: Params$Resource$Projects$Images$Annotate,
|
|
5678
5701
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5707,8 +5730,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5707
5730
|
| BodyResponseCallback<Readable>
|
|
5708
5731
|
):
|
|
5709
5732
|
| void
|
|
5710
|
-
|
|
|
5711
|
-
|
|
5733
|
+
| Promise<
|
|
5734
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
5735
|
+
>
|
|
5736
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5712
5737
|
let params = (paramsOrCallback ||
|
|
5713
5738
|
{}) as Params$Resource$Projects$Images$Annotate;
|
|
5714
5739
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5765,11 +5790,11 @@ export namespace vision_v1p2beta1 {
|
|
|
5765
5790
|
asyncBatchAnnotate(
|
|
5766
5791
|
params: Params$Resource$Projects$Images$Asyncbatchannotate,
|
|
5767
5792
|
options: StreamMethodOptions
|
|
5768
|
-
):
|
|
5793
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5769
5794
|
asyncBatchAnnotate(
|
|
5770
5795
|
params?: Params$Resource$Projects$Images$Asyncbatchannotate,
|
|
5771
5796
|
options?: MethodOptions
|
|
5772
|
-
):
|
|
5797
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5773
5798
|
asyncBatchAnnotate(
|
|
5774
5799
|
params: Params$Resource$Projects$Images$Asyncbatchannotate,
|
|
5775
5800
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5798,7 +5823,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5798
5823
|
callback?:
|
|
5799
5824
|
| BodyResponseCallback<Schema$Operation>
|
|
5800
5825
|
| BodyResponseCallback<Readable>
|
|
5801
|
-
):
|
|
5826
|
+
):
|
|
5827
|
+
| void
|
|
5828
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
5829
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5802
5830
|
let params = (paramsOrCallback ||
|
|
5803
5831
|
{}) as Params$Resource$Projects$Images$Asyncbatchannotate;
|
|
5804
5832
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5895,11 +5923,13 @@ export namespace vision_v1p2beta1 {
|
|
|
5895
5923
|
annotate(
|
|
5896
5924
|
params: Params$Resource$Projects$Locations$Files$Annotate,
|
|
5897
5925
|
options: StreamMethodOptions
|
|
5898
|
-
):
|
|
5926
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5899
5927
|
annotate(
|
|
5900
5928
|
params?: Params$Resource$Projects$Locations$Files$Annotate,
|
|
5901
5929
|
options?: MethodOptions
|
|
5902
|
-
):
|
|
5930
|
+
): Promise<
|
|
5931
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5932
|
+
>;
|
|
5903
5933
|
annotate(
|
|
5904
5934
|
params: Params$Resource$Projects$Locations$Files$Annotate,
|
|
5905
5935
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -5934,8 +5964,10 @@ export namespace vision_v1p2beta1 {
|
|
|
5934
5964
|
| BodyResponseCallback<Readable>
|
|
5935
5965
|
):
|
|
5936
5966
|
| void
|
|
5937
|
-
|
|
|
5938
|
-
|
|
5967
|
+
| Promise<
|
|
5968
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesResponse>
|
|
5969
|
+
>
|
|
5970
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
5939
5971
|
let params = (paramsOrCallback ||
|
|
5940
5972
|
{}) as Params$Resource$Projects$Locations$Files$Annotate;
|
|
5941
5973
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -5992,11 +6024,11 @@ export namespace vision_v1p2beta1 {
|
|
|
5992
6024
|
asyncBatchAnnotate(
|
|
5993
6025
|
params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate,
|
|
5994
6026
|
options: StreamMethodOptions
|
|
5995
|
-
):
|
|
6027
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5996
6028
|
asyncBatchAnnotate(
|
|
5997
6029
|
params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate,
|
|
5998
6030
|
options?: MethodOptions
|
|
5999
|
-
):
|
|
6031
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6000
6032
|
asyncBatchAnnotate(
|
|
6001
6033
|
params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate,
|
|
6002
6034
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6025,7 +6057,10 @@ export namespace vision_v1p2beta1 {
|
|
|
6025
6057
|
callback?:
|
|
6026
6058
|
| BodyResponseCallback<Schema$Operation>
|
|
6027
6059
|
| BodyResponseCallback<Readable>
|
|
6028
|
-
):
|
|
6060
|
+
):
|
|
6061
|
+
| void
|
|
6062
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6063
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6029
6064
|
let params = (paramsOrCallback ||
|
|
6030
6065
|
{}) as Params$Resource$Projects$Locations$Files$Asyncbatchannotate;
|
|
6031
6066
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6112,11 +6147,13 @@ export namespace vision_v1p2beta1 {
|
|
|
6112
6147
|
annotate(
|
|
6113
6148
|
params: Params$Resource$Projects$Locations$Images$Annotate,
|
|
6114
6149
|
options: StreamMethodOptions
|
|
6115
|
-
):
|
|
6150
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6116
6151
|
annotate(
|
|
6117
6152
|
params?: Params$Resource$Projects$Locations$Images$Annotate,
|
|
6118
6153
|
options?: MethodOptions
|
|
6119
|
-
):
|
|
6154
|
+
): Promise<
|
|
6155
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
6156
|
+
>;
|
|
6120
6157
|
annotate(
|
|
6121
6158
|
params: Params$Resource$Projects$Locations$Images$Annotate,
|
|
6122
6159
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6151,8 +6188,10 @@ export namespace vision_v1p2beta1 {
|
|
|
6151
6188
|
| BodyResponseCallback<Readable>
|
|
6152
6189
|
):
|
|
6153
6190
|
| void
|
|
6154
|
-
|
|
|
6155
|
-
|
|
6191
|
+
| Promise<
|
|
6192
|
+
GaxiosResponseWithHTTP2<Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesResponse>
|
|
6193
|
+
>
|
|
6194
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6156
6195
|
let params = (paramsOrCallback ||
|
|
6157
6196
|
{}) as Params$Resource$Projects$Locations$Images$Annotate;
|
|
6158
6197
|
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
@@ -6209,11 +6248,11 @@ export namespace vision_v1p2beta1 {
|
|
|
6209
6248
|
asyncBatchAnnotate(
|
|
6210
6249
|
params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate,
|
|
6211
6250
|
options: StreamMethodOptions
|
|
6212
|
-
):
|
|
6251
|
+
): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6213
6252
|
asyncBatchAnnotate(
|
|
6214
6253
|
params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate,
|
|
6215
6254
|
options?: MethodOptions
|
|
6216
|
-
):
|
|
6255
|
+
): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6217
6256
|
asyncBatchAnnotate(
|
|
6218
6257
|
params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate,
|
|
6219
6258
|
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
@@ -6242,7 +6281,10 @@ export namespace vision_v1p2beta1 {
|
|
|
6242
6281
|
callback?:
|
|
6243
6282
|
| BodyResponseCallback<Schema$Operation>
|
|
6244
6283
|
| BodyResponseCallback<Readable>
|
|
6245
|
-
):
|
|
6284
|
+
):
|
|
6285
|
+
| void
|
|
6286
|
+
| Promise<GaxiosResponseWithHTTP2<Schema$Operation>>
|
|
6287
|
+
| Promise<GaxiosResponseWithHTTP2<Readable>> {
|
|
6246
6288
|
let params = (paramsOrCallback ||
|
|
6247
6289
|
{}) as Params$Resource$Projects$Locations$Images$Asyncbatchannotate;
|
|
6248
6290
|
let options = (optionsOrCallback || {}) as MethodOptions;
|