google-apis-discoveryengine_v1 0.72.0 → 0.73.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_v1/classes.rb +108 -15
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +38 -2
- data/lib/google/apis/discoveryengine_v1/service.rb +16 -86
- 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: 57605b334335f428653a819aee83b3e13d2c002e4d731bc591421cc265d90521
|
|
4
|
+
data.tar.gz: 9c98d5daa682c1c9af4801cd2ed2a6da696fc97cbdaf12e947ae0617daf496c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eafbc2d4cfc76674b9df76c32a945c7ed1582f02c1c06b52c358a89eada559297636e1c6a6493b6ed8875bdf4a86ab5f3733a6297d2e1fce4a730787740c53ff
|
|
7
|
+
data.tar.gz: 35404e8b5375e51e8024cf865b4a17505f2ab5eaa3313ce94d9d754dade04fca7ff89fd1096df86ad3c5f1e56ebe404299536cb5b16ae0c6468b7525b831930e
|
data/CHANGELOG.md
CHANGED
|
@@ -4152,11 +4152,6 @@ module Google
|
|
|
4152
4152
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo]
|
|
4153
4153
|
attr_accessor :chunk_info
|
|
4154
4154
|
|
|
4155
|
-
# Output only. The search queries that produced this reference.
|
|
4156
|
-
# Corresponds to the JSON property `queries`
|
|
4157
|
-
# @return [Array<String>]
|
|
4158
|
-
attr_accessor :queries
|
|
4159
|
-
|
|
4160
4155
|
# Structured search information.
|
|
4161
4156
|
# Corresponds to the JSON property `structuredDocumentInfo`
|
|
4162
4157
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo]
|
|
@@ -4174,7 +4169,6 @@ module Google
|
|
|
4174
4169
|
# Update properties of this object
|
|
4175
4170
|
def update!(**args)
|
|
4176
4171
|
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
|
|
4177
|
-
@queries = args[:queries] if args.key?(:queries)
|
|
4178
4172
|
@structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
|
|
4179
4173
|
@unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
|
|
4180
4174
|
end
|
|
@@ -7763,6 +7757,11 @@ module Google
|
|
|
7763
7757
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfig>]
|
|
7764
7758
|
attr_accessor :destination_configs
|
|
7765
7759
|
|
|
7760
|
+
# Output only. The dynamic tools fetched for this connector.
|
|
7761
|
+
# Corresponds to the JSON property `dynamicTools`
|
|
7762
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DynamicTool>]
|
|
7763
|
+
attr_accessor :dynamic_tools
|
|
7764
|
+
|
|
7766
7765
|
# Output only. The list of FQDNs of the data connector can egress to. This
|
|
7767
7766
|
# includes both FQDN derived from the customer provided instance URL and default
|
|
7768
7767
|
# per connector type FQDNs. Note: This field is derived from both the
|
|
@@ -7977,6 +7976,7 @@ module Google
|
|
|
7977
7976
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
7978
7977
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
7979
7978
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
|
7979
|
+
@dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
|
|
7980
7980
|
@egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
|
|
7981
7981
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
|
7982
7982
|
@entities = args[:entities] if args.key?(:entities)
|
|
@@ -9528,6 +9528,44 @@ module Google
|
|
|
9528
9528
|
end
|
|
9529
9529
|
end
|
|
9530
9530
|
|
|
9531
|
+
# Configuration for dynamic tools.
|
|
9532
|
+
class GoogleCloudDiscoveryengineV1DynamicTool
|
|
9533
|
+
include Google::Apis::Core::Hashable
|
|
9534
|
+
|
|
9535
|
+
# Optional. The description of the tool.
|
|
9536
|
+
# Corresponds to the JSON property `description`
|
|
9537
|
+
# @return [String]
|
|
9538
|
+
attr_accessor :description
|
|
9539
|
+
|
|
9540
|
+
# Optional. The display name of the tool.
|
|
9541
|
+
# Corresponds to the JSON property `displayName`
|
|
9542
|
+
# @return [String]
|
|
9543
|
+
attr_accessor :display_name
|
|
9544
|
+
|
|
9545
|
+
# Optional. Whether the tool is enabled.
|
|
9546
|
+
# Corresponds to the JSON property `enabled`
|
|
9547
|
+
# @return [Boolean]
|
|
9548
|
+
attr_accessor :enabled
|
|
9549
|
+
alias_method :enabled?, :enabled
|
|
9550
|
+
|
|
9551
|
+
# Required. The name of the tool.
|
|
9552
|
+
# Corresponds to the JSON property `name`
|
|
9553
|
+
# @return [String]
|
|
9554
|
+
attr_accessor :name
|
|
9555
|
+
|
|
9556
|
+
def initialize(**args)
|
|
9557
|
+
update!(**args)
|
|
9558
|
+
end
|
|
9559
|
+
|
|
9560
|
+
# Update properties of this object
|
|
9561
|
+
def update!(**args)
|
|
9562
|
+
@description = args[:description] if args.key?(:description)
|
|
9563
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
9564
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
9565
|
+
@name = args[:name] if args.key?(:name)
|
|
9566
|
+
end
|
|
9567
|
+
end
|
|
9568
|
+
|
|
9531
9569
|
# Metadata related to the progress of the SiteSearchEngineService.
|
|
9532
9570
|
# EnableAdvancedSiteSearch operation. This will be returned by the google.
|
|
9533
9571
|
# longrunning.Operation.metadata field.
|
|
@@ -13596,6 +13634,13 @@ module Google
|
|
|
13596
13634
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec]
|
|
13597
13635
|
attr_accessor :natural_language_query_understanding_spec
|
|
13598
13636
|
|
|
13637
|
+
# Optional. The maximum number of results to retrieve from each data store. If
|
|
13638
|
+
# not specified, it will use the SearchRequest.DataStoreSpec.num_results if
|
|
13639
|
+
# provided, otherwise there is no limit.
|
|
13640
|
+
# Corresponds to the JSON property `numResultsPerDataStore`
|
|
13641
|
+
# @return [Fixnum]
|
|
13642
|
+
attr_accessor :num_results_per_data_store
|
|
13643
|
+
|
|
13599
13644
|
# A 0-indexed integer that specifies the current offset (that is, starting
|
|
13600
13645
|
# result location, amongst the Documents deemed by the API as relevant) in
|
|
13601
13646
|
# search results. This field is only considered if page_token is unset. If this
|
|
@@ -13836,6 +13881,7 @@ module Google
|
|
|
13836
13881
|
@image_query = args[:image_query] if args.key?(:image_query)
|
|
13837
13882
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
13838
13883
|
@natural_language_query_understanding_spec = args[:natural_language_query_understanding_spec] if args.key?(:natural_language_query_understanding_spec)
|
|
13884
|
+
@num_results_per_data_store = args[:num_results_per_data_store] if args.key?(:num_results_per_data_store)
|
|
13839
13885
|
@offset = args[:offset] if args.key?(:offset)
|
|
13840
13886
|
@one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
|
|
13841
13887
|
@order_by = args[:order_by] if args.key?(:order_by)
|
|
@@ -14421,6 +14467,14 @@ module Google
|
|
|
14421
14467
|
# @return [String]
|
|
14422
14468
|
attr_accessor :filter
|
|
14423
14469
|
|
|
14470
|
+
# Optional. The maximum number of results to retrieve from this data store. If
|
|
14471
|
+
# not specified, it will use the SearchRequest.num_results_per_data_store if
|
|
14472
|
+
# provided, otherwise there is no limit. If both this field and SearchRequest.
|
|
14473
|
+
# num_results_per_data_store are specified, this field will be used.
|
|
14474
|
+
# Corresponds to the JSON property `numResults`
|
|
14475
|
+
# @return [Fixnum]
|
|
14476
|
+
attr_accessor :num_results
|
|
14477
|
+
|
|
14424
14478
|
def initialize(**args)
|
|
14425
14479
|
update!(**args)
|
|
14426
14480
|
end
|
|
@@ -14431,6 +14485,7 @@ module Google
|
|
|
14431
14485
|
@custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
|
|
14432
14486
|
@data_store = args[:data_store] if args.key?(:data_store)
|
|
14433
14487
|
@filter = args[:filter] if args.key?(:filter)
|
|
14488
|
+
@num_results = args[:num_results] if args.key?(:num_results)
|
|
14434
14489
|
end
|
|
14435
14490
|
end
|
|
14436
14491
|
|
|
@@ -16070,9 +16125,9 @@ module Google
|
|
|
16070
16125
|
# Required. The ID to use for the Collection, which will become the final
|
|
16071
16126
|
# component of the Collection's resource name. A new Collection is created as
|
|
16072
16127
|
# part of the DataConnector setup. DataConnector is a singleton resource under
|
|
16073
|
-
# Collection, managing all DataStores of the Collection.
|
|
16074
|
-
#
|
|
16075
|
-
#
|
|
16128
|
+
# Collection, managing all DataStores of the Collection. Should conform to [RFC-
|
|
16129
|
+
# 1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63
|
|
16130
|
+
# characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
16076
16131
|
# Corresponds to the JSON property `collectionId`
|
|
16077
16132
|
# @return [String]
|
|
16078
16133
|
attr_accessor :collection_id
|
|
@@ -19068,11 +19123,6 @@ module Google
|
|
|
19068
19123
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo]
|
|
19069
19124
|
attr_accessor :chunk_info
|
|
19070
19125
|
|
|
19071
|
-
# Output only. The search queries that produced this reference.
|
|
19072
|
-
# Corresponds to the JSON property `queries`
|
|
19073
|
-
# @return [Array<String>]
|
|
19074
|
-
attr_accessor :queries
|
|
19075
|
-
|
|
19076
19126
|
# Structured search information.
|
|
19077
19127
|
# Corresponds to the JSON property `structuredDocumentInfo`
|
|
19078
19128
|
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo]
|
|
@@ -19090,7 +19140,6 @@ module Google
|
|
|
19090
19140
|
# Update properties of this object
|
|
19091
19141
|
def update!(**args)
|
|
19092
19142
|
@chunk_info = args[:chunk_info] if args.key?(:chunk_info)
|
|
19093
|
-
@queries = args[:queries] if args.key?(:queries)
|
|
19094
19143
|
@structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
|
|
19095
19144
|
@unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
|
|
19096
19145
|
end
|
|
@@ -21286,6 +21335,11 @@ module Google
|
|
|
21286
21335
|
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig>]
|
|
21287
21336
|
attr_accessor :destination_configs
|
|
21288
21337
|
|
|
21338
|
+
# Output only. The dynamic tools fetched for this connector.
|
|
21339
|
+
# Corresponds to the JSON property `dynamicTools`
|
|
21340
|
+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDynamicTool>]
|
|
21341
|
+
attr_accessor :dynamic_tools
|
|
21342
|
+
|
|
21289
21343
|
# Output only. The list of FQDNs of the data connector can egress to. This
|
|
21290
21344
|
# includes both FQDN derived from the customer provided instance URL and default
|
|
21291
21345
|
# per connector type FQDNs. Note: This field is derived from both the
|
|
@@ -21501,6 +21555,7 @@ module Google
|
|
|
21501
21555
|
@data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
|
|
21502
21556
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
21503
21557
|
@destination_configs = args[:destination_configs] if args.key?(:destination_configs)
|
|
21558
|
+
@dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
|
|
21504
21559
|
@egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
|
|
21505
21560
|
@end_user_config = args[:end_user_config] if args.key?(:end_user_config)
|
|
21506
21561
|
@entities = args[:entities] if args.key?(:entities)
|
|
@@ -22921,6 +22976,44 @@ module Google
|
|
|
22921
22976
|
end
|
|
22922
22977
|
end
|
|
22923
22978
|
|
|
22979
|
+
# Configuration for dynamic tools.
|
|
22980
|
+
class GoogleCloudDiscoveryengineV1alphaDynamicTool
|
|
22981
|
+
include Google::Apis::Core::Hashable
|
|
22982
|
+
|
|
22983
|
+
# Optional. The description of the tool.
|
|
22984
|
+
# Corresponds to the JSON property `description`
|
|
22985
|
+
# @return [String]
|
|
22986
|
+
attr_accessor :description
|
|
22987
|
+
|
|
22988
|
+
# Optional. The display name of the tool.
|
|
22989
|
+
# Corresponds to the JSON property `displayName`
|
|
22990
|
+
# @return [String]
|
|
22991
|
+
attr_accessor :display_name
|
|
22992
|
+
|
|
22993
|
+
# Optional. Whether the tool is enabled.
|
|
22994
|
+
# Corresponds to the JSON property `enabled`
|
|
22995
|
+
# @return [Boolean]
|
|
22996
|
+
attr_accessor :enabled
|
|
22997
|
+
alias_method :enabled?, :enabled
|
|
22998
|
+
|
|
22999
|
+
# Required. The name of the tool.
|
|
23000
|
+
# Corresponds to the JSON property `name`
|
|
23001
|
+
# @return [String]
|
|
23002
|
+
attr_accessor :name
|
|
23003
|
+
|
|
23004
|
+
def initialize(**args)
|
|
23005
|
+
update!(**args)
|
|
23006
|
+
end
|
|
23007
|
+
|
|
23008
|
+
# Update properties of this object
|
|
23009
|
+
def update!(**args)
|
|
23010
|
+
@description = args[:description] if args.key?(:description)
|
|
23011
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
23012
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
|
23013
|
+
@name = args[:name] if args.key?(:name)
|
|
23014
|
+
end
|
|
23015
|
+
end
|
|
23016
|
+
|
|
22924
23017
|
# Metadata related to the progress of the SiteSearchEngineService.
|
|
22925
23018
|
# EnableAdvancedSiteSearch operation. This will be returned by the google.
|
|
22926
23019
|
# longrunning.Operation.metadata field.
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.73.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 = "20260317"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1522,6 +1522,12 @@ module Google
|
|
|
1522
1522
|
include Google::Apis::Core::JsonObjectSupport
|
|
1523
1523
|
end
|
|
1524
1524
|
|
|
1525
|
+
class GoogleCloudDiscoveryengineV1DynamicTool
|
|
1526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1527
|
+
|
|
1528
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1529
|
+
end
|
|
1530
|
+
|
|
1525
1531
|
class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
|
|
1526
1532
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1527
1533
|
|
|
@@ -3556,6 +3562,12 @@ module Google
|
|
|
3556
3562
|
include Google::Apis::Core::JsonObjectSupport
|
|
3557
3563
|
end
|
|
3558
3564
|
|
|
3565
|
+
class GoogleCloudDiscoveryengineV1alphaDynamicTool
|
|
3566
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3567
|
+
|
|
3568
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3569
|
+
end
|
|
3570
|
+
|
|
3559
3571
|
class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
|
|
3560
3572
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3561
3573
|
|
|
@@ -6631,7 +6643,6 @@ module Google
|
|
|
6631
6643
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6632
6644
|
property :chunk_info, as: 'chunkInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo::Representation
|
|
6633
6645
|
|
|
6634
|
-
collection :queries, as: 'queries'
|
|
6635
6646
|
property :structured_document_info, as: 'structuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo::Representation
|
|
6636
6647
|
|
|
6637
6648
|
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo::Representation
|
|
@@ -7639,6 +7650,8 @@ module Google
|
|
|
7639
7650
|
property :data_source, as: 'dataSource'
|
|
7640
7651
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfig::Representation
|
|
7641
7652
|
|
|
7653
|
+
collection :dynamic_tools, as: 'dynamicTools', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DynamicTool, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DynamicTool::Representation
|
|
7654
|
+
|
|
7642
7655
|
collection :egress_fqdns, as: 'egressFqdns'
|
|
7643
7656
|
property :end_user_config, as: 'endUserConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig::Representation
|
|
7644
7657
|
|
|
@@ -8094,6 +8107,16 @@ module Google
|
|
|
8094
8107
|
end
|
|
8095
8108
|
end
|
|
8096
8109
|
|
|
8110
|
+
class GoogleCloudDiscoveryengineV1DynamicTool
|
|
8111
|
+
# @private
|
|
8112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8113
|
+
property :description, as: 'description'
|
|
8114
|
+
property :display_name, as: 'displayName'
|
|
8115
|
+
property :enabled, as: 'enabled'
|
|
8116
|
+
property :name, as: 'name'
|
|
8117
|
+
end
|
|
8118
|
+
end
|
|
8119
|
+
|
|
8097
8120
|
class GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata
|
|
8098
8121
|
# @private
|
|
8099
8122
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9228,6 +9251,7 @@ module Google
|
|
|
9228
9251
|
property :language_code, as: 'languageCode'
|
|
9229
9252
|
property :natural_language_query_understanding_spec, as: 'naturalLanguageQueryUnderstandingSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec::Representation
|
|
9230
9253
|
|
|
9254
|
+
property :num_results_per_data_store, as: 'numResultsPerDataStore'
|
|
9231
9255
|
property :offset, as: 'offset'
|
|
9232
9256
|
property :one_box_page_size, as: 'oneBoxPageSize'
|
|
9233
9257
|
property :order_by, as: 'orderBy'
|
|
@@ -9387,6 +9411,7 @@ module Google
|
|
|
9387
9411
|
property :custom_search_operators, as: 'customSearchOperators'
|
|
9388
9412
|
property :data_store, as: 'dataStore'
|
|
9389
9413
|
property :filter, as: 'filter'
|
|
9414
|
+
property :num_results, as: 'numResults'
|
|
9390
9415
|
end
|
|
9391
9416
|
end
|
|
9392
9417
|
|
|
@@ -10586,7 +10611,6 @@ module Google
|
|
|
10586
10611
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10587
10612
|
property :chunk_info, as: 'chunkInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo::Representation
|
|
10588
10613
|
|
|
10589
|
-
collection :queries, as: 'queries'
|
|
10590
10614
|
property :structured_document_info, as: 'structuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo::Representation
|
|
10591
10615
|
|
|
10592
10616
|
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo::Representation
|
|
@@ -11215,6 +11239,8 @@ module Google
|
|
|
11215
11239
|
property :data_source, as: 'dataSource'
|
|
11216
11240
|
collection :destination_configs, as: 'destinationConfigs', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig::Representation
|
|
11217
11241
|
|
|
11242
|
+
collection :dynamic_tools, as: 'dynamicTools', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDynamicTool, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDynamicTool::Representation
|
|
11243
|
+
|
|
11218
11244
|
collection :egress_fqdns, as: 'egressFqdns'
|
|
11219
11245
|
property :end_user_config, as: 'endUserConfig', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig::Representation
|
|
11220
11246
|
|
|
@@ -11651,6 +11677,16 @@ module Google
|
|
|
11651
11677
|
end
|
|
11652
11678
|
end
|
|
11653
11679
|
|
|
11680
|
+
class GoogleCloudDiscoveryengineV1alphaDynamicTool
|
|
11681
|
+
# @private
|
|
11682
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11683
|
+
property :description, as: 'description'
|
|
11684
|
+
property :display_name, as: 'displayName'
|
|
11685
|
+
property :enabled, as: 'enabled'
|
|
11686
|
+
property :name, as: 'name'
|
|
11687
|
+
end
|
|
11688
|
+
end
|
|
11689
|
+
|
|
11654
11690
|
class GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata
|
|
11655
11691
|
# @private
|
|
11656
11692
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -202,9 +202,9 @@ module Google
|
|
|
202
202
|
# Required. The ID to use for the Collection, which will become the final
|
|
203
203
|
# component of the Collection's resource name. A new Collection is created as
|
|
204
204
|
# part of the DataConnector setup. DataConnector is a singleton resource under
|
|
205
|
-
# Collection, managing all DataStores of the Collection.
|
|
206
|
-
#
|
|
207
|
-
#
|
|
205
|
+
# Collection, managing all DataStores of the Collection. Should conform to [RFC-
|
|
206
|
+
# 1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63
|
|
207
|
+
# characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
208
208
|
# @param [String] fields
|
|
209
209
|
# Selector specifying which fields to include in a partial response.
|
|
210
210
|
# @param [String] quota_user
|
|
@@ -489,8 +489,8 @@ module Google
|
|
|
489
489
|
# Required. Full resource name of DataConnector, such as `projects/`project`/
|
|
490
490
|
# locations/`location`/collections/`collection_id`/dataConnector`. If the caller
|
|
491
491
|
# does not have permission to access the DataConnector, regardless of whether or
|
|
492
|
-
# not it exists, a PERMISSION_DENIED error is returned. If the requested
|
|
493
|
-
# DataConnector does not exist, a NOT_FOUND error is returned.
|
|
492
|
+
# not it exists, a `PERMISSION_DENIED` error is returned. If the requested
|
|
493
|
+
# DataConnector does not exist, a `NOT_FOUND` error is returned.
|
|
494
494
|
# @param [String] fields
|
|
495
495
|
# Selector specifying which fields to include in a partial response.
|
|
496
496
|
# @param [String] quota_user
|
|
@@ -532,7 +532,7 @@ module Google
|
|
|
532
532
|
# data_protection_policy` Note: Support for these fields may vary depending on
|
|
533
533
|
# the connector type. For example, not all connectors support `
|
|
534
534
|
# destination_configs`. If an unsupported or unknown field path is provided, the
|
|
535
|
-
# request will return an INVALID_ARGUMENT error.
|
|
535
|
+
# request will return an `INVALID_ARGUMENT` error.
|
|
536
536
|
# @param [String] fields
|
|
537
537
|
# Selector specifying which fields to include in a partial response.
|
|
538
538
|
# @param [String] quota_user
|
|
@@ -4544,7 +4544,7 @@ module Google
|
|
|
4544
4544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4545
4545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4546
4546
|
def get_project_location_collection_engine_assistant_agent_card(tenant, fields: nil, quota_user: nil, options: nil, &block)
|
|
4547
|
-
command = make_simple_command(:get, '{+tenant}/card', options)
|
|
4547
|
+
command = make_simple_command(:get, 'v1/{+tenant}/card', options)
|
|
4548
4548
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1AgentCard::Representation
|
|
4549
4549
|
command.response_class = Google::Apis::DiscoveryengineV1::A2aV1AgentCard
|
|
4550
4550
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -4577,7 +4577,7 @@ module Google
|
|
|
4577
4577
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4578
4578
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4579
4579
|
def send_project_location_collection_engine_assistant_agent_message(tenant, a2a_v1_send_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4580
|
-
command = make_simple_command(:post, '{+tenant}/message:send', options)
|
|
4580
|
+
command = make_simple_command(:post, 'v1/{+tenant}/message:send', options)
|
|
4581
4581
|
command.request_representation = Google::Apis::DiscoveryengineV1::A2aV1SendMessageRequest::Representation
|
|
4582
4582
|
command.request_object = a2a_v1_send_message_request_object
|
|
4583
4583
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1SendMessageResponse::Representation
|
|
@@ -4612,7 +4612,7 @@ module Google
|
|
|
4612
4612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4613
4613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4614
4614
|
def stream_project_location_collection_engine_assistant_agent_message(tenant, a2a_v1_send_message_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4615
|
-
command = make_simple_command(:post, '{+tenant}/message:stream', options)
|
|
4615
|
+
command = make_simple_command(:post, 'v1/{+tenant}/message:stream', options)
|
|
4616
4616
|
command.request_representation = Google::Apis::DiscoveryengineV1::A2aV1SendMessageRequest::Representation
|
|
4617
4617
|
command.request_object = a2a_v1_send_message_request_object
|
|
4618
4618
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1StreamResponse::Representation
|
|
@@ -4680,7 +4680,7 @@ module Google
|
|
|
4680
4680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4681
4681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4682
4682
|
def cancel_project_location_collection_engine_assistant_agent_task(tenant, name, a2a_v1_cancel_task_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4683
|
-
command = make_simple_command(:post, '{+tenant}/{+name}:cancel', options)
|
|
4683
|
+
command = make_simple_command(:post, 'v1/{+tenant}/{+name}:cancel', options)
|
|
4684
4684
|
command.request_representation = Google::Apis::DiscoveryengineV1::A2aV1CancelTaskRequest::Representation
|
|
4685
4685
|
command.request_object = a2a_v1_cancel_task_request_object
|
|
4686
4686
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1Task::Representation
|
|
@@ -4718,7 +4718,7 @@ module Google
|
|
|
4718
4718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4719
4719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4720
4720
|
def get_project_location_collection_engine_assistant_agent_task(tenant, name, history_length: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4721
|
-
command = make_simple_command(:get, '{+tenant}/{+name}', options)
|
|
4721
|
+
command = make_simple_command(:get, 'v1/{+tenant}/{+name}', options)
|
|
4722
4722
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1Task::Representation
|
|
4723
4723
|
command.response_class = Google::Apis::DiscoveryengineV1::A2aV1Task
|
|
4724
4724
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -4756,7 +4756,7 @@ module Google
|
|
|
4756
4756
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4757
4757
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4758
4758
|
def subscribe_project_location_collection_engine_assistant_agent_task(tenant, name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4759
|
-
command = make_simple_command(:get, '{+tenant}/{+name}:subscribe', options)
|
|
4759
|
+
command = make_simple_command(:get, 'v1/{+tenant}/{+name}:subscribe', options)
|
|
4760
4760
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1StreamResponse::Representation
|
|
4761
4761
|
command.response_class = Google::Apis::DiscoveryengineV1::A2aV1StreamResponse
|
|
4762
4762
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -4793,7 +4793,7 @@ module Google
|
|
|
4793
4793
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4794
4794
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4795
4795
|
def create_project_location_collection_engine_assistant_agent_task_push_notification_config(tenant, parent, a2a_v1_task_push_notification_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4796
|
-
command = make_simple_command(:post, '{+tenant}/{+parent}', options)
|
|
4796
|
+
command = make_simple_command(:post, 'v1/{+tenant}/{+parent}', options)
|
|
4797
4797
|
command.request_representation = Google::Apis::DiscoveryengineV1::A2aV1TaskPushNotificationConfig::Representation
|
|
4798
4798
|
command.request_object = a2a_v1_task_push_notification_config_object
|
|
4799
4799
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1TaskPushNotificationConfig::Representation
|
|
@@ -4831,7 +4831,7 @@ module Google
|
|
|
4831
4831
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4832
4832
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4833
4833
|
def delete_project_location_collection_engine_assistant_agent_task_push_notification_config(tenant, name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4834
|
-
command = make_simple_command(:delete, '{+tenant}/{+name}', options)
|
|
4834
|
+
command = make_simple_command(:delete, 'v1/{+tenant}/{+name}', options)
|
|
4835
4835
|
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
|
|
4836
4836
|
command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
|
|
4837
4837
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -4866,7 +4866,7 @@ module Google
|
|
|
4866
4866
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4867
4867
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4868
4868
|
def get_project_location_collection_engine_assistant_agent_task_push_notification_config(tenant, name, fields: nil, quota_user: nil, options: nil, &block)
|
|
4869
|
-
command = make_simple_command(:get, '{+tenant}/{+name}', options)
|
|
4869
|
+
command = make_simple_command(:get, 'v1/{+tenant}/{+name}', options)
|
|
4870
4870
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1TaskPushNotificationConfig::Representation
|
|
4871
4871
|
command.response_class = Google::Apis::DiscoveryengineV1::A2aV1TaskPushNotificationConfig
|
|
4872
4872
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -4909,7 +4909,7 @@ module Google
|
|
|
4909
4909
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4910
4910
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4911
4911
|
def list_project_location_collection_engine_assistant_agent_task_push_notification_configs(tenant, parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4912
|
-
command = make_simple_command(:get, '{+tenant}/{+parent}/pushNotificationConfigs', options)
|
|
4912
|
+
command = make_simple_command(:get, 'v1/{+tenant}/{+parent}/pushNotificationConfigs', options)
|
|
4913
4913
|
command.response_representation = Google::Apis::DiscoveryengineV1::A2aV1ListTaskPushNotificationConfigResponse::Representation
|
|
4914
4914
|
command.response_class = Google::Apis::DiscoveryengineV1::A2aV1ListTaskPushNotificationConfigResponse
|
|
4915
4915
|
command.params['tenant'] = tenant unless tenant.nil?
|
|
@@ -10087,76 +10087,6 @@ module Google
|
|
|
10087
10087
|
execute_or_queue_command(command, &block)
|
|
10088
10088
|
end
|
|
10089
10089
|
|
|
10090
|
-
# Creates a new User Store.
|
|
10091
|
-
# @param [String] parent
|
|
10092
|
-
# Required. The parent collection resource name, such as `projects/`project`/
|
|
10093
|
-
# locations/`location``.
|
|
10094
|
-
# @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object
|
|
10095
|
-
# @param [String] user_store_id
|
|
10096
|
-
# Required. The ID of the User Store to create. The ID must contain only letters
|
|
10097
|
-
# (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
|
|
10098
|
-
# length is 63 characters.
|
|
10099
|
-
# @param [String] fields
|
|
10100
|
-
# Selector specifying which fields to include in a partial response.
|
|
10101
|
-
# @param [String] quota_user
|
|
10102
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
10103
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10104
|
-
# @param [Google::Apis::RequestOptions] options
|
|
10105
|
-
# Request-specific options
|
|
10106
|
-
#
|
|
10107
|
-
# @yield [result, err] Result & error if block supplied
|
|
10108
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
|
|
10109
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
10110
|
-
#
|
|
10111
|
-
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
|
|
10112
|
-
#
|
|
10113
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10114
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10115
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10116
|
-
def create_project_location_user_store(parent, google_cloud_discoveryengine_v1_user_store_object = nil, user_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
10117
|
-
command = make_simple_command(:post, 'v1/{+parent}/userStores', options)
|
|
10118
|
-
command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
|
|
10119
|
-
command.request_object = google_cloud_discoveryengine_v1_user_store_object
|
|
10120
|
-
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
|
|
10121
|
-
command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
|
|
10122
|
-
command.params['parent'] = parent unless parent.nil?
|
|
10123
|
-
command.query['userStoreId'] = user_store_id unless user_store_id.nil?
|
|
10124
|
-
command.query['fields'] = fields unless fields.nil?
|
|
10125
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10126
|
-
execute_or_queue_command(command, &block)
|
|
10127
|
-
end
|
|
10128
|
-
|
|
10129
|
-
# Deletes the User Store.
|
|
10130
|
-
# @param [String] name
|
|
10131
|
-
# Required. The name of the User Store to delete. Format: `projects/`project`/
|
|
10132
|
-
# locations/`location`/userStores/`user_store_id``
|
|
10133
|
-
# @param [String] fields
|
|
10134
|
-
# Selector specifying which fields to include in a partial response.
|
|
10135
|
-
# @param [String] quota_user
|
|
10136
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
10137
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
10138
|
-
# @param [Google::Apis::RequestOptions] options
|
|
10139
|
-
# Request-specific options
|
|
10140
|
-
#
|
|
10141
|
-
# @yield [result, err] Result & error if block supplied
|
|
10142
|
-
# @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
|
|
10143
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
10144
|
-
#
|
|
10145
|
-
# @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
|
|
10146
|
-
#
|
|
10147
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
10148
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
10149
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
10150
|
-
def delete_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
10151
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
10152
|
-
command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
|
|
10153
|
-
command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
|
|
10154
|
-
command.params['name'] = name unless name.nil?
|
|
10155
|
-
command.query['fields'] = fields unless fields.nil?
|
|
10156
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
10157
|
-
execute_or_queue_command(command, &block)
|
|
10158
|
-
end
|
|
10159
|
-
|
|
10160
10090
|
# Gets the User Store.
|
|
10161
10091
|
# @param [String] name
|
|
10162
10092
|
# Required. The name of the User Store to get. Format: `projects/`project`/
|
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.
|
|
4
|
+
version: 0.73.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
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.73.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:
|