Skip to content

Commit c585e74

Browse files
feat(vision): update the api
#### vision:v1 The following keys were added: - schemas.EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p1beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p2beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p3beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p4beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) #### vision:v1p1beta1 The following keys were added: - schemas.EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p1beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p2beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p3beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p4beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) #### vision:v1p2beta1 The following keys were added: - schemas.EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p1beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p2beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p3beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1) - schemas.GoogleCloudVisionV1p4beta1EntityAnnotation.properties.confidence.deprecated (Total Keys: 1)
1 parent b220c80 commit c585e74

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

googleapiclient/discovery_cache/documents/vision.v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1282,7 +1282,7 @@
12821282
}
12831283
}
12841284
},
1285-
"revision": "20230623",
1285+
"revision": "20230710",
12861286
"rootUrl": "https://vision.googleapis.com/",
12871287
"schemas": {
12881288
"AddProductToProductSetRequest": {
@@ -1905,6 +1905,7 @@
19051905
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
19061906
},
19071907
"confidence": {
1908+
"deprecated": true,
19081909
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
19091910
"format": "float",
19101911
"type": "number"
@@ -2487,6 +2488,7 @@
24872488
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
24882489
},
24892490
"confidence": {
2491+
"deprecated": true,
24902492
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
24912493
"format": "float",
24922494
"type": "number"
@@ -3900,6 +3902,7 @@
39003902
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
39013903
},
39023904
"confidence": {
3905+
"deprecated": true,
39033906
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
39043907
"format": "float",
39053908
"type": "number"
@@ -5348,6 +5351,7 @@
53485351
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
53495352
},
53505353
"confidence": {
5354+
"deprecated": true,
53515355
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
53525356
"format": "float",
53535357
"type": "number"
@@ -6883,6 +6887,7 @@
68836887
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
68846888
},
68856889
"confidence": {
6890+
"deprecated": true,
68866891
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
68876892
"format": "float",
68886893
"type": "number"

googleapiclient/discovery_cache/documents/vision.v1p1beta1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20230623",
452+
"revision": "20230710",
453453
"rootUrl": "https://vision.googleapis.com/",
454454
"schemas": {
455455
"AnnotateFileResponse": {
@@ -866,6 +866,7 @@
866866
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
867867
},
868868
"confidence": {
869+
"deprecated": true,
869870
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
870871
"format": "float",
871872
"type": "number"
@@ -1595,6 +1596,7 @@
15951596
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
15961597
},
15971598
"confidence": {
1599+
"deprecated": true,
15981600
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
15991601
"format": "float",
16001602
"type": "number"
@@ -3193,6 +3195,7 @@
31933195
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
31943196
},
31953197
"confidence": {
3198+
"deprecated": true,
31963199
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
31973200
"format": "float",
31983201
"type": "number"
@@ -4641,6 +4644,7 @@
46414644
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
46424645
},
46434646
"confidence": {
4647+
"deprecated": true,
46444648
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
46454649
"format": "float",
46464650
"type": "number"
@@ -6176,6 +6180,7 @@
61766180
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
61776181
},
61786182
"confidence": {
6183+
"deprecated": true,
61796184
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
61806185
"format": "float",
61816186
"type": "number"

googleapiclient/discovery_cache/documents/vision.v1p2beta1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
}
450450
}
451451
},
452-
"revision": "20230623",
452+
"revision": "20230710",
453453
"rootUrl": "https://vision.googleapis.com/",
454454
"schemas": {
455455
"AnnotateFileResponse": {
@@ -866,6 +866,7 @@
866866
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
867867
},
868868
"confidence": {
869+
"deprecated": true,
869870
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
870871
"format": "float",
871872
"type": "number"
@@ -1398,6 +1399,7 @@
13981399
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
13991400
},
14001401
"confidence": {
1402+
"deprecated": true,
14011403
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
14021404
"format": "float",
14031405
"type": "number"
@@ -3008,6 +3010,7 @@
30083010
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
30093011
},
30103012
"confidence": {
3013+
"deprecated": true,
30113014
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
30123015
"format": "float",
30133016
"type": "number"
@@ -4641,6 +4644,7 @@
46414644
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
46424645
},
46434646
"confidence": {
4647+
"deprecated": true,
46444648
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
46454649
"format": "float",
46464650
"type": "number"
@@ -6176,6 +6180,7 @@
61766180
"description": "Image region to which this entity belongs. Not produced for `LABEL_DETECTION` features."
61776181
},
61786182
"confidence": {
6183+
"deprecated": true,
61796184
"description": "**Deprecated. Use `score` instead.** The accuracy of the entity detection in an image. For example, for an image in which the \"Eiffel Tower\" entity is detected, this field represents the confidence that there is a tower in the query image. Range [0, 1].",
61806185
"format": "float",
61816186
"type": "number"

0 commit comments

Comments
 (0)