Skip to content

Commit 7979884

Browse files
feat: Automated regeneration of discoveryengine v1 client (googleapis#22114)
Auto-created at 2025-03-16 10:26:06 +0000 using the toys pull request generator.
1 parent 59b5b3e commit 7979884

File tree

5 files changed

+203
-5
lines changed

5 files changed

+203
-5
lines changed

api_names_out.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190646,6 +190646,7 @@
190646190646
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec/filteringLevel": filtering_level
190647190647
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestGroundingSpec/includeGroundingSupports": include_grounding_supports
190648190648
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec": google_cloud_discoveryengine_v1_answer_query_request_query_understanding_spec
190649+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec/disableSpellCorrection": disable_spell_correction
190649190650
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec/queryClassificationSpec": query_classification_spec
190650190651
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec/queryRephraserSpec": query_rephraser_spec
190651190652
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec": google_cloud_discoveryengine_v1_answer_query_request_query_understanding_spec_query_classification_spec
@@ -191669,6 +191670,7 @@
191669191670
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/contentSearchSpec": content_search_spec
191670191671
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/dataStoreSpecs": data_store_specs
191671191672
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/dataStoreSpecs/data_store_spec": data_store_spec
191673+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/displaySpec": display_spec
191672191674
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/facetSpecs": facet_specs
191673191675
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/facetSpecs/facet_spec": facet_spec
191674191676
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequest/filter": filter
@@ -191750,6 +191752,8 @@
191750191752
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/boostSpec": boost_spec
191751191753
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/dataStore": data_store
191752191754
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec/filter": filter
191755+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec": google_cloud_discoveryengine_v1_search_request_display_spec
191756+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec/matchHighlightingCondition": match_highlighting_condition
191753191757
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestFacetSpec": google_cloud_discoveryengine_v1_search_request_facet_spec
191754191758
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestFacetSpec/enableDynamicPosition": enable_dynamic_position
191755191759
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1SearchRequestFacetSpec/excludedFilterKeys": excluded_filter_keys
@@ -192028,6 +192032,13 @@
192028192032
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig": google_cloud_discoveryengine_v1alpha_advanced_site_search_config
192029192033
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig/disableAutomaticRefresh": disable_automatic_refresh
192030192034
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig/disableInitialIndex": disable_initial_index
192035+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig": google_cloud_discoveryengine_v1alpha_alert_policy_config
192036+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments": alert_enrollments
192037+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments/alert_enrollment": alert_enrollment
192038+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertPolicyName": alert_policy_name
192039+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment": google_cloud_discoveryengine_v1alpha_alert_policy_config_alert_enrollment
192040+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/alertId": alert_id
192041+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/enrollState": enroll_state
192031192042
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAnswer": google_cloud_discoveryengine_v1alpha_answer
192032192043
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons": answer_skipped_reasons
192033192044
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons/answer_skipped_reason": answer_skipped_reason
@@ -192274,6 +192285,8 @@
192274192285
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaCustomTuningModel/trainingStartTime": training_start_time
192275192286
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector": google_cloud_discoveryengine_v1alpha_data_connector
192276192287
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/actionConfig": action_config
192288+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/alertPolicyConfigs": alert_policy_configs
192289+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/alertPolicyConfigs/alert_policy_config": alert_policy_config
192277192290
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/autoRunDisabled": auto_run_disabled
192278192291
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/bapConfig": bap_config
192279192292
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1alphaDataConnector/blockingReasons": blocking_reasons
@@ -193367,6 +193380,7 @@
193367193380
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/contentSearchSpec": content_search_spec
193368193381
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/dataStoreSpecs": data_store_specs
193369193382
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/dataStoreSpecs/data_store_spec": data_store_spec
193383+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/displaySpec": display_spec
193370193384
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/embeddingSpec": embedding_spec
193371193385
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/facetSpecs": facet_specs
193372193386
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequest/facetSpecs/facet_spec": facet_spec
@@ -193458,6 +193472,8 @@
193458193472
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/boostSpec": boost_spec
193459193473
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/dataStore": data_store
193460193474
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/filter": filter
193475+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec": google_cloud_discoveryengine_v1beta_search_request_display_spec
193476+
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec/matchHighlightingCondition": match_highlighting_condition
193461193477
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec": google_cloud_discoveryengine_v1beta_search_request_embedding_spec
193462193478
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec/embeddingVectors": embedding_vectors
193463193479
"/discoveryengine:v1/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec/embeddingVectors/embedding_vector": embedding_vector

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.30.0 (2025-03-16)
4+
5+
* Regenerated from discovery document revision 20250312
6+
37
### v0.29.0 (2025-03-09)
48

59
* Regenerated from discovery document revision 20250306

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

Lines changed: 119 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,12 @@ def update!(**args)
14061406
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
14071407
include Google::Apis::Core::Hashable
14081408

1409+
# Optional. Whether to disable spell correction. The default value is `false`.
1410+
# Corresponds to the JSON property `disableSpellCorrection`
1411+
# @return [Boolean]
1412+
attr_accessor :disable_spell_correction
1413+
alias_method :disable_spell_correction?, :disable_spell_correction
1414+
14091415
# Query classification specification.
14101416
# Corresponds to the JSON property `queryClassificationSpec`
14111417
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -1422,6 +1428,7 @@ def initialize(**args)
14221428

14231429
# Update properties of this object
14241430
def update!(**args)
1431+
@disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
14251432
@query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
14261433
@query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
14271434
end
@@ -8093,7 +8100,8 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion
80938100
# @return [String]
80948101
attr_accessor :title
80958102

8096-
# Required. The URL for the page the user wants to promote.
8103+
# Optional. The URL for the page the user wants to promote. Must be set for site
8104+
# search. For other verticals, this is optional.
80978105
# Corresponds to the JSON property `uri`
80988106
# @return [String]
80998107
attr_accessor :uri
@@ -8154,6 +8162,11 @@ class GoogleCloudDiscoveryengineV1SearchRequest
81548162
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec>]
81558163
attr_accessor :data_store_specs
81568164

