google-apis-discoveryengine_v1alpha 0.85.0 → 0.86.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +66 -19
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +29 -0
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +99 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '080c6e4e60acd0cc97d4f16ac99c7017f40aa6b77de57f2f78b7a110a71ff475'
|
|
4
|
+
data.tar.gz: f80d74d1896674d68196fe420a740a7592afe68eea514fbc01137c91dba0482f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e66fe4a8e7a84fdd8325f3190dbfbb915889f43fa421e0ab6719fb0051c65c893303e004f0e23f0fa5ba4e79132c77b142986610a1792d4b6461a2886d1118d
|
|
7
|
+
data.tar.gz: de5860950d2e3d1b2ae9e7987b30e3c6e038bb4fdd2ffc72fb77fdd7b1714ad02c4c3e7b15c66da6f5660f95407e98f0e79d051a4492fe1035ffe0e63a55c6ba
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -6797,6 +6823,11 @@ module Google
|
|
|
6797
6823
|
# @return [String]
|
|
6798
6824
|
attr_accessor :language_code
|
|
6799
6825
|
|
|
6826
|
+
# Stores the definition of a Google managed agent.
|
|
6827
|
+
# Corresponds to the JSON property `managedAgentDefinition`
|
|
6828
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition]
|
|
6829
|
+
attr_accessor :managed_agent_definition
|
|
6830
|
+
|
|
6800
6831
|
# Identifier. Resource name of the agent. Format: `projects/`project`/locations/`
|
|
6801
6832
|
# location`/collections/`collection`/engines/`engine`/assistants/`assistant`/
|
|
6802
6833
|
# agents/`agent``
|
|
@@ -6854,6 +6885,7 @@ module Google
|
|
|
6854
6885
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
6855
6886
|
@icon = args[:icon] if args.key?(:icon)
|
|
6856
6887
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
6888
|
+
@managed_agent_definition = args[:managed_agent_definition] if args.key?(:managed_agent_definition)
|
|
6857
6889
|
@name = args[:name] if args.key?(:name)
|
|
6858
6890
|
@rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
|
|
6859
6891
|
@sharing_config = args[:sharing_config] if args.key?(:sharing_config)
|
|
@@ -18822,6 +18854,19 @@ module Google
|
|
|
18822
18854
|
end
|
|
18823
18855
|
end
|
|
18824
18856
|
|
|
18857
|
+
# Stores the definition of a Google managed agent.
|
|
18858
|
+
class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
|
|
18859
|
+
include Google::Apis::Core::Hashable
|
|
18860
|
+
|
|
18861
|
+
def initialize(**args)
|
|
18862
|
+
update!(**args)
|
|
18863
|
+
end
|
|
18864
|
+
|
|
18865
|
+
# Update properties of this object
|
|
18866
|
+
def update!(**args)
|
|
18867
|
+
end
|
|
18868
|
+
end
|
|
18869
|
+
|
|
18825
18870
|
# Media-specific user event information.
|
|
18826
18871
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
|
18827
18872
|
include Google::Apis::Core::Hashable
|
|
@@ -21640,11 +21685,12 @@ module Google
|
|
|
21640
21685
|
# be the same as UserEvent.PageInfo.page_category. This field is the equivalent
|
|
21641
21686
|
# of the query for browse (navigation) queries. It's used by the browse model
|
|
21642
21687
|
# when the query is empty. If the field is empty, it will not be used by the
|
|
21643
|
-
# browse model.
|
|
21644
|
-
#
|
|
21645
|
-
#
|
|
21646
|
-
#
|
|
21647
|
-
#
|
|
21688
|
+
# browse model. If the field contains more than one element, only the first
|
|
21689
|
+
# element will be used. To represent full path of a category, use '>' character
|
|
21690
|
+
# to separate different hierarchies. If '>' is part of the category name,
|
|
21691
|
+
# replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
|
|
21692
|
+
# Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
|
|
21693
|
+
# `Graphics Cards > RTX_4090 > Founders Edition`
|
|
21648
21694
|
# Corresponds to the JSON property `pageCategories`
|
|
21649
21695
|
# @return [Array<String>]
|
|
21650
21696
|
attr_accessor :page_categories
|
|
@@ -25907,15 +25953,15 @@ module Google
|
|
|
25907
25953
|
# @return [String]
|
|
25908
25954
|
attr_accessor :event_type
|
|
25909
25955
|
|
|
25910
|
-
# The filter syntax consists of an expression language for
|
|
25911
|
-
# predicate from one or more fields of the documents being
|
|
25912
|
-
# is for `search` events, the associated SearchRequest may
|
|
25913
|
-
# expression in SearchRequest.filter conforming to https://
|
|
25914
|
-
# filtering. Similarly, for `view-item-list` events that are
|
|
25915
|
-
# RecommendRequest, this field may be populated directly from
|
|
25916
|
-
# filter conforming to https://google.aip.dev/160#filtering.
|
|
25917
|
-
# UTF-8 encoded string with a length limit of 1,000
|
|
25918
|
-
# INVALID_ARGUMENT` error is returned.
|
|
25956
|
+
# Optional. The filter syntax consists of an expression language for
|
|
25957
|
+
# constructing a predicate from one or more fields of the documents being
|
|
25958
|
+
# filtered. One example is for `search` events, the associated SearchRequest may
|
|
25959
|
+
# contain a filter expression in SearchRequest.filter conforming to https://
|
|
25960
|
+
# google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are
|
|
25961
|
+
# generated from a RecommendRequest, this field may be populated directly from
|
|
25962
|
+
# RecommendRequest.filter conforming to https://google.aip.dev/160#filtering.
|
|
25963
|
+
# The value must be a UTF-8 encoded string with a length limit of 1,000
|
|
25964
|
+
# characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
25919
25965
|
# Corresponds to the JSON property `filter`
|
|
25920
25966
|
# @return [String]
|
|
25921
25967
|
attr_accessor :filter
|
|
@@ -30932,11 +30978,12 @@ module Google
|
|
|
30932
30978
|
# be the same as UserEvent.PageInfo.page_category. This field is the equivalent
|
|
30933
30979
|
# of the query for browse (navigation) queries. It's used by the browse model
|
|
30934
30980
|
# when the query is empty. If the field is empty, it will not be used by the
|
|
30935
|
-
# browse model.
|
|
30936
|
-
#
|
|
30937
|
-
#
|
|
30938
|
-
#
|
|
30939
|
-
#
|
|
30981
|
+
# browse model. If the field contains more than one element, only the first
|
|
30982
|
+
# element will be used. To represent full path of a category, use '>' character
|
|
30983
|
+
# to separate different hierarchies. If '>' is part of the category name,
|
|
30984
|
+
# replace it with other character(s). For example, `Graphics Cards > RTX>4090 >
|
|
30985
|
+
# Founders Edition` where "RTX > 4090" represents one level, can be rewritten as
|
|
30986
|
+
# `Graphics Cards > RTX_4090 > Founders Edition`
|
|
30940
30987
|
# Corresponds to the JSON property `pageCategories`
|
|
30941
30988
|
# @return [Array<String>]
|
|
30942
30989
|
attr_accessor :page_categories
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.86.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 = "
|
|
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
|
|
|
@@ -3034,6 +3040,12 @@ module Google
|
|
|
3034
3040
|
include Google::Apis::Core::JsonObjectSupport
|
|
3035
3041
|
end
|
|
3036
3042
|
|
|
3043
|
+
class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
|
|
3044
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3045
|
+
|
|
3046
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3047
|
+
end
|
|
3048
|
+
|
|
3037
3049
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
|
3038
3050
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3039
3051
|
|
|
@@ -6201,6 +6213,8 @@ module Google
|
|
|
6201
6213
|
property :is_infobot_faq_data_store, as: 'isInfobotFaqDataStore'
|
|
6202
6214
|
property :kms_key_name, as: 'kmsKeyName'
|
|
6203
6215
|
property :name, as: 'name'
|
|
6216
|
+
property :natural_language_query_understanding_config, as: 'naturalLanguageQueryUnderstandingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig::Representation
|
|
6217
|
+
|
|
6204
6218
|
property :serving_config_data_store, as: 'servingConfigDataStore', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore::Representation
|
|
6205
6219
|
|
|
6206
6220
|
collection :solution_types, as: 'solutionTypes'
|
|
@@ -6684,6 +6698,13 @@ module Google
|
|
|
6684
6698
|
end
|
|
6685
6699
|
end
|
|
6686
6700
|
|
|
6701
|
+
class GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig
|
|
6702
|
+
# @private
|
|
6703
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6704
|
+
property :mode, as: 'mode'
|
|
6705
|
+
end
|
|
6706
|
+
end
|
|
6707
|
+
|
|
6687
6708
|
class GoogleCloudDiscoveryengineV1Project
|
|
6688
6709
|
# @private
|
|
6689
6710
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7286,6 +7307,8 @@ module Google
|
|
|
7286
7307
|
property :icon, as: 'icon', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentImage::Representation
|
|
7287
7308
|
|
|
7288
7309
|
property :language_code, as: 'languageCode'
|
|
7310
|
+
property :managed_agent_definition, as: 'managedAgentDefinition', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition::Representation
|
|
7311
|
+
|
|
7289
7312
|
property :name, as: 'name'
|
|
7290
7313
|
property :rejection_reason, as: 'rejectionReason'
|
|
7291
7314
|
property :sharing_config, as: 'sharingConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAgentSharingConfig::Representation
|
|
@@ -10664,6 +10687,12 @@ module Google
|
|
|
10664
10687
|
end
|
|
10665
10688
|
end
|
|
10666
10689
|
|
|
10690
|
+
class GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition
|
|
10691
|
+
# @private
|
|
10692
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10693
|
+
end
|
|
10694
|
+
end
|
|
10695
|
+
|
|
10667
10696
|
class GoogleCloudDiscoveryengineV1alphaMediaInfo
|
|
10668
10697
|
# @private
|
|
10669
10698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3663,6 +3663,39 @@ module Google
|
|
|
3663
3663
|
execute_or_queue_command(command, &block)
|
|
3664
3664
|
end
|
|
3665
3665
|
|
|
3666
|
+
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
3667
|
+
# not exist.
|
|
3668
|
+
# @param [String] name
|
|
3669
|
+
# Required. The resource name of the ServingConfig to delete. Format: `projects/`
|
|
3670
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
3671
|
+
# servingConfigs/`serving_config_id``
|
|
3672
|
+
# @param [String] fields
|
|
3673
|
+
# Selector specifying which fields to include in a partial response.
|
|
3674
|
+
# @param [String] quota_user
|
|
3675
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3676
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3677
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3678
|
+
# Request-specific options
|
|
3679
|
+
#
|
|
3680
|
+
# @yield [result, err] Result & error if block supplied
|
|
3681
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
|
3682
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3683
|
+
#
|
|
3684
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
|
3685
|
+
#
|
|
3686
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3687
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3688
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3689
|
+
def delete_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
3690
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
|
3691
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
|
3692
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
|
3693
|
+
command.params['name'] = name unless name.nil?
|
|
3694
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3695
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3696
|
+
execute_or_queue_command(command, &block)
|
|
3697
|
+
end
|
|
3698
|
+
|
|
3666
3699
|
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
3667
3700
|
# exist.
|
|
3668
3701
|
# @param [String] name
|
|
@@ -7174,6 +7207,39 @@ module Google
|
|
|
7174
7207
|
execute_or_queue_command(command, &block)
|
|
7175
7208
|
end
|
|
7176
7209
|
|
|
7210
|
+
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
7211
|
+
# not exist.
|
|
7212
|
+
# @param [String] name
|
|
7213
|
+
# Required. The resource name of the ServingConfig to delete. Format: `projects/`
|
|
7214
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
7215
|
+
# servingConfigs/`serving_config_id``
|
|
7216
|
+
# @param [String] fields
|
|
7217
|
+
# Selector specifying which fields to include in a partial response.
|
|
7218
|
+
# @param [String] quota_user
|
|
7219
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
7220
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
7221
|
+
# @param [Google::Apis::RequestOptions] options
|
|
7222
|
+
# Request-specific options
|
|
7223
|
+
#
|
|
7224
|
+
# @yield [result, err] Result & error if block supplied
|
|
7225
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
|
7226
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
7227
|
+
#
|
|
7228
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
|
7229
|
+
#
|
|
7230
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7231
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7232
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7233
|
+
def delete_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
7234
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
|
7235
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
|
7236
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
|
7237
|
+
command.params['name'] = name unless name.nil?
|
|
7238
|
+
command.query['fields'] = fields unless fields.nil?
|
|
7239
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7240
|
+
execute_or_queue_command(command, &block)
|
|
7241
|
+
end
|
|
7242
|
+
|
|
7177
7243
|
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
7178
7244
|
# exist.
|
|
7179
7245
|
# @param [String] name
|
|
@@ -9910,6 +9976,39 @@ module Google
|
|
|
9910
9976
|
execute_or_queue_command(command, &block)
|
|
9911
9977
|
end
|
|
9912
9978
|
|
|
9979
|
+
# Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
|
|
9980
|
+
# not exist.
|
|
9981
|
+
# @param [String] name
|
|
9982
|
+
# Required. The resource name of the ServingConfig to delete. Format: `projects/`
|
|
9983
|
+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
|
|
9984
|
+
# servingConfigs/`serving_config_id``
|
|
9985
|
+
# @param [String] fields
|
|
9986
|
+
# Selector specifying which fields to include in a partial response.
|
|
9987
|
+
# @param [String] quota_user
|
|
9988
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9989
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9990
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9991
|
+
# Request-specific options
|
|
9992
|
+
#
|
|
9993
|
+
# @yield [result, err] Result & error if block supplied
|
|
9994
|
+
# @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty] parsed result object
|
|
9995
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9996
|
+
#
|
|
9997
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty]
|
|
9998
|
+
#
|
|
9999
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10000
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10001
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10002
|
+
def delete_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
10003
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
|
10004
|
+
command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty::Representation
|
|
10005
|
+
command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleProtobufEmpty
|
|
10006
|
+
command.params['name'] = name unless name.nil?
|
|
10007
|
+
command.query['fields'] = fields unless fields.nil?
|
|
10008
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10009
|
+
execute_or_queue_command(command, &block)
|
|
10010
|
+
end
|
|
10011
|
+
|
|
9913
10012
|
# Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
|
|
9914
10013
|
# exist.
|
|
9915
10014
|
# @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.
|
|
4
|
+
version: 0.86.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.86.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:
|