google-apis-discoveryengine_v1beta 0.24.0 → 0.25.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: fa300730087756ee24597024b7eaa87866ba68312b54ff6b5213f46098a29533
4
- data.tar.gz: 6d529abe22a44bdd90328dffd0dc1afc3b0cf5d1566bcbe221efab9a8d451b8f
3
+ metadata.gz: c9103590e0341da5df58fae900ae5432e91e7fa43f91118c8c64015f960a0007
4
+ data.tar.gz: f8b0f124966244bdd8e2f555c5339551e412974175a16e15875bacb46d25027d
5
5
  SHA512:
6
- metadata.gz: eb5a33d11ec9880446de0c7736c2381bd9520597acc7ae46dd166b95c54de698a55ed24e373c8061dcfeb4d561feb8deb05f02b8f17865afc2c10c65ac63dfeb
7
- data.tar.gz: 8b4e68cd386f780eca5bbd785e9be3da903f6032b1591f60d442a899dfacbd4ec6d0f9586a59aac1f3a885995a13ea81583d51901a70665c3c137233ea775830
6
+ metadata.gz: 22f9e9431d89df3e72625efd91e621bb9e2753652e7e50ef1fd68c0b192d017e288d22e20b80828cef5438936f39850b93991cf1be92918bacebf7c722eddd9d
7
+ data.tar.gz: 7f26b837271a77ad684b02204e4cc53716cee07037925162da6918f6e457a66962a049b2095a66227f3698ff0cfeb2cbdc1ecd72a661788c1a36e9faff505d05
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.25.0 (2023-10-22)
4
+
5
+ * Regenerated from discovery document revision 20231016
6
+
3
7
  ### v0.24.0 (2023-10-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20231003
@@ -622,25 +622,6 @@ module Google
622
622
  end
623
623
  end
624
624
 
625
- # Response message for SiteSearchEngineService.BatchCreateTargetSites method.
626
- class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
627
- include Google::Apis::Core::Hashable
628
-
629
- # TargetSites created.
630
- # Corresponds to the JSON property `targetSites`
631
- # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTargetSite>]
632
- attr_accessor :target_sites
633
-
634
- def initialize(**args)
635
- update!(**args)
636
- end
637
-
638
- # Update properties of this object
639
- def update!(**args)
640
- @target_sites = args[:target_sites] if args.key?(:target_sites)
641
- end
642
- end
643
-
644
625
  # Metadata for Create Schema LRO.
645
626
  class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
646
627
  include Google::Apis::Core::Hashable
@@ -2770,11 +2751,16 @@ module Google
2770
2751
  # characters. Currently, only filter expressions on the `filter_tags` attribute
2771
2752
  # is supported. Examples: * `(filter_tags: ANY("Red", "Blue") OR filter_tags:
2772
2753
  # ANY("Hot", "Cold"))` * `(filter_tags: ANY("Red", "Blue")) AND NOT (filter_tags:
2773
- # ANY("Green"))` If your filter blocks all results, the API will return generic
2774
- # (unfiltered) popular Documents. If you only want results strictly matching the
2775
- # filters, set `strictFiltering` to True in RecommendRequest.params to receive
2776
- # empty results instead. Note that the API will never return Documents with `
2777
- # storageStatus` of `EXPIRED` or `DELETED` regardless of filter choices.
2754
+ # ANY("Green"))` If `attributeFilteringSyntax` is set to true under the `params`
2755
+ # field, then attribute-based expressions are expected instead of the above
2756
+ # described tag-based syntax. Examples: * (launguage: ANY("en", "es")) AND NOT (
2757
+ # categories: ANY("Movie")) * (available: true) AND (launguage: ANY("en", "es"))
2758
+ # OR (categories: ANY("Movie")) If your filter blocks all results, the API will
2759
+ # return generic (unfiltered) popular Documents. If you only want results
2760
+ # strictly matching the filters, set `strictFiltering` to True in
2761
+ # RecommendRequest.params to receive empty results instead. Note that the API
2762
+ # will never return Documents with `storageStatus` of `EXPIRED` or `DELETED`
2763
+ # regardless of filter choices.
2778
2764
  # Corresponds to the JSON property `filter`