8165+
# Specifies features for display, like match highlighting.
8166+
# Corresponds to the JSON property `displaySpec`
8167+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec]
8168+
attr_accessor :display_spec
8169+
81578170
# Facet specifications for faceted search. If empty, no facets are returned. A
81588171
# maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
81598172
# returned.
@@ -8354,6 +8367,7 @@ def update!(**args)
83548367
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
83558368
@content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
83568369
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
8370+
@display_spec = args[:display_spec] if args.key?(:display_spec)
83578371
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
83588372
@filter = args[:filter] if args.key?(:filter)
83598373
@image_query = args[:image_query] if args.key?(:image_query)
@@ -8903,6 +8917,25 @@ def update!(**args)
89038917
end
89048918
end
89058919

8920+
# Specifies features for display, like match highlighting.
8921+
class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec
8922+
include Google::Apis::Core::Hashable
8923+
8924+
# The condition under which match highlighting should occur.
8925+
# Corresponds to the JSON property `matchHighlightingCondition`
8926+
# @return [String]
8927+
attr_accessor :match_highlighting_condition
8928+
8929+
def initialize(**args)
8930+
update!(**args)
8931+
end
8932+
8933+
# Update properties of this object
8934+
def update!(**args)
8935+
@match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
8936+
end
8937+
end
8938+
89068939
# A facet specification to perform faceted search.
89078940
class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec
89088941
include Google::Apis::Core::Hashable
@@ -11066,6 +11099,56 @@ def update!(**args)
1106611099
end
1106711100
end
1106811101

