google-apis-discoveryengine_v1alpha 0.49.0 → 0.50.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: cd5f3d089b9f4bb617a1012319ddb8f5958276b4773330a63f76ed70cd618c6e
4
- data.tar.gz: 3878a730e230fc927cc07723c23a64fa424ff94befdb2ec7b424e22b1d92c84d
3
+ metadata.gz: 74ba8b39c4e88bff0e01875179f88d5c655cba6c1c336d9826e6cb27f76fbc09
4
+ data.tar.gz: c8f570fd0fd94be036fecc4663a53fc71542396a202453978c0a5d89e8e602a4
5
5
  SHA512:
6
- metadata.gz: db67478924e3ee0e04f7792e94a2f1248a1be537c769a1e8ce504caa4fe27cd2a5c3c9cfb34c3912dfff7e762f0547614c148883cd714811fae798092dc0b97a
7
- data.tar.gz: 6ba840d1ba3ca23f7f6dd24e4b788814d8c33beef4a1c41c91a05b27a9f1589ec1b1188d86c6b15877b8b82c09c1a6fff336c4c7e1b96b2d9e817e2034bcf586
6
+ metadata.gz: ec92768f17e7dbdfe8fd5842da44c542841b72c7627df1b7abe964f931cd471c30397d257744a382cb531febd85dd2bdc11b4a52480f12fe286c74d1adaf9951
7
+ data.tar.gz: 5ff17202b43b6472421a041e3c19762453e6ef45c669bb882fb8de7cb5897f661e965650c93737601c4af7637a6755a1086b011cb27e8207b2c8b18cca27384d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.50.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240612
6
+
3
7
  ### v0.49.0 (2024-06-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20240607
@@ -5425,6 +5425,11 @@ module Google
5425
5425
  # @return [String]
5426
5426
  attr_accessor :industry_vertical
5427
5427
 
5428
+ # Language info for DataStore.
5429
+ # Corresponds to the JSON property `languageInfo`
5430
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
5431
+ attr_accessor :language_info
5432
+
5428
5433
  # Immutable. The full resource name of the data store. Format: `projects/`
5429
5434
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
5430
5435
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -5460,6 +5465,7 @@ module Google
5460
5465
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
5461
5466
  @idp_config = args[:idp_config] if args.key?(:idp_config)
5462
5467
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
5468
+ @language_info = args[:language_info] if args.key?(:language_info)
5463
5469
  @name = args[:name] if args.key?(:name)
5464
5470
  @solution_types = args[:solution_types] if args.key?(:solution_types)
5465
5471
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -7612,6 +7618,47 @@ module Google
7612
7618
  end
7613
7619
  end
7614
7620
 
7621
+ # Language info for DataStore.
7622
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
7623
+ include Google::Apis::Core::Hashable
7624
+
7625
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
7626
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
7627
+ # Corresponds to the JSON property `language`
7628
+ # @return [String]
7629
+ attr_accessor :language
7630
+
7631
+ # The language code for the DataStore.
7632
+ # Corresponds to the JSON property `languageCode`
7633
+ # @return [String]
7634
+ attr_accessor :language_code
7635
+
7636
+ # Output only. This is the normalized form of language_code. E.g.: language_code
7637
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
7638
+ # en-GB`.
7639
+ # Corresponds to the JSON property `normalizedLanguageCode`
7640
+ # @return [String]
7641
+ attr_accessor :normalized_language_code
7642
+
7643
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
7644
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
7645
+ # Corresponds to the JSON property `region`
7646
+ # @return [String]
7647
+ attr_accessor :region
7648
+
7649
+ def initialize(**args)
7650
+ update!(**args)
7651
+ end
7652
+
7653
+ # Update properties of this object
7654
+ def update!(**args)
7655
+ @language = args[:language] if args.key?(:language)
7656
+ @language_code = args[:language_code] if args.key?(:language_code)
7657
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
7658
+ @region = args[:region] if args.key?(:region)
7659
+ end
7660
+ end
7661
+
7615
7662
  # Response message for ChunkService.ListChunks method.
7616
7663
  class GoogleCloudDiscoveryengineV1alphaListChunksResponse
7617
7664
  include Google::Apis::Core::Hashable
@@ -9470,6 +9517,14 @@ module Google
9470
9517
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery]
9471
9518
  attr_accessor :image_query
9472
9519
 
9520
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
9521
+ # see [Standard fields](https://cloud.google.com/apis/design/standard_fields).
9522
+ # This field helps to better interpret the query. If a value isn't specified,
9523
+ # the query language code is automatically detected, which may not be accurate.
9524
+ # Corresponds to the JSON property `languageCode`
9525
+ # @return [String]
9526
+ attr_accessor :language_code
9527
+
9473
9528
  # A 0-indexed integer that specifies the current offset (that is, starting
9474
9529
  # result location, amongst the Documents deemed by the API as relevant) in
9475
9530
  # search results. This field is only considered if page_token is unset. If this
@@ -9541,6 +9596,14 @@ module Google
9541
9596
  # @return [String]
9542
9597
  attr_accessor :ranking_expression
9543
9598
 
9599
+ # The Unicode country/region code (CLDR) of a location, such as "US" and "419".
9600
+ # For more information, see [Standard fields](https://cloud.google.com/apis/
9601
+ # design/standard_fields). If set, then results will be boosted based on the
9602
+ # region_code provided.
9603
+ # Corresponds to the JSON property `regionCode`
9604
+ # @return [String]
9605
+ attr_accessor :region_code
9606
+
9544
9607
  # Whether to turn on safe search. This is only supported for website search.
9545
9608
  # Corresponds to the JSON property `safeSearch`
9546
9609
  # @return [Boolean]
@@ -9600,6 +9663,7 @@ module Google
9600
9663
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
9601
9664
  @filter = args[:filter] if args.key?(:filter)
9602
9665
  @image_query = args[:image_query] if args.key?(:image_query)
9666
+ @language_code = args[:language_code] if args.key?(:language_code)
9603
9667
  @offset = args[:offset] if args.key?(:offset)
9604
9668
  @order_by = args[:order_by] if args.key?(:order_by)
9605
9669
  @page_size = args[:page_size] if args.key?(:page_size)
@@ -9608,6 +9672,7 @@ module Google
9608
9672
  @query = args[:query] if args.key?(:query)
9609
9673
  @query_expansion_spec = args[:query_expansion_spec] if args.key?(:query_expansion_spec)
9610
9674
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
9675
+ @region_code = args[:region_code] if args.key?(:region_code)
9611
9676
  @safe_search = args[:safe_search] if args.key?(:safe_search)
9612
9677
  @spell_correction_spec = args[:spell_correction_spec] if args.key?(:spell_correction_spec)
9613
9678
  @user_info = args[:user_info] if args.key?(:user_info)
@@ -12606,6 +12671,11 @@ module Google
12606
12671
  # @return [String]
12607
12672
  attr_accessor :industry_vertical
12608
12673
 
12674
+ # Language info for DataStore.
12675
+ # Corresponds to the JSON property `languageInfo`
12676
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo]
12677
+ attr_accessor :language_info
12678
+
12609
12679
  # Immutable. The full resource name of the data store. Format: `projects/`
12610
12680
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
12611
12681
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -12639,6 +12709,7 @@ module Google
12639
12709
  @display_name = args[:display_name] if args.key?(:display_name)
12640
12710
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
12641
12711
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
12712
+ @language_info = args[:language_info] if args.key?(:language_info)
12642
12713
  @name = args[:name] if args.key?(:name)
12643
12714
  @solution_types = args[:solution_types] if args.key?(:solution_types)
12644
12715
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -13484,6 +13555,47 @@ module Google
13484
13555
  end
13485
13556
  end
13486
13557
 
13558
+ # Language info for DataStore.
13559
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
13560
+ include Google::Apis::Core::Hashable
13561
+
13562
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
13563
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
13564
+ # Corresponds to the JSON property `language`
13565
+ # @return [String]
13566
+ attr_accessor :language
13567
+
13568
+ # The language code for the DataStore.
13569
+ # Corresponds to the JSON property `languageCode`
13570
+ # @return [String]
13571
+ attr_accessor :language_code
13572
+
13573
+ # Output only. This is the normalized form of language_code. E.g.: language_code
13574
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
13575
+ # en-GB`.
13576
+ # Corresponds to the JSON property `normalizedLanguageCode`
13577
+ # @return [String]
13578
+ attr_accessor :normalized_language_code
13579
+
13580
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
13581
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
13582
+ # Corresponds to the JSON property `region`
13583
+ # @return [String]
13584
+ attr_accessor :region
13585
+
13586
+ def initialize(**args)
13587
+ update!(**args)
13588
+ end
13589
+
13590
+ # Update properties of this object
13591
+ def update!(**args)
13592
+ @language = args[:language] if args.key?(:language)
13593
+ @language_code = args[:language_code] if args.key?(:language_code)
13594
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
13595
+ @region = args[:region] if args.key?(:region)
13596
+ end
13597
+ end
13598
+
13487
13599
  # Response message for SearchTuningService.ListCustomModels method.
