google-apis-discoveryengine_v1beta 0.91.0 → 0.92.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: 0ceb0dcb534a0ae9e6ec2e367be53e597e9a136a1dd3206749cb775bde85570c
4
- data.tar.gz: d9466968878864b839662a153b699eefc905b0d1d417c9921e5d02927dc43202
3
+ metadata.gz: 30b11589d92839364b805272e2a8b19de1fb651154b5808c50fc5a745e5641ef
4
+ data.tar.gz: ab20b76e3076a49db7959ea2c806ca88b8396bc85f2ef3c7c67e5020843907cc
5
5
  SHA512:
6
- metadata.gz: ee87ccd1556473b7e2270dab7f03204877a216d0d66611040e9e201dfa94802b8e46f4279b9dc5bf4789dff5202dc25ee4ab2282cc0ca332c9675d9ed825ec96
7
- data.tar.gz: 04fdab7bffeb3c7d4d0cd3e159e3887a8c40dd2789d7a7ff2302c4153a0e0156bebf699c3b02831cbdec48974cb4d926870ba14a16c17bf975120bc589a610c5
6
+ metadata.gz: 7434aaf16f043bd08446d205844aa79290d392fb8c2982d3b0364eb660e464d3ccf4aae42b0f230f62f57bd005da80a250802332423e642a31279dbab761af1d
7
+ data.tar.gz: aaa45833f068659bac96f5727b1dc73be957aa6bdaecffa8982e60f1903fddc3c7275684ed1b97d059bd692e0dc0d0abe964777ebddf7825e6a872b13eddd2c3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.92.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
3
7
  ### v0.91.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251203
@@ -2681,6 +2681,11 @@ module Google
2681
2681
  # @return [String]
2682
2682
  attr_accessor :name
2683
2683
 
2684
+ # Configuration for Natural Language Query Understanding.
2685
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingConfig`
2686
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig]
2687
+ attr_accessor :natural_language_query_understanding_config
2688
+
2684
2689
  # Stores information regarding the serving configurations at DataStore level.
2685
2690
  # Corresponds to the JSON property `servingConfigDataStore`
2686
2691
  # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore]
@@ -2727,6 +2732,7 @@ module Google
2727
2732
  @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
2728
2733
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
2729
2734
  @name = args[:name] if args.key?(:name)
2735
+ @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
2730
2736
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
2731
2737
  @solution_types = args[:solution_types] if args.key?(:solution_types)
2732
2738
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -4435,6 +4441,26 @@ module Google
4435
4441
  end
4436
4442
  end
4437
4443
 
4444
+ # Configuration for Natural Language Query Understanding.
4445
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
4446
+ include Google::Apis::Core::Hashable
4447
+
4448
+ # Mode of Natural Language Query Understanding. If this field is unset, the
4449
+ # behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
4450
+ # Corresponds to the JSON property `mode`
4451
+ # @return [String]
4452
+ attr_accessor :mode
4453
+
4454
+ def initialize(**args)
4455
+ update!(**args)
4456
+ end
4457
+
4458
+ # Update properties of this object
4459
+ def update!(**args)
4460
+ @mode = args[:mode] if args.key?(:mode)
4461
+ end
4462
+ end
4463
+
4438
4464
  # Metadata and configurations for a Google Cloud project in the service.
4439
4465
  class GoogleCloudDiscoveryengineV1Project
4440
4466
  include Google::Apis::Core::Hashable
@@ -13198,11 +13224,12 @@ module Google
13198
13224
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
13199
13225
  # of the query for browse (navigation) queries. It's used by the browse model
13200
13226
  # when the query is empty. If the field is empty, it will not be used by the
13201
- # browse model. To represent full path of a category, use '>' character to
13202
- # separate different hierarchies. If '>' is part of the category name, replace
13203
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
13204
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
13205
- # Graphics Cards > RTX_4090 > Founders Edition`
13227
+ # browse model. If the field contains more than one element, only the first
13228
+ # element will be used. To represent full path of a category, use '>' character
13229
+ # to separate different hierarchies. If '>' is part of the category name,
13230
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
13231
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
13232
+ # `Graphics Cards > RTX_4090 > Founders Edition`
13206
13233
  # Corresponds to the JSON property `pageCategories`
13207
13234
  # @return [Array<String>]
13208
13235
  attr_accessor :page_categories
@@ -26502,11 +26529,12 @@ module Google
26502
26529
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
26503
26530
  # of the query for browse (navigation) queries. It's used by the browse model
26504
26531
  # when the query is empty. If the field is empty, it will not be used by the
26505
- # browse model. To represent full path of a category, use '>' character to
26506
- # separate different hierarchies. If '>' is part of the category name, replace
26507
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
26508
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
26509
- # Graphics Cards > RTX_4090 > Founders Edition`
26532
+ # browse model. If the field contains more than one element, only the first
26533
+ # element will be used. To represent full path of a category, use '>' character
26534
+ # to separate different hierarchies. If '>' is part of the category name,
26535
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
26536
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
26537
+ # `Graphics Cards > RTX_4090 > Founders Edition`
26510
26538
  # Corresponds to the JSON property `pageCategories`
26511
26539
  # @return [Array<String>]
26512
26540
  attr_accessor :page_categories
@@ -30412,15 +30440,15 @@ module Google
30412
30440
  # @return [String]
30413
30441
  attr_accessor :event_type
30414
30442
 