11102+
# The connector level alert config.
11103+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
11104+
include Google::Apis::Core::Hashable
11105+
11106+
# Optional. The enrollment states of each alert.
11107+
# Corresponds to the JSON property `alertEnrollments`
11108+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
11109+
attr_accessor :alert_enrollments
11110+
11111+
# Immutable. The fully qualified resource name of the AlertPolicy.
11112+
# Corresponds to the JSON property `alertPolicyName`
11113+
# @return [String]
11114+
attr_accessor :alert_policy_name
11115+
11116+
def initialize(**args)
11117+
update!(**args)
11118+
end
11119+
11120+
# Update properties of this object
11121+
def update!(**args)
11122+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
11123+
@alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
11124+
end
11125+
end
11126+
11127+
# The alert enrollment status.
11128+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
11129+
include Google::Apis::Core::Hashable
11130+
11131+
# Immutable. The id of an alert.
11132+
# Corresponds to the JSON property `alertId`
11133+
# @return [String]
11134+
attr_accessor :alert_id
11135+
11136+
# Required. The enrollment status of a customer.
11137+
# Corresponds to the JSON property `enrollState`
11138+
# @return [String]
11139+
attr_accessor :enroll_state
11140+
11141+
def initialize(**args)
11142+
update!(**args)
11143+
end
11144+
11145+
# Update properties of this object
11146+
def update!(**args)
11147+
@alert_id = args[:alert_id] if args.key?(:alert_id)
11148+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
11149+
end
11150+
end
11151+
1106911152
# Defines an answer.
1107011153
class GoogleCloudDiscoveryengineV1alphaAnswer
1107111154
include Google::Apis::Core::Hashable
@@ -12741,6 +12824,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
1274112824
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig]
1274212825
attr_accessor :action_config
1274312826

12827+
# Optional. The connector level alert config.
12828+
# Corresponds to the JSON property `alertPolicyConfigs`
12829+
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
12830+
attr_accessor :alert_policy_configs
12831+
1274412832
# Indicates whether the connector is disabled for auto run. It can be used to
1274512833
# pause periodical and real time sync.
1274612834
# Corresponds to the JSON property `autoRunDisabled`
@@ -12930,6 +13018,7 @@ def initialize(**args)
1293013018
# Update properties of this object
1293113019
def update!(**args)
1293213020
@action_config = args[:action_config] if args.key?(:action_config)
13021+
@alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
1293313022
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
1293413023
@bap_config = args[:bap_config] if args.key?(:bap_config)
1293513024
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -16210,7 +16299,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
1621016299
# @return [String]
1621116300
attr_accessor :title
1621216301

16213-
# Required. The URL for the page the user wants to promote.
16302+
# Optional. The URL for the page the user wants to promote. Must be set for site
16303+
# search. For other verticals, this is optional.
1621416304
# Corresponds to the JSON property `uri`
1621516305
# @return [String]
1621616306
attr_accessor :uri
@@ -21095,7 +21185,8 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
2109521185
# @return [String]
2109621186
attr_accessor :title
2109721187

21098-
# Required. The URL for the page the user wants to promote.
21188+
# Optional. The URL for the page the user wants to promote. Must be set for site
21189+
# search. For other verticals, this is optional.
2109921190
# Corresponds to the JSON property `uri`
2110021191
# @return [String]
2110121192
attr_accessor :uri
@@ -21156,6 +21247,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2115621247
# @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
2115721248
attr_accessor :data_store_specs
2115821249

21250+
# Specifies features for display, like match highlighting.
21251+
# Corresponds to the JSON property `displaySpec`
21252+
# @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
21253+
attr_accessor :display_spec
21254+
2115921255
# The specification that uses customized query embedding vector to do semantic
2116021256
# document retrieval.
2116121257
# Corresponds to the JSON property `embeddingSpec`
@@ -21427,6 +21523,7 @@ def update!(**args)
2142721523
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
2142821524
@content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
2142921525
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
21526+
@display_spec = args[:display_spec] if args.key?(:display_spec)
2143021527
@embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
2143121528
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
2143221529
@filter = args[:filter] if args.key?(:filter)
@@ -21983,6 +22080,25 @@ def update!(**args)
2198322080
end
2198422081
end
2198522082

22083+
# Specifies features for display, like match highlighting.
22084+
class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
22085+
include Google::Apis::Core::Hashable
22086+
22087+
# The condition under which match highlighting should occur.
22088+
# Corresponds to the JSON property `matchHighlightingCondition`
22089+
# @return [String]
22090+
attr_accessor :match_highlighting_condition
22091+
22092+
def initialize(**args)
22093+
update!(**args)
22094+
end
22095+
22096+
# Update properties of this object
22097+
def update!(**args)
22098+
@match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
22099+
end
22100+
end
22101+
2198622102
# The specification that uses customized query embedding vector to do semantic
2198722103
# document retrieval.
2198822104
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec

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.29.0"
19+
GEM_VERSION = "0.30.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 = "20250306"
25+
REVISION = "20250312"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)