google-apis-discoveryengine_v1beta 0.24.0 → 0.26.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: fa300730087756ee24597024b7eaa87866ba68312b54ff6b5213f46098a29533
4
- data.tar.gz: 6d529abe22a44bdd90328dffd0dc1afc3b0cf5d1566bcbe221efab9a8d451b8f
3
+ metadata.gz: 2b31878ed5635318a180a540eb5e067040e19b7c8449ad81614a8b7e86dcf7b2
4
+ data.tar.gz: 0b2fbfb661dd01ba1eca280748a0955119ec99b454dc16359e9479e9472ca562
5
5
  SHA512:
6
- metadata.gz: eb5a33d11ec9880446de0c7736c2381bd9520597acc7ae46dd166b95c54de698a55ed24e373c8061dcfeb4d561feb8deb05f02b8f17865afc2c10c65ac63dfeb
7
- data.tar.gz: 8b4e68cd386f780eca5bbd785e9be3da903f6032b1591f60d442a899dfacbd4ec6d0f9586a59aac1f3a885995a13ea81583d51901a70665c3c137233ea775830
6
+ metadata.gz: a34e6fdfa00522602cf810ccb5b3f3094f51c85e26b2ea6af567c8566df944cae00391f382d3da9ef39f2d434b11af5afe5e3eb36dc3d011993ed69eb408f185
7
+ data.tar.gz: f34fde375b8af4ca9f0e62b59cac58df069f0b77fcd4fc26cb1e30b00335836ece4b60156d07d7ecc7d3affa16f79c9918c05a9c2228dc1a06fc8dfbf5eb3bbf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.26.0 (2023-11-05)
4
+
5
+ * Regenerated from discovery document revision 20231026
6
+
7
+ ### v0.25.0 (2023-10-22)
8
+
9
+ * Regenerated from discovery document revision 20231016
10
+
3
11
  ### v0.24.0 (2023-10-15)
4
12
 
5
13
  * 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
@@ -3154,10 +3150,12 @@ module Google
3154
3150
 
3155
3151
  # Additional search parameters. For public website search only, supported values
3156
3152
  # are: * `user_country_code`: string. Default empty. If set to non-empty,
3157
- # results are restricted or boosted based on the location provided. * `
3153
+ # results are restricted or boosted based on the location provided. Example:
3154
+ # user_country_code: "au" For available codes see [Country Codes](https://
3155
+ # developers.google.com/custom-search/docs/json_api_reference#countryCodes) * `
3158
3156
  # search_type`: double. Default empty. Enables non-webpage searching depending
3159
3157
  # on the value. The only valid non-default value is 1, which enables image
3160
- # searching.
3158
+ # searching. Example: search_type: 1
3161
3159
  # Corresponds to the JSON property `params`
3162
3160
  # @return [Hash<String,Object>]
3163
3161
  attr_accessor :params
@@ -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.26.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 = "20231026"
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.26.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-11-05 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.26.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: []