google-apis-discoveryengine_v1 0.6.0 → 0.7.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: bc80d289f3201e67dacf391a0bed023302b3b78a46383b3d5d4fcd94ec9ae0ed
4
- data.tar.gz: 40445b2616c129ecf30dfc9f23d9b3fbd40171794a35149872ac0a688c17d731
3
+ metadata.gz: 41c9d271bacd870b6f9a4a17957262daf81a5bc84341b6775cb7452394fa2b3e
4
+ data.tar.gz: 5b9933157a5ba22ccea979b5ef80db1da5a14be60f252f0de1a65b5b76776baa
5
5
  SHA512:
6
- metadata.gz: fe3c7bae685fe0d4bef296bde50a92b0591a625cb27eed8ede9ec6e5dcd5eee3c4e119a9360b3c15cb566989fdccf9be1ad37e9f354679cc43abfb474c08a04e
7
- data.tar.gz: 343965d5081f6bd1d87a95f51d40d883e8bf29497347808ee5551ee51ec643f63cfadaccc58bf40eebbc2a35b8543d4cc75ff4543948a8d6d95dd016c92a14ff
6
+ metadata.gz: 6da85b11db0c4cd610e490e6e3296f7d6512d8b08a5fede29278aa943d3311a90309ebf7cbd2ab547e6ad01549800dc9c8d22dea45eaa8b985a7241af7d9efcc
7
+ data.tar.gz: 4ed84e2ff042bb815fb956637fe02531f30330eda8e01717023108c47736170f29469deca91d0fa451516092130dae6df37368098eff62d81283bc4455e7433a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.7.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240612
6
+
3
7
  ### v0.6.0 (2024-06-09)
4
8
 
5
9
  * Regenerated from discovery document revision 20240607
@@ -5705,6 +5705,14 @@ module Google
5705
5705
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery]
5706
5706
  attr_accessor :image_query
5707
5707
 
5708
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more information,
5709
+ # see [Standard fields](https://cloud.google.com/apis/design/standard_fields).
5710
+ # This field helps to better interpret the query. If a value isn't specified,
5711
+ # the query language code is automatically detected, which may not be accurate.
5712
+ # Corresponds to the JSON property `languageCode`
5713
+ # @return [String]
5714
+ attr_accessor :language_code
5715
+
5708
5716
  # A 0-indexed integer that specifies the current offset (that is, starting
5709
5717
  # result location, amongst the Documents deemed by the API as relevant) in
5710
5718
  # search results. This field is only considered if page_token is unset. If this
@@ -5818,6 +5826,7 @@ module Google
5818
5826
  @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
5819
5827
  @filter = args[:filter] if args.key?(:filter)
5820
5828
  @image_query = args[:image_query] if args.key?(:image_query)
5829
+ @language_code = args[:language_code] if args.key?(:language_code)
5821
5830
  @offset = args[:offset] if args.key?(:offset)
5822
5831
  @order_by = args[:order_by] if args.key?(:order_by)
5823
5832
  @page_size = args[:page_size] if args.key?(:page_size)
@@ -8707,6 +8716,11 @@ module Google
8707
8716
  # @return [String]
8708
8717
  attr_accessor :industry_vertical
8709
8718
 
8719
+ # Language info for DataStore.
8720
+ # Corresponds to the JSON property `languageInfo`
8721
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo]
8722
+ attr_accessor :language_info
8723
+
8710
8724
  # Immutable. The full resource name of the data store. Format: `projects/`
8711
8725
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
8712
8726
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -8742,6 +8756,7 @@ module Google
8742
8756
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
8743
8757
  @idp_config = args[:idp_config] if args.key?(:idp_config)
8744
8758
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
8759
+ @language_info = args[:language_info] if args.key?(:language_info)
8745
8760
  @name = args[:name] if args.key?(:name)
8746
8761
  @solution_types = args[:solution_types] if args.key?(:solution_types)
8747
8762
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -9970,6 +9985,47 @@ module Google
9970
9985
  end
9971
9986
  end
9972
9987
 
9988
+ # Language info for DataStore.
9989
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
9990
+ include Google::Apis::Core::Hashable
9991
+
9992
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
9993
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
9994
+ # Corresponds to the JSON property `language`
9995
+ # @return [String]
9996
+ attr_accessor :language
9997
+
9998
+ # The language code for the DataStore.
9999
+ # Corresponds to the JSON property `languageCode`
10000
+ # @return [String]
10001
+ attr_accessor :language_code
10002
+
10003
+ # Output only. This is the normalized form of language_code. E.g.: language_code
10004
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
10005
+ # en-GB`.
10006
+ # Corresponds to the JSON property `normalizedLanguageCode`
10007
+ # @return [String]
10008
+ attr_accessor :normalized_language_code
10009
+
10010
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
10011
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
10012
+ # Corresponds to the JSON property `region`
10013
+ # @return [String]
10014
+ attr_accessor :region
10015
+
10016
+ def initialize(**args)
10017
+ update!(**args)
10018
+ end
10019
+
10020
+ # Update properties of this object
10021
+ def update!(**args)
10022
+ @language = args[:language] if args.key?(:language)
10023
+ @language_code = args[:language_code] if args.key?(:language_code)
10024
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
10025
+ @region = args[:region] if args.key?(:region)
10026
+ end
10027
+ end
10028
+
9973
10029
  # Response message for SearchTuningService.ListCustomModels method.
9974
10030
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
9975
10031
  include Google::Apis::Core::Hashable
@@ -11389,6 +11445,11 @@ module Google
11389
11445
  # @return [String]
11390
11446
  attr_accessor :industry_vertical
11391
11447
 
11448
+ # Language info for DataStore.
11449
+ # Corresponds to the JSON property `languageInfo`
11450
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo]
11451
+ attr_accessor :language_info
11452
+
11392
11453
  # Immutable. The full resource name of the data store. Format: `projects/`
11393
11454
  # project`/locations/`location`/collections/`collection_id`/dataStores/`
11394
11455
  # data_store_id``. This field must be a UTF-8 encoded string with a length limit
@@ -11422,6 +11483,7 @@ module Google
11422
11483
  @display_name = args[:display_name] if args.key?(:display_name)
11423
11484
  @document_processing_config = args[:document_processing_config] if args.key?(:document_processing_config)
11424
11485
  @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical)
11486
+ @language_info = args[:language_info] if args.key?(:language_info)
11425
11487
  @name = args[:name] if args.key?(:name)
11426
11488
  @solution_types = args[:solution_types] if args.key?(:solution_types)
11427
11489
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -12267,6 +12329,47 @@ module Google
12267
12329
  end
12268
12330
  end
12269
12331
 
12332
+ # Language info for DataStore.
12333
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
12334
+ include Google::Apis::Core::Hashable
12335
+
12336
+ # Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`,
12337
+ # `zh-Hans-HK` -> `zh`, `en` -> `en`.
12338
+ # Corresponds to the JSON property `language`
12339
+ # @return [String]
12340
+ attr_accessor :language
12341
+
12342
+ # The language code for the DataStore.
12343
+ # Corresponds to the JSON property `languageCode`
12344
+ # @return [String]
12345
+ attr_accessor :language_code
12346
+
12347
+ # Output only. This is the normalized form of language_code. E.g.: language_code
12348
+ # of `en-GB`, `en_GB`, `en-UK` or `en-gb` will have normalized_language_code of `
12349
+ # en-GB`.
12350
+ # Corresponds to the JSON property `normalizedLanguageCode`
12351
+ # @return [String]
12352
+ attr_accessor :normalized_language_code
12353
+
12354
+ # Output only. Region part of normalized_language_code, if present. E.g.: `en-US`
12355
+ # -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``.
12356
+ # Corresponds to the JSON property `region`
12357
+ # @return [String]
12358
+ attr_accessor :region
12359
+
12360
+ def initialize(**args)
12361
+ update!(**args)
12362
+ end
12363
+
12364
+ # Update properties of this object
12365
+ def update!(**args)
12366
+ @language = args[:language] if args.key?(:language)
12367
+ @language_code = args[:language_code] if args.key?(:language_code)
12368
+ @normalized_language_code = args[:normalized_language_code] if args.key?(:normalized_language_code)
12369
+ @region = args[:region] if args.key?(:region)
12370
+ end
12371
+ end
12372
+
12270
12373
  # Response message for SearchTuningService.ListCustomModels method.
