Skip to content

Commit 929120d

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#23776)
Auto-created at 2025-07-27 10:06:03 +0000 using the toys pull request generator.
1 parent 26f5716 commit 929120d

File tree

6 files changed

+248
-54
lines changed

6 files changed

+248
-54
lines changed

api_names_out.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207713,6 +207713,8 @@
207713207713
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec/temperature": temperature
207714207714
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec/topK": top_k
207715207715
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1AnswerGenerationSpecUserDefinedClassifierSpec/topP": top_p
207716+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Assistant": google_cloud_discoveryengine_v1_assistant
207717+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Assistant/name": name
207716207718
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata": google_cloud_discoveryengine_v1_batch_create_target_site_metadata
207717207719
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata/createTime": create_time
207718207720
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata/updateTime": update_time
@@ -209648,6 +209650,7 @@
209648209650
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer": google_cloud_discoveryengine_v1beta_assist_answer
209649209651
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/assistSkippedReasons": assist_skipped_reasons
209650209652
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/assistSkippedReasons/assist_skipped_reason": assist_skipped_reason
209653+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/name": name
209651209654
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/replies": replies
209652209655
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/replies/reply": reply
209653209656
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistAnswer/state": state
@@ -209656,6 +209659,8 @@
209656209659
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistUserMetadata": google_cloud_discoveryengine_v1beta_assist_user_metadata
209657209660
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistUserMetadata/preferredLanguageCode": preferred_language_code
209658209661
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistUserMetadata/timeZone": time_zone
209662+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistant": google_cloud_discoveryengine_v1beta_assistant
209663+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistant/name": name
209659209664
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistantContent": google_cloud_discoveryengine_v1beta_assistant_content
209660209665
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistantContent/codeExecutionResult": code_execution_result
209661209666
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaAssistantContent/executableCode": executable_code
@@ -210639,6 +210644,9 @@
210639210644
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest": google_cloud_discoveryengine_v1beta_provision_project_request
210640210645
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest/acceptDataUseTerms": accept_data_use_terms
210641210646
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest/dataUseTermsVersion": data_use_terms_version
210647+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequest/saasParams": saas_params
210648+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams": google_cloud_discoveryengine_v1beta_provision_project_request_saas_params
210649+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams/acceptBizQos": accept_biz_qos
210642210650
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPurgeCompletionSuggestionsRequest": google_cloud_discoveryengine_v1beta_purge_completion_suggestions_request
210643210651
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata": google_cloud_discoveryengine_v1beta_purge_documents_metadata
210644210652
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPurgeDocumentsMetadata/createTime": create_time
@@ -211684,6 +211692,11 @@
211684211692
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.userEvents.write": write_project_location_collection_data_store_user_event
211685211693
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.userEvents.write/parent": parent
211686211694
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.dataStores.userEvents.write/writeAsync": write_async
211695+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.get": get_project_location_collection_engine_assistant
211696+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.get/name": name
211697+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.patch": patch_project_location_collection_engine_assistant
211698+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.patch/name": name
211699+
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.patch/updateMask": update_mask
211687211700
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.streamAssist": stream_project_location_collection_engine_assistant_assist
211688211701
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.assistants.streamAssist/name": name
211689211702
"/discoveryengine:v1beta/discoveryengine.projects.locations.collections.engines.completionConfig.completeQuery": complete_project_location_collection_engine_completion_config_query

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.75.0 (2025-07-27)
4+
5+
* Regenerated from discovery document revision 20250724
6+
37
### v0.74.0 (2025-07-20)
48

59
* Regenerated from discovery document revision 20250716

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

Lines changed: 99 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,28 @@ def update!(**args)
867867
end
868868
end
869869

870+
# Discovery Engine Assistant resource.
871+
class GoogleCloudDiscoveryengineV1Assistant
872+
include Google::Apis::Core::Hashable
873+
874+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
875+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
876+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
877+
# characters.
878+
# Corresponds to the JSON property `name`
879+
# @return [String]
880+
attr_accessor :name
881+
882+
def initialize(**args)
883+
update!(**args)
884+
end
885+
886+
# Update properties of this object
887+
def update!(**args)
888+
@name = args[:name] if args.key?(:name)
889+
end
890+
end
891+
870892
# Metadata related to the progress of the SiteSearchEngineService.
871893
# BatchCreateTargetSites operation. This will be returned by the google.
872894
# longrunning.Operation.metadata field.
@@ -989,14 +1011,14 @@ class GoogleCloudDiscoveryengineV1CmekConfig
9891011
attr_accessor :is_default
9901012
alias_method :is_default?, :is_default
9911013

992-
# KMS key resource name which will be used to encrypt resources `projects/`
993-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
1014+
# Required. KMS key resource name which will be used to encrypt resources `
1015+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
9941016
# Corresponds to the JSON property `kmsKey`
9951017
# @return [String]
9961018
attr_accessor :kms_key
9971019

998-
# KMS key version resource name which will be used to encrypt resources `/
999-
# cryptoKeyVersions/`keyVersion``.
1020+
# Output only. KMS key version resource name which will be used to encrypt
1021+
# resources `/cryptoKeyVersions/`keyVersion``.
10001022
# Corresponds to the JSON property `kmsKeyVersion`
10011023
# @return [String]
10021024
attr_accessor :kms_key_version
@@ -5617,14 +5639,14 @@ class GoogleCloudDiscoveryengineV1alphaCmekConfig
56175639
attr_accessor :is_default
56185640
alias_method :is_default?, :is_default
56195641

5620-
# KMS key resource name which will be used to encrypt resources `projects/`
5621-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
5642+
# Required. KMS key resource name which will be used to encrypt resources `
5643+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
56225644
# Corresponds to the JSON property `kmsKey`
56235645
# @return [String]
56245646
attr_accessor :kms_key
56255647

5626-
# KMS key version resource name which will be used to encrypt resources `/
5627-
# cryptoKeyVersions/`keyVersion``.
5648+
# Output only. KMS key version resource name which will be used to encrypt
5649+
# resources `/cryptoKeyVersions/`keyVersion``.
56285650
# Corresponds to the JSON property `kmsKeyVersion`
56295651
# @return [String]
56305652
attr_accessor :kms_key_version
@@ -9359,9 +9381,12 @@ def update!(**args)
93599381
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
93609382
include Google::Apis::Core::Hashable
93619383

9362-
# A filter to apply on the list results. The supported features are:
9363-
# user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
9364-
# true"
9384+
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
9385+
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
9386+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: "
9387+
# user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
9388+
# is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
9389+
# "
93659390
# Corresponds to the JSON property `filter`
93669391
# @return [String]
93679392
attr_accessor :filter
@@ -14820,6 +14845,14 @@ class GoogleCloudDiscoveryengineV1betaAssistAnswer
1482014845
# @return [Array<String>]
1482114846
attr_accessor :assist_skipped_reasons
1482214847

14848+
# Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
14849+
# project`/locations/`location`/collections/`collection`/engines/`engine`/
14850+
# sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
14851+
# encoded string with a length limit of 1024 characters.
14852+
# Corresponds to the JSON property `name`
14853+
# @return [String]
14854+
attr_accessor :name
14855+
1482314856
# Replies of the assistant.
1482414857
# Corresponds to the JSON property `replies`
1482514858
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistAnswerReply>]
@@ -14837,6 +14870,7 @@ def initialize(**args)
1483714870
# Update properties of this object
1483814871
def update!(**args)
1483914872
@assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
14873+
@name = args[:name] if args.key?(:name)
1484014874
@replies = args[:replies] if args.key?(:replies)
1484114875
@state = args[:state] if args.key?(:state)
1484214876
end
@@ -14890,6 +14924,28 @@ def update!(**args)
1489014924
end
1489114925
end
1489214926

14927+
# Discovery Engine Assistant resource.
14928+
class GoogleCloudDiscoveryengineV1betaAssistant
14929+
include Google::Apis::Core::Hashable
14930+
14931+
# Immutable. Resource name of the assistant. Format: `projects/`project`/
14932+
# locations/`location`/collections/`collection`/engines/`engine`/assistants/`
14933+
# assistant`` It must be a UTF-8 encoded string with a length limit of 1024
14934+
# characters.
14935+
# Corresponds to the JSON property `name`
14936+
# @return [String]
14937+
attr_accessor :name
14938+
14939+
def initialize(**args)
14940+
update!(**args)
14941+
end
14942+
14943+
# Update properties of this object
14944+
def update!(**args)
14945+
@name = args[:name] if args.key?(:name)
14946+
end
14947+
end
14948+
1489314949
# Multi-modal content.
1489414950
class GoogleCloudDiscoveryengineV1betaAssistantContent
1489514951
include Google::Apis::Core::Hashable
@@ -16228,14 +16284,14 @@ class GoogleCloudDiscoveryengineV1betaCmekConfig
1622816284
attr_accessor :is_default
1622916285
alias_method :is_default?, :is_default
1623016286

16231-
# KMS key resource name which will be used to encrypt resources `projects/`
16232-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
16287+
# Required. KMS key resource name which will be used to encrypt resources `
16288+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
1623316289
# Corresponds to the JSON property `kmsKey`
1623416290
# @return [String]
1623516291
attr_accessor :kms_key
1623616292

16237-
# KMS key version resource name which will be used to encrypt resources `/
16238-
# cryptoKeyVersions/`keyVersion``.
16293+
# Output only. KMS key version resource name which will be used to encrypt
16294+
# resources `/cryptoKeyVersions/`keyVersion``.
1623916295
# Corresponds to the JSON property `kmsKeyVersion`
1624016296
# @return [String]
1624116297
attr_accessor :kms_key_version
@@ -21215,6 +21271,11 @@ class GoogleCloudDiscoveryengineV1betaProvisionProjectRequest
2121521271
# @return [String]
2121621272
attr_accessor :data_use_terms_version
2121721273

21274+
# Parameters for Agentspace.
21275+
# Corresponds to the JSON property `saasParams`
21276+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams]
21277+
attr_accessor :saas_params
21278+
2121821279
def initialize(**args)
2121921280
update!(**args)
2122021281
end
@@ -21223,6 +21284,28 @@ def initialize(**args)
2122321284
def update!(**args)
2122421285
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
2122521286
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
21287+
@saas_params = args[:saas_params] if args.key?(:saas_params)
21288+
end
21289+
end
21290+
21291+
# Parameters for Agentspace.
21292+
class GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams
21293+
include Google::Apis::Core::Hashable
21294+
21295+
# Optional. Set to `true` to specify that caller has read and would like to give
21296+
# consent to the [Terms for Agent Space quality of service].
21297+
# Corresponds to the JSON property `acceptBizQos`
21298+
# @return [Boolean]
21299+
attr_accessor :accept_biz_qos
21300+
alias_method :accept_biz_qos?, :accept_biz_qos
21301+
21302+
def initialize(**args)
21303+
update!(**args)
21304+
end
21305+
21306+
# Update properties of this object
21307+
def update!(**args)
21308+
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
2122621309
end
2122721310
end
2122821311

@@ -21700,7 +21783,7 @@ class GoogleCloudDiscoveryengineV1betaRankRequest
2170021783
# @return [String]
2170121784
attr_accessor :query
2170221785

21703-
# Required. A list of records to rank. At most 200 records to rank.
21786+
# Required. A list of records to rank.
2170421787
# Corresponds to the JSON property `records`
2170521788
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaRankingRecord>]
2170621789
attr_accessor :records
@@ -25556,12 +25639,6 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpec
2555625639
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecImageGenerationSpec]
2555725640
attr_accessor :image_generation_spec
2555825641

25559-
# Optional. The name of the tool registry to use. Format: `projects/`project`/
25560-
# locations/`location`/toolRegistries/`tool_registry``
25561-
# Corresponds to the JSON property `toolRegistry`
25562-
# @return [String]
25563-
attr_accessor :tool_registry
25564-
2556525642
# Specification of the Vertex AI Search tool.
2556625643
# Corresponds to the JSON property `vertexAiSearchSpec`
2556725644
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearchSpec]
@@ -25584,7 +25661,6 @@ def initialize(**args)
2558425661
# Update properties of this object
2558525662
def update!(**args)
2558625663
@image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
25587-
@tool_registry = args[:tool_registry] if args.key?(:tool_registry)
2558825664
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
2558925665
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
2559025666
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
@@ -25615,14 +25691,6 @@ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecVertexAiSearch
2561525691
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
2561625692
attr_accessor :data_store_specs
2561725693

25618-
# Optional. Deprecated. Please refrain from using this field. Whether the Vertex
25619-
# AI Search tool is disabled. Default value is false, the tool is enabled by
25620-
# default.
25621-
# Corresponds to the JSON property `disabled`
25622-
# @return [Boolean]
25623-
attr_accessor :disabled
25624-
alias_method :disabled?, :disabled
25625-
2562625694
# Optional. The filter syntax consists of an expression language for
2562725695
# constructing a predicate from one or more fields of the documents being
2562825696
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
@@ -25645,7 +25713,6 @@ def initialize(**args)
2564525713
# Update properties of this object
2564625714
def update!(**args)
2564725715
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
25648-
@disabled = args[:disabled] if args.key?(:disabled)
2564925716
@filter = args[:filter] if args.key?(:filter)
2565025717
end
2565125718
end
@@ -25667,20 +25734,12 @@ def update!(**args)
2566725734
class GoogleCloudDiscoveryengineV1betaStreamAssistRequestToolsSpecWebGroundingSpec
2566825735
include Google::Apis::Core::Hashable
2566925736

25670-
# Optional. Deprecated. Please refrain from using this field. Whether the web
25671-
# grounding tool is enabled.
25672-
# Corresponds to the JSON property `enabled`
25673-
# @return [Boolean]
25674-
attr_accessor :enabled
25675-
alias_method :enabled?, :enabled
25676-
2567725737
def initialize(**args)
2567825738
update!(**args)
2567925739
end
2568025740

2568125741
# Update properties of this object
2568225742
def update!(**args)
25683-
@enabled = args[:enabled] if args.key?(:enabled)
2568425743
end
2568525744
end
2568625745

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.74.0"
19+
GEM_VERSION = "0.75.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 = "20250716"
25+
REVISION = "20250724"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)