2779
2765
  # @return [String]
2780
2766
  attr_accessor :filter
@@ -2799,7 +2785,9 @@ module Google
2799
2785
  # recommendation results. * `diversityLevel`: String. Default empty. If set to
2800
2786
  # be non-empty, then it needs to be one of: * `no-diversity` * `low-diversity` *
2801
2787
  # `medium-diversity` * `high-diversity` * `auto-diversity` This gives request-
2802
- # level control and adjusts recommendation results based on Document category.
2788
+ # level control and adjusts recommendation results based on Document category. *
2789
+ # `attributeFilteringSyntax`: Boolean. False by default. If set to true, the `
2790
+ # filter` field is interpreted according to the new, attribute-based syntax.
2803
2791
  # Corresponds to the JSON property `params`
2804
2792
  # @return [Hash<String,Object>]
2805
2793
  attr_accessor :params
@@ -3111,7 +3099,14 @@ module Google
3111
3099
  # The filter syntax consists of an expression language for constructing a
3112
3100
  # predicate from one or more fields of the documents being filtered. Filter
3113
3101
  # expression is case-sensitive. If this field is unrecognizable, an `
3114
- # INVALID_ARGUMENT` is returned.
3102
+ # INVALID_ARGUMENT` is returned. Filtering in Vertex AI Search is done by
3103
+ # mapping the LHS filter key to a key property defined in the Vertex AI Search
3104
+ # backend -- this mapping is defined by the customer in their schema. For
3105
+ # example a media customer might have a field 'name' in their schema. In this
3106
+ # case the filter would look like this: filter --> name:'ANY("king kong")' For
3107
+ # more information about filtering including syntax and filter operators, see [
3108
+ # Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-
3109
+ # metadata)
3115
3110
  # Corresponds to the JSON property `filter`
3116
3111
  # @return [String]
3117
3112
  attr_accessor :filter
@@ -3131,8 +3126,9 @@ module Google
3131
3126
 
3132
3127
  # The order in which documents are returned. Documents can be ordered by a field
3133
3128
  # in an Document object. Leave it unset if ordered by relevance. `order_by`
3134
- # expression is case-sensitive. If this field is unrecognizable, an `
3135
- # INVALID_ARGUMENT` is returned.
3129
+ # expression is case-sensitive. For more information on ordering, see [Ordering](
3130
+ # https://cloud.google.com/retail/docs/filter-and-order#order) If this field is
3131
+ # unrecognizable, an `INVALID_ARGUMENT` is returned.
3136
3132
  # Corresponds to the JSON property `orderBy`
3137
3133
  # @return [String]
3138
3134
  attr_accessor :order_by
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.24.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231003"
25
+ REVISION = "20231016"
26
26
  end
27
27
  end
28
28
  end
@@ -130,12 +130,6 @@ module Google
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
134
- class Representation < Google::Apis::Core::JsonRepresentation; end
135
-
136
- include Google::Apis::Core::JsonObjectSupport
137
- end
138
-
139
133
  class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
140
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
135
 
@@ -898,14 +892,6 @@ module Google
898
892
  end
899
893
  end
900
894
 
901
- class GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesResponse
902
- # @private
903
- class Representation < Google::Apis::Core::JsonRepresentation
904
- collection :target_sites, as: 'targetSites', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTargetSite, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTargetSite::Representation
905
-
906
- end
907
- end
908
-
909
895
  class GoogleCloudDiscoveryengineV1alphaCreateSchemaMetadata
910
896
  # @private
911
897
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-15 00:00:00.000000000 Z
11
+ date: 2023-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.24.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []