google-apis-discoveryengine_v1alpha 0.85.0 → 0.87.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: 2aad08dcb301c5b01f6d16b75e53c0af92b0c865c58036691f82037e1fafb21b
4
- data.tar.gz: 00eb91799fe72ff6f6991ad6bbc4e6a5a1bc73d50151e6a5c979901733c1eecd
3
+ metadata.gz: dbe11568f2bf0af08ae1dfbc9de31f3a82d812d64d66360b680f9fefd2f85c70
4
+ data.tar.gz: 9a5a6760cb2e2e35d28f681137a0c25731505d818b616277ca4473d2729e4613
5
5
  SHA512:
6
- metadata.gz: 0d6f58fc0bd61c34b4be1d4cff5119eedcae2820bf4b91f3fcde885e3a2a0cca38da4fb86cbbd003c2be34d2592f0eab55cc98c8cbdfcd47a1e253183a526ef1
7
- data.tar.gz: b28e634aa3e0872e0107ee5c708c652b2c1515382d425b12f80b3a65ec13fca23fafdc39827d3b2ec38515b0af71c86101b441cf73cd2d8eacb3a2a81550dfe3
6
+ metadata.gz: 869afd36d6cd5b36c6404196c593e731f9f7f0994f0136402203fb6339508b54d913a26612d4d5c409e0c755972fb95e5df92cdd00c08ef817622061ad776a09
7
+ data.tar.gz: 3953045861b425e77f607483c0c2d818f1cc723a0fe859c6adcce927d6a77758fa37f2078647b0ca4ef524e1f9c4213e4e8bd855bf8dff9aacb403d45a08a10b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.87.0 (2025-12-21)
4
+
5
+ * Regenerated from discovery document revision 20251217
6
+
7
+ ### v0.86.0 (2025-12-14)
8
+
9
+ * Regenerated from discovery document revision 20251209
10
+
3
11
  ### v0.85.0 (2025-12-07)
4
12
 
5
13
  * 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::DiscoveryengineV1alpha::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::DiscoveryengineV1alpha::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
@@ -6124,6 +6150,11 @@ module Google
6124
6150
  class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition
6125
6151
  include Google::Apis::Core::Hashable
6126
6152
 
6153
+ # Configuration specific to agents that are deployed from Cloud Marketplace.
6154
+ # Corresponds to the JSON property `cloudMarketplaceConfig`
6155
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig]
6156
+ attr_accessor :cloud_marketplace_config
6157
+
6127
6158
  # Optional. The agent card is a JSON string.
6128
6159
  # Corresponds to the JSON property `jsonAgentCard`
6129
6160
  # @return [String]
@@ -6135,10 +6166,38 @@ module Google
6135
6166
 
6136
6167
  # Update properties of this object
6137
6168
  def update!(**args)
6169
+ @cloud_marketplace_config = args[:cloud_marketplace_config] if args.key?(:cloud_marketplace_config)
6138
6170
  @json_agent_card = args[:json_agent_card] if args.key?(:json_agent_card)
6139
6171
  end
6140
6172
  end
6141
6173
 
6174
+ # Configuration specific to agents that are deployed from Cloud Marketplace.
6175
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
6176
+ include Google::Apis::Core::Hashable
6177
+
6178
+ # Required. The Marketplace Entitlement this agent is associated with. Format: `
6179
+ # projects/`project`/entitlements/`entitlement``.
6180
+ # Corresponds to the JSON property `entitlement`
6181
+ # @return [String]
6182
+ attr_accessor :entitlement
6183
+
6184
+ # Output only. The Marketplace Order this agent belongs to. Format: `
6185
+ # billingAccounts/`billing_account`/orders/`order``
6186
+ # Corresponds to the JSON property `order`
6187
+ # @return [String]
6188
+ attr_accessor :order
6189
+
6190
+ def initialize(**args)
6191
+ update!(**args)
6192
+ end
6193
+
6194
+ # Update properties of this object
6195
+ def update!(**args)
6196
+ @entitlement = args[:entitlement] if args.key?(:entitlement)
6197
+ @order = args[:order] if args.key?(:order)
6198
+ end
6199
+ end
6200
+
6142
6201
  # Access Control Configuration.
6143
6202
  class GoogleCloudDiscoveryengineV1alphaAclConfig
6144
6203
  include Google::Apis::Core::Hashable
@@ -6797,6 +6856,11 @@ module Google
6797
6856
  # @return [String]
6798
6857
  attr_accessor :language_code
6799
6858
 
6859
+ # Stores the definition of a Google managed agent.
6860
+ # Corresponds to the JSON property `managedAgentDefinition`
6861
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition]
6862
+ attr_accessor :managed_agent_definition
6863
+
6800
6864
  # Identifier. Resource name of the agent. Format: `projects/`project`/locations/`
6801
6865
  # location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
6802
6866
  # agents/`agent``
@@ -6854,6 +6918,7 @@ module Google
6854
6918
  @display_name = args[:display_name] if args.key?(:display_name)
6855
6919
  @icon = args[:icon] if args.key?(:icon)
6856
6920
  @language_code = args[:language_code] if args.key?(:language_code)
6921
+ @managed_agent_definition = args[:managed_agent_definition] if args.key?(:managed_agent_definition)
6857
6922
  @name = args[:name] if args.key?(:name)
6858
6923
  @rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
6859
6924
  @sharing_config = args[:sharing_config] if args.key?(:sharing_config)
@@ -18822,6 +18887,19 @@ module Google
18822
18887
  end
18823
18888
  end
18824
18889
 
18890
+ # Stores the definition of a Google managed agent.
18891
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
18892
+ include Google::Apis::Core::Hashable
18893
+
18894
+ def initialize(**args)
18895
+ update!(**args)
18896
+ end
18897
+
18898
+ # Update properties of this object
18899
+ def update!(**args)
18900
+ end
18901
+ end
18902
+
18825
18903
  # Media-specific user event information.
18826
18904
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
18827
18905
  include Google::Apis::Core::Hashable
@@ -21640,11 +21718,12 @@ module Google
21640
21718
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
21641
21719
  # of the query for browse (navigation) queries. It's used by the browse model
21642
21720
  # when the query is empty. If the field is empty, it will not be used by the
21643
- # browse model. To represent full path of a category, use '>' character to
21644
- # separate different hierarchies. If '>' is part of the category name, replace
21645
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
21646
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
21647
- # Graphics Cards > RTX_4090 > Founders Edition`
21721
+ # browse model. If the field contains more than one element, only the first
21722
+ # element will be used. To represent full path of a category, use '>' character
21723
+ # to separate different hierarchies. If '>' is part of the category name,
21724
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
21725
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
21726
+ # `Graphics Cards > RTX_4090 > Founders Edition`
21648
21727
  # Corresponds to the JSON property `pageCategories`
21649
21728
  # @return [Array<String>]
21650
21729
  attr_accessor :page_categories
@@ -21760,15 +21839,22 @@ module Google
21760
21839
  # @return [String]
21761
21840
  attr_accessor :region_code
21762
21841
 
21842
+ # Relevance filtering specification.
21843
+ # Corresponds to the JSON property `relevanceFilterSpec`
21844
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec]
21845
+ attr_accessor :relevance_filter_spec
21846
+
21763
21847
  # The specification for returning the document relevance score.
21764
21848
  # Corresponds to the JSON property `relevanceScoreSpec`
21765
21849
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec]
21766
21850
  attr_accessor :relevance_score_spec
21767
21851
 
21768
- # The relevance threshold of the search results. Default to Google defined
21769
- # threshold, leveraging a balance of precision and recall to deliver both highly
21770
- # accurate results and comprehensive coverage of relevant information. This
21771
- # feature is not supported for healthcare search.
21852
+ # The global relevance threshold of the search results. Defaults to Google
21853
+ # defined threshold, leveraging a balance of precision and recall to deliver
21854
+ # both highly accurate results and comprehensive coverage of relevant
21855
+ # information. If more granular relevance filtering is required, use the `
21856
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
21857
+ # search.
21772
21858
  # Corresponds to the JSON property `relevanceThreshold`
21773
21859
  # @return [String]
21774
21860
  attr_accessor :relevance_threshold
@@ -21904,6 +21990,7 @@ module Google
21904
21990
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
21905
21991
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
21906
21992
  @region_code = args[:region_code] if args.key?(:region_code)
21993
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
21907
21994
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
21908
21995
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
21909
21996
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -22857,6 +22944,56 @@ module Google
22857
22944
  end
22858
22945
  end
22859
22946
 
22947
+ # Relevance filtering specification.
22948
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
22949
+ include Google::Apis::Core::Hashable
22950
+
22951
+ # Specification for relevance filtering on a specific sub-search.
22952
+ # Corresponds to the JSON property `keywordSearchThreshold`
22953
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
22954
+ attr_accessor :keyword_search_threshold
22955
+
22956
+ # Specification for relevance filtering on a specific sub-search.
22957
+ # Corresponds to the JSON property `semanticSearchThreshold`
22958
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
22959
+ attr_accessor :semantic_search_threshold
22960
+
22961
+ def initialize(**args)
22962
+ update!(**args)
22963
+ end
22964
+
22965
+ # Update properties of this object
22966
+ def update!(**args)
22967
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
22968
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
22969
+ end
22970
+ end
22971
+
22972
+ # Specification for relevance filtering on a specific sub-search.
22973
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
22974
+ include Google::Apis::Core::Hashable
22975
+
22976
+ # Pre-defined relevance threshold for the sub-search.
22977
+ # Corresponds to the JSON property `relevanceThreshold`
22978
+ # @return [String]
22979
+ attr_accessor :relevance_threshold
22980
+
22981
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
22982
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
22983
+ # @return [Float]
22984
+ attr_accessor :semantic_relevance_threshold
22985
+
22986
+ def initialize(**args)
22987
+ update!(**args)
22988
+ end
22989
+
22990
+ # Update properties of this object
22991
+ def update!(**args)
22992
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
22993
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
22994
+ end
22995
+ end
22996
+
22860
22997
  # The specification for returning the document relevance score.
22861
22998
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
22862
22999
  include Google::Apis::Core::Hashable
@@ -25907,15 +26044,15 @@ module Google
25907
26044
  # @return [String]
25908
26045
  attr_accessor :event_type
25909
26046
 
25910
- # The filter syntax consists of an expression language for constructing a
25911
- # predicate from one or more fields of the documents being filtered. One example
25912
- # is for `search` events, the associated SearchRequest may contain a filter
25913
- # expression in SearchRequest.filter conforming to https://google.aip.dev/160#
25914
- # filtering. Similarly, for `view-item-list` events that are generated from a
25915
- # RecommendRequest, this field may be populated directly from RecommendRequest.
25916
- # filter conforming to https://google.aip.dev/160#filtering. The value must be a
25917
- # UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `
25918
- # INVALID_ARGUMENT` error is returned.
26047
+ # Optional. The filter syntax consists of an expression language for
26048
+ # constructing a predicate from one or more fields of the documents being
26049
+ # filtered. One example is for `search` events, the associated SearchRequest may
26050
+ # contain a filter expression in SearchRequest.filter conforming to https://
26051
+ # google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
26052
+ # generated from a RecommendRequest, this field may be populated directly from
26053
+ # RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
26054
+ # The value must be a UTF-8 encoded string with a length limit of 1,000
26055
+ # characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
25919
26056
  # Corresponds to the JSON property `filter`
25920
26057
  # @return [String]
25921
26058
  attr_accessor :filter
@@ -30932,11 +31069,12 @@ module Google
30932
31069
  # be the same as UserEvent.PageInfo.page_category. This field is the equivalent
30933
31070
  # of the query for browse (navigation) queries. It's used by the browse model
30934
31071
  # when the query is empty. If the field is empty, it will not be used by the