12271
12374
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
12272
12375
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1
18
18
  # Version of the google-apis-discoveryengine_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.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
@@ -1690,6 +1690,12 @@ module Google
1690
1690
  include Google::Apis::Core::JsonObjectSupport
1691
1691
  end
1692
1692
 
1693
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
1694
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1695
+
1696
+ include Google::Apis::Core::JsonObjectSupport
1697
+ end
1698
+
1693
1699
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
1694
1700
  class Representation < Google::Apis::Core::JsonRepresentation; end
1695
1701
 
@@ -2122,6 +2128,12 @@ module Google
2122
2128
  include Google::Apis::Core::JsonObjectSupport
2123
2129
  end
2124
2130
 
2131
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
2132
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2133
+
2134
+ include Google::Apis::Core::JsonObjectSupport
2135
+ end
2136
+
2125
2137
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
2126
2138
  class Representation < Google::Apis::Core::JsonRepresentation; end
2127
2139
 
@@ -3875,6 +3887,7 @@ module Google
3875
3887
  property :filter, as: 'filter'
3876
3888
  property :image_query, as: 'imageQuery', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestImageQuery::Representation
3877
3889
 
3890
+ property :language_code, as: 'languageCode'
3878
3891
  property :offset, as: 'offset'
3879
3892
  property :order_by, as: 'orderBy'
3880
3893
  property :page_size, as: 'pageSize'
@@ -4670,6 +4683,8 @@ module Google
4670
4683
  property :idp_config, as: 'idpConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdpConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaIdpConfig::Representation
4671
4684
 
4672
4685
  property :industry_vertical, as: 'industryVertical'
4686
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaLanguageInfo::Representation
4687
+
4673
4688
  property :name, as: 'name'
4674
4689
  collection :solution_types, as: 'solutionTypes'
4675
4690
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSchema::Representation
@@ -5017,6 +5032,16 @@ module Google
5017
5032
  end
5018
5033
  end
5019
5034
 
5035
+ class GoogleCloudDiscoveryengineV1alphaLanguageInfo
5036
+ # @private
5037
+ class Representation < Google::Apis::Core::JsonRepresentation
5038
+ property :language, as: 'language'
5039
+ property :language_code, as: 'languageCode'
5040
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5041
+ property :region, as: 'region'
5042
+ end
5043
+ end
5044
+
5020
5045
  class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
5021
5046
  # @private
5022
5047
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5425,6 +5450,8 @@ module Google
5425
5450
  property :document_processing_config, as: 'documentProcessingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig::Representation
5426
5451
 
5427
5452
  property :industry_vertical, as: 'industryVertical'
5453
+ property :language_info, as: 'languageInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaLanguageInfo::Representation
5454
+
5428
5455
  property :name, as: 'name'
5429
5456
  collection :solution_types, as: 'solutionTypes'
5430
5457
  property :starting_schema, as: 'startingSchema', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSchema::Representation
@@ -5683,6 +5710,16 @@ module Google
5683
5710
  end
5684
5711
  end
5685
5712
 
5713
+ class GoogleCloudDiscoveryengineV1betaLanguageInfo
5714
+ # @private
5715
+ class Representation < Google::Apis::Core::JsonRepresentation
5716
+ property :language, as: 'language'
5717
+ property :language_code, as: 'languageCode'
5718
+ property :normalized_language_code, as: 'normalizedLanguageCode'
5719
+ property :region, as: 'region'
5720
+ end
5721
+ end
5722
+
5686
5723
  class GoogleCloudDiscoveryengineV1betaListCustomModelsResponse
5687
5724
  # @private
5688
5725
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
63
63
  post_install_message:
64
64
  rdoc_options: []