google-cloud-discovery_engine-v1beta 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f6ecff28eba445244be03d01f1d369b308382ec42ffd3d71af656624930a32ce
4
- data.tar.gz: a2d391b256cf03a8569832f79ec1cfed3c79d40c662d56723df8f0219ce35d95
3
+ metadata.gz: 9296c80cd6b648ce09c45057e6d98b7b1eab98fa7fc880b14daaf36d2c923af3
4
+ data.tar.gz: 3698f08c5e580c29e5b1930e607ea529736e9b299a2427909dc428ae2be86bcc
5
5
  SHA512:
6
- metadata.gz: d05bd2647b8de3e8cd1f404d1b28eadc4a0ffade2a809f6502f554c3f2533d54192a29713139efecdf2c825bc144417dc4dd60081646f211860d164d918bc5ac
7
- data.tar.gz: 9d59b93beb89a019c2e36514000dc5f7c4bdb5a2a4e1297fb94aefc474b3e80f0e6093d353b8c50fa6554fc662cff6d2b98634957695ad8b12d7ac4309c7e129
6
+ metadata.gz: a12175a0eea127e737f5b3af3230e2cb3f570022d9cd2b6414d7a615aa2f2e5537e82ac71c8c016b9cb7b1a12439362488113f97b8f8f591641067aee638432d
7
+ data.tar.gz: 588859f0f0328028fc829f4a6c2cd953c792aa740950e0510bf48bcadab1672c68836dad5ada94937a1007c6a39e3d1707fe9713e0924859215bdbc4cad90bb4
@@ -490,10 +490,10 @@ module Google
490
490
  # overrides
491
491
  # {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#personalization_spec ServingConfig.personalization_spec}.
492
492
  # @yield [result, operation] Access the result along with the TransportOperation object
493
- # @yieldparam result [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
493
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
494
494
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
495
495
  #
496
- # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
496
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
497
497
  #
498
498
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
499
499
  #
@@ -545,7 +545,9 @@ module Google
545
545
  retry_policy: @config.retry_policy
546
546
 
547
547
  @search_service_stub.search request, options do |result, operation|
548
+ result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search, "results", request, result, options
548
549
  yield result, operation if block_given?
550
+ throw :response, result
549
551
  end
550
552
  rescue ::Gapic::Rest::Error => e
551
553
  raise ::Google::Cloud::Error.from_error(e)
@@ -856,10 +858,10 @@ module Google
856
858
  # overrides
857
859
  # {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#personalization_spec ServingConfig.personalization_spec}.
858
860
  # @yield [result, operation] Access the result along with the TransportOperation object
859
- # @yieldparam result [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
861
+ # @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
860
862
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
861
863
  #
862
- # @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse]
864
+ # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult>]
863
865
  #
864
866
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
865
867
  #
@@ -911,7 +913,9 @@ module Google
911
913
  retry_policy: @config.retry_policy
912
914
 
913
915
  @search_service_stub.search_lite request, options do |result, operation|
916
+ result = ::Gapic::Rest::PagedEnumerable.new @search_service_stub, :search_lite, "results", request, result, options
914
917
  yield result, operation if block_given?
918
+ throw :response, result
915
919
  end
916
920
  rescue ::Gapic::Rest::Error => e
917
921
  raise ::Google::Cloud::Error.from_error(e)
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DiscoveryEngine
23
23
  module V1beta
24
- VERSION = "0.18.0"
24
+ VERSION = "0.19.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-discovery_engine-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.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
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
371
  - !ruby/object:Gem::Version
372
372
  version: '0'
373
373
  requirements: []
374
- rubygems_version: 3.6.2
374
+ rubygems_version: 3.6.3
375
375
  specification_version: 4
376
376
  summary: Discovery Engine API.
377
377
  test_files: []