30935
- # browse model. To represent full path of a category, use '>' character to
30936
- # separate different hierarchies. If '>' is part of the category name, replace
30937
- # it with other character(s). For example, `Graphics Cards > RTX>4090 > Founders
30938
- # Edition` where "RTX > 4090" represents one level, can be rewritten as `
30939
- # Graphics Cards > RTX_4090 > Founders Edition`
31072
+ # browse model. If the field contains more than one element, only the first
31073
+ # element will be used. To represent full path of a category, use '>' character
31074
+ # to separate different hierarchies. If '>' is part of the category name,
31075
+ # replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
31076
+ # Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
31077
+ # `Graphics Cards > RTX_4090 > Founders Edition`
30940
31078
  # Corresponds to the JSON property `pageCategories`
30941
31079
  # @return [Array<String>]
30942
31080
  attr_accessor :page_categories
@@ -31052,15 +31190,22 @@ module Google
31052
31190
  # @return [String]
31053
31191
  attr_accessor :region_code
31054
31192
 
31193
+ # Relevance filtering specification.
31194
+ # Corresponds to the JSON property `relevanceFilterSpec`
31195
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec]
31196
+ attr_accessor :relevance_filter_spec
31197
+
31055
31198
  # The specification for returning the document relevance score.
31056
31199
  # Corresponds to the JSON property `relevanceScoreSpec`
31057
31200
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec]
31058
31201
  attr_accessor :relevance_score_spec
31059
31202
 
31060
- # The relevance threshold of the search results. Default to Google defined
31061
- # threshold, leveraging a balance of precision and recall to deliver both highly
31062
- # accurate results and comprehensive coverage of relevant information. This
31063
- # feature is not supported for healthcare search.
31203
+ # The global relevance threshold of the search results. Defaults to Google
31204
+ # defined threshold, leveraging a balance of precision and recall to deliver
31205
+ # both highly accurate results and comprehensive coverage of relevant
31206
+ # information. If more granular relevance filtering is required, use the `
31207
+ # relevance_filter_spec` instead. This feature is not supported for healthcare
31208
+ # search.
31064
31209
  # Corresponds to the JSON property `relevanceThreshold`
31065
31210
  # @return [String]
31066
31211
  attr_accessor :relevance_threshold
@@ -31186,6 +31331,7 @@ module Google
31186
31331
  @ranking_expression = args[:ranking_expression] if args.key?(:ranking_expression)
31187
31332
  @ranking_expression_backend = args[:ranking_expression_backend] if args.key?(:ranking_expression_backend)
31188
31333
  @region_code = args[:region_code] if args.key?(:region_code)
31334
+ @relevance_filter_spec = args[:relevance_filter_spec] if args.key?(:relevance_filter_spec)
31189
31335
  @relevance_score_spec = args[:relevance_score_spec] if args.key?(:relevance_score_spec)
31190
31336
  @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
31191
31337
  @safe_search = args[:safe_search] if args.key?(:safe_search)
@@ -32138,6 +32284,56 @@ module Google
32138
32284
  end
32139
32285
  end
32140
32286
 
32287
+ # Relevance filtering specification.
32288
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
32289
+ include Google::Apis::Core::Hashable
32290
+
32291
+ # Specification for relevance filtering on a specific sub-search.
32292
+ # Corresponds to the JSON property `keywordSearchThreshold`
32293
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
32294
+ attr_accessor :keyword_search_threshold
32295
+
32296
+ # Specification for relevance filtering on a specific sub-search.
32297
+ # Corresponds to the JSON property `semanticSearchThreshold`
32298
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec]
32299
+ attr_accessor :semantic_search_threshold
32300
+
32301
+ def initialize(**args)
32302
+ update!(**args)
32303
+ end
32304
+
32305
+ # Update properties of this object
32306
+ def update!(**args)
32307
+ @keyword_search_threshold = args[:keyword_search_threshold] if args.key?(:keyword_search_threshold)
32308
+ @semantic_search_threshold = args[:semantic_search_threshold] if args.key?(:semantic_search_threshold)
32309
+ end
32310
+ end
32311
+
32312
+ # Specification for relevance filtering on a specific sub-search.
32313
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
32314
+ include Google::Apis::Core::Hashable
32315
+
32316
+ # Pre-defined relevance threshold for the sub-search.
32317
+ # Corresponds to the JSON property `relevanceThreshold`
32318
+ # @return [String]
32319
+ attr_accessor :relevance_threshold
32320
+
32321
+ # Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
32322
+ # Corresponds to the JSON property `semanticRelevanceThreshold`
32323
+ # @return [Float]
32324
+ attr_accessor :semantic_relevance_threshold
32325
+
32326
+ def initialize(**args)
32327
+ update!(**args)
32328
+ end
32329
+
32330
+ # Update properties of this object
32331
+ def update!(**args)
32332
+ @relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
32333
+ @semantic_relevance_threshold = args[:semantic_relevance_threshold] if args.key?(:semantic_relevance_threshold)
32334
+ end
32335
+ end
32336
+
32141
32337
  # The specification for returning the document relevance score.
