Skip to content

Commit cab8660

Browse files
fix(vision): update the API
#### vision:v1p1beta1 The following keys were changed: - schemas.GoogleCloudVisionV1p1beta1Feature.properties.model.description #### vision:v1p2beta1 The following keys were changed: - schemas.GoogleCloudVisionV1p2beta1Feature.properties.model.description #### vision:v1 The following keys were changed: - schemas.Feature.properties.model.description
1 parent 4775e17 commit cab8660

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

discovery/vision-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@
12821282
}
12831283
}
12841284
},
1285-
"revision": "20241115",
1285+
"revision": "20250804",
12861286
"rootUrl": "https://vision.googleapis.com/",
12871287
"schemas": {
12881288
"AddProductToProductSetRequest": {
@@ -2174,7 +2174,7 @@
21742174
"type": "integer"
21752175
},
21762176
"model": {
2177-
"description": "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/weekly\" for the bleeding edge release updated weekly.",
2177+
"description": "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.",
21782178
"type": "string"
21792179
},
21802180
"type": {

discovery/vision-v1p1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20240823",
452+
"revision": "20250804",
453453
"rootUrl": "https://vision.googleapis.com/",
454454
"schemas": {
455455
"AnnotateFileResponse": {
@@ -1958,7 +1958,7 @@
19581958
"type": "integer"
19591959
},
19601960
"model": {
1961-
"description": "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/weekly\" for the bleeding edge release updated weekly.",
1961+
"description": "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.",
19621962
"type": "string"
19631963
},
19641964
"type": {

discovery/vision-v1p2beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20240823",
452+
"revision": "20250804",
453453
"rootUrl": "https://vision.googleapis.com/",
454454
"schemas": {
455455
"AnnotateFileResponse": {
@@ -3372,7 +3372,7 @@
33723372
"type": "integer"
33733373
},
33743374
"model": {
3375-
"description": "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/weekly\" for the bleeding edge release updated weekly.",
3375+
"description": "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.",
33763376
"type": "string"
33773377
},
33783378
"type": {

src/apis/vision/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ export namespace vision_v1 {
685685
*/
686686
maxResults?: number | null;
687687
/**
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/weekly" for the bleeding edge release updated weekly.
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.
689689
*/
690690
model?: string | null;
691691
/**

src/apis/vision/v1p1beta1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ export namespace vision_v1p1beta1 {
10001000
*/
10011001
maxResults?: number | null;
10021002
/**
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/weekly" for the bleeding edge release updated weekly.
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.
10041004
*/
10051005
model?: string | null;
10061006
/**

src/apis/vision/v1p2beta1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,7 @@ export namespace vision_v1p2beta1 {
18621862
*/
18631863
maxResults?: number | null;
18641864
/**
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/weekly" for the bleeding edge release updated weekly.
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.
18661866
*/
18671867
model?: string | null;
18681868
/**

0 commit comments

Comments
 (0)