Skip to content

Commit b2828e7

Browse files
feat: Automated regeneration of discoveryengine v1beta client (#21432)
Auto-created at 2025-01-19 10:30:16 +0000 using the toys pull request generator.
1 parent 6602a22 commit b2828e7

File tree

5 files changed

+78
-6
lines changed

5 files changed

+78
-6
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197793,6 +197793,7 @@
197793197793
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/errorConfig": error_config
197794197794
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/fhirStoreSource": fhir_store_source
197795197795
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/firestoreSource": firestore_source
197796+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/forceRefreshContent": force_refresh_content
197796197797
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/gcsSource": gcs_source
197797197798
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/idField": id_field
197798197799
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaImportDocumentsRequest/inlineSource": inline_source
@@ -198271,6 +198272,7 @@
198271198272
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/searchLinkPromotions": search_link_promotions
198272198273
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/searchLinkPromotions/search_link_promotion": search_link_promotion
198273198274
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/sessionInfo": session_info
198275+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/suggestedQuery": suggested_query
198274198276
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/summary": summary
198275198277
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponse/totalSize": total_size
198276198278
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseFacet": google_cloud_discoveryengine_v1beta_search_response_facet
@@ -198297,8 +198299,11 @@
198297198299
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo": google_cloud_discoveryengine_v1beta_search_response_natural_language_query_understanding_info
198298198300
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo/extractedFilters": extracted_filters
198299198301
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo/rewrittenQuery": rewritten_query
198302+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo/sqlRequest": sql_request
198300198303
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo/structuredExtractedFilter"
198301198304
: structured_extracted_filter
198305+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest": google_cloud_discoveryengine_v1beta_search_response_natural_language_query_understanding_info_sql_request
198306+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest/sqlQuery": sql_query
198302198307
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter"
198303198308
: google_cloud_discoveryengine_v1beta_search_response_natural_language_query_understanding_info_structured_extracted_filter
198304198309
? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter/expression"

generated/google-apis-discoveryengine_v1beta/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_v1beta
22

3+
### v0.56.0 (2025-01-19)
4+
5+
* Regenerated from discovery document revision 20250114
6+
37
### v0.55.0 (2025-01-12)
48

59
* Regenerated from discovery document revision 20250107

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

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3765,7 +3765,7 @@ class GoogleCloudDiscoveryengineV1alphaActionConfig
37653765
# Required. Params needed to support actions in the format of (Key, Value) pairs.
37663766
# Required parameters for sources that support OAUTH, i.e. `gmail`, `
37673767
# google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `
3768-
# client_id` * Value: type STRING. The client id for the service provider to
3768+
# client_id` * Value: type STRING. The client ID for the service provider to
37693769
# identify your application. * Key: `client_secret` * Value:type STRING. The
37703770
# client secret generated by the application's authorization server.
37713771
# Corresponds to the JSON property `actionParams`
@@ -5431,7 +5431,7 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
54315431
# pairs. Required parameters for all data sources: * Key: `instance_uri` * Value:
54325432
# type STRING. The uri to access the data source. Required parameters for
54335433
# sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value:
5434-
# type STRING. The client id for the third party service provider to identify
5434+
# type STRING. The client ID for the third party service provider to identify
54355435
# your application. * Key: `client_secret` * Value:type STRING. The client
54365436
# secret generated by the third party authorization server. * Key: `access_token`
54375437
# * Value: type STRING. OAuth token for UCS to access to the protected resource.
@@ -5554,9 +5554,9 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
55545554
# @return [Hash<String,String>]
55555555
attr_accessor :key_property_mappings
55565556

5557-
# The parameters for the entity to facilitate data ingestion. E.g. for BQ
5557+
# The parameters for the entity to facilitate data ingestion. E.g. for BigQuery
55585558
# connectors: * Key: `document_id_column` * Value: type STRING. The value of the
5559-
# column id.
5559+
# column ID.
55605560
# Corresponds to the JSON property `params`
55615561
# @return [Hash<String,Object>]
55625562
attr_accessor :params
@@ -16691,6 +16691,14 @@ class GoogleCloudDiscoveryengineV1betaImportDocumentsRequest
1669116691
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFirestoreSource]
1669216692
attr_accessor :firestore_source
1669316693

16694+
# Optional. Whether to force refresh the unstructured content of the documents.
16695+
# If set to `true`, the content part of the documents will be refreshed
16696+
# regardless of the update status of the referencing content.
16697+
# Corresponds to the JSON property `forceRefreshContent`
16698+
# @return [Boolean]
16699+
attr_accessor :force_refresh_content
16700+
alias_method :force_refresh_content?, :force_refresh_content
16701+
1669416702
# Cloud Storage location for input content.
1669516703
# Corresponds to the JSON property `gcsSource`
1669616704
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource]
@@ -16751,6 +16759,7 @@ def update!(**args)
1675116759
@error_config = args[:error_config] if args.key?(:error_config)
1675216760
@fhir_store_source = args[:fhir_store_source] if args.key?(:fhir_store_source)
1675316761
@firestore_source = args[:firestore_source] if args.key?(:firestore_source)
16762+
@force_refresh_content = args[:force_refresh_content] if args.key?(:force_refresh_content)
1675416763
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
1675516764
@id_field = args[:id_field] if args.key?(:id_field)
1675616765
@inline_source = args[:inline_source] if args.key?(:inline_source)
@@ -20355,6 +20364,15 @@ class GoogleCloudDiscoveryengineV1betaSearchResponse
2035520364
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo]
2035620365
attr_accessor :session_info
2035720366

