@googleapis/vision 3.0.1 → 5.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 +51 -0
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/v1.d.ts +13 -3
- package/build/v1.js +36 -1
- package/build/v1.js.map +1 -1
- package/build/v1p1beta1.d.ts +1 -2
- package/build/v1p1beta1.js +18 -1
- package/build/v1p1beta1.js.map +1 -1
- package/build/v1p2beta1.d.ts +1 -2
- package/build/v1p2beta1.js +18 -1
- package/build/v1p2beta1.js.map +1 -1
- package/package.json +4 -4
- package/v1.ts +47 -70
- package/v1p1beta1.ts +11 -21
- package/v1p2beta1.ts +11 -21
package/v1.ts
CHANGED
|
@@ -685,7 +685,7 @@ export namespace vision_v1 {
|
|
|
685
685
|
*/
|
|
686
686
|
maxResults?: number | null;
|
|
687
687
|
/**
|
|
688
|
-
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/
|
|
688
|
+
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/rc" for the latest release candidate.
|
|
689
689
|
*/
|
|
690
690
|
model?: string | null;
|
|
691
691
|
/**
|
|
@@ -4520,6 +4520,10 @@ export namespace vision_v1 {
|
|
|
4520
4520
|
* A list of operations that matches the specified filter in the request.
|
|
4521
4521
|
*/
|
|
4522
4522
|
operations?: Schema$Operation[];
|
|
4523
|
+
/**
|
|
4524
|
+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
|
|
4525
|
+
*/
|
|
4526
|
+
unreachable?: string[] | null;
|
|
4523
4527
|
}
|
|
4524
4528
|
/**
|
|
4525
4529
|
* Response message for the `ListProductSets` method.
|
|
@@ -5487,8 +5491,7 @@ export namespace vision_v1 {
|
|
|
5487
5491
|
*/
|
|
5488
5492
|
requestBody?: Schema$BatchAnnotateFilesRequest;
|
|
5489
5493
|
}
|
|
5490
|
-
export interface Params$Resource$Files$Asyncbatchannotate
|
|
5491
|
-
extends StandardParameters {
|
|
5494
|
+
export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
|
|
5492
5495
|
/**
|
|
5493
5496
|
* Request body metadata
|
|
5494
5497
|
*/
|
|
@@ -5810,8 +5813,7 @@ export namespace vision_v1 {
|
|
|
5810
5813
|
*/
|
|
5811
5814
|
requestBody?: Schema$BatchAnnotateImagesRequest;
|
|
5812
5815
|
}
|
|
5813
|
-
export interface Params$Resource$Images$Asyncbatchannotate
|
|
5814
|
-
extends StandardParameters {
|
|
5816
|
+
export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
|
|
5815
5817
|
/**
|
|
5816
5818
|
* Request body metadata
|
|
5817
5819
|
*/
|
|
@@ -5975,8 +5977,7 @@ export namespace vision_v1 {
|
|
|
5975
5977
|
}
|
|
5976
5978
|
}
|
|
5977
5979
|
|
|
5978
|
-
export interface Params$Resource$Locations$Operations$Get
|
|
5979
|
-
extends StandardParameters {
|
|
5980
|
+
export interface Params$Resource$Locations$Operations$Get extends StandardParameters {
|
|
5980
5981
|
/**
|
|
5981
5982
|
* The name of the operation resource.
|
|
5982
5983
|
*/
|
|
@@ -6447,13 +6448,16 @@ export namespace vision_v1 {
|
|
|
6447
6448
|
* pageSize: 'placeholder-value',
|
|
6448
6449
|
* // The standard list page token.
|
|
6449
6450
|
* pageToken: 'placeholder-value',
|
|
6451
|
+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
6452
|
+
* returnPartialSuccess: 'placeholder-value',
|
|
6450
6453
|
* });
|
|
6451
6454
|
* console.log(res.data);
|
|
6452
6455
|
*
|
|
6453
6456
|
* // Example response
|
|
6454
6457
|
* // {
|
|
6455
6458
|
* // "nextPageToken": "my_nextPageToken",
|
|
6456
|
-
* // "operations": []
|
|
6459
|
+
* // "operations": [],
|
|
6460
|
+
* // "unreachable": []
|
|
6457
6461
|
* // }
|
|
6458
6462
|
* }
|
|
6459
6463
|
*
|
|
@@ -6551,8 +6555,7 @@ export namespace vision_v1 {
|
|
|
6551
6555
|
}
|
|
6552
6556
|
}
|
|
6553
6557
|
|
|
6554
|
-
export interface Params$Resource$Operations$Cancel
|
|
6555
|
-
extends StandardParameters {
|
|
6558
|
+
export interface Params$Resource$Operations$Cancel extends StandardParameters {
|
|
6556
6559
|
/**
|
|
6557
6560
|
* The name of the operation resource to be cancelled.
|
|
6558
6561
|
*/
|
|
@@ -6563,8 +6566,7 @@ export namespace vision_v1 {
|
|
|
6563
6566
|
*/
|
|
6564
6567
|
requestBody?: Schema$CancelOperationRequest;
|
|
6565
6568
|
}
|
|
6566
|
-
export interface Params$Resource$Operations$Delete
|
|
6567
|
-
extends StandardParameters {
|
|
6569
|
+
export interface Params$Resource$Operations$Delete extends StandardParameters {
|
|
6568
6570
|
/**
|
|
6569
6571
|
* The name of the operation resource to be deleted.
|
|
6570
6572
|
*/
|
|
@@ -6593,6 +6595,10 @@ export namespace vision_v1 {
|
|
|
6593
6595
|
* The standard list page token.
|
|
6594
6596
|
*/
|
|
6595
6597
|
pageToken?: string;
|
|
6598
|
+
/**
|
|
6599
|
+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
|
|
6600
|
+
*/
|
|
6601
|
+
returnPartialSuccess?: boolean;
|
|
6596
6602
|
}
|
|
6597
6603
|
|
|
6598
6604
|
export class Resource$Projects {
|
|
@@ -6925,8 +6931,7 @@ export namespace vision_v1 {
|
|
|
6925
6931
|
}
|
|
6926
6932
|
}
|
|
6927
6933
|
|
|
6928
|
-
export interface Params$Resource$Projects$Files$Annotate
|
|
6929
|
-
extends StandardParameters {
|
|
6934
|
+
export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
|
|
6930
6935
|
/**
|
|
6931
6936
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
6932
6937
|
*/
|
|
@@ -6937,8 +6942,7 @@ export namespace vision_v1 {
|
|
|
6937
6942
|
*/
|
|
6938
6943
|
requestBody?: Schema$BatchAnnotateFilesRequest;
|
|
6939
6944
|
}
|
|
6940
|
-
export interface Params$Resource$Projects$Files$Asyncbatchannotate
|
|
6941
|
-
extends StandardParameters {
|
|
6945
|
+
export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
|
|
6942
6946
|
/**
|
|
6943
6947
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
6944
6948
|
*/
|
|
@@ -7266,8 +7270,7 @@ export namespace vision_v1 {
|
|
|
7266
7270
|
}
|
|
7267
7271
|
}
|
|
7268
7272
|
|
|
7269
|
-
export interface Params$Resource$Projects$Images$Annotate
|
|
7270
|
-
extends StandardParameters {
|
|
7273
|
+
export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
|
|
7271
7274
|
/**
|
|
7272
7275
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7273
7276
|
*/
|
|
@@ -7278,8 +7281,7 @@ export namespace vision_v1 {
|
|
|
7278
7281
|
*/
|
|
7279
7282
|
requestBody?: Schema$BatchAnnotateImagesRequest;
|
|
7280
7283
|
}
|
|
7281
|
-
export interface Params$Resource$Projects$Images$Asyncbatchannotate
|
|
7282
|
-
extends StandardParameters {
|
|
7284
|
+
export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
|
|
7283
7285
|
/**
|
|
7284
7286
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7285
7287
|
*/
|
|
@@ -7628,8 +7630,7 @@ export namespace vision_v1 {
|
|
|
7628
7630
|
}
|
|
7629
7631
|
}
|
|
7630
7632
|
|
|
7631
|
-
export interface Params$Resource$Projects$Locations$Files$Annotate
|
|
7632
|
-
extends StandardParameters {
|
|
7633
|
+
export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
|
|
7633
7634
|
/**
|
|
7634
7635
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7635
7636
|
*/
|
|
@@ -7640,8 +7641,7 @@ export namespace vision_v1 {
|
|
|
7640
7641
|
*/
|
|
7641
7642
|
requestBody?: Schema$BatchAnnotateFilesRequest;
|
|
7642
7643
|
}
|
|
7643
|
-
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
|
|
7644
|
-
extends StandardParameters {
|
|
7644
|
+
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
|
|
7645
7645
|
/**
|
|
7646
7646
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7647
7647
|
*/
|
|
@@ -7970,8 +7970,7 @@ export namespace vision_v1 {
|
|
|
7970
7970
|
}
|
|
7971
7971
|
}
|
|
7972
7972
|
|
|
7973
|
-
export interface Params$Resource$Projects$Locations$Images$Annotate
|
|
7974
|
-
extends StandardParameters {
|
|
7973
|
+
export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
|
|
7975
7974
|
/**
|
|
7976
7975
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7977
7976
|
*/
|
|
@@ -7982,8 +7981,7 @@ export namespace vision_v1 {
|
|
|
7982
7981
|
*/
|
|
7983
7982
|
requestBody?: Schema$BatchAnnotateImagesRequest;
|
|
7984
7983
|
}
|
|
7985
|
-
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
|
|
7986
|
-
extends StandardParameters {
|
|
7984
|
+
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
|
|
7987
7985
|
/**
|
|
7988
7986
|
* Optional. Target project and location to make a call. Format: `projects/{project-id\}/locations/{location-id\}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.
|
|
7989
7987
|
*/
|
|
@@ -8143,8 +8141,7 @@ export namespace vision_v1 {
|
|
|
8143
8141
|
}
|
|
8144
8142
|
}
|
|
8145
8143
|
|
|
8146
|
-
export interface Params$Resource$Projects$Locations$Operations$Get
|
|
8147
|
-
extends StandardParameters {
|
|
8144
|
+
export interface Params$Resource$Projects$Locations$Operations$Get extends StandardParameters {
|
|
8148
8145
|
/**
|
|
8149
8146
|
* The name of the operation resource.
|
|
8150
8147
|
*/
|
|
@@ -9051,8 +9048,7 @@ export namespace vision_v1 {
|
|
|
9051
9048
|
}
|
|
9052
9049
|
}
|
|
9053
9050
|
|
|
9054
|
-
export interface Params$Resource$Projects$Locations$Products$Create
|
|
9055
|
-
extends StandardParameters {
|
|
9051
|
+
export interface Params$Resource$Projects$Locations$Products$Create extends StandardParameters {
|
|
9056
9052
|
/**
|
|
9057
9053
|
* Required. The project in which the Product should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
|
|
9058
9054
|
*/
|
|
@@ -9067,22 +9063,19 @@ export namespace vision_v1 {
|
|
|
9067
9063
|
*/
|
|
9068
9064
|
requestBody?: Schema$Product;
|
|
9069
9065
|
}
|
|
9070
|
-
export interface Params$Resource$Projects$Locations$Products$Delete
|
|
9071
|
-
extends StandardParameters {
|
|
9066
|
+
export interface Params$Resource$Projects$Locations$Products$Delete extends StandardParameters {
|
|
9072
9067
|
/**
|
|
9073
9068
|
* Required. Resource name of product to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
|
|
9074
9069
|
*/
|
|
9075
9070
|
name?: string;
|
|
9076
9071
|
}
|
|
9077
|
-
export interface Params$Resource$Projects$Locations$Products$Get
|
|
9078
|
-
extends StandardParameters {
|
|
9072
|
+
export interface Params$Resource$Projects$Locations$Products$Get extends StandardParameters {
|
|
9079
9073
|
/**
|
|
9080
9074
|
* Required. Resource name of the Product to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`
|
|
9081
9075
|
*/
|
|
9082
9076
|
name?: string;
|
|
9083
9077
|
}
|
|
9084
|
-
export interface Params$Resource$Projects$Locations$Products$List
|
|
9085
|
-
extends StandardParameters {
|
|
9078
|
+
export interface Params$Resource$Projects$Locations$Products$List extends StandardParameters {
|
|
9086
9079
|
/**
|
|
9087
9080
|
* The maximum number of items to return. Default 10, maximum 100.
|
|
9088
9081
|
*/
|
|
@@ -9096,8 +9089,7 @@ export namespace vision_v1 {
|
|
|
9096
9089
|
*/
|
|
9097
9090
|
parent?: string;
|
|
9098
9091
|
}
|
|
9099
|
-
export interface Params$Resource$Projects$Locations$Products$Patch
|
|
9100
|
-
extends StandardParameters {
|
|
9092
|
+
export interface Params$Resource$Projects$Locations$Products$Patch extends StandardParameters {
|
|
9101
9093
|
/**
|
|
9102
9094
|
* The resource name of the product. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`. This field is ignored when creating a product.
|
|
9103
9095
|
*/
|
|
@@ -9112,8 +9104,7 @@ export namespace vision_v1 {
|
|
|
9112
9104
|
*/
|
|
9113
9105
|
requestBody?: Schema$Product;
|
|
9114
9106
|
}
|
|
9115
|
-
export interface Params$Resource$Projects$Locations$Products$Purge
|
|
9116
|
-
extends StandardParameters {
|
|
9107
|
+
export interface Params$Resource$Projects$Locations$Products$Purge extends StandardParameters {
|
|
9117
9108
|
/**
|
|
9118
9109
|
* Required. The project and location in which the Products should be deleted. Format is `projects/PROJECT_ID/locations/LOC_ID`.
|
|
9119
9110
|
*/
|
|
@@ -9714,8 +9705,7 @@ export namespace vision_v1 {
|
|
|
9714
9705
|
}
|
|
9715
9706
|
}
|
|
9716
9707
|
|
|
9717
|
-
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Create
|
|
9718
|
-
extends StandardParameters {
|
|
9708
|
+
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Create extends StandardParameters {
|
|
9719
9709
|
/**
|
|
9720
9710
|
* Required. Resource name of the product in which to create the reference image. Format is `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID`.
|
|
9721
9711
|
*/
|
|
@@ -9730,22 +9720,19 @@ export namespace vision_v1 {
|
|
|
9730
9720
|
*/
|
|
9731
9721
|
requestBody?: Schema$ReferenceImage;
|
|
9732
9722
|
}
|
|
9733
|
-
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Delete
|
|
9734
|
-
extends StandardParameters {
|
|
9723
|
+
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Delete extends StandardParameters {
|
|
9735
9724
|
/**
|
|
9736
9725
|
* Required. The resource name of the reference image to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`
|
|
9737
9726
|
*/
|
|
9738
9727
|
name?: string;
|
|
9739
9728
|
}
|
|
9740
|
-
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Get
|
|
9741
|
-
extends StandardParameters {
|
|
9729
|
+
export interface Params$Resource$Projects$Locations$Products$Referenceimages$Get extends StandardParameters {
|
|
9742
9730
|
/**
|
|
9743
9731
|
* Required. The resource name of the ReferenceImage to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID/referenceImages/IMAGE_ID`.
|
|
9744
9732
|
*/
|
|
9745
9733
|
name?: string;
|
|
9746
9734
|
}
|
|
9747
|
-
export interface Params$Resource$Projects$Locations$Products$Referenceimages$List
|
|
9748
|
-
extends StandardParameters {
|
|
9735
|
+
export interface Params$Resource$Projects$Locations$Products$Referenceimages$List extends StandardParameters {
|
|
9749
9736
|
/**
|
|
9750
9737
|
* The maximum number of items to return. Default 10, maximum 100.
|
|
9751
9738
|
*/
|
|
@@ -10948,8 +10935,7 @@ export namespace vision_v1 {
|
|
|
10948
10935
|
}
|
|
10949
10936
|
}
|
|
10950
10937
|
|
|
10951
|
-
export interface Params$Resource$Projects$Locations$Productsets$Addproduct
|
|
10952
|
-
extends StandardParameters {
|
|
10938
|
+
export interface Params$Resource$Projects$Locations$Productsets$Addproduct extends StandardParameters {
|
|
10953
10939
|
/**
|
|
10954
10940
|
* Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
|
|
10955
10941
|
*/
|
|
@@ -10960,8 +10946,7 @@ export namespace vision_v1 {
|
|
|
10960
10946
|
*/
|
|
10961
10947
|
requestBody?: Schema$AddProductToProductSetRequest;
|
|
10962
10948
|
}
|
|
10963
|
-
export interface Params$Resource$Projects$Locations$Productsets$Create
|
|
10964
|
-
extends StandardParameters {
|
|
10949
|
+
export interface Params$Resource$Projects$Locations$Productsets$Create extends StandardParameters {
|
|
10965
10950
|
/**
|
|
10966
10951
|
* Required. The project in which the ProductSet should be created. Format is `projects/PROJECT_ID/locations/LOC_ID`.
|
|
10967
10952
|
*/
|
|
@@ -10976,22 +10961,19 @@ export namespace vision_v1 {
|
|
|
10976
10961
|
*/
|
|
10977
10962
|
requestBody?: Schema$ProductSet;
|
|
10978
10963
|
}
|
|
10979
|
-
export interface Params$Resource$Projects$Locations$Productsets$Delete
|
|
10980
|
-
extends StandardParameters {
|
|
10964
|
+
export interface Params$Resource$Projects$Locations$Productsets$Delete extends StandardParameters {
|
|
10981
10965
|
/**
|
|
10982
10966
|
* Required. Resource name of the ProductSet to delete. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
|
|
10983
10967
|
*/
|
|
10984
10968
|
name?: string;
|
|
10985
10969
|
}
|
|
10986
|
-
export interface Params$Resource$Projects$Locations$Productsets$Get
|
|
10987
|
-
extends StandardParameters {
|
|
10970
|
+
export interface Params$Resource$Projects$Locations$Productsets$Get extends StandardParameters {
|
|
10988
10971
|
/**
|
|
10989
10972
|
* Required. Resource name of the ProductSet to get. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
|
|
10990
10973
|
*/
|
|
10991
10974
|
name?: string;
|
|
10992
10975
|
}
|
|
10993
|
-
export interface Params$Resource$Projects$Locations$Productsets$Import
|
|
10994
|
-
extends StandardParameters {
|
|
10976
|
+
export interface Params$Resource$Projects$Locations$Productsets$Import extends StandardParameters {
|
|
10995
10977
|
/**
|
|
10996
10978
|
* Required. The project in which the ProductSets should be imported. Format is `projects/PROJECT_ID/locations/LOC_ID`.
|
|
10997
10979
|
*/
|
|
@@ -11002,8 +10984,7 @@ export namespace vision_v1 {
|
|
|
11002
10984
|
*/
|
|
11003
10985
|
requestBody?: Schema$ImportProductSetsRequest;
|
|
11004
10986
|
}
|
|
11005
|
-
export interface Params$Resource$Projects$Locations$Productsets$List
|
|
11006
|
-
extends StandardParameters {
|
|
10987
|
+
export interface Params$Resource$Projects$Locations$Productsets$List extends StandardParameters {
|
|
11007
10988
|
/**
|
|
11008
10989
|
* The maximum number of items to return. Default 10, maximum 100.
|
|
11009
10990
|
*/
|
|
@@ -11017,8 +10998,7 @@ export namespace vision_v1 {
|
|
|
11017
10998
|
*/
|
|
11018
10999
|
parent?: string;
|
|
11019
11000
|
}
|
|
11020
|
-
export interface Params$Resource$Projects$Locations$Productsets$Patch
|
|
11021
|
-
extends StandardParameters {
|
|
11001
|
+
export interface Params$Resource$Projects$Locations$Productsets$Patch extends StandardParameters {
|
|
11022
11002
|
/**
|
|
11023
11003
|
* The resource name of the ProductSet. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`. This field is ignored when creating a ProductSet.
|
|
11024
11004
|
*/
|
|
@@ -11033,8 +11013,7 @@ export namespace vision_v1 {
|
|
|
11033
11013
|
*/
|
|
11034
11014
|
requestBody?: Schema$ProductSet;
|
|
11035
11015
|
}
|
|
11036
|
-
export interface Params$Resource$Projects$Locations$Productsets$Removeproduct
|
|
11037
|
-
extends StandardParameters {
|
|
11016
|
+
export interface Params$Resource$Projects$Locations$Productsets$Removeproduct extends StandardParameters {
|
|
11038
11017
|
/**
|
|
11039
11018
|
* Required. The resource name for the ProductSet to modify. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
|
|
11040
11019
|
*/
|
|
@@ -11209,8 +11188,7 @@ export namespace vision_v1 {
|
|
|
11209
11188
|
}
|
|
11210
11189
|
}
|
|
11211
11190
|
|
|
11212
|
-
export interface Params$Resource$Projects$Locations$Productsets$Products$List
|
|
11213
|
-
extends StandardParameters {
|
|
11191
|
+
export interface Params$Resource$Projects$Locations$Productsets$Products$List extends StandardParameters {
|
|
11214
11192
|
/**
|
|
11215
11193
|
* Required. The ProductSet resource for which to retrieve Products. Format is: `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`
|
|
11216
11194
|
*/
|
|
@@ -11373,8 +11351,7 @@ export namespace vision_v1 {
|
|
|
11373
11351
|
}
|
|
11374
11352
|
}
|
|
11375
11353
|
|
|
11376
|
-
export interface Params$Resource$Projects$Operations$Get
|
|
11377
|
-
extends StandardParameters {
|
|
11354
|
+
export interface Params$Resource$Projects$Operations$Get extends StandardParameters {
|
|
11378
11355
|
/**
|
|
11379
11356
|
* The name of the operation resource.
|
|
11380
11357
|
*/
|
package/v1p1beta1.ts
CHANGED
|
@@ -1000,7 +1000,7 @@ export namespace vision_v1p1beta1 {
|
|
|
1000
1000
|
*/
|
|
1001
1001
|
maxResults?: number | null;
|
|
1002
1002
|
/**
|
|
1003
|
-
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/
|
|
1003
|
+
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/rc" for the latest release candidate.
|
|
1004
1004
|
*/
|
|
1005
1005
|
model?: string | null;
|
|
1006
1006
|
/**
|
|
@@ -5332,8 +5332,7 @@ export namespace vision_v1p1beta1 {
|
|
|
5332
5332
|
*/
|
|
5333
5333
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
|
|
5334
5334
|
}
|
|
5335
|
-
export interface Params$Resource$Files$Asyncbatchannotate
|
|
5336
|
-
extends StandardParameters {
|
|
5335
|
+
export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
|
|
5337
5336
|
/**
|
|
5338
5337
|
* Request body metadata
|
|
5339
5338
|
*/
|
|
@@ -5661,8 +5660,7 @@ export namespace vision_v1p1beta1 {
|
|
|
5661
5660
|
*/
|
|
5662
5661
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
|
|
5663
5662
|
}
|
|
5664
|
-
export interface Params$Resource$Images$Asyncbatchannotate
|
|
5665
|
-
extends StandardParameters {
|
|
5663
|
+
export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
|
|
5666
5664
|
/**
|
|
5667
5665
|
* Request body metadata
|
|
5668
5666
|
*/
|
|
@@ -6002,8 +6000,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6002
6000
|
}
|
|
6003
6001
|
}
|
|
6004
6002
|
|
|
6005
|
-
export interface Params$Resource$Projects$Files$Annotate
|
|
6006
|
-
extends StandardParameters {
|
|
6003
|
+
export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
|
|
6007
6004
|
/**
|
|
6008
6005
|
* 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
6006
|
*/
|
|
@@ -6014,8 +6011,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6014
6011
|
*/
|
|
6015
6012
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
|
|
6016
6013
|
}
|
|
6017
|
-
export interface Params$Resource$Projects$Files$Asyncbatchannotate
|
|
6018
|
-
extends StandardParameters {
|
|
6014
|
+
export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
|
|
6019
6015
|
/**
|
|
6020
6016
|
* 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
6017
|
*/
|
|
@@ -6348,8 +6344,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6348
6344
|
}
|
|
6349
6345
|
}
|
|
6350
6346
|
|
|
6351
|
-
export interface Params$Resource$Projects$Images$Annotate
|
|
6352
|
-
extends StandardParameters {
|
|
6347
|
+
export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
|
|
6353
6348
|
/**
|
|
6354
6349
|
* 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
6350
|
*/
|
|
@@ -6360,8 +6355,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6360
6355
|
*/
|
|
6361
6356
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
|
|
6362
6357
|
}
|
|
6363
|
-
export interface Params$Resource$Projects$Images$Asyncbatchannotate
|
|
6364
|
-
extends StandardParameters {
|
|
6358
|
+
export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
|
|
6365
6359
|
/**
|
|
6366
6360
|
* 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
6361
|
*/
|
|
@@ -6705,8 +6699,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6705
6699
|
}
|
|
6706
6700
|
}
|
|
6707
6701
|
|
|
6708
|
-
export interface Params$Resource$Projects$Locations$Files$Annotate
|
|
6709
|
-
extends StandardParameters {
|
|
6702
|
+
export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
|
|
6710
6703
|
/**
|
|
6711
6704
|
* 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
6705
|
*/
|
|
@@ -6717,8 +6710,7 @@ export namespace vision_v1p1beta1 {
|
|
|
6717
6710
|
*/
|
|
6718
6711
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest;
|
|
6719
6712
|
}
|
|
6720
|
-
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
|
|
6721
|
-
extends StandardParameters {
|
|
6713
|
+
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
|
|
6722
6714
|
/**
|
|
6723
6715
|
* 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
6716
|
*/
|
|
@@ -7052,8 +7044,7 @@ export namespace vision_v1p1beta1 {
|
|
|
7052
7044
|
}
|
|
7053
7045
|
}
|
|
7054
7046
|
|
|
7055
|
-
export interface Params$Resource$Projects$Locations$Images$Annotate
|
|
7056
|
-
extends StandardParameters {
|
|
7047
|
+
export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
|
|
7057
7048
|
/**
|
|
7058
7049
|
* 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
7050
|
*/
|
|
@@ -7064,8 +7055,7 @@ export namespace vision_v1p1beta1 {
|
|
|
7064
7055
|
*/
|
|
7065
7056
|
requestBody?: Schema$GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest;
|
|
7066
7057
|
}
|
|
7067
|
-
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
|
|
7068
|
-
extends StandardParameters {
|
|
7058
|
+
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
|
|
7069
7059
|
/**
|
|
7070
7060
|
* 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
7061
|
*/
|
package/v1p2beta1.ts
CHANGED
|
@@ -1862,7 +1862,7 @@ export namespace vision_v1p2beta1 {
|
|
|
1862
1862
|
*/
|
|
1863
1863
|
maxResults?: number | null;
|
|
1864
1864
|
/**
|
|
1865
|
-
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/
|
|
1865
|
+
* Model to use for the feature. Supported values: "builtin/stable" (the default if unset) and "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also support "builtin/rc" for the latest release candidate.
|
|
1866
1866
|
*/
|
|
1867
1867
|
model?: string | null;
|
|
1868
1868
|
/**
|
|
@@ -5332,8 +5332,7 @@ export namespace vision_v1p2beta1 {
|
|
|
5332
5332
|
*/
|
|
5333
5333
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
|
|
5334
5334
|
}
|
|
5335
|
-
export interface Params$Resource$Files$Asyncbatchannotate
|
|
5336
|
-
extends StandardParameters {
|
|
5335
|
+
export interface Params$Resource$Files$Asyncbatchannotate extends StandardParameters {
|
|
5337
5336
|
/**
|
|
5338
5337
|
* Request body metadata
|
|
5339
5338
|
*/
|
|
@@ -5661,8 +5660,7 @@ export namespace vision_v1p2beta1 {
|
|
|
5661
5660
|
*/
|
|
5662
5661
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
|
|
5663
5662
|
}
|
|
5664
|
-
export interface Params$Resource$Images$Asyncbatchannotate
|
|
5665
|
-
extends StandardParameters {
|
|
5663
|
+
export interface Params$Resource$Images$Asyncbatchannotate extends StandardParameters {
|
|
5666
5664
|
/**
|
|
5667
5665
|
* Request body metadata
|
|
5668
5666
|
*/
|
|
@@ -6002,8 +6000,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6002
6000
|
}
|
|
6003
6001
|
}
|
|
6004
6002
|
|
|
6005
|
-
export interface Params$Resource$Projects$Files$Annotate
|
|
6006
|
-
extends StandardParameters {
|
|
6003
|
+
export interface Params$Resource$Projects$Files$Annotate extends StandardParameters {
|
|
6007
6004
|
/**
|
|
6008
6005
|
* 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
6006
|
*/
|
|
@@ -6014,8 +6011,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6014
6011
|
*/
|
|
6015
6012
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
|
|
6016
6013
|
}
|
|
6017
|
-
export interface Params$Resource$Projects$Files$Asyncbatchannotate
|
|
6018
|
-
extends StandardParameters {
|
|
6014
|
+
export interface Params$Resource$Projects$Files$Asyncbatchannotate extends StandardParameters {
|
|
6019
6015
|
/**
|
|
6020
6016
|
* 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
6017
|
*/
|
|
@@ -6348,8 +6344,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6348
6344
|
}
|
|
6349
6345
|
}
|
|
6350
6346
|
|
|
6351
|
-
export interface Params$Resource$Projects$Images$Annotate
|
|
6352
|
-
extends StandardParameters {
|
|
6347
|
+
export interface Params$Resource$Projects$Images$Annotate extends StandardParameters {
|
|
6353
6348
|
/**
|
|
6354
6349
|
* 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
6350
|
*/
|
|
@@ -6360,8 +6355,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6360
6355
|
*/
|
|
6361
6356
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
|
|
6362
6357
|
}
|
|
6363
|
-
export interface Params$Resource$Projects$Images$Asyncbatchannotate
|
|
6364
|
-
extends StandardParameters {
|
|
6358
|
+
export interface Params$Resource$Projects$Images$Asyncbatchannotate extends StandardParameters {
|
|
6365
6359
|
/**
|
|
6366
6360
|
* 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
6361
|
*/
|
|
@@ -6705,8 +6699,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6705
6699
|
}
|
|
6706
6700
|
}
|
|
6707
6701
|
|
|
6708
|
-
export interface Params$Resource$Projects$Locations$Files$Annotate
|
|
6709
|
-
extends StandardParameters {
|
|
6702
|
+
export interface Params$Resource$Projects$Locations$Files$Annotate extends StandardParameters {
|
|
6710
6703
|
/**
|
|
6711
6704
|
* 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
6705
|
*/
|
|
@@ -6717,8 +6710,7 @@ export namespace vision_v1p2beta1 {
|
|
|
6717
6710
|
*/
|
|
6718
6711
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateFilesRequest;
|
|
6719
6712
|
}
|
|
6720
|
-
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate
|
|
6721
|
-
extends StandardParameters {
|
|
6713
|
+
export interface Params$Resource$Projects$Locations$Files$Asyncbatchannotate extends StandardParameters {
|
|
6722
6714
|
/**
|
|
6723
6715
|
* 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
6716
|
*/
|
|
@@ -7052,8 +7044,7 @@ export namespace vision_v1p2beta1 {
|
|
|
7052
7044
|
}
|
|
7053
7045
|
}
|
|
7054
7046
|
|
|
7055
|
-
export interface Params$Resource$Projects$Locations$Images$Annotate
|
|
7056
|
-
extends StandardParameters {
|
|
7047
|
+
export interface Params$Resource$Projects$Locations$Images$Annotate extends StandardParameters {
|
|
7057
7048
|
/**
|
|
7058
7049
|
* 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
7050
|
*/
|
|
@@ -7064,8 +7055,7 @@ export namespace vision_v1p2beta1 {
|
|
|
7064
7055
|
*/
|
|
7065
7056
|
requestBody?: Schema$GoogleCloudVisionV1p2beta1BatchAnnotateImagesRequest;
|
|
7066
7057
|
}
|
|
7067
|
-
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate
|
|
7068
|
-
extends StandardParameters {
|
|
7058
|
+
export interface Params$Resource$Projects$Locations$Images$Asyncbatchannotate extends StandardParameters {
|
|
7069
7059
|
/**
|
|
7070
7060
|
* 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
7061
|
*/
|