32142
32338
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
32143
32339
  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.85.0"
19
+ GEM_VERSION = "0.87.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 = "20251217"
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
 
@@ -952,6 +958,12 @@ module Google
952
958
  include Google::Apis::Core::JsonObjectSupport
953
959
  end
954
960
 
961
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
955
967
  class GoogleCloudDiscoveryengineV1alphaAclConfig
956
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
957
969
 
@@ -3034,6 +3046,12 @@ module Google
3034
3046
  include Google::Apis::Core::JsonObjectSupport
3035
3047
  end
3036
3048
 
3049
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
3050
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3051
+
3052
+ include Google::Apis::Core::JsonObjectSupport
3053
+ end
3054
+
3037
3055
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
3038
3056
  class Representation < Google::Apis::Core::JsonRepresentation; end
3039
3057
 
@@ -3646,6 +3664,18 @@ module Google
3646
3664
  include Google::Apis::Core::JsonObjectSupport
3647
3665
  end
3648
3666
 
3667
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
3668
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3669
+
3670
+ include Google::Apis::Core::JsonObjectSupport
3671
+ end
3672
+
3673
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
3674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3675
+
3676
+ include Google::Apis::Core::JsonObjectSupport
3677
+ end
3678
+
3649
3679
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
3650
3680
  class Representation < Google::Apis::Core::JsonRepresentation; end
3651
3681
 
@@ -5020,6 +5050,18 @@ module Google
5020
5050
  include Google::Apis::Core::JsonObjectSupport
5021
5051
  end
5022
5052
 
5053
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
5054
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5055
+
5056
+ include Google::Apis::Core::JsonObjectSupport
5057
+ end
5058
+
5059
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
5060
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5061
+
5062
+ include Google::Apis::Core::JsonObjectSupport
5063
+ end
5064
+
5023
5065
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
5024
5066
  class Representation < Google::Apis::Core::JsonRepresentation; end
5025
5067
 
@@ -6201,6 +6243,8 @@ module Google
6201
6243
  property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
6202
6244
  property :kms_key_name, as: 'kmsKeyName'
6203
6245
  property :name, as: 'name'
6246
+ property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
6247
+
6204
6248
  property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
6205
6249
 
6206
6250
  collection :solution_types, as: 'solutionTypes'
@@ -6684,6 +6728,13 @@ module Google
6684
6728
  end
6685
6729
  end
6686
6730
 
6731
+ class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
6732
+ # @private
6733
+ class Representation < Google::Apis::Core::JsonRepresentation
6734
+ property :mode, as: 'mode'
6735
+ end
6736
+ end
6737
+
6687
6738
  class GoogleCloudDiscoveryengineV1Project
6688
6739
  # @private
6689
6740
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7101,10 +7152,20 @@ module Google
7101
7152
  class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinition
7102
7153
  # @private
7103
7154
  class Representation < Google::Apis::Core::JsonRepresentation
7155
+ property :cloud_marketplace_config, as: 'cloudMarketplaceConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig::Representation
7156
+
7104
7157
  property :json_agent_card, as: 'jsonAgentCard'
7105
7158
  end
7106
7159
  end
7107
7160
 