20367+
# Corrected query with low confidence, AKA did you mean query. Compared with
20368+
# corrected_query, this field is set when SpellCorrector returned a response,
20369+
# but FPR(full page replacement) is not triggered because the corrction is of
20370+
# low confidence(eg, reversed because there are matches of the original query in
20371+
# document corpus).
20372+
# Corresponds to the JSON property `suggestedQuery`
20373+
# @return [String]
20374+
attr_accessor :suggested_query
20375+
2035820376
# Summary of the top N search results specified by the summary spec.
2035920377
# Corresponds to the JSON property `summary`
2036020378
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary]
@@ -20387,6 +20405,7 @@ def update!(**args)
2038720405
@results = args[:results] if args.key?(:results)
2038820406
@search_link_promotions = args[:search_link_promotions] if args.key?(:search_link_promotions)
2038920407
@session_info = args[:session_info] if args.key?(:session_info)
20408+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
2039020409
@summary = args[:summary] if args.key?(:summary)
2039120410
@total_size = args[:total_size] if args.key?(:total_size)
2039220411
end
@@ -20548,6 +20567,12 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta
2054820567
# @return [String]
2054920568
attr_accessor :rewritten_query
2055020569

20570+
# The SQL request that was generated from the natural language query
20571+
# understanding phase.
20572+
# Corresponds to the JSON property `sqlRequest`
20573+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest]
20574+
attr_accessor :sql_request
20575+
2055120576
# The filters that were extracted from the input query represented in a
2055220577
# structured form.
2055320578
# Corresponds to the JSON property `structuredExtractedFilter`
@@ -20562,10 +20587,31 @@ def initialize(**args)
2056220587
def update!(**args)
2056320588
@extracted_filters = args[:extracted_filters] if args.key?(:extracted_filters)
2056420589
@rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
20590+
@sql_request = args[:sql_request] if args.key?(:sql_request)
2056520591
@structured_extracted_filter = args[:structured_extracted_filter] if args.key?(:structured_extracted_filter)
2056620592
end
2056720593
end
2056820594

20595+
# The SQL request that was generated from the natural language query
20596+
# understanding phase.
20597+
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
20598+
include Google::Apis::Core::Hashable
20599+
20600+
# Optional. The SQL query in text format.
20601+
# Corresponds to the JSON property `sqlQuery`
20602+
# @return [String]
20603+
attr_accessor :sql_query
20604+
20605+
def initialize(**args)
20606+
update!(**args)
20607+
end
20608+
20609+
# Update properties of this object
20610+
def update!(**args)
20611+
@sql_query = args[:sql_query] if args.key?(:sql_query)
20612+
end
20613+
end
20614+
2056920615
# The filters that were extracted from the input query represented in a
2057020616
# structured form.
2057120617
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/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 DiscoveryengineV1beta
1818
# Version of the google-apis-discoveryengine_v1beta gem
19-
GEM_VERSION = "0.55.0"
19+
GEM_VERSION = "0.56.0"
2020

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

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

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3376,6 +3376,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
33763376
include Google::Apis::Core::JsonObjectSupport
33773377
end
33783378

3379+
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
3380+
class Representation < Google::Apis::Core::JsonRepresentation; end
3381+
3382+
include Google::Apis::Core::JsonObjectSupport
3383+
end
3384+
33793385
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
33803386
class Representation < Google::Apis::Core::JsonRepresentation; end
33813387

@@ -8282,6 +8288,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
82828288

82838289
property :firestore_source, as: 'firestoreSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFirestoreSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaFirestoreSource::Representation
82848290

8291+
property :force_refresh_content, as: 'forceRefreshContent'
82858292
property :gcs_source, as: 'gcsSource', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaGcsSource::Representation
82868293

82878294
property :id_field, as: 'idField'
@@ -9266,6 +9273,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
92669273

92679274
property :session_info, as: 'sessionInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSessionInfo::Representation
92689275

9276+
property :suggested_query, as: 'suggestedQuery'
92699277
property :summary, as: 'summary', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseSummary::Representation
92709278

92719279
property :total_size, as: 'totalSize'
@@ -9322,11 +9330,20 @@ class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUndersta
93229330
class Representation < Google::Apis::Core::JsonRepresentation
93239331
property :extracted_filters, as: 'extractedFilters'
93249332
property :rewritten_query, as: 'rewrittenQuery'
9333+
property :sql_request, as: 'sqlRequest', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest::Representation
9334+
93259335
property :structured_extracted_filter, as: 'structuredExtractedFilter', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter::Representation
93269336

93279337
end
93289338
end
93299339

9340+
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoSqlRequest
9341+
# @private
9342+
class Representation < Google::Apis::Core::JsonRepresentation
9343+
property :sql_query, as: 'sqlQuery'
9344+
end
9345+
end
9346+
93309347
class GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfoStructuredExtractedFilter
93319348
# @private
93329349
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)