google-cloud-retail-v2 1.3.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5bf43a847de98511b90ecef0e6a17235e1ab724336c33c1bd8908c9ca55da0d7
4
- data.tar.gz: 168ffdcdd25beb34e83a7bf08ffd9891918f34a7a4b28ac0ef87a16f2755ea20
3
+ metadata.gz: c4739991aeae8d4c5cb8aa6846e6fc7554c9e2e59603750e03e96e78840396d2
4
+ data.tar.gz: 9eb0060cfcb5a788bab0935976d7d7088afb3d576e2153aa440916ff07f8bdf2
5
5
  SHA512:
6
- metadata.gz: 323f4a988965a732953134447b6c109288691beb9376642c9b76ade7d27d78c8e73ad79b6a43656d55ad60327e7bce507422767d59cf35926f1ee4a5e4bdc722
7
- data.tar.gz: 6fc493d26ec664e4864d3489417065cdf04781e36d027883da9444f239566e3d3c21eb045894a2271b0cc7d1902bb9128c89aef65b8acbcae04ae7eb5ae13dea
6
+ metadata.gz: 63509176aa601713c65ac1d4bdbd451508f68f97ea5fbe26cce29409e67a8570ecfde7c1d4e9e3ef938d3eb29905674053fef1a7ade750a67bbfc44f47a9d0b3
7
+ data.tar.gz: d37b4f7a04543af4e0453f2cf166495158ba67dbc48145fa165b0ddbcb8b20b2591636367848098dc0fae0d4b1e3f9ccc9588df3d96d214519eb1d13bdb1663f
@@ -465,10 +465,10 @@ module Google
465
465
  # @param tile_navigation_spec [::Google::Cloud::Retail::V2::SearchRequest::TileNavigationSpec, ::Hash]
466
466
  # Optional. This field specifies tile navigation related parameters.
467
467
  # @yield [result, operation] Access the result along with the TransportOperation object
468
- # @yieldparam result [::Google::Cloud::Retail::V2::SearchResponse]
468
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Retail::V2::SearchResponse::SearchResult>]
469
469
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
470
470
  #
471
- # @return [::Google::Cloud::Retail::V2::SearchResponse]
471
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::Retail::V2::SearchResponse::SearchResult>]
472
472
  #
473
473
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
474
474
  #
@@ -520,7 +520,9 @@ module Google
520
520
  retry_policy: @config.retry_policy
521
521
 
522
522
  @search_service_stub.search request, options do |result, operation|
523
+ result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search, "results", request, result, options
523
524
  yield result, operation if block_given?
525
+ throw :response, result
524
526
  end
525
527
  rescue ::Gapic::Rest::Error => e
526
528
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Retail
23
23
  module V2
24
- VERSION = "1.3.0"
24
+ VERSION = "2.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -409,6 +409,14 @@ module Google
409
409
  # @return [::Array<::String>]
410
410
  # An allowlist of the fully qualified names of RPCs that should be included
411
411
  # on public client surfaces.
412
+ # @!attribute [rw] generate_omitted_as_internal
413
+ # @return [::Boolean]
414
+ # Setting this to true indicates to the client generators that methods
415
+ # that would be excluded from the generation should instead be generated
416
+ # in a way that indicates these methods should not be consumed by
417
+ # end users. How this is expressed is up to individual language
418
+ # implementations to decide. Some examples may be: added annotations,
419
+ # obfuscated identifiers, or other language idiomatic patterns.
412
420
  class SelectiveGapicGeneration
413
421
  include ::Google::Protobuf::MessageExts
414
422
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-retail-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 2025-02-07 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
257
257
  - !ruby/object:Gem::Version
258
258
  version: '0'
259
259
  requirements: []
260
- rubygems_version: 3.6.2
260
+ rubygems_version: 3.6.3
261
261
  specification_version: 4
262
262
  summary: Vertex AI Search for Retail API is made up of Retail Search, Browse and Recommendations.
263
263
  These discovery AI solutions help you implement personalized search, browse and