google-apis-discoveryengine_v1 0.60.0 → 0.61.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: 74ac812bfa8342f6d05238037d80b17867ff142df8f558e25b4a946c84e7dad9
4
- data.tar.gz: ab9c5ed3e94024882f805db16df824085e4abc48e212929de33cc1384aafac68
3
+ metadata.gz: caa0077084c3024edb346e90297cefb5deb87d5976a281345e909925fe8f452f
4
+ data.tar.gz: ebe4b8af5d78420de928353e60e3b38a87a3d42cd62253ac3c5b2a128904d6ce
5
5
  SHA512:
6
- metadata.gz: 8280f44c4854a9168478ba99e5339aa863115c84d9293b60ded5ce9da075ceab00a70ee49ec0875bc26d28fa611816a3acfd824e256a3390f6f5c8679f00e93c
7
- data.tar.gz: 565aa9e90c0f6497127b11c6a3c826562b624da554156fe46462abee568b72ca3164381ca2aec3a2aa1d7418e465e9db5ae41a14994e8f1c379d9beec4b820a7
6
+ metadata.gz: f69c9a2bf41763f952c9d4c83fdb9ffd27f453e2b880f33d56337a50e5a68c07abfe024e09c02ea64d3916b10715e54dc6a8f5b10a32287a27b3f12109df977a
7
+ data.tar.gz: bebcb6b9102b5d4e5dbcb063b4afa1acbb596537d92ad9e55858e38f2d635e37f42209209a4b9977d41a1958f332045598573907f6474eef3e9bd315cf775b77
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1
2
2
 
3
+ ### v0.61.0 (2025-12-14)
4
+
5
+ * Regenerated from discovery document revision 20251209
6
+
3
7
  ### v0.60.0 (2025-12-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20251203
@@ -6727,6 +6727,11 @@ module Google
6727
6727
  # @return [String]
6728
6728
  attr_accessor :name
6729
6729
 
6730
+ # Configuration for Natural Language Query Understanding.
6731
+ # Corresponds to the JSON property `naturalLanguageQueryUnderstandingConfig`
6732
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig]
6733
+ attr_accessor :natural_language_query_understanding_config
6734
+
6730
6735
  # Stores information regarding the serving configurations at DataStore level.
6731
6736
  # Corresponds to the JSON property `servingConfigDataStore`
6732
6737
  # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore]
@@ -6773,6 +6778,7 @@ module Google
6773
6778
  @is_infobot_faq_data_store = args[:is_infobot_faq_data_store] if args.key?(:is_infobot_faq_data_store)
6774
6779
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
6775
6780
  @name = args[:name] if args.key?(:name)
6781
+ @natural_language_query_understanding_config = args[:natural_language_query_understanding_config] if args.key?(:natural_language_query_understanding_config)
6776
6782
  @serving_config_data_store = args[:serving_config_data_store] if args.key?(:serving_config_data_store)
6777
6783
  @solution_types = args[:solution_types] if args.key?(:solution_types)
6778
6784
  @starting_schema = args[:starting_schema] if args.key?(:starting_schema)
@@ -10024,6 +10030,26 @@ module Google
10024
10030
  end
10025
10031
  end
10026
10032
 
10033
+ # Configuration for Natural Language Query Understanding.
10034
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
10035
+ include Google::Apis::Core::Hashable
10036
+
10037
+ # Mode of Natural Language Query Understanding. If this field is unset, the
10038
+ # behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
10039
+ # Corresponds to the JSON property `mode`
10040
+ # @return [String]
10041
+ attr_accessor :mode
10042
+
10043
+ def initialize(**args)
10044
+ update!(**args)
10045
+ end
10046
+
10047
+ # Update properties of this object
10048
+ def update!(**args)
10049
+ @mode = args[:mode] if args.key?(:mode)
10050
+ end
10051
+ end
10052
+
10027
10053
  # Detailed page information.
10028
10054
  class GoogleCloudDiscoveryengineV1PageInfo
10029
10055
  include Google::Apis::Core::Hashable
@@ -11545,11 +11571,12 @@ module Google
11545
11571
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
11546
11572
  # of the query for browse (navigation) queries. It's used by the browse model
11547
11573
  # when the query is empty. If the field is empty, it will not be used by the
11548
- # browse model. To represent full path of a category, use '>' character to
11549
- # separate different hierarchies. If '>' is part of the category name, replace
11550
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
11551
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
11552
- # Graphics Cards > RTX_4090 > Founders Edition`
11574
+ # browse model. If the field contains more than one element, only the first
11575
+ # element will be used. To represent full path of a category, use '>' character
11576
+ # to separate different hierarchies. If '>' is part of the category name,
11577
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
11578
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
11579
+ # `Graphics Cards > RTX_4090 > Founders Edition`
11553
11580
  # Corresponds to the JSON property `pageCategories`
11554
11581
  # @return [Array<String>]
11555
11582
  attr_accessor :page_categories
@@ -14775,15 +14802,15 @@ module Google
14775
14802
  # @return [String]
14776
14803
  attr_accessor :event_type
14777
14804
 
14778
- # The filter syntax consists of an expression language for constructing a
14779
- # predicate from one or more fields of the documents being filtered. One example
14780
- # is for `search` events, the associated SearchRequest may contain a filter
14781
- # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
14782
- # filtering. Similarly, for `view-item-list` events that are generated from a
14783
- # RecommendRequest, this field may be populated directly from RecommendRequest.
14784
- # filter conforming to https://google.aip.dev/160#filtering. The value must be a
14785
- # UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `
14786
- # INVALID_ARGUMENT` error is returned.
14805
+ # Optional. The filter syntax consists of an expression language for
14806
+ # constructing a predicate from one or more fields of the documents being
14807
+ # filtered. One example is for `search` events, the associated SearchRequest may
14808
+ # contain a filter expression in SearchRequest.filter conforming to https://
14809
+ # google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
14810
+ # generated from a RecommendRequest, this field may be populated directly from
14811
+ # RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
14812
+ # The value must be a UTF-8 encoded string with a length limit of 1,000
14813
+ # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
14787
14814
  # Corresponds to the JSON property `filter`
14788
14815
  # @return [String]
14789
14816
  attr_accessor :filter
@@ -23074,11 +23101,12 @@ module Google
23074
23101
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
23075
23102
  # of the query for browse (navigation) queries. It's used by the browse model
23076
23103
  # when the query is empty. If the field is empty, it will not be used by the
23077
- # browse model. To represent full path of a category, use '>' character to
23078
- # separate different hierarchies. If '>' is part of the category name, replace
23079
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
23080
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
23081
- # Graphics Cards > RTX_4090 > Founders Edition`
23104
+ # browse model. If the field contains more than one element, only the first
23105
+ # element will be used. To represent full path of a category, use '>' character
23106
+ # to separate different hierarchies. If '>' is part of the category name,
23107
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
23108
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
23109
+ # `Graphics Cards > RTX_4090 > Founders Edition`
23082
23110
  # Corresponds to the JSON property `pageCategories`
23083
23111
  # @return [Array<String>]
23084
23112
  attr_accessor :page_categories
@@ -28958,11 +28986,12 @@ module Google
28958
28986
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
28959
28987
  # of the query for browse (navigation) queries. It's used by the browse model
28960
28988
  # when the query is empty. If the field is empty, it will not be used by the
28961
- # browse model. To represent full path of a category, use '>' character to
28962
- # separate different hierarchies. If '>' is part of the category name, replace
28963
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
28964
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
28965
- # Graphics Cards > RTX_4090 > Founders Edition`
28989
+ # browse model. If the field contains more than one element, only the first
28990
+ # element will be used. To represent full path of a category, use '>' character
28991
+ # to separate different hierarchies. If '>' is part of the category name,
28992
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
28993
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
28994
+ # `Graphics Cards > RTX_4090 > Founders Edition`
28966
28995
  # Corresponds to the JSON property `pageCategories`
28967
28996
  # @return [Array<String>]
28968
28997
  attr_accessor :page_categories
@@ -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.60.0"
19
+ GEM_VERSION = "0.61.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
@@ -1654,6 +1654,12 @@ module Google
1654
1654
  include Google::Apis::Core::JsonObjectSupport
1655
1655
  end
1656
1656
 
1657
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
1658
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1659
+
1660
+ include Google::Apis::Core::JsonObjectSupport
1661
+ end
1662
+
1657
1663
  class GoogleCloudDiscoveryengineV1PageInfo
1658
1664
  class Representation < Google::Apis::Core::JsonRepresentation; end
1659
1665
 
@@ -6668,6 +6674,8 @@ module Google
6668
6674
  property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
6669
6675
  property :kms_key_name, as: 'kmsKeyName'
6670
6676
  property :name, as: 'name'
6677
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
6678
+
6671
6679
  property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
6672
6680
 
6673
6681
  collection :solution_types, as: 'solutionTypes'
@@ -7619,6 +7627,13 @@ module Google
7619
7627
  end
7620
7628
  end
7621
7629
 
7630
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
7631
+ # @private
7632
+ class Representation < Google::Apis::Core::JsonRepresentation
7633
+ property :mode, as: 'mode'
7634
+ end
7635
+ end
7636
+
7622
7637
  class GoogleCloudDiscoveryengineV1PageInfo
7623
7638
  # @private
7624
7639
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2456,6 +2456,39 @@ module Google
2456
2456
  execute_or_queue_command(command, &block)
2457
2457
  end
2458
2458
 
2459
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2460
+ # not exist.
2461
+ # @param [String] name
2462
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
2463
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
2464
+ # servingConfigs/`serving_config_id``
2465
+ # @param [String] fields
2466
+ # Selector specifying which fields to include in a partial response.
2467
+ # @param [String] quota_user
2468
+ # Available to use for quota purposes for server-side applications. Can be any
2469
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2470
+ # @param [Google::Apis::RequestOptions] options
2471
+ # Request-specific options
2472
+ #
2473
+ # @yield [result, err] Result & error if block supplied
2474
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
2475
+ # @yieldparam err [StandardError] error object if request failed
2476
+ #
2477
+ # @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
2478
+ #
2479
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2480
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2481
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2482
+ def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
2483
+ command = make_simple_command(:delete, 'v1/{+name}', options)
2484
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
2485
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
2486
+ command.params['name'] = name unless name.nil?
2487
+ command.query['fields'] = fields unless fields.nil?
2488
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2489
+ execute_or_queue_command(command, &block)
2490
+ end
2491
+
2459
2492
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
2460
2493
  # exist.
2461
2494
  # @param [String] name
@@ -5005,6 +5038,39 @@ module Google
5005
5038
  execute_or_queue_command(command, &block)
5006
5039
  end
5007
5040
 
5041
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
5042
+ # not exist.
5043
+ # @param [String] name
5044
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
5045
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
5046
+ # servingConfigs/`serving_config_id``
5047
+ # @param [String] fields
5048
+ # Selector specifying which fields to include in a partial response.
5049
+ # @param [String] quota_user
5050
+ # Available to use for quota purposes for server-side applications. Can be any
5051
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5052
+ # @param [Google::Apis::RequestOptions] options
5053
+ # Request-specific options
5054
+ #
5055
+ # @yield [result, err] Result & error if block supplied
5056
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
5057
+ # @yieldparam err [StandardError] error object if request failed
5058
+ #
5059
+ # @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
5060
+ #
5061
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5062
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5063
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5064
+ def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
5065
+ command = make_simple_command(:delete, 'v1/{+name}', options)
5066
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
5067
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
5068
+ command.params['name'] = name unless name.nil?
5069
+ command.query['fields'] = fields unless fields.nil?
5070
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5071
+ execute_or_queue_command(command, &block)
5072
+ end
5073
+
5008
5074
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
5009
5075
  # exist.
5010
5076
  # @param [String] name
@@ -7341,6 +7407,39 @@ module Google
7341
7407
  execute_or_queue_command(command, &block)
7342
7408
  end
7343
7409
 
7410
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7411
+ # not exist.
7412
+ # @param [String] name
7413
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
7414
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7415
+ # servingConfigs/`serving_config_id``
7416
+ # @param [String] fields
7417
+ # Selector specifying which fields to include in a partial response.
7418
+ # @param [String] quota_user
7419
+ # Available to use for quota purposes for server-side applications. Can be any
7420
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7421
+ # @param [Google::Apis::RequestOptions] options
7422
+ # Request-specific options
7423
+ #
7424
+ # @yield [result, err] Result & error if block supplied
7425
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
7426
+ # @yieldparam err [StandardError] error object if request failed
7427
+ #
7428
+ # @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
7429
+ #
7430
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7431
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7432
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7433
+ def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7434
+ command = make_simple_command(:delete, 'v1/{+name}', options)
7435
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
7436
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
7437
+ command.params['name'] = name unless name.nil?
7438
+ command.query['fields'] = fields unless fields.nil?
7439
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7440
+ execute_or_queue_command(command, &block)
7441
+ end
7442
+
7344
7443
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7345
7444
  # exist.
7346
7445
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.0
4
+ version: 0.61.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.60.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.61.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: