Skip to content

Commit ed01e9d

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#22107)
Auto-created at 2025-03-16 10:19:50 +0000 using the toys pull request generator.
1 parent 85c71ca commit ed01e9d

File tree

5 files changed

+160
-5
lines changed

5 files changed

+160
-5
lines changed

api_names_out.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199213,6 +199213,13 @@
199213199213
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig": google_cloud_discoveryengine_v1alpha_advanced_site_search_config
199214199214
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig/disableAutomaticRefresh": disable_automatic_refresh
199215199215
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig/disableInitialIndex": disable_initial_index
199216+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig": google_cloud_discoveryengine_v1alpha_alert_policy_config
199217+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments": alert_enrollments
199218+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertEnrollments/alert_enrollment": alert_enrollment
199219+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig/alertPolicyName": alert_policy_name
199220+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment": google_cloud_discoveryengine_v1alpha_alert_policy_config_alert_enrollment
199221+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/alertId": alert_id
199222+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment/enrollState": enroll_state
199216199223
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer": google_cloud_discoveryengine_v1alpha_answer
199217199224
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons": answer_skipped_reasons
199218199225
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaAnswer/answerSkippedReasons/answer_skipped_reason": answer_skipped_reason
@@ -199459,6 +199466,8 @@
199459199466
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaCustomTuningModel/trainingStartTime": training_start_time
199460199467
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector": google_cloud_discoveryengine_v1alpha_data_connector
199461199468
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/actionConfig": action_config
199469+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/alertPolicyConfigs": alert_policy_configs
199470+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/alertPolicyConfigs/alert_policy_config": alert_policy_config
199462199471
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/autoRunDisabled": auto_run_disabled
199463199472
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/bapConfig": bap_config
199464199473
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/blockingReasons": blocking_reasons
@@ -200332,6 +200341,7 @@
200332200341
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec/filteringLevel": filtering_level
200333200342
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestGroundingSpec/includeGroundingSupports": include_grounding_supports
200334200343
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec": google_cloud_discoveryengine_v1beta_answer_query_request_query_understanding_spec
200344+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec/disableSpellCorrection": disable_spell_correction
200335200345
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec/queryClassificationSpec": query_classification_spec
200336200346
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec/queryRephraserSpec": query_rephraser_spec
200337200347
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec": google_cloud_discoveryengine_v1beta_answer_query_request_query_understanding_spec_query_classification_spec
@@ -201503,6 +201513,7 @@
201503201513
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/contentSearchSpec": content_search_spec
201504201514
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/dataStoreSpecs": data_store_specs
201505201515
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/dataStoreSpecs/data_store_spec": data_store_spec
201516+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/displaySpec": display_spec
201506201517
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/embeddingSpec": embedding_spec
201507201518
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/facetSpecs": facet_specs
201508201519
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequest/facetSpecs/facet_spec": facet_spec
@@ -201596,6 +201607,8 @@
201596201607
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/boostSpec": boost_spec
201597201608
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/dataStore": data_store
201598201609
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec/filter": filter
201610+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec": google_cloud_discoveryengine_v1beta_search_request_display_spec
201611+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec/matchHighlightingCondition": match_highlighting_condition
201599201612
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec": google_cloud_discoveryengine_v1beta_search_request_embedding_spec
201600201613
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec/embeddingVectors": embedding_vectors
201601201614
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec/embeddingVectors/embedding_vector": embedding_vector

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

59
* Regenerated from discovery document revision 20250306

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

Lines changed: 94 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3088,7 +3088,8 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion
30883088
# @return [String]
30893089
attr_accessor :title
30903090

3091-
# Required. The URL for the page the user wants to promote.
3091+
# Optional. The URL for the page the user wants to promote. Must be set for site
3092+
# search. For other verticals, this is optional.
30923093
# Corresponds to the JSON property `uri`
30933094
# @return [String]
30943095
attr_accessor :uri
@@ -4198,6 +4199,56 @@ def update!(**args)
41984199
end
41994200
end
42004201

4202+
# The connector level alert config.
4203+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
4204+
include Google::Apis::Core::Hashable
4205+
4206+
# Optional. The enrollment states of each alert.
4207+
# Corresponds to the JSON property `alertEnrollments`
4208+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
4209+
attr_accessor :alert_enrollments
4210+
4211+
# Immutable. The fully qualified resource name of the AlertPolicy.
4212+
# Corresponds to the JSON property `alertPolicyName`
4213+
# @return [String]
4214+
attr_accessor :alert_policy_name
4215+
4216+
def initialize(**args)
4217+
update!(**args)
4218+
end
4219+
4220+
# Update properties of this object
4221+
def update!(**args)
4222+
@alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
4223+
@alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
4224+
end
4225+
end
4226+
4227+
# The alert enrollment status.
4228+
class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
4229+
include Google::Apis::Core::Hashable
4230+
4231+
# Immutable. The id of an alert.
4232+
# Corresponds to the JSON property `alertId`
4233+
# @return [String]
4234+
attr_accessor :alert_id
4235+
4236+
# Required. The enrollment status of a customer.
4237+
# Corresponds to the JSON property `enrollState`
4238+
# @return [String]
4239+
attr_accessor :enroll_state
4240+
4241+
def initialize(**args)
4242+
update!(**args)
4243+
end
4244+
4245+
# Update properties of this object
4246+
def update!(**args)
4247+
@alert_id = args[:alert_id] if args.key?(:alert_id)
4248+
@enroll_state = args[:enroll_state] if args.key?(:enroll_state)
4249+
end
4250+
end
4251+
42014252
# Defines an answer.
42024253
class GoogleCloudDiscoveryengineV1alphaAnswer
42034254
include Google::Apis::Core::Hashable
@@ -5873,6 +5924,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
58735924
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig]
58745925
attr_accessor :action_config
58755926

5927+
# Optional. The connector level alert config.
5928+
# Corresponds to the JSON property `alertPolicyConfigs`
5929+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
5930+
attr_accessor :alert_policy_configs
5931+
58765932
# Indicates whether the connector is disabled for auto run. It can be used to
58775933
# pause periodical and real time sync.
58785934
# Corresponds to the JSON property `autoRunDisabled`
@@ -6062,6 +6118,7 @@ def initialize(**args)
60626118
# Update properties of this object
60636119
def update!(**args)
60646120
@action_config = args[:action_config] if args.key?(:action_config)
6121+
@alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
60656122
@auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
60666123
@bap_config = args[:bap_config] if args.key?(:bap_config)
60676124
@blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -9342,7 +9399,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
93429399
# @return [String]
93439400
attr_accessor :title
93449401

9345-
# Required. The URL for the page the user wants to promote.
9402+
# Optional. The URL for the page the user wants to promote. Must be set for site
9403+
# search. For other verticals, this is optional.
93469404
# Corresponds to the JSON property `uri`
93479405
# @return [String]
93489406
attr_accessor :uri
@@ -12437,6 +12495,12 @@ def update!(**args)
1243712495
class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
1243812496
include Google::Apis::Core::Hashable
1243912497

12498+
# Optional. Whether to disable spell correction. The default value is `false`.
12499+
# Corresponds to the JSON property `disableSpellCorrection`
12500+
# @return [Boolean]
12501+
attr_accessor :disable_spell_correction
12502+
alias_method :disable_spell_correction?, :disable_spell_correction
12503+
1244012504
# Query classification specification.
1244112505
# Corresponds to the JSON property `queryClassificationSpec`
1244212506
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -12453,6 +12517,7 @@ def initialize(**args)
1245312517

1245412518
# Update properties of this object
1245512519
def update!(**args)
12520+
@disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
1245612521
@query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
1245712522
@query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
1245812523
end
@@ -20156,7 +20221,8 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
2015620221
# @return [String]
2015720222
attr_accessor :title
2015820223

20159-
# Required. The URL for the page the user wants to promote.
20224+
# Optional. The URL for the page the user wants to promote. Must be set for site
20225+
# search. For other verticals, this is optional.
2016020226
# Corresponds to the JSON property `uri`
2016120227
# @return [String]
2016220228
attr_accessor :uri
@@ -20217,6 +20283,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2021720283
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
2021820284
attr_accessor :data_store_specs
2021920285

20286+
# Specifies features for display, like match highlighting.
20287+
# Corresponds to the JSON property `displaySpec`
20288+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
20289+
attr_accessor :display_spec
20290+
2022020291
# The specification that uses customized query embedding vector to do semantic
2022120292
# document retrieval.
2022220293
# Corresponds to the JSON property `embeddingSpec`
@@ -20488,6 +20559,7 @@ def update!(**args)
2048820559
@canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
2048920560
@content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
2049020561
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
20562+
@display_spec = args[:display_spec] if args.key?(:display_spec)
2049120563
@embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
2049220564
@facet_specs = args[:facet_specs] if args.key?(:facet_specs)
2049320565
@filter = args[:filter] if args.key?(:filter)
@@ -21044,6 +21116,25 @@ def update!(**args)
2104421116
end
2104521117
end
2104621118

21119+
# Specifies features for display, like match highlighting.
21120+
class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
21121+
include Google::Apis::Core::Hashable
21122+
21123+
# The condition under which match highlighting should occur.
21124+
# Corresponds to the JSON property `matchHighlightingCondition`
21125+
# @return [String]
21126+
attr_accessor :match_highlighting_condition
21127+
21128+
def initialize(**args)
21129+
update!(**args)
21130+
end
21131+
21132+
# Update properties of this object
21133+
def update!(**args)
21134+
@match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
21135+
end
21136+
end
21137+
2104721138
# The specification that uses customized query embedding vector to do semantic
2104821139
# document retrieval.
2104921140
class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec

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.57.0"
19+
GEM_VERSION = "0.58.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)