30415
- # The filter syntax consists of an expression language for constructing a
30416
- # predicate from one or more fields of the documents being filtered. One example
30417
- # is for `search` events, the associated SearchRequest may contain a filter
30418
- # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
30419
- # filtering. Similarly, for `view-item-list` events that are generated from a
30420
- # RecommendRequest, this field may be populated directly from RecommendRequest.
30421
- # filter conforming to https://google.aip.dev/160#filtering. The value must be a
30422
- # UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `
30423
- # INVALID_ARGUMENT` error is returned.
30443
+ # Optional. The filter syntax consists of an expression language for
30444
+ # constructing a predicate from one or more fields of the documents being
30445
+ # filtered. One example is for `search` events, the associated SearchRequest may
30446
+ # contain a filter expression in SearchRequest.filter conforming to https://
30447
+ # google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
30448
+ # generated from a RecommendRequest, this field may be populated directly from
30449
+ # RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
30450
+ # The value must be a UTF-8 encoded string with a length limit of 1,000
30451
+ # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
30424
30452
  # Corresponds to the JSON property `filter`
30425
30453
  # @return [String]
30426
30454
  attr_accessor :filter
@@ -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.91.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20251203"
25
+ REVISION = "20251209"
26
26
  end
27
27
  end
28
28
  end
@@ -700,6 +700,12 @@ module Google
700
700
  include Google::Apis::Core::JsonObjectSupport
701
701
  end
702
702
 
703
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
703
709
  class GoogleCloudDiscoveryengineV1Project
704
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
705
711
 
@@ -5619,6 +5625,8 @@ module Google
5619
5625
  property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
5620
5626
  property :kms_key_name, as: 'kmsKeyName'
5621
5627
  property :name, as: 'name'
5628
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
5629
+
5622
5630
  property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
5623
5631
 
5624
5632
  collection :solution_types, as: 'solutionTypes'
@@ -6102,6 +6110,13 @@ module Google
6102
6110
  end
6103
6111
  end
6104
6112
 
6113
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
6114
+ # @private
6115
+ class Representation < Google::Apis::Core::JsonRepresentation
6116
+ property :mode, as: 'mode'
6117
+ end
6118
+ end
6119
+
6105
6120
  class GoogleCloudDiscoveryengineV1Project
6106
6121
  # @private
6107
6122
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2377,6 +2377,39 @@ module Google
2377
2377
  execute_or_queue_command(command, &block)
2378
2378
  end
2379
2379
 
2380
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2381
+ # not exist.
2382
+ # @param [String] name
2383
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
2384
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
2385
+ # servingConfigs/`serving_config_id``
2386
+ # @param [String] fields
2387
+ # Selector specifying which fields to include in a partial response.
2388
+ # @param [String] quota_user
2389
+ # Available to use for quota purposes for server-side applications. Can be any
2390
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2391
+ # @param [Google::Apis::RequestOptions] options
2392
+ # Request-specific options
2393
+ #
2394
+ # @yield [result, err] Result & error if block supplied
2395
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
2396
+ # @yieldparam err [StandardError] error object if request failed
2397
+ #
2398
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
2399
+ #
2400
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2401
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2402
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2403
+ def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
2404
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
2405
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
2406
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
2407
+ command.params['name'] = name unless name.nil?
2408
+ command.query['fields'] = fields unless fields.nil?
2409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2410
+ execute_or_queue_command(command, &block)
2411
+ end
2412
+
2380
2413
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
2381
2414
  # exist.
2382
2415
  # @param [String] name
@@ -4946,6 +4979,39 @@ module Google
4946
4979
  execute_or_queue_command(command, &block)
4947
4980
  end
4948
4981
 
4982
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
4983
+ # not exist.
4984
+ # @param [String] name
4985
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
4986
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
4987
+ # servingConfigs/`serving_config_id``
4988
+ # @param [String] fields
4989
+ # Selector specifying which fields to include in a partial response.
4990
+ # @param [String] quota_user
4991
+ # Available to use for quota purposes for server-side applications. Can be any
4992
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4993
+ # @param [Google::Apis::RequestOptions] options
4994
+ # Request-specific options
4995
+ #
4996
+ # @yield [result, err] Result & error if block supplied
4997
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
4998
+ # @yieldparam err [StandardError] error object if request failed
4999
+ #
5000
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
5001
+ #
5002
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5003
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5004
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5005
+ def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
5006
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
5007
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
5008
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
5009
+ command.params['name'] = name unless name.nil?
5010
+ command.query['fields'] = fields unless fields.nil?
5011
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5012
+ execute_or_queue_command(command, &block)
5013
+ end
5014
+
4949
5015
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
4950
5016
  # exist.
4951
5017
  # @param [String] name
@@ -7198,6 +7264,39 @@ module Google
7198
7264
  execute_or_queue_command(command, &block)
7199
7265
  end
7200
7266
 
7267
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7268
+ # not exist.
7269
+ # @param [String] name
7270
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
7271
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7272
+ # servingConfigs/`serving_config_id``
7273
+ # @param [String] fields
7274
+ # Selector specifying which fields to include in a partial response.
7275
+ # @param [String] quota_user
7276
+ # Available to use for quota purposes for server-side applications. Can be any
7277
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7278
+ # @param [Google::Apis::RequestOptions] options
7279
+ # Request-specific options
7280
+ #
7281
+ # @yield [result, err] Result & error if block supplied
7282
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
7283
+ # @yieldparam err [StandardError] error object if request failed
7284
+ #
7285
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
7286
+ #
7287
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7288
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7289
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7290
+ def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7291
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
7292
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
7293
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
7294
+ command.params['name'] = name unless name.nil?
7295
+ command.query['fields'] = fields unless fields.nil?
7296
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7297
+ execute_or_queue_command(command, &block)
7298
+ end
7299
+
7201
7300
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7202
7301
  # exist.
7203
7302
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.92.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.92.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: