Skip to content

Commit 8f00b8f

Browse files
feat: Automated regeneration of discoveryengine v1 client (#26052)
Auto-created at 2026-03-22 11:06:37 +0000 using the toys pull request generator.
1 parent e01d238 commit 8f00b8f

File tree

6 files changed

+184
-105
lines changed

6 files changed

+184
-105
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222418,6 +222418,8 @@
222418222418
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/dataSource": data_source
222419222419
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/destinationConfigs": destination_configs
222420222420
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/destinationConfigs/destination_config": destination_config
222421+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/dynamicTools": dynamic_tools
222422+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/dynamicTools/dynamic_tool": dynamic_tool
222421222423
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/egressFqdns": egress_fqdns
222422222424
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/egressFqdns/egress_fqdn": egress_fqdn
222423222425
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DataConnector/endUserConfig": end_user_config
@@ -222661,6 +222663,11 @@
222661222663
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DoubleList": google_cloud_discoveryengine_v1_double_list
222662222664
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DoubleList/values": values
222663222665
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DoubleList/values/value": value
222666+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DynamicTool": google_cloud_discoveryengine_v1_dynamic_tool
222667+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DynamicTool/description": description
222668+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DynamicTool/displayName": display_name
222669+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DynamicTool/enabled": enabled
222670+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1DynamicTool/name": name
222664222671
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata": google_cloud_discoveryengine_v1_enable_advanced_site_search_metadata
222665222672
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata/createTime": create_time
222666222673
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata/updateTime": update_time
@@ -223305,6 +223312,7 @@
223305223312
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/imageQuery": image_query
223306223313
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/languageCode": language_code
223307223314
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/naturalLanguageQueryUnderstandingSpec": natural_language_query_understanding_spec
223315+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/numResultsPerDataStore": num_results_per_data_store
223308223316
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/offset": offset
223309223317
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/oneBoxPageSize": one_box_page_size
223310223318
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/orderBy": order_by
@@ -223390,6 +223398,7 @@
223390223398
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/customSearchOperators": custom_search_operators
223391223399
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/dataStore": data_store
223392223400
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/filter": filter
223401+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/numResults": num_results
223393223402
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec": google_cloud_discoveryengine_v1_search_request_display_spec
223394223403
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec/matchHighlightingCondition": match_highlighting_condition
223395223404
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestFacetSpec": google_cloud_discoveryengine_v1_search_request_facet_spec
@@ -224388,6 +224397,8 @@
224388224397
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/dataSource": data_source
224389224398
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/destinationConfigs": destination_configs
224390224399
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/destinationConfigs/destination_config": destination_config
224400+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/dynamicTools": dynamic_tools
224401+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/dynamicTools/dynamic_tool": dynamic_tool
224391224402
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/egressFqdns": egress_fqdns
224392224403
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/egressFqdns/egress_fqdn": egress_fqdn
224393224404
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/endUserConfig": end_user_config
@@ -224616,6 +224627,11 @@
224616224627
? "/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig/enhancedDocumentElements/enhanced_document_element"
224617224628
: enhanced_document_element
224618224629
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigOcrParsingConfig/useNativeText": use_native_text
224630+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDynamicTool": google_cloud_discoveryengine_v1alpha_dynamic_tool
224631+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDynamicTool/description": description
224632+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDynamicTool/displayName": display_name
224633+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDynamicTool/enabled": enabled
224634+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDynamicTool/name": name
224619224635
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata": google_cloud_discoveryengine_v1alpha_enable_advanced_site_search_metadata
224620224636
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata/createTime": create_time
224621224637
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchMetadata/updateTime": update_time

generated/google-apis-discoveryengine_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1
22

3+
### v0.73.0 (2026-03-22)
4+
5+
* Regenerated from discovery document revision 20260317
6+
37
### v0.72.0 (2026-03-15)
48

59
* Regenerated from discovery document revision 20260310

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/classes.rb

Lines changed: 108 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -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.

generated/google-apis-discoveryengine_v1/lib/google/apis/discoveryengine_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DiscoveryengineV1
1818
# Version of the google-apis-discoveryengine_v1 gem
19-
GEM_VERSION = "0.72.0"
19+
GEM_VERSION = "0.73.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20260310"
25+
REVISION = "20260317"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)