google-apis-discoveryengine_v1beta 0.47.0 → 0.48.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: 529b8368b5559daf69ddc673fe286e58c67adc8d9080218fff1ac4d75dbd96a4
4
- data.tar.gz: ef7902939c372b9107f16395e98c995a80220cad9aa97c92c0a2a726f3cfaff1
3
+ metadata.gz: ee5520300f688b808c77dbbd452a8f086a8a21ee72553efa36e7188ae9d7bc52
4
+ data.tar.gz: 400d8bbd80011a5b450441dcd718d4564a285e6f23a0402dd7e6bb252004aa72
5
5
  SHA512:
6
- metadata.gz: b694aeee6e219d01f8d5c744826915bab49734f75fecb646f1fb1ea4831943060ffd22c7e92d4d6b612d416816de8604275813791418f1944274417944d2fe65
7
- data.tar.gz: bdca999495c90834f00ce7a3d1a18bb87ba17607a446ab663a2b7b9f0b30abdc1ccfe865794d04afff5a18b062dfa87b0ee7b2e813f756020d0d98a075229d90
6
+ metadata.gz: 55ef6e119ca58a5dd5e7e67c6a5f6f92ef6953af2a1caed562febdccbf9837ccf44ce4216153e3c3daccc7ade2ecf95ed4517520347faee063a9cd119b3f9058
7
+ data.tar.gz: 4b9244820eb509cad90f053ac9c661461cbb7b457b973667c145eb542b0800acfd333c7f13963f819775d5042248561ee2ec9a4e7d76a09802b1c22ed65c7082
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.48.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240612
6
+
3
7
  ### v0.47.0 (2024-06-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20240607
@@ -3205,6 +3205,11 @@ module Google
3205
3205
  # @return [String]
3206
3206
  attr_accessor :industry_vertical
3207
3207
 
3208
+ # Language info for DataStore.
3209
+ # Corresponds to the JSON property `languageInfo`
3210
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
3211
+ attr_accessor :language_info
3212
+
3208
3213
  # Immutable. The full resource name of the data store. Format: `projects/`
3209
3214
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
3210
3215
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -3240,6 +3245,7 @@ module Google
3240
3245
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
3241
3246
  @idp_config = args[:idp_config] if args.key?(:idp_config)
3242
3247
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
3248
+ @language_info = args[:language_info] if args.key?(:language_info)
3243
3249
  @name = args[:name] if args.key?(:name)
3244
3250
  @solution_types = args[:solution_types] if args.key?(:solution_types)
3245
3251
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -4468,6 +4474,47 @@ module Google
4468
4474
  end
4469
4475
  end
4470
4476
 
4477
+ # Language info for DataStore.
4478
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
4479
+ include Google::Apis::Core::Hashable
4480
+
4481
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
4482
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
4483
+ # Corresponds to the JSON property `language`
4484
+ # @return [String]
4485
+ attr_accessor :language
4486
+
4487
+ # The language code for the DataStore.
4488
+ # Corresponds to the JSON property `languageCode`
4489
+ # @return [String]
4490
+ attr_accessor :language_code
4491
+
4492
+ # Output only. This is the normalized form of language_code. E.g.: language_code
4493
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
4494
+ # en-GB`.
4495
+ # Corresponds to the JSON property `normalizedLanguageCode`
4496
+ # @return [String]
4497
+ attr_accessor :normalized_language_code
4498
+
4499
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
4500
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
4501
+ # Corresponds to the JSON property `region`
4502
+ # @return [String]
4503
+ attr_accessor :region
4504
+
4505
+ def initialize(**args)
4506
+ update!(**args)
4507
+ end
4508
+
4509
+ # Update properties of this object
4510
+ def update!(**args)
4511
+ @language = args[:language] if args.key?(:language)
4512
+ @language_code = args[:language_code] if args.key?(:language_code)
4513
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
4514
+ @region = args[:region] if args.key?(:region)
4515
+ end
4516
+ end
4517
+
4471
4518
  # Response message for SearchTuningService.ListCustomModels method.
4472
4519
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
4473
4520
  include Google::Apis::Core::Hashable
@@ -8151,6 +8198,11 @@ module Google
8151
8198
  # @return [String]
8152
8199
  attr_accessor :industry_vertical
8153
8200
 
8201
+ # Language info for DataStore.
8202
+ # Corresponds to the JSON property `languageInfo`
8203
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo]
8204
+ attr_accessor :language_info
8205
+
8154
8206
  # Immutable. The full resource name of the data store. Format: `projects/`
8155
8207
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
8156
8208
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -8184,6 +8236,7 @@ module Google
8184
8236
  @display_name = args[:display_name] if args.key?(:display_name)
8185
8237
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
8186
8238
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
8239
+ @language_info = args[:language_info] if args.key?(:language_info)
8187
8240
  @name = args[:name] if args.key?(:name)
8188
8241
  @solution_types = args[:solution_types] if args.key?(:solution_types)
8189
8242
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -9759,6 +9812,47 @@ module Google
9759
9812
  end
9760
9813
  end
9761
9814
 
9815
+ # Language info for DataStore.
9816
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
9817
+ include Google::Apis::Core::Hashable
9818
+
9819
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
9820
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
9821
+ # Corresponds to the JSON property `language`
9822
+ # @return [String]
9823
+ attr_accessor :language
9824
+
9825
+ # The language code for the DataStore.
9826
+ # Corresponds to the JSON property `languageCode`
9827
+ # @return [String]
9828
+ attr_accessor :language_code
9829
+
9830
+ # Output only. This is the normalized form of language_code. E.g.: language_code
9831
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
9832
+ # en-GB`.
9833
+ # Corresponds to the JSON property `normalizedLanguageCode`
9834
+ # @return [String]
9835
+ attr_accessor :normalized_language_code
9836
+
9837
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
9838
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
9839
+ # Corresponds to the JSON property `region`
9840
+ # @return [String]
9841
+ attr_accessor :region
9842
+
9843
+ def initialize(**args)
9844
+ update!(**args)
9845
+ end
9846
+
9847
+ # Update properties of this object
9848
+ def update!(**args)
9849
+ @language = args[:language] if args.key?(:language)
9850
+ @language_code = args[:language_code] if args.key?(:language_code)
9851
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
9852
+ @region = args[:region] if args.key?(:region)
9853
+ end
9854
+ end
9855
+
9762
9856
  # Response for ListControls method.
9763
9857
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
9764
9858
  include Google::Apis::Core::Hashable
@@ -11022,6 +11116,14 @@ module Google
11022
11116
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery]
11023
11117
  attr_accessor :image_query
11024
11118
 
11119
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
11120
+ # see [Standard fields](https://cloud.google.com/apis/design/standard_fields).
11121
+ # This field helps to better interpret the query. If a value isn't specified,
11122
+ # the query language code is automatically detected, which may not be accurate.
11123
+ # Corresponds to the JSON property `languageCode`
11124
+ # @return [String]
11125
+ attr_accessor :language_code
11126
+
11025
11127
  # A 0-indexed integer that specifies the current offset (that is, starting
11026
11128
  # result location, amongst the Documents deemed by the API as relevant) in
11027
11129
  # search results. This field is only considered if page_token is unset. If this
@@ -11093,6 +11195,14 @@ module Google
11093
11195
  # @return [String]
11094
11196
  attr_accessor :ranking_expression
11095
11197
 
11198
+ # The Unicode country/region code (CLDR) of a location, such as "US" and "419".
11199
+ # For more information, see [Standard fields](https://cloud.google.com/apis/
11200
+ # design/standard_fields). If set, then results will be boosted based on the
11201
+ # region_code provided.
11202
+ # Corresponds to the JSON property `regionCode`
11203
+ # @return [String]
11204
+ attr_accessor :region_code
11205
+
11096
11206
  # Whether to turn on safe search. This is only supported for website search.
11097
11207
  # Corresponds to the JSON property `safeSearch`
11098
11208
  # @return [Boolean]
@@ -11151,6 +11261,7 @@ module Google
11151
11261
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
11152
11262
  @filter = args[:filter] if args.key?(:filter)