13488
13600
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
13489
13601
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.50.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
@@ -1342,6 +1342,12 @@ module Google
1342
1342
  include Google::Apis::Core::JsonObjectSupport
1343
1343
  end
1344
1344
 
1345
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1345
1351
  class GoogleCloudDiscoveryengineV1alphaListChunksResponse
1346
1352
  class Representation < Google::Apis::Core::JsonRepresentation; end
1347
1353
 
@@ -2290,6 +2296,12 @@ module Google
2290
2296
  include Google::Apis::Core::JsonObjectSupport
2291
2297
  end
2292
2298
 
2299
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
2300
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2301
+
2302
+ include Google::Apis::Core::JsonObjectSupport
2303
+ end
2304
+
2293
2305
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
2294
2306
  class Representation < Google::Apis::Core::JsonRepresentation; end
2295
2307
 
@@ -3970,6 +3982,8 @@ module Google
3970
3982
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
3971
3983
 
3972
3984
  property :industry_vertical, as: 'industryVertical'
3985
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
3986
+
3973
3987
  property :name, as: 'name'
3974
3988
  collection :solution_types, as: 'solutionTypes'
3975
3989
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -4585,6 +4599,16 @@ module Google
4585
4599
  end
4586
4600
  end
4587
4601
 
4602
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
4603
+ # @private
4604
+ class Representation < Google::Apis::Core::JsonRepresentation
4605
+ property :language, as: 'language'
4606
+ property :language_code, as: 'languageCode'
4607
+ property :normalized_language_code, as: 'normalizedLanguageCode'
4608
+ property :region, as: 'region'
4609
+ end
4610
+ end
4611
+
4588
4612
  class GoogleCloudDiscoveryengineV1alphaListChunksResponse
4589
4613
  # @private
4590
4614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5098,6 +5122,7 @@ module Google
5098
5122
  property :filter, as: 'filter'
5099
5123
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestImageQuery::Representation
5100
5124
 
5125
+ property :language_code, as: 'languageCode'
5101
5126
  property :offset, as: 'offset'
5102
5127
  property :order_by, as: 'orderBy'
5103
5128
  property :page_size, as: 'pageSize'
@@ -5107,6 +5132,7 @@ module Google
5107
5132
  property :query_expansion_spec, as: 'queryExpansionSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestQueryExpansionSpec::Representation
5108
5133
 
5109
5134
  property :ranking_expression, as: 'rankingExpression'
5135
+ property :region_code, as: 'regionCode'
5110
5136
  property :safe_search, as: 'safeSearch'
5111
5137
  property :spell_correction_spec, as: 'spellCorrectionSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSpellCorrectionSpec::Representation
5112
5138
 
@@ -5891,6 +5917,8 @@ module Google
5891
5917
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
5892
5918
 
5893
5919
  property :industry_vertical, as: 'industryVertical'
5920
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
5921
+
5894
5922
  property :name, as: 'name'
5895
5923
  collection :solution_types, as: 'solutionTypes'
5896
5924
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -6149,6 +6177,16 @@ module Google
6149
6177
  end
6150
6178
  end
6151
6179
 
6180
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
6181
+ # @private
6182
+ class Representation < Google::Apis::Core::JsonRepresentation
6183
+ property :language, as: 'language'
6184
+ property :language_code, as: 'languageCode'
6185
+ property :normalized_language_code, as: 'normalizedLanguageCode'
6186
+ property :region, as: 'region'
6187
+ end
6188
+ end
6189
+
6152
6190
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
6153
6191
  # @private
6154
6192
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.50.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.50.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
63
63
  post_install_message:
64
64
  rdoc_options: []