Skip to content

Commit fe4d9b3

Browse files
Google APIscopybara-github
authored andcommitted
fix!: An existing default host visionai.googleapis.com is changed to warehouse-visionai.googleapis.com in service Warehouse
docs: A comment for field `page_size` in message `.google.cloud.visionai.v1.SearchIndexEndpointRequest` is changed docs: A comment for field `relevance` in message `.google.cloud.visionai.v1.SearchResultItem` is changed PiperOrigin-RevId: 866154811
1 parent 2d0b3a1 commit fe4d9b3

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

google/cloud/visionai/v1/visionai_v1.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -98,27 +98,12 @@ documentation:
9898
permission-aware UIs and command-line tools, not for authorization
9999
checking. This operation may "fail open" without warning.
100100
101-
backend:
101+
http:
102102
rules:
103103
- selector: google.cloud.location.Locations.GetLocation
104-
deadline: 60.0
104+
get: '/v1/{name=projects/*/locations/*}'
105105
- selector: google.cloud.location.Locations.ListLocations
106-
deadline: 60.0
107-
- selector: 'google.cloud.visionai.v1.AppPlatform.*'
108-
deadline: 60.0
109-
- selector: 'google.cloud.visionai.v1.LiveVideoAnalytics.*'
110-
deadline: 60.0
111-
- selector: 'google.cloud.visionai.v1.StreamsService.*'
112-
deadline: 60.0
113-
- selector: 'google.cloud.visionai.v1.Warehouse.*'
114-
deadline: 60.0
115-
- selector: 'google.iam.v1.IAMPolicy.*'
116-
deadline: 60.0
117-
- selector: 'google.longrunning.Operations.*'
118-
deadline: 60.0
119-
120-
http:
121-
rules:
106+
get: '/v1/{name=projects/*}/locations'
122107
- selector: google.longrunning.Operations.CancelOperation
123108
post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
124109
body: '*'

google/cloud/visionai/v1/warehouse.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -41,7 +41,7 @@ option ruby_package = "Google::Cloud::VisionAI::V1";
4141

4242
// Service that manages media content + metadata for streaming.
4343
service Warehouse {
44-
option (google.api.default_host) = "visionai.googleapis.com";
44+
option (google.api.default_host) = "warehouse-visionai.googleapis.com";
4545
option (google.api.oauth_scopes) =
4646
"https://www.googleapis.com/auth/cloud-platform";
4747

@@ -3247,7 +3247,7 @@ message SearchIndexEndpointRequest {
32473247
// If negative, INVALID_ARGUMENT error will be returned.
32483248
// If unspecified or 0, API will pick a default size, which is 10.
32493249
// If the requested page size is larger than the maximum size, API will pick
3250-
// the maximum size, which is 100.
3250+
// the maximum size, which is 200.
32513251
int32 page_size = 5;
32523252

32533253
// The continuation token to fetch the next page. If empty, it means it is
@@ -3344,8 +3344,8 @@ message SearchResultItem {
33443344
// image query).
33453345
// By default this represents cosine similarity between the query and the
33463346
// retrieved media content. The value is in the range of [-1, 1].
3347-
// Note that search ranking is not only decided by this relevance score,
3348-
// but also other factors such as the match of annotations.
3347+
// Note that search ranking is not only decided by this relevance score, but
3348+
// also other factors such as the match of annotations.
33493349
double relevance = 6;
33503350

33513351
// Search result annotations specified by result_annotation_keys in search

0 commit comments

Comments
 (0)