7161
+ class GoogleCloudDiscoveryengineV1alphaA2AAgentDefinitionCloudMarketplaceConfig
7162
+ # @private
7163
+ class Representation < Google::Apis::Core::JsonRepresentation
7164
+ property :entitlement, as: 'entitlement'
7165
+ property :order, as: 'order'
7166
+ end
7167
+ end
7168
+
7108
7169
  class GoogleCloudDiscoveryengineV1alphaAclConfig
7109
7170
  # @private
7110
7171
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7286,6 +7347,8 @@ module Google
7286
7347
  property :icon, as: 'icon', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage::Representation
7287
7348
 
7288
7349
  property :language_code, as: 'languageCode'
7350
+ property :managed_agent_definition, as: 'managedAgentDefinition', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition::Representation
7351
+
7289
7352
  property :name, as: 'name'
7290
7353
  property :rejection_reason, as: 'rejectionReason'
7291
7354
  property :sharing_config, as: 'sharingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig::Representation
@@ -10664,6 +10727,12 @@ module Google
10664
10727
  end
10665
10728
  end
10666
10729
 
10730
+ class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
10731
+ # @private
10732
+ class Representation < Google::Apis::Core::JsonRepresentation
10733
+ end
10734
+ end
10735
+
10667
10736
  class GoogleCloudDiscoveryengineV1alphaMediaInfo
10668
10737
  # @private
10669
10738
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -11443,6 +11512,8 @@ module Google
11443
11512
  property :ranking_expression, as: 'rankingExpression'
11444
11513
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
11445
11514
  property :region_code, as: 'regionCode'
11515
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec::Representation
11516
+
11446
11517
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec::Representation
11447
11518
 
11448
11519
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -11686,6 +11757,24 @@ module Google
11686
11757
  end
11687
11758
  end
11688
11759
 
11760
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec
11761
+ # @private
11762
+ class Representation < Google::Apis::Core::JsonRepresentation
11763
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11764
+
11765
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
11766
+
11767
+ end
11768
+ end
11769
+
11770
+ class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
11771
+ # @private
11772
+ class Representation < Google::Apis::Core::JsonRepresentation
11773
+ property :relevance_threshold, as: 'relevanceThreshold'
11774
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
11775
+ end
11776
+ end
11777
+
11689
11778
  class GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec
11690
11779
  # @private
11691
11780
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13862,6 +13951,8 @@ module Google
13862
13951
  property :ranking_expression, as: 'rankingExpression'
13863
13952
  property :ranking_expression_backend, as: 'rankingExpressionBackend'
13864
13953
  property :region_code, as: 'regionCode'
13954
+ property :relevance_filter_spec, as: 'relevanceFilterSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec::Representation
13955
+
13865
13956
  property :relevance_score_spec, as: 'relevanceScoreSpec', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec::Representation
13866
13957
 
13867
13958
  property :relevance_threshold, as: 'relevanceThreshold'
@@ -14104,6 +14195,24 @@ module Google
14104
14195
  end
14105
14196
  end
14106
14197
 
14198
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec
14199
+ # @private
14200
+ class Representation < Google::Apis::Core::JsonRepresentation
14201
+ property :keyword_search_threshold, as: 'keywordSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
14202
+
14203
+ property :semantic_search_threshold, as: 'semanticSearchThreshold', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec::Representation
14204
+
14205
+ end
14206
+ end
14207
+
14208
+ class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec
14209
+ # @private
14210
+ class Representation < Google::Apis::Core::JsonRepresentation
14211
+ property :relevance_threshold, as: 'relevanceThreshold'
14212
+ property :semantic_relevance_threshold, as: 'semanticRelevanceThreshold'
14213
+ end
14214
+ end
14215
+
14107
14216
  class GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec
14108
14217
  # @private
14109
14218
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3663,6 +3663,81 @@ module Google
3663
3663
  execute_or_queue_command(command, &block)
3664
3664
  end
3665
3665
 
