@@ -4152,11 +4152,6 @@ class GoogleCloudDiscoveryengineV1AnswerReference
41524152 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo]
41534153 attr_accessor :chunk_info
41544154
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-
41604155 # Structured search information.
41614156 # Corresponds to the JSON property `structuredDocumentInfo`
41624157 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceStructuredDocumentInfo]
@@ -4174,7 +4169,6 @@ def initialize(**args)
41744169 # Update properties of this object
41754170 def update!(**args)
41764171 @chunk_info = args[:chunk_info] if args.key?(:chunk_info)
4177- @queries = args[:queries] if args.key?(:queries)
41784172 @structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
41794173 @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
41804174 end
@@ -7763,6 +7757,11 @@ class GoogleCloudDiscoveryengineV1DataConnector
77637757 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1DestinationConfig>]
77647758 attr_accessor :destination_configs
77657759
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+
77667765 # Output only. The list of FQDNs of the data connector can egress to. This
77677766 # includes both FQDN derived from the customer provided instance URL and default
77687767 # per connector type FQDNs. Note: This field is derived from both the
@@ -7977,6 +7976,7 @@ def update!(**args)
79777976 @create_time = args[:create_time] if args.key?(:create_time)
79787977 @data_source = args[:data_source] if args.key?(:data_source)
79797978 @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
7979+ @dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
79807980 @egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
79817981 @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
79827982 @entities = args[:entities] if args.key?(:entities)
@@ -9528,6 +9528,44 @@ def update!(**args)
95289528 end
95299529 end
95309530
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+
95319569 # Metadata related to the progress of the SiteSearchEngineService.
95329570 # EnableAdvancedSiteSearch operation. This will be returned by the google.
95339571 # longrunning.Operation.metadata field.
@@ -13596,6 +13634,13 @@ class GoogleCloudDiscoveryengineV1SearchRequest
1359613634 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestNaturalLanguageQueryUnderstandingSpec]
1359713635 attr_accessor :natural_language_query_understanding_spec
1359813636
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+
1359913644 # A 0-indexed integer that specifies the current offset (that is, starting
1360013645 # result location, amongst the Documents deemed by the API as relevant) in
1360113646 # search results. This field is only considered if page_token is unset. If this
@@ -13836,6 +13881,7 @@ def update!(**args)
1383613881 @image_query = args[:image_query] if args.key?(:image_query)
1383713882 @language_code = args[:language_code] if args.key?(:language_code)
1383813883 @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)
1383913885 @offset = args[:offset] if args.key?(:offset)
1384013886 @one_box_page_size = args[:one_box_page_size] if args.key?(:one_box_page_size)
1384113887 @order_by = args[:order_by] if args.key?(:order_by)
@@ -14421,6 +14467,14 @@ class GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec
1442114467 # @return [String]
1442214468 attr_accessor :filter
1442314469
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+
1442414478 def initialize(**args)
1442514479 update!(**args)
1442614480 end
@@ -14431,6 +14485,7 @@ def update!(**args)
1443114485 @custom_search_operators = args[:custom_search_operators] if args.key?(:custom_search_operators)
1443214486 @data_store = args[:data_store] if args.key?(:data_store)
1443314487 @filter = args[:filter] if args.key?(:filter)
14488+ @num_results = args[:num_results] if args.key?(:num_results)
1443414489 end
1443514490 end
1443614491
@@ -16070,9 +16125,9 @@ class GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest
1607016125 # Required. The ID to use for the Collection, which will become the final
1607116126 # component of the Collection's resource name. A new Collection is created as
1607216127 # part of the DataConnector setup. DataConnector is a singleton resource under
16073- # Collection, managing all DataStores of the Collection. This field must conform
16074- # to [RFC- 1034](https://tools.ietf.org/html/rfc1034) standard with a length
16075- # limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
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.
1607616131 # Corresponds to the JSON property `collectionId`
1607716132 # @return [String]
1607816133 attr_accessor :collection_id
@@ -19068,11 +19123,6 @@ class GoogleCloudDiscoveryengineV1alphaAnswerReference
1906819123 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo]
1906919124 attr_accessor :chunk_info
1907019125
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-
1907619126 # Structured search information.
1907719127 # Corresponds to the JSON property `structuredDocumentInfo`
1907819128 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo]
@@ -19090,7 +19140,6 @@ def initialize(**args)
1909019140 # Update properties of this object
1909119141 def update!(**args)
1909219142 @chunk_info = args[:chunk_info] if args.key?(:chunk_info)
19093- @queries = args[:queries] if args.key?(:queries)
1909419143 @structured_document_info = args[:structured_document_info] if args.key?(:structured_document_info)
1909519144 @unstructured_document_info = args[:unstructured_document_info] if args.key?(:unstructured_document_info)
1909619145 end
@@ -21286,6 +21335,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
2128621335 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDestinationConfig>]
2128721336 attr_accessor :destination_configs
2128821337
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+
2128921343 # Output only. The list of FQDNs of the data connector can egress to. This
2129021344 # includes both FQDN derived from the customer provided instance URL and default
2129121345 # per connector type FQDNs. Note: This field is derived from both the
@@ -21501,6 +21555,7 @@ def update!(**args)
2150121555 @data_protection_policy = args[:data_protection_policy] if args.key?(:data_protection_policy)
2150221556 @data_source = args[:data_source] if args.key?(:data_source)
2150321557 @destination_configs = args[:destination_configs] if args.key?(:destination_configs)
21558+ @dynamic_tools = args[:dynamic_tools] if args.key?(:dynamic_tools)
2150421559 @egress_fqdns = args[:egress_fqdns] if args.key?(:egress_fqdns)
2150521560 @end_user_config = args[:end_user_config] if args.key?(:end_user_config)
2150621561 @entities = args[:entities] if args.key?(:entities)
@@ -22921,6 +22976,44 @@ def update!(**args)
2292122976 end
2292222977 end
2292322978
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+
2292423017 # Metadata related to the progress of the SiteSearchEngineService.
2292523018 # EnableAdvancedSiteSearch operation. This will be returned by the google.
2292623019 # longrunning.Operation.metadata field.
0 commit comments