11153
11263
  @image_query = args[:image_query] if args.key?(:image_query)
11264
+ @language_code = args[:language_code] if args.key?(:language_code)
11154
11265
  @offset = args[:offset] if args.key?(:offset)
11155
11266
  @order_by = args[:order_by] if args.key?(:order_by)
11156
11267
  @page_size = args[:page_size] if args.key?(:page_size)
@@ -11159,6 +11270,7 @@ module Google
11159
11270
  @query = args[:query] if args.key?(:query)
11160
11271
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
11161
11272
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
11273
+ @region_code = args[:region_code] if args.key?(:region_code)
11162
11274
  @safe_search = args[:safe_search] if args.key?(:safe_search)
11163
11275
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
11164
11276
  @user_info = args[:user_info] if args.key?(:user_info)
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240607"
25
+ REVISION = "20240612"
26
26
  end
27
27
  end
28
28
  end
@@ -832,6 +832,12 @@ module Google
832
832
  include Google::Apis::Core::JsonObjectSupport
833
833
  end
834
834
 
835
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
835
841
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
836
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
843
 
@@ -1762,6 +1768,12 @@ module Google
1762
1768
  include Google::Apis::Core::JsonObjectSupport
1763
1769
  end
1764
1770
 
1771
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
1772
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1773
+
1774
+ include Google::Apis::Core::JsonObjectSupport
1775
+ end
1776
+
1765
1777
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
1766
1778
  class Representation < Google::Apis::Core::JsonRepresentation; end
1767
1779
 
@@ -3310,6 +3322,8 @@ module Google
3310
3322
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
3311
3323
 
3312
3324
  property :industry_vertical, as: 'industryVertical'
3325
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
3326
+
3313
3327
  property :name, as: 'name'
3314
3328
  collection :solution_types, as: 'solutionTypes'
3315
3329
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -3657,6 +3671,16 @@ module Google
3657
3671
  end
3658
3672
  end
3659
3673
 
3674
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
3675
+ # @private
3676
+ class Representation < Google::Apis::Core::JsonRepresentation
3677
+ property :language, as: 'language'
3678
+ property :language_code, as: 'languageCode'
3679
+ property :normalized_language_code, as: 'normalizedLanguageCode'
3680
+ property :region, as: 'region'
3681
+ end
3682
+ end
3683
+
3660
3684
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
3661
3685
  # @private
3662
3686
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4709,6 +4733,8 @@ module Google
4709
4733
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
4710
4734
 
4711
4735
  property :industry_vertical, as: 'industryVertical'
4736
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
4737
+
4712
4738
  property :name, as: 'name'
4713
4739
  collection :solution_types, as: 'solutionTypes'
4714
4740
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -5171,6 +5197,16 @@ module Google
5171
5197
  end
5172
5198
  end
5173
5199
 
5200
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
5201
+ # @private
5202
+ class Representation < Google::Apis::Core::JsonRepresentation
5203
+ property :language, as: 'language'
5204
+ property :language_code, as: 'languageCode'
5205
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5206
+ property :region, as: 'region'
5207
+ end
5208
+ end
5209
+
5174
5210
  class GoogleCloudDiscoveryengineV1betaListControlsResponse
5175
5211
  # @private
5176
5212
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5524,6 +5560,7 @@ module Google
5524
5560
  property :filter, as: 'filter'
5525
5561
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestImageQuery::Representation
5526
5562
 
5563
+ property :language_code, as: 'languageCode'
5527
5564
  property :offset, as: 'offset'
5528
5565
  property :order_by, as: 'orderBy'
5529
5566
  property :page_size, as: 'pageSize'
@@ -5533,6 +5570,7 @@ module Google
5533
5570
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestQueryExpansionSpec::Representation
5534
5571
 
5535
5572
  property :ranking_expression, as: 'rankingExpression'
5573
+ property :region_code, as: 'regionCode'
5536
5574
  property :safe_search, as: 'safeSearch'
5537
5575
  property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestSpellCorrectionSpec::Representation
5538
5576
 
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.47.0
4
+ version: 0.48.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: 2024-06-09 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.48.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: []