3666
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
3667
+ # default serving config. Additional ServingConfigs can be created and managed
3668
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
3669
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
3670
+ # @param [String] parent
3671
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
3672
+ # location`/collections/`collection`/engines/`engine``
3673
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
3674
+ # @param [String] serving_config_id
3675
+ # Required. The ID to use for the ServingConfig, which will become the final
3676
+ # component of the ServingConfig's resource name. This value should be 4-63
3677
+ # characters, and valid characters are /a-zA-Z0-9+/.
3678
+ # @param [String] fields
3679
+ # Selector specifying which fields to include in a partial response.
3680
+ # @param [String] quota_user
3681
+ # Available to use for quota purposes for server-side applications. Can be any
3682
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3683
+ # @param [Google::Apis::RequestOptions] options
3684
+ # Request-specific options
3685
+ #
3686
+ # @yield [result, err] Result & error if block supplied
3687
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
3688
+ # @yieldparam err [StandardError] error object if request failed
3689
+ #
3690
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
3691
+ #
3692
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3693
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3694
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3695
+ def create_project_location_collection_data_store_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
3696
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
3697
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3698
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
3699
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
3700
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
3701
+ command.params['parent'] = parent unless parent.nil?
3702
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
3703
+ command.query['fields'] = fields unless fields.nil?
3704
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3705
+ execute_or_queue_command(command, &block)
3706
+ end
3707
+
3708
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
3709
+ # not exist.
3710
+ # @param [String] name
3711
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
3712
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
3713
+ # servingConfigs/`serving_config_id``
3714
+ # @param [String] fields
3715
+ # Selector specifying which fields to include in a partial response.
3716
+ # @param [String] quota_user
3717
+ # Available to use for quota purposes for server-side applications. Can be any
3718
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3719
+ # @param [Google::Apis::RequestOptions] options
3720
+ # Request-specific options
3721
+ #
3722
+ # @yield [result, err] Result & error if block supplied
3723
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
3724
+ # @yieldparam err [StandardError] error object if request failed
3725
+ #
3726
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
3727
+ #
3728
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3729
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3730
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3731
+ def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
3732
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3733
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
3734
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
3735
+ command.params['name'] = name unless name.nil?
3736
+ command.query['fields'] = fields unless fields.nil?
3737
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3738
+ execute_or_queue_command(command, &block)
3739
+ end
3740
+
3666
3741
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
3667
3742
  # exist.
3668
3743
  # @param [String] name
@@ -7174,6 +7249,81 @@ module Google
7174
7249
  execute_or_queue_command(command, &block)
7175
7250
  end
7176
7251
 
7252
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
7253
+ # default serving config. Additional ServingConfigs can be created and managed
7254
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
7255
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
7256
+ # @param [String] parent
7257
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
7258
+ # location`/collections/`collection`/engines/`engine``
7259
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
7260
+ # @param [String] serving_config_id
7261
+ # Required. The ID to use for the ServingConfig, which will become the final
7262
+ # component of the ServingConfig's resource name. This value should be 4-63
7263
+ # characters, and valid characters are /a-zA-Z0-9+/.
7264
+ # @param [String] fields
7265
+ # Selector specifying which fields to include in a partial response.
7266
+ # @param [String] quota_user
7267
+ # Available to use for quota purposes for server-side applications. Can be any
7268
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7269
+ # @param [Google::Apis::RequestOptions] options
7270
+ # Request-specific options
7271
+ #
7272
+ # @yield [result, err] Result & error if block supplied
7273
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
7274
+ # @yieldparam err [StandardError] error object if request failed
7275
+ #
7276
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
7277
+ #
7278
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7279
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7280
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7281
+ def create_project_location_collection_engine_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
7282
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
7283
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7284
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
7285
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
7286
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
7287
+ command.params['parent'] = parent unless parent.nil?
7288
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
7289
+ command.query['fields'] = fields unless fields.nil?
7290
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7291
+ execute_or_queue_command(command, &block)
7292
+ end
7293
+
7294
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
7295
+ # not exist.
7296
+ # @param [String] name
7297
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
7298
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7299
+ # servingConfigs/`serving_config_id``
7300
+ # @param [String] fields
7301
+ # Selector specifying which fields to include in a partial response.
7302
+ # @param [String] quota_user
7303
+ # Available to use for quota purposes for server-side applications. Can be any
7304
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7305
+ # @param [Google::Apis::RequestOptions] options
7306
+ # Request-specific options
7307
+ #
7308
+ # @yield [result, err] Result & error if block supplied
7309
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
7310
+ # @yieldparam err [StandardError] error object if request failed
7311
+ #
7312
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
7313
+ #
7314
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7315
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7316
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7317
+ def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7318
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
7319
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
7320
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
7321
+ command.params['name'] = name unless name.nil?
7322
+ command.query['fields'] = fields unless fields.nil?
7323
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7324
+ execute_or_queue_command(command, &block)
7325
+ end
7326
+
7177
7327
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7178
7328
  # exist.
