Skip to content

Commit 89cf19d

Browse files
[CHANGE ME] Re-generated vision to pick up changes in the API or client library generator.
1 parent 6f1d68f commit 89cf19d

File tree

5 files changed

+26
-19
lines changed

5 files changed

+26
-19
lines changed

vision/google/cloud/vision_v1/proto/product_search.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import "google/cloud/vision/v1/geometry.proto";
2121
import "google/cloud/vision/v1/product_search_service.proto";
2222
import "google/protobuf/timestamp.proto";
2323
import "google/api/annotations.proto";
24+
import "google/api/resource.proto";
2425

2526
option cc_enable_arenas = true;
2627
option go_package = "google.golang.org/genproto/googleapis/cloud/vision/v1;vision";
@@ -39,7 +40,9 @@ message ProductSearchParams {
3940
//
4041
// Format is:
4142
// `projects/PROJECT_ID/locations/LOC_ID/productSets/PRODUCT_SET_ID`.
42-
string product_set = 6;
43+
string product_set = 6 [(google.api.resource_reference) = {
44+
type: "vision.googleapis.com/ProductSet"
45+
}];
4346

4447
// The list of product categories to search in. Currently, we only consider
4548
// the first category, and either "homegoods-v2", "apparel-v2", "toys-v2",

vision/google/cloud/vision_v1/proto/product_search_pb2.py

Lines changed: 15 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vision/google/cloud/vision_v1/proto/product_search_service.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ service ProductSearch {
260260
option (google.api.http) = {
261261
get: "/v1/{name=projects/*/locations/*/products/*/referenceImages/*}"
262262
};
263+
option (google.api.method_signature) = "name";
263264
}
264265

265266
// Adds a Product to the specified ProductSet. If the Product is already

vision/google/cloud/vision_v1/proto/product_search_service_pb2.py

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vision/synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-10-05T12:47:38.891849Z",
2+
"updateTime": "2019-10-10T12:48:24.197145Z",
33
"sources": [
44
{
55
"generator": {
@@ -12,8 +12,8 @@
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "ceb8e2fb12f048cc94caae532ef0b4cf026a78f3",
16-
"internalRef": "272971705"
15+
"sha": "10f91fa12f70e8e0209a45fc10807ed1f77c7e4e",
16+
"internalRef": "273826591"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)