@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.0.1](https://github.com/googleapis/google-api-nodejs-client/compare/vision-v2.0.0...vision-v2.0.1) (2025-06-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **deps:** upgrade googleapis-common to 8.0.2-rc ([f4b0990](https://github.com/googleapis/google-api-nodejs-client/commit/f4b099071040cfbcfe4a2e7d487d45ee93b369e0))
|
|
9
|
+
|
|
10
|
+
## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/vision-v1.5.4...vision-v2.0.0) (2025-05-29)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* upgrade to node 18
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* upgrade to node 18 ([682fbb8](https://github.com/googleapis/google-api-nodejs-client/commit/682fbb869189ae92b3e9a194d37d0548af0c1f92))
|
|
20
|
+
|
|
21
|
+
## [1.5.4](https://github.com/googleapis/google-api-nodejs-client/compare/vision-v1.5.3...vision-v1.5.4) (2025-02-04)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
* **vision:** update the API ([939d2da](https://github.com/googleapis/google-api-nodejs-client/commit/939d2da8976d597364be217a4cf2db2a812308ff))
|
|
27
|
+
* **vision:** update the API ([374ced4](https://github.com/googleapis/google-api-nodejs-client/commit/374ced45ff5bd565ba7c35dc3489b4f5fc58cfc8))
|
|
28
|
+
|
|
29
|
+
## [1.5.3](https://github.com/googleapis/google-api-nodejs-client/compare/vision-v1.5.2...vision-v1.5.3) (2024-10-30)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **vision:** update the API ([374ced4](https://github.com/googleapis/google-api-nodejs-client/commit/374ced45ff5bd565ba7c35dc3489b4f5fc58cfc8))
|
|
35
|
+
|
|
3
36
|
## [1.5.2](https://github.com/googleapis/google-api-nodejs-client/compare/vision-v1.5.1...vision-v1.5.2) (2024-05-02)
|
|
4
37
|
|
|
5
38
|
|
package/build/index.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ export { auth };
|
|
|
19
19
|
export { vision_v1 };
|
|
20
20
|
export { vision_v1p1beta1 };
|
|
21
21
|
export { vision_v1p2beta1 };
|
|
22
|
-
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions,
|
|
22
|
+
export { AuthPlus, GlobalOptions, APIRequestContext, GoogleConfigurable, StreamMethodOptions, MethodOptions, BodyResponseCallback, } from 'googleapis-common';
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA+B;AAqCvB,0FArCA,cAAS,OAqCA;AApCjB,2CAA6C;AAqCrC,iGArCA,4BAAgB,OAqCA;AApCxB,2CAA6C;AAqCrC,iGArCA,4BAAgB,OAqCA;AAnCX,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,cAAS,CAAC,MAAM;IACpB,SAAS,EAAE,4BAAgB,CAAC,MAAM;IAClC,SAAS,EAAE,4BAAgB,CAAC,MAAM;CACnC,CAAC;AAYF,SAAgB,MAAM,CAIpB,gBAM4B;IAE5B,OAAO,IAAA,0BAAM,EAAI,QAAQ,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC/D,CAAC;AAbD,wBAaC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAIZ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAA+B;AAqCvB,0FArCA,cAAS,OAqCA;AApCjB,2CAA6C;AAqCrC,iGArCA,4BAAgB,OAqCA;AApCxB,2CAA6C;AAqCrC,iGArCA,4BAAgB,OAqCA;AAnCX,QAAA,QAAQ,GAAG;IACtB,EAAE,EAAE,cAAS,CAAC,MAAM;IACpB,SAAS,EAAE,4BAAgB,CAAC,MAAM;IAClC,SAAS,EAAE,4BAAgB,CAAC,MAAM;CACnC,CAAC;AAYF,SAAgB,MAAM,CAIpB,gBAM4B;IAE5B,OAAO,IAAA,0BAAM,EAAI,QAAQ,EAAE,gBAAgB,EAAE,gBAAQ,EAAE,IAAI,CAAC,CAAC;AAC/D,CAAC;AAbD,wBAaC;AAED,MAAM,IAAI,GAAG,IAAI,4BAAQ,EAAE,CAAC;AACpB,oBAAI;AAIZ,uDAQ2B;AAPzB,6GAAA,QAAQ,OAAA"}
|
package/build/v1.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient,
|
|
2
|
+
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
3
|
import { Readable } from 'stream';
|
|
4
4
|
export declare namespace vision_v1 {
|
|
5
5
|
export interface Options extends GlobalOptions {
|
|
@@ -961,7 +961,7 @@ export declare namespace vision_v1 {
|
|
|
961
961
|
underExposedLikelihood?: string | null;
|
|
962
962
|
}
|
|
963
963
|
/**
|
|
964
|
-
* A face-specific landmark (for example, a face feature).
|
|
964
|
+
* 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`.
|
|
965
965
|
*/
|
|
966
966
|
export interface Schema$GoogleCloudVisionV1p1beta1FaceAnnotationLandmark {
|
|
967
967
|
/**
|
|
@@ -1823,7 +1823,7 @@ export declare namespace vision_v1 {
|
|
|
1823
1823
|
underExposedLikelihood?: string | null;
|
|
1824
1824
|
}
|
|
1825
1825
|
/**
|
|
1826
|
-
* A face-specific landmark (for example, a face feature).
|
|
1826
|
+
* 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`.
|
|
1827
1827
|
*/
|
|
1828
1828
|
export interface Schema$GoogleCloudVisionV1p2beta1FaceAnnotationLandmark {
|
|
1829
1829
|
/**
|
|
@@ -2702,7 +2702,7 @@ export declare namespace vision_v1 {
|
|
|
2702
2702
|
underExposedLikelihood?: string | null;
|
|
2703
2703
|
}
|
|
2704
2704
|
/**
|
|
2705
|
-
* A face-specific landmark (for example, a face feature).
|
|
2705
|
+
* 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`.
|
|
2706
2706
|
*/
|
|
2707
2707
|
export interface Schema$GoogleCloudVisionV1p3beta1FaceAnnotationLandmark {
|
|
2708
2708
|
/**
|
|
@@ -3650,7 +3650,7 @@ export declare namespace vision_v1 {
|
|
|
3650
3650
|
underExposedLikelihood?: string | null;
|
|
3651
3651
|
}
|
|
3652
3652
|
/**
|
|
3653
|
-
* A face-specific landmark (for example, a face feature).
|
|
3653
|
+
* 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`.
|
|
3654
3654
|
*/
|
|
3655
3655
|
export interface Schema$GoogleCloudVisionV1p4beta1FaceAnnotationLandmark {
|
|
3656
3656
|
/**
|
|
@@ -4423,7 +4423,7 @@ export declare namespace vision_v1 {
|
|
|
4423
4423
|
value?: string | null;
|
|
4424
4424
|
}
|
|
4425
4425
|
/**
|
|
4426
|
-
* A face-specific landmark (for example, a face feature).
|
|
4426
|
+
* 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`.
|
|
4427
4427
|
*/
|
|
4428
4428
|
export interface Schema$Landmark {
|
|
4429
4429
|
/**
|
|
@@ -5145,8 +5145,8 @@ export declare namespace vision_v1 {
|
|
|
5145
5145
|
* @param callback - Optional callback that handles the response.
|
|
5146
5146
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5147
5147
|
*/
|
|
5148
|
-
annotate(params: Params$Resource$Files$Annotate, options: StreamMethodOptions):
|
|
5149
|
-
annotate(params?: Params$Resource$Files$Annotate, options?: MethodOptions):
|
|
5148
|
+
annotate(params: Params$Resource$Files$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5149
|
+
annotate(params?: Params$Resource$Files$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateFilesResponse>>;
|
|
5150
5150
|
annotate(params: Params$Resource$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5151
5151
|
annotate(params: Params$Resource$Files$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
5152
5152
|
annotate(params: Params$Resource$Files$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
@@ -5159,8 +5159,8 @@ export declare namespace vision_v1 {
|
|
|
5159
5159
|
* @param callback - Optional callback that handles the response.
|
|
5160
5160
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5161
5161
|
*/
|
|
5162
|
-
asyncBatchAnnotate(params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5163
|
-
asyncBatchAnnotate(params?: Params$Resource$Files$Asyncbatchannotate, options?: MethodOptions):
|
|
5162
|
+
asyncBatchAnnotate(params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5163
|
+
asyncBatchAnnotate(params?: Params$Resource$Files$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5164
5164
|
asyncBatchAnnotate(params: Params$Resource$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5165
5165
|
asyncBatchAnnotate(params: Params$Resource$Files$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5166
5166
|
asyncBatchAnnotate(params: Params$Resource$Files$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5189,8 +5189,8 @@ export declare namespace vision_v1 {
|
|
|
5189
5189
|
* @param callback - Optional callback that handles the response.
|
|
5190
5190
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5191
5191
|
*/
|
|
5192
|
-
annotate(params: Params$Resource$Images$Annotate, options: StreamMethodOptions):
|
|
5193
|
-
annotate(params?: Params$Resource$Images$Annotate, options?: MethodOptions):
|
|
5192
|
+
annotate(params: Params$Resource$Images$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5193
|
+
annotate(params?: Params$Resource$Images$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateImagesResponse>>;
|
|
5194
5194
|
annotate(params: Params$Resource$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5195
5195
|
annotate(params: Params$Resource$Images$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateImagesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
5196
5196
|
annotate(params: Params$Resource$Images$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
@@ -5203,8 +5203,8 @@ export declare namespace vision_v1 {
|
|
|
5203
5203
|
* @param callback - Optional callback that handles the response.
|
|
5204
5204
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5205
5205
|
*/
|
|
5206
|
-
asyncBatchAnnotate(params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5207
|
-
asyncBatchAnnotate(params?: Params$Resource$Images$Asyncbatchannotate, options?: MethodOptions):
|
|
5206
|
+
asyncBatchAnnotate(params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5207
|
+
asyncBatchAnnotate(params?: Params$Resource$Images$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5208
5208
|
asyncBatchAnnotate(params: Params$Resource$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5209
5209
|
asyncBatchAnnotate(params: Params$Resource$Images$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5210
5210
|
asyncBatchAnnotate(params: Params$Resource$Images$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5238,8 +5238,8 @@ export declare namespace vision_v1 {
|
|
|
5238
5238
|
* @param callback - Optional callback that handles the response.
|
|
5239
5239
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5240
5240
|
*/
|
|
5241
|
-
get(params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions):
|
|
5242
|
-
get(params?: Params$Resource$Locations$Operations$Get, options?: MethodOptions):
|
|
5241
|
+
get(params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5242
|
+
get(params?: Params$Resource$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5243
5243
|
get(params: Params$Resource$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5244
5244
|
get(params: Params$Resource$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5245
5245
|
get(params: Params$Resource$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5255,15 +5255,15 @@ export declare namespace vision_v1 {
|
|
|
5255
5255
|
context: APIRequestContext;
|
|
5256
5256
|
constructor(context: APIRequestContext);
|
|
5257
5257
|
/**
|
|
5258
|
-
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1
|
|
5258
|
+
* Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
|
|
5259
5259
|
*
|
|
5260
5260
|
* @param params - Parameters for request
|
|
5261
5261
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5262
5262
|
* @param callback - Optional callback that handles the response.
|
|
5263
5263
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5264
5264
|
*/
|
|
5265
|
-
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions):
|
|
5266
|
-
cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions):
|
|
5265
|
+
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5266
|
+
cancel(params?: Params$Resource$Operations$Cancel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5267
5267
|
cancel(params: Params$Resource$Operations$Cancel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5268
5268
|
cancel(params: Params$Resource$Operations$Cancel, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5269
5269
|
cancel(params: Params$Resource$Operations$Cancel, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5276,8 +5276,8 @@ export declare namespace vision_v1 {
|
|
|
5276
5276
|
* @param callback - Optional callback that handles the response.
|
|
5277
5277
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5278
5278
|
*/
|
|
5279
|
-
delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions):
|
|
5280
|
-
delete(params?: Params$Resource$Operations$Delete, options?: MethodOptions):
|
|
5279
|
+
delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5280
|
+
delete(params?: Params$Resource$Operations$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5281
5281
|
delete(params: Params$Resource$Operations$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5282
5282
|
delete(params: Params$Resource$Operations$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5283
5283
|
delete(params: Params$Resource$Operations$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5290,8 +5290,8 @@ export declare namespace vision_v1 {
|
|
|
5290
5290
|
* @param callback - Optional callback that handles the response.
|
|
5291
5291
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5292
5292
|
*/
|
|
5293
|
-
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions):
|
|
5294
|
-
get(params?: Params$Resource$Operations$Get, options?: MethodOptions):
|
|
5293
|
+
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5294
|
+
get(params?: Params$Resource$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5295
5295
|
get(params: Params$Resource$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5296
5296
|
get(params: Params$Resource$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5297
5297
|
get(params: Params$Resource$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5304,8 +5304,8 @@ export declare namespace vision_v1 {
|
|
|
5304
5304
|
* @param callback - Optional callback that handles the response.
|
|
5305
5305
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5306
5306
|
*/
|
|
5307
|
-
list(params: Params$Resource$Operations$List, options: StreamMethodOptions):
|
|
5308
|
-
list(params?: Params$Resource$Operations$List, options?: MethodOptions):
|
|
5307
|
+
list(params: Params$Resource$Operations$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5308
|
+
list(params?: Params$Resource$Operations$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListOperationsResponse>>;
|
|
5309
5309
|
list(params: Params$Resource$Operations$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5310
5310
|
list(params: Params$Resource$Operations$List, options: MethodOptions | BodyResponseCallback<Schema$ListOperationsResponse>, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
5311
5311
|
list(params: Params$Resource$Operations$List, callback: BodyResponseCallback<Schema$ListOperationsResponse>): void;
|
|
@@ -5370,8 +5370,8 @@ export declare namespace vision_v1 {
|
|
|
5370
5370
|
* @param callback - Optional callback that handles the response.
|
|
5371
5371
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5372
5372
|
*/
|
|
5373
|
-
annotate(params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions):
|
|
5374
|
-
annotate(params?: Params$Resource$Projects$Files$Annotate, options?: MethodOptions):
|
|
5373
|
+
annotate(params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5374
|
+
annotate(params?: Params$Resource$Projects$Files$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateFilesResponse>>;
|
|
5375
5375
|
annotate(params: Params$Resource$Projects$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5376
5376
|
annotate(params: Params$Resource$Projects$Files$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
5377
5377
|
annotate(params: Params$Resource$Projects$Files$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
@@ -5384,8 +5384,8 @@ export declare namespace vision_v1 {
|
|
|
5384
5384
|
* @param callback - Optional callback that handles the response.
|
|
5385
5385
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5386
5386
|
*/
|
|
5387
|
-
asyncBatchAnnotate(params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5388
|
-
asyncBatchAnnotate(params?: Params$Resource$Projects$Files$Asyncbatchannotate, options?: MethodOptions):
|
|
5387
|
+
asyncBatchAnnotate(params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5388
|
+
asyncBatchAnnotate(params?: Params$Resource$Projects$Files$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5389
5389
|
asyncBatchAnnotate(params: Params$Resource$Projects$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5390
5390
|
asyncBatchAnnotate(params: Params$Resource$Projects$Files$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5391
5391
|
asyncBatchAnnotate(params: Params$Resource$Projects$Files$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5422,8 +5422,8 @@ export declare namespace vision_v1 {
|
|
|
5422
5422
|
* @param callback - Optional callback that handles the response.
|
|
5423
5423
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5424
5424
|
*/
|
|
5425
|
-
annotate(params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions):
|
|
5426
|
-
annotate(params?: Params$Resource$Projects$Images$Annotate, options?: MethodOptions):
|
|
5425
|
+
annotate(params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5426
|
+
annotate(params?: Params$Resource$Projects$Images$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateImagesResponse>>;
|
|
5427
5427
|
annotate(params: Params$Resource$Projects$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5428
5428
|
annotate(params: Params$Resource$Projects$Images$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateImagesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
5429
5429
|
annotate(params: Params$Resource$Projects$Images$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
@@ -5436,8 +5436,8 @@ export declare namespace vision_v1 {
|
|
|
5436
5436
|
* @param callback - Optional callback that handles the response.
|
|
5437
5437
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5438
5438
|
*/
|
|
5439
|
-
asyncBatchAnnotate(params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5440
|
-
asyncBatchAnnotate(params?: Params$Resource$Projects$Images$Asyncbatchannotate, options?: MethodOptions):
|
|
5439
|
+
asyncBatchAnnotate(params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5440
|
+
asyncBatchAnnotate(params?: Params$Resource$Projects$Images$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5441
5441
|
asyncBatchAnnotate(params: Params$Resource$Projects$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5442
5442
|
asyncBatchAnnotate(params: Params$Resource$Projects$Images$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5443
5443
|
asyncBatchAnnotate(params: Params$Resource$Projects$Images$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5483,8 +5483,8 @@ export declare namespace vision_v1 {
|
|
|
5483
5483
|
* @param callback - Optional callback that handles the response.
|
|
5484
5484
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5485
5485
|
*/
|
|
5486
|
-
annotate(params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions):
|
|
5487
|
-
annotate(params?: Params$Resource$Projects$Locations$Files$Annotate, options?: MethodOptions):
|
|
5486
|
+
annotate(params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5487
|
+
annotate(params?: Params$Resource$Projects$Locations$Files$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateFilesResponse>>;
|
|
5488
5488
|
annotate(params: Params$Resource$Projects$Locations$Files$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5489
5489
|
annotate(params: Params$Resource$Projects$Locations$Files$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateFilesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
5490
5490
|
annotate(params: Params$Resource$Projects$Locations$Files$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateFilesResponse>): void;
|
|
@@ -5497,8 +5497,8 @@ export declare namespace vision_v1 {
|
|
|
5497
5497
|
* @param callback - Optional callback that handles the response.
|
|
5498
5498
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5499
5499
|
*/
|
|
5500
|
-
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5501
|
-
asyncBatchAnnotate(params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options?: MethodOptions):
|
|
5500
|
+
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5501
|
+
asyncBatchAnnotate(params?: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5502
5502
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5503
5503
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5504
5504
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Files$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5535,8 +5535,8 @@ export declare namespace vision_v1 {
|
|
|
5535
5535
|
* @param callback - Optional callback that handles the response.
|
|
5536
5536
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5537
5537
|
*/
|
|
5538
|
-
annotate(params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions):
|
|
5539
|
-
annotate(params?: Params$Resource$Projects$Locations$Images$Annotate, options?: MethodOptions):
|
|
5538
|
+
annotate(params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5539
|
+
annotate(params?: Params$Resource$Projects$Locations$Images$Annotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$BatchAnnotateImagesResponse>>;
|
|
5540
5540
|
annotate(params: Params$Resource$Projects$Locations$Images$Annotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5541
5541
|
annotate(params: Params$Resource$Projects$Locations$Images$Annotate, options: MethodOptions | BodyResponseCallback<Schema$BatchAnnotateImagesResponse>, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
5542
5542
|
annotate(params: Params$Resource$Projects$Locations$Images$Annotate, callback: BodyResponseCallback<Schema$BatchAnnotateImagesResponse>): void;
|
|
@@ -5549,8 +5549,8 @@ export declare namespace vision_v1 {
|
|
|
5549
5549
|
* @param callback - Optional callback that handles the response.
|
|
5550
5550
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5551
5551
|
*/
|
|
5552
|
-
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions):
|
|
5553
|
-
asyncBatchAnnotate(params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options?: MethodOptions):
|
|
5552
|
+
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5553
|
+
asyncBatchAnnotate(params?: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5554
5554
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5555
5555
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5556
5556
|
asyncBatchAnnotate(params: Params$Resource$Projects$Locations$Images$Asyncbatchannotate, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5587,8 +5587,8 @@ export declare namespace vision_v1 {
|
|
|
5587
5587
|
* @param callback - Optional callback that handles the response.
|
|
5588
5588
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5589
5589
|
*/
|
|
5590
|
-
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions):
|
|
5591
|
-
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions):
|
|
5590
|
+
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5591
|
+
get(params?: Params$Resource$Projects$Locations$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5592
5592
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5593
5593
|
get(params: Params$Resource$Projects$Locations$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5594
5594
|
get(params: Params$Resource$Projects$Locations$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5612,8 +5612,8 @@ export declare namespace vision_v1 {
|
|
|
5612
5612
|
* @param callback - Optional callback that handles the response.
|
|
5613
5613
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5614
5614
|
*/
|
|
5615
|
-
create(params: Params$Resource$Projects$Locations$Products$Create, options: StreamMethodOptions):
|
|
5616
|
-
create(params?: Params$Resource$Projects$Locations$Products$Create, options?: MethodOptions):
|
|
5615
|
+
create(params: Params$Resource$Projects$Locations$Products$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5616
|
+
create(params?: Params$Resource$Projects$Locations$Products$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Product>>;
|
|
5617
5617
|
create(params: Params$Resource$Projects$Locations$Products$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5618
5618
|
create(params: Params$Resource$Projects$Locations$Products$Create, options: MethodOptions | BodyResponseCallback<Schema$Product>, callback: BodyResponseCallback<Schema$Product>): void;
|
|
5619
5619
|
create(params: Params$Resource$Projects$Locations$Products$Create, callback: BodyResponseCallback<Schema$Product>): void;
|
|
@@ -5626,8 +5626,8 @@ export declare namespace vision_v1 {
|
|
|
5626
5626
|
* @param callback - Optional callback that handles the response.
|
|
5627
5627
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5628
5628
|
*/
|
|
5629
|
-
delete(params: Params$Resource$Projects$Locations$Products$Delete, options: StreamMethodOptions):
|
|
5630
|
-
delete(params?: Params$Resource$Projects$Locations$Products$Delete, options?: MethodOptions):
|
|
5629
|
+
delete(params: Params$Resource$Projects$Locations$Products$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5630
|
+
delete(params?: Params$Resource$Projects$Locations$Products$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5631
5631
|
delete(params: Params$Resource$Projects$Locations$Products$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5632
5632
|
delete(params: Params$Resource$Projects$Locations$Products$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5633
5633
|
delete(params: Params$Resource$Projects$Locations$Products$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5640,8 +5640,8 @@ export declare namespace vision_v1 {
|
|
|
5640
5640
|
* @param callback - Optional callback that handles the response.
|
|
5641
5641
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5642
5642
|
*/
|
|
5643
|
-
get(params: Params$Resource$Projects$Locations$Products$Get, options: StreamMethodOptions):
|
|
5644
|
-
get(params?: Params$Resource$Projects$Locations$Products$Get, options?: MethodOptions):
|
|
5643
|
+
get(params: Params$Resource$Projects$Locations$Products$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5644
|
+
get(params?: Params$Resource$Projects$Locations$Products$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Product>>;
|
|
5645
5645
|
get(params: Params$Resource$Projects$Locations$Products$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5646
5646
|
get(params: Params$Resource$Projects$Locations$Products$Get, options: MethodOptions | BodyResponseCallback<Schema$Product>, callback: BodyResponseCallback<Schema$Product>): void;
|
|
5647
5647
|
get(params: Params$Resource$Projects$Locations$Products$Get, callback: BodyResponseCallback<Schema$Product>): void;
|
|
@@ -5654,8 +5654,8 @@ export declare namespace vision_v1 {
|
|
|
5654
5654
|
* @param callback - Optional callback that handles the response.
|
|
5655
5655
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5656
5656
|
*/
|
|
5657
|
-
list(params: Params$Resource$Projects$Locations$Products$List, options: StreamMethodOptions):
|
|
5658
|
-
list(params?: Params$Resource$Projects$Locations$Products$List, options?: MethodOptions):
|
|
5657
|
+
list(params: Params$Resource$Projects$Locations$Products$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5658
|
+
list(params?: Params$Resource$Projects$Locations$Products$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProductsResponse>>;
|
|
5659
5659
|
list(params: Params$Resource$Projects$Locations$Products$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5660
5660
|
list(params: Params$Resource$Projects$Locations$Products$List, options: MethodOptions | BodyResponseCallback<Schema$ListProductsResponse>, callback: BodyResponseCallback<Schema$ListProductsResponse>): void;
|
|
5661
5661
|
list(params: Params$Resource$Projects$Locations$Products$List, callback: BodyResponseCallback<Schema$ListProductsResponse>): void;
|
|
@@ -5668,8 +5668,8 @@ export declare namespace vision_v1 {
|
|
|
5668
5668
|
* @param callback - Optional callback that handles the response.
|
|
5669
5669
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5670
5670
|
*/
|
|
5671
|
-
patch(params: Params$Resource$Projects$Locations$Products$Patch, options: StreamMethodOptions):
|
|
5672
|
-
patch(params?: Params$Resource$Projects$Locations$Products$Patch, options?: MethodOptions):
|
|
5671
|
+
patch(params: Params$Resource$Projects$Locations$Products$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5672
|
+
patch(params?: Params$Resource$Projects$Locations$Products$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Product>>;
|
|
5673
5673
|
patch(params: Params$Resource$Projects$Locations$Products$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5674
5674
|
patch(params: Params$Resource$Projects$Locations$Products$Patch, options: MethodOptions | BodyResponseCallback<Schema$Product>, callback: BodyResponseCallback<Schema$Product>): void;
|
|
5675
5675
|
patch(params: Params$Resource$Projects$Locations$Products$Patch, callback: BodyResponseCallback<Schema$Product>): void;
|
|
@@ -5682,8 +5682,8 @@ export declare namespace vision_v1 {
|
|
|
5682
5682
|
* @param callback - Optional callback that handles the response.
|
|
5683
5683
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5684
5684
|
*/
|
|
5685
|
-
purge(params: Params$Resource$Projects$Locations$Products$Purge, options: StreamMethodOptions):
|
|
5686
|
-
purge(params?: Params$Resource$Projects$Locations$Products$Purge, options?: MethodOptions):
|
|
5685
|
+
purge(params: Params$Resource$Projects$Locations$Products$Purge, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5686
|
+
purge(params?: Params$Resource$Projects$Locations$Products$Purge, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5687
5687
|
purge(params: Params$Resource$Projects$Locations$Products$Purge, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5688
5688
|
purge(params: Params$Resource$Projects$Locations$Products$Purge, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5689
5689
|
purge(params: Params$Resource$Projects$Locations$Products$Purge, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5764,8 +5764,8 @@ export declare namespace vision_v1 {
|
|
|
5764
5764
|
* @param callback - Optional callback that handles the response.
|
|
5765
5765
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5766
5766
|
*/
|
|
5767
|
-
create(params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: StreamMethodOptions):
|
|
5768
|
-
create(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options?: MethodOptions):
|
|
5767
|
+
create(params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5768
|
+
create(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ReferenceImage>>;
|
|
5769
5769
|
create(params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5770
5770
|
create(params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, options: MethodOptions | BodyResponseCallback<Schema$ReferenceImage>, callback: BodyResponseCallback<Schema$ReferenceImage>): void;
|
|
5771
5771
|
create(params: Params$Resource$Projects$Locations$Products$Referenceimages$Create, callback: BodyResponseCallback<Schema$ReferenceImage>): void;
|
|
@@ -5778,8 +5778,8 @@ export declare namespace vision_v1 {
|
|
|
5778
5778
|
* @param callback - Optional callback that handles the response.
|
|
5779
5779
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5780
5780
|
*/
|
|
5781
|
-
delete(params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: StreamMethodOptions):
|
|
5782
|
-
delete(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options?: MethodOptions):
|
|
5781
|
+
delete(params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5782
|
+
delete(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5783
5783
|
delete(params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5784
5784
|
delete(params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5785
5785
|
delete(params: Params$Resource$Projects$Locations$Products$Referenceimages$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5792,8 +5792,8 @@ export declare namespace vision_v1 {
|
|
|
5792
5792
|
* @param callback - Optional callback that handles the response.
|
|
5793
5793
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5794
5794
|
*/
|
|
5795
|
-
get(params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: StreamMethodOptions):
|
|
5796
|
-
get(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options?: MethodOptions):
|
|
5795
|
+
get(params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5796
|
+
get(params?: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ReferenceImage>>;
|
|
5797
5797
|
get(params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5798
5798
|
get(params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, options: MethodOptions | BodyResponseCallback<Schema$ReferenceImage>, callback: BodyResponseCallback<Schema$ReferenceImage>): void;
|
|
5799
5799
|
get(params: Params$Resource$Projects$Locations$Products$Referenceimages$Get, callback: BodyResponseCallback<Schema$ReferenceImage>): void;
|
|
@@ -5806,8 +5806,8 @@ export declare namespace vision_v1 {
|
|
|
5806
5806
|
* @param callback - Optional callback that handles the response.
|
|
5807
5807
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5808
5808
|
*/
|
|
5809
|
-
list(params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: StreamMethodOptions):
|
|
5810
|
-
list(params?: Params$Resource$Projects$Locations$Products$Referenceimages$List, options?: MethodOptions):
|
|
5809
|
+
list(params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5810
|
+
list(params?: Params$Resource$Projects$Locations$Products$Referenceimages$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListReferenceImagesResponse>>;
|
|
5811
5811
|
list(params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5812
5812
|
list(params: Params$Resource$Projects$Locations$Products$Referenceimages$List, options: MethodOptions | BodyResponseCallback<Schema$ListReferenceImagesResponse>, callback: BodyResponseCallback<Schema$ListReferenceImagesResponse>): void;
|
|
5813
5813
|
list(params: Params$Resource$Projects$Locations$Products$Referenceimages$List, callback: BodyResponseCallback<Schema$ListReferenceImagesResponse>): void;
|
|
@@ -5865,8 +5865,8 @@ export declare namespace vision_v1 {
|
|
|
5865
5865
|
* @param callback - Optional callback that handles the response.
|
|
5866
5866
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5867
5867
|
*/
|
|
5868
|
-
addProduct(params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: StreamMethodOptions):
|
|
5869
|
-
addProduct(params?: Params$Resource$Projects$Locations$Productsets$Addproduct, options?: MethodOptions):
|
|
5868
|
+
addProduct(params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5869
|
+
addProduct(params?: Params$Resource$Projects$Locations$Productsets$Addproduct, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5870
5870
|
addProduct(params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5871
5871
|
addProduct(params: Params$Resource$Projects$Locations$Productsets$Addproduct, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5872
5872
|
addProduct(params: Params$Resource$Projects$Locations$Productsets$Addproduct, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5879,8 +5879,8 @@ export declare namespace vision_v1 {
|
|
|
5879
5879
|
* @param callback - Optional callback that handles the response.
|
|
5880
5880
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5881
5881
|
*/
|
|
5882
|
-
create(params: Params$Resource$Projects$Locations$Productsets$Create, options: StreamMethodOptions):
|
|
5883
|
-
create(params?: Params$Resource$Projects$Locations$Productsets$Create, options?: MethodOptions):
|
|
5882
|
+
create(params: Params$Resource$Projects$Locations$Productsets$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5883
|
+
create(params?: Params$Resource$Projects$Locations$Productsets$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>;
|
|
5884
5884
|
create(params: Params$Resource$Projects$Locations$Productsets$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5885
5885
|
create(params: Params$Resource$Projects$Locations$Productsets$Create, options: MethodOptions | BodyResponseCallback<Schema$ProductSet>, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
5886
5886
|
create(params: Params$Resource$Projects$Locations$Productsets$Create, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
@@ -5893,8 +5893,8 @@ export declare namespace vision_v1 {
|
|
|
5893
5893
|
* @param callback - Optional callback that handles the response.
|
|
5894
5894
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5895
5895
|
*/
|
|
5896
|
-
delete(params: Params$Resource$Projects$Locations$Productsets$Delete, options: StreamMethodOptions):
|
|
5897
|
-
delete(params?: Params$Resource$Projects$Locations$Productsets$Delete, options?: MethodOptions):
|
|
5896
|
+
delete(params: Params$Resource$Projects$Locations$Productsets$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5897
|
+
delete(params?: Params$Resource$Projects$Locations$Productsets$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5898
5898
|
delete(params: Params$Resource$Projects$Locations$Productsets$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5899
5899
|
delete(params: Params$Resource$Projects$Locations$Productsets$Delete, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5900
5900
|
delete(params: Params$Resource$Projects$Locations$Productsets$Delete, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -5907,8 +5907,8 @@ export declare namespace vision_v1 {
|
|
|
5907
5907
|
* @param callback - Optional callback that handles the response.
|
|
5908
5908
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5909
5909
|
*/
|
|
5910
|
-
get(params: Params$Resource$Projects$Locations$Productsets$Get, options: StreamMethodOptions):
|
|
5911
|
-
get(params?: Params$Resource$Projects$Locations$Productsets$Get, options?: MethodOptions):
|
|
5910
|
+
get(params: Params$Resource$Projects$Locations$Productsets$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5911
|
+
get(params?: Params$Resource$Projects$Locations$Productsets$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>;
|
|
5912
5912
|
get(params: Params$Resource$Projects$Locations$Productsets$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5913
5913
|
get(params: Params$Resource$Projects$Locations$Productsets$Get, options: MethodOptions | BodyResponseCallback<Schema$ProductSet>, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
5914
5914
|
get(params: Params$Resource$Projects$Locations$Productsets$Get, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
@@ -5921,8 +5921,8 @@ export declare namespace vision_v1 {
|
|
|
5921
5921
|
* @param callback - Optional callback that handles the response.
|
|
5922
5922
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5923
5923
|
*/
|
|
5924
|
-
import(params: Params$Resource$Projects$Locations$Productsets$Import, options: StreamMethodOptions):
|
|
5925
|
-
import(params?: Params$Resource$Projects$Locations$Productsets$Import, options?: MethodOptions):
|
|
5924
|
+
import(params: Params$Resource$Projects$Locations$Productsets$Import, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5925
|
+
import(params?: Params$Resource$Projects$Locations$Productsets$Import, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
5926
5926
|
import(params: Params$Resource$Projects$Locations$Productsets$Import, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5927
5927
|
import(params: Params$Resource$Projects$Locations$Productsets$Import, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
5928
5928
|
import(params: Params$Resource$Projects$Locations$Productsets$Import, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
@@ -5935,8 +5935,8 @@ export declare namespace vision_v1 {
|
|
|
5935
5935
|
* @param callback - Optional callback that handles the response.
|
|
5936
5936
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5937
5937
|
*/
|
|
5938
|
-
list(params: Params$Resource$Projects$Locations$Productsets$List, options: StreamMethodOptions):
|
|
5939
|
-
list(params?: Params$Resource$Projects$Locations$Productsets$List, options?: MethodOptions):
|
|
5938
|
+
list(params: Params$Resource$Projects$Locations$Productsets$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5939
|
+
list(params?: Params$Resource$Projects$Locations$Productsets$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProductSetsResponse>>;
|
|
5940
5940
|
list(params: Params$Resource$Projects$Locations$Productsets$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5941
5941
|
list(params: Params$Resource$Projects$Locations$Productsets$List, options: MethodOptions | BodyResponseCallback<Schema$ListProductSetsResponse>, callback: BodyResponseCallback<Schema$ListProductSetsResponse>): void;
|
|
5942
5942
|
list(params: Params$Resource$Projects$Locations$Productsets$List, callback: BodyResponseCallback<Schema$ListProductSetsResponse>): void;
|
|
@@ -5949,8 +5949,8 @@ export declare namespace vision_v1 {
|
|
|
5949
5949
|
* @param callback - Optional callback that handles the response.
|
|
5950
5950
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5951
5951
|
*/
|
|
5952
|
-
patch(params: Params$Resource$Projects$Locations$Productsets$Patch, options: StreamMethodOptions):
|
|
5953
|
-
patch(params?: Params$Resource$Projects$Locations$Productsets$Patch, options?: MethodOptions):
|
|
5952
|
+
patch(params: Params$Resource$Projects$Locations$Productsets$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5953
|
+
patch(params?: Params$Resource$Projects$Locations$Productsets$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ProductSet>>;
|
|
5954
5954
|
patch(params: Params$Resource$Projects$Locations$Productsets$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5955
5955
|
patch(params: Params$Resource$Projects$Locations$Productsets$Patch, options: MethodOptions | BodyResponseCallback<Schema$ProductSet>, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
5956
5956
|
patch(params: Params$Resource$Projects$Locations$Productsets$Patch, callback: BodyResponseCallback<Schema$ProductSet>): void;
|
|
@@ -5963,8 +5963,8 @@ export declare namespace vision_v1 {
|
|
|
5963
5963
|
* @param callback - Optional callback that handles the response.
|
|
5964
5964
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5965
5965
|
*/
|
|
5966
|
-
removeProduct(params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: StreamMethodOptions):
|
|
5967
|
-
removeProduct(params?: Params$Resource$Projects$Locations$Productsets$Removeproduct, options?: MethodOptions):
|
|
5966
|
+
removeProduct(params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5967
|
+
removeProduct(params?: Params$Resource$Projects$Locations$Productsets$Removeproduct, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Empty>>;
|
|
5968
5968
|
removeProduct(params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5969
5969
|
removeProduct(params: Params$Resource$Projects$Locations$Productsets$Removeproduct, options: MethodOptions | BodyResponseCallback<Schema$Empty>, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
5970
5970
|
removeProduct(params: Params$Resource$Projects$Locations$Productsets$Removeproduct, callback: BodyResponseCallback<Schema$Empty>): void;
|
|
@@ -6065,8 +6065,8 @@ export declare namespace vision_v1 {
|
|
|
6065
6065
|
* @param callback - Optional callback that handles the response.
|
|
6066
6066
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6067
6067
|
*/
|
|
6068
|
-
list(params: Params$Resource$Projects$Locations$Productsets$Products$List, options: StreamMethodOptions):
|
|
6069
|
-
list(params?: Params$Resource$Projects$Locations$Productsets$Products$List, options?: MethodOptions):
|
|
6068
|
+
list(params: Params$Resource$Projects$Locations$Productsets$Products$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6069
|
+
list(params?: Params$Resource$Projects$Locations$Productsets$Products$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$ListProductsInProductSetResponse>>;
|
|
6070
6070
|
list(params: Params$Resource$Projects$Locations$Productsets$Products$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6071
6071
|
list(params: Params$Resource$Projects$Locations$Productsets$Products$List, options: MethodOptions | BodyResponseCallback<Schema$ListProductsInProductSetResponse>, callback: BodyResponseCallback<Schema$ListProductsInProductSetResponse>): void;
|
|
6072
6072
|
list(params: Params$Resource$Projects$Locations$Productsets$Products$List, callback: BodyResponseCallback<Schema$ListProductsInProductSetResponse>): void;
|
|
@@ -6097,8 +6097,8 @@ export declare namespace vision_v1 {
|
|
|
6097
6097
|
* @param callback - Optional callback that handles the response.
|
|
6098
6098
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6099
6099
|
*/
|
|
6100
|
-
get(params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions):
|
|
6101
|
-
get(params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions):
|
|
6100
|
+
get(params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6101
|
+
get(params?: Params$Resource$Projects$Operations$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$Operation>>;
|
|
6102
6102
|
get(params: Params$Resource$Projects$Operations$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6103
6103
|
get(params: Params$Resource$Projects$Operations$Get, options: MethodOptions | BodyResponseCallback<Schema$Operation>, callback: BodyResponseCallback<Schema$Operation>): void;
|
|
6104
6104
|
get(params: Params$Resource$Projects$Operations$Get, callback: BodyResponseCallback<Schema$Operation>): void;
|