7179
7329
  # @param [String] name
@@ -9910,6 +10060,81 @@ module Google
9910
10060
  execute_or_queue_command(command, &block)
9911
10061
  end
9912
10062
 
10063
+ # Creates a ServingConfig. Note: The Google Cloud console works only with the
10064
+ # default serving config. Additional ServingConfigs can be created and managed
10065
+ # only via the API. A maximum of 100 ServingConfigs are allowed in an Engine,
10066
+ # otherwise a RESOURCE_EXHAUSTED error is returned.
10067
+ # @param [String] parent
10068
+ # Required. Full resource name of parent. Format: `projects/`project`/locations/`
10069
+ # location`/collections/`collection`/engines/`engine``
10070
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] google_cloud_discoveryengine_v1alpha_serving_config_object
10071
+ # @param [String] serving_config_id
10072
+ # Required. The ID to use for the ServingConfig, which will become the final
10073
+ # component of the ServingConfig's resource name. This value should be 4-63
10074
+ # characters, and valid characters are /a-zA-Z0-9+/.
10075
+ # @param [String] fields
10076
+ # Selector specifying which fields to include in a partial response.
10077
+ # @param [String] quota_user
10078
+ # Available to use for quota purposes for server-side applications. Can be any
10079
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10080
+ # @param [Google::Apis::RequestOptions] options
10081
+ # Request-specific options
10082
+ #
10083
+ # @yield [result, err] Result & error if block supplied
10084
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig] parsed result object
10085
+ # @yieldparam err [StandardError] error object if request failed
10086
+ #
10087
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig]
10088
+ #
10089
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10090
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10091
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10092
+ def create_project_location_data_store_serving_config(parent, google_cloud_discoveryengine_v1alpha_serving_config_object = nil, serving_config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
10093
+ command = make_simple_command(:post, 'v1alpha/{+parent}/servingConfigs', options)
10094
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10095
+ command.request_object = google_cloud_discoveryengine_v1alpha_serving_config_object
10096
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig::Representation
10097
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaServingConfig
10098
+ command.params['parent'] = parent unless parent.nil?
10099
+ command.query['servingConfigId'] = serving_config_id unless serving_config_id.nil?
10100
+ command.query['fields'] = fields unless fields.nil?
10101
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10102
+ execute_or_queue_command(command, &block)
10103
+ end
10104
+
10105
+ # Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
10106
+ # not exist.
10107
+ # @param [String] name
10108
+ # Required. The resource name of the ServingConfig to delete. Format: `projects/`
10109
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
10110
+ # servingConfigs/`serving_config_id``
10111
+ # @param [String] fields
10112
+ # Selector specifying which fields to include in a partial response.
10113
+ # @param [String] quota_user
10114
+ # Available to use for quota purposes for server-side applications. Can be any
10115
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
10116
+ # @param [Google::Apis::RequestOptions] options
10117
+ # Request-specific options
10118
+ #
10119
+ # @yield [result, err] Result & error if block supplied
10120
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
10121
+ # @yieldparam err [StandardError] error object if request failed
10122
+ #
10123
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
10124
+ #
10125
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10126
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10127
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
10128
+ def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
10129
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
10130
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
10131
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
10132
+ command.params['name'] = name unless name.nil?
10133
+ command.query['fields'] = fields unless fields.nil?
10134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
10135
+ execute_or_queue_command(command, &block)
10136
+ end
10137
+
9913
10138
  # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
9914
10139
  # exist.
9915
10140
  # @param [String] name
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.85.0
4
+ version: 0.87.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.85.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.87.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: