Skip to content

Commit c26bac7

Browse files
feat: Automated regeneration of dialogflow v3 client (googleapis#23365)
Auto-created at 2025-06-08 10:32:24 +0000 using the toys pull request generator.
1 parent 90e2ec2 commit c26bac7

File tree

6 files changed

+557
-7
lines changed

6 files changed

+557
-7
lines changed

api_names_out.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189743,6 +189743,17 @@
189743189743
"/dialogflow:v3/GoogleCloudDialogflowCxV3GeneratorPlaceholder/name": name
189744189744
"/dialogflow:v3/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata": google_cloud_dialogflow_cx_v3_generic_knowledge_operation_metadata
189745189745
"/dialogflow:v3/GoogleCloudDialogflowCxV3GenericKnowledgeOperationMetadata/state": state
189746+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Handler": google_cloud_dialogflow_cx_v3_handler
189747+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Handler/eventHandler": event_handler
189748+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Handler/lifecycleHandler": lifecycle_handler
189749+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerEventHandler": google_cloud_dialogflow_cx_v3_handler_event_handler
189750+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerEventHandler/condition": condition
189751+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerEventHandler/event": event
189752+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerEventHandler/fulfillment": fulfillment
189753+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerLifecycleHandler": google_cloud_dialogflow_cx_v3_handler_lifecycle_handler
189754+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerLifecycleHandler/condition": condition
189755+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerLifecycleHandler/fulfillment": fulfillment
189756+
"/dialogflow:v3/GoogleCloudDialogflowCxV3HandlerLifecycleHandler/lifecycleStage": lifecycle_stage
189746189757
"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata": google_cloud_dialogflow_cx_v3_import_documents_operation_metadata
189747189758
"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsOperationMetadata/genericMetadata": generic_metadata
189748189759
"/dialogflow:v3/GoogleCloudDialogflowCxV3ImportDocumentsResponse": google_cloud_dialogflow_cx_v3_import_documents_response
@@ -189930,6 +189941,10 @@
189930189941
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/nextPageToken": next_page_token
189931189942
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/testCases": test_cases
189932189943
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListTestCasesResponse/testCases/test_case": test_case
189944+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolVersionsResponse": google_cloud_dialogflow_cx_v3_list_tool_versions_response
189945+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolVersionsResponse/nextPageToken": next_page_token
189946+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolVersionsResponse/toolVersions": tool_versions
189947+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolVersionsResponse/toolVersions/tool_version": tool_version
189933189948
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolsResponse": google_cloud_dialogflow_cx_v3_list_tools_response
189934189949
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolsResponse/nextPageToken": next_page_token
189935189950
"/dialogflow:v3/GoogleCloudDialogflowCxV3ListToolsResponse/tools": tools
@@ -190016,6 +190031,8 @@
190016190031
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/createTime": create_time
190017190032
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/displayName": display_name
190018190033
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/goal": goal
190034+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/handlers": handlers
190035+
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/handlers/handler": handler
190019190036
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/instruction": instruction
190020190037
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/llmModelSettings": llm_model_settings
190021190038
"/dialogflow:v3/GoogleCloudDialogflowCxV3Playbook/name": name
@@ -190181,6 +190198,9 @@
190181190198
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestorePlaybookVersionRequest": google_cloud_dialogflow_cx_v3_restore_playbook_version_request
190182190199
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse": google_cloud_dialogflow_cx_v3_restore_playbook_version_response
190183190200
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestorePlaybookVersionResponse/playbook": playbook
190201+
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreToolVersionRequest": google_cloud_dialogflow_cx_v3_restore_tool_version_request
190202+
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreToolVersionResponse": google_cloud_dialogflow_cx_v3_restore_tool_version_response
190203+
"/dialogflow:v3/GoogleCloudDialogflowCxV3RestoreToolVersionResponse/tool": tool
190184190204
"/dialogflow:v3/GoogleCloudDialogflowCxV3RolloutConfig": google_cloud_dialogflow_cx_v3_rollout_config
190185190205
"/dialogflow:v3/GoogleCloudDialogflowCxV3RolloutConfig/failureCondition": failure_condition
190186190206
"/dialogflow:v3/GoogleCloudDialogflowCxV3RolloutConfig/rolloutCondition": rollout_condition
@@ -190379,6 +190399,12 @@
190379190399
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolUse/outputActionParameters": output_action_parameters
190380190400
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolUse/outputActionParameters/output_action_parameter": output_action_parameter
190381190401
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolUse/tool": tool
190402+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion": google_cloud_dialogflow_cx_v3_tool_version
190403+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion/createTime": create_time
190404+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion/displayName": display_name
190405+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion/name": name
190406+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion/tool": tool
190407+
"/dialogflow:v3/GoogleCloudDialogflowCxV3ToolVersion/updateTime": update_time
190382190408
"/dialogflow:v3/GoogleCloudDialogflowCxV3TrainFlowRequest": google_cloud_dialogflow_cx_v3_train_flow_request
190383190409
"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage": google_cloud_dialogflow_cx_v3_transition_coverage
190384190410
"/dialogflow:v3/GoogleCloudDialogflowCxV3TransitionCoverage/coverageScore": coverage_score
@@ -192522,6 +192548,19 @@
192522192548
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.patch": patch_project_location_agent_tool
192523192549
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.patch/name": name
192524192550
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.patch/updateMask": update_mask
192551+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.create": create_project_location_agent_tool_version
192552+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.create/parent": parent
192553+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.delete": delete_project_location_agent_tool_version
192554+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.delete/force": force
192555+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.delete/name": name
192556+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.get": get_project_location_agent_tool_version
192557+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.get/name": name
192558+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.list": list_project_location_agent_tool_versions
192559+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.list/pageSize": page_size
192560+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.list/pageToken": page_token
192561+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.list/parent": parent
192562+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.restore": restore_project_location_agent_tool_version
192563+
"/dialogflow:v3/dialogflow.projects.locations.agents.tools.versions.restore/name": name
192525192564
"/dialogflow:v3/dialogflow.projects.locations.agents.transitionRouteGroups.create": create_project_location_agent_transition_route_group
192526192565
"/dialogflow:v3/dialogflow.projects.locations.agents.transitionRouteGroups.create/languageCode": language_code
192527192566
"/dialogflow:v3/dialogflow.projects.locations.agents.transitionRouteGroups.create/parent": parent

generated/google-apis-dialogflow_v3/CHANGELOG.md

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

3+
### v0.108.0 (2025-06-08)
4+
5+
* Regenerated from discovery document revision 20250602
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.107.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 226 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2254,9 +2254,10 @@ def update!(**args)
22542254
class GoogleCloudDialogflowCxV3EnvironmentVersionConfig
22552255
include Google::Apis::Core::Hashable
22562256

2257-
# Required. Both flow and playbook versions are supported. Format for flow
2257+
# Required. Flow, playbook and tool versions are supported. Format for flow
22582258
# version: projects//locations//agents//flows//versions/. Format for playbook
2259-
# version: projects//locations//agents//playbooks//versions/.
2259+
# version: projects//locations//agents//playbooks//versions/. Format for tool
2260+
# version: projects//locations//agents//tools//versions/.
22602261
# Corresponds to the JSON property `version`
22612262
# @return [String]
22622263
attr_accessor :version
@@ -4225,6 +4226,110 @@ def update!(**args)
42254226
end
42264227
end
42274228

4229+
# Handler can be used to define custom logic to be executed based on the user-
4230+
# specified triggers.
4231+
class GoogleCloudDialogflowCxV3Handler
4232+
include Google::Apis::Core::Hashable
4233+
4234+
# A handler that is triggered by the specified event.
4235+
# Corresponds to the JSON property `eventHandler`
4236+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3HandlerEventHandler]
4237+
attr_accessor :event_handler
4238+
4239+
# A handler that is triggered on the specific lifecycle_stage of the playbook
4240+
# execution.
4241+
# Corresponds to the JSON property `lifecycleHandler`
4242+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3HandlerLifecycleHandler]
4243+
attr_accessor :lifecycle_handler
4244+
4245+
def initialize(**args)
4246+
update!(**args)
4247+
end
4248+
4249+
# Update properties of this object
4250+
def update!(**args)
4251+
@event_handler = args[:event_handler] if args.key?(:event_handler)
4252+
@lifecycle_handler = args[:lifecycle_handler] if args.key?(:lifecycle_handler)
4253+
end
4254+
end
4255+
4256+
# A handler that is triggered by the specified event.
4257+
class GoogleCloudDialogflowCxV3HandlerEventHandler
4258+
include Google::Apis::Core::Hashable
4259+
4260+
# Optional. The condition that must be satisfied to trigger this handler.
4261+
# Corresponds to the JSON property `condition`
4262+
# @return [String]
4263+
attr_accessor :condition
4264+
4265+
# Required. The name of the event that triggers this handler.
4266+
# Corresponds to the JSON property `event`
4267+
# @return [String]
4268+
attr_accessor :event
4269+
4270+
# A fulfillment can do one or more of the following actions at the same time: *
4271+
# Generate rich message responses. * Set parameter values. * Call the webhook.
4272+
# Fulfillments can be called at various stages in the Page or Form lifecycle.
4273+
# For example, when a DetectIntentRequest drives a session to enter a new page,
4274+
# the page's entry fulfillment can add a static response to the QueryResult in
4275+
# the returning DetectIntentResponse, call the webhook (for example, to load
4276+
# user data from a database), or both.
4277+
# Corresponds to the JSON property `fulfillment`
4278+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment]
4279+
attr_accessor :fulfillment
4280+
4281+
def initialize(**args)
4282+
update!(**args)
4283+
end
4284+
4285+
# Update properties of this object
4286+
def update!(**args)
4287+
@condition = args[:condition] if args.key?(:condition)
4288+
@event = args[:event] if args.key?(:event)
4289+
@fulfillment = args[:fulfillment] if args.key?(:fulfillment)
4290+
end
4291+
end
4292+
4293+
# A handler that is triggered on the specific lifecycle_stage of the playbook
4294+
# execution.
4295+
class GoogleCloudDialogflowCxV3HandlerLifecycleHandler
4296+
include Google::Apis::Core::Hashable
4297+
4298+
# Optional. The condition that must be satisfied to trigger this handler.
4299+
# Corresponds to the JSON property `condition`
4300+
# @return [String]
4301+
attr_accessor :condition
4302+
4303+
# A fulfillment can do one or more of the following actions at the same time: *
4304+
# Generate rich message responses. * Set parameter values. * Call the webhook.
4305+
# Fulfillments can be called at various stages in the Page or Form lifecycle.
4306+
# For example, when a DetectIntentRequest drives a session to enter a new page,
4307+
# the page's entry fulfillment can add a static response to the QueryResult in
4308+
# the returning DetectIntentResponse, call the webhook (for example, to load
4309+
# user data from a database), or both.
4310+
# Corresponds to the JSON property `fulfillment`
4311+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Fulfillment]
4312+
attr_accessor :fulfillment
4313+
4314+
# Required. The name of the lifecycle stage that triggers this handler.
4315+
# Supported values: * `playbook-start` * `pre-action-selection` * `pre-action-
4316+
# execution`
4317+
# Corresponds to the JSON property `lifecycleStage`
4318+
# @return [String]
4319+
attr_accessor :lifecycle_stage
4320+
4321+
def initialize(**args)
4322+
update!(**args)
4323+
end
4324+
4325+
# Update properties of this object
4326+
def update!(**args)
4327+
@condition = args[:condition] if args.key?(:condition)
4328+
@fulfillment = args[:fulfillment] if args.key?(:fulfillment)
4329+
@lifecycle_stage = args[:lifecycle_stage] if args.key?(:lifecycle_stage)
4330+
end
4331+
end
4332+
42284333
# Metadata returned for the EntityTypes.ImportEntityTypes long running operation.
42294334
class GoogleCloudDialogflowCxV3ImportEntityTypesMetadata
42304335
include Google::Apis::Core::Hashable
@@ -5600,6 +5705,33 @@ def update!(**args)
56005705
end
56015706
end
56025707

5708+
# The response message for Tools.ListToolVersions.
5709+
class GoogleCloudDialogflowCxV3ListToolVersionsResponse
5710+
include Google::Apis::Core::Hashable
5711+
5712+
# Token to retrieve the next page of results, or empty if there are no more
5713+
# results in the list.
5714+
# Corresponds to the JSON property `nextPageToken`
5715+
# @return [String]
5716+
attr_accessor :next_page_token
5717+
5718+
# The list of tool versions. There will be a maximum number of items returned
5719+
# based on the page_size field in the request.
5720+
# Corresponds to the JSON property `toolVersions`
5721+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolVersion>]
5722+
attr_accessor :tool_versions
5723+
5724+
def initialize(**args)
5725+
update!(**args)
5726+
end
5727+
5728+
# Update properties of this object
5729+
def update!(**args)
5730+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5731+
@tool_versions = args[:tool_versions] if args.key?(:tool_versions)
5732+
end
5733+
end
5734+
56035735
# The response message for Tools.ListTools.
56045736
class GoogleCloudDialogflowCxV3ListToolsResponse
56055737
include Google::Apis::Core::Hashable
@@ -6304,6 +6436,12 @@ class GoogleCloudDialogflowCxV3Playbook
63046436
# @return [String]
63056437
attr_accessor :goal
63066438

6439+
# Optional. A list of registered handlers to execuate based on the specified
6440+
# triggers.
6441+
# Corresponds to the JSON property `handlers`
6442+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Handler>]
6443+
attr_accessor :handlers
6444+
63076445
# Message of the Instruction of the playbook.
63086446
# Corresponds to the JSON property `instruction`
63096447
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3PlaybookInstruction]
@@ -6359,6 +6497,7 @@ def update!(**args)
63596497
@create_time = args[:create_time] if args.key?(:create_time)
63606498
@display_name = args[:display_name] if args.key?(:display_name)
63616499
@goal = args[:goal] if args.key?(:goal)
6500+
@handlers = args[:handlers] if args.key?(:handlers)
63626501
@instruction = args[:instruction] if args.key?(:instruction)
63636502
@llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
63646503
@name = args[:name] if args.key?(:name)
@@ -7520,6 +7659,41 @@ def update!(**args)
75207659
end
75217660
end
75227661

7662+
# The request message for Tools.RestoreToolVersion.
7663+
class GoogleCloudDialogflowCxV3RestoreToolVersionRequest
7664+
include Google::Apis::Core::Hashable
7665+
7666+
def initialize(**args)
7667+
update!(**args)
7668+
end
7669+
7670+
# Update properties of this object
7671+
def update!(**args)
7672+
end
7673+
end
7674+
7675+
# The response message for Tools.RestoreToolVersion.
7676+
class GoogleCloudDialogflowCxV3RestoreToolVersionResponse
7677+
include Google::Apis::Core::Hashable
7678+
7679+
# A tool provides a list of actions which are available to the Playbook to
7680+
# attain its goal. A Tool consists of a description of the tool's usage and a
7681+
# specification of the tool which contains the schema and authentication
7682+
# information.
7683+
# Corresponds to the JSON property `tool`
7684+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool]
7685+
attr_accessor :tool
7686+
7687+
def initialize(**args)
7688+
update!(**args)
7689+
end
7690+
7691+
# Update properties of this object
7692+
def update!(**args)
7693+
@tool = args[:tool] if args.key?(:tool)
7694+
end
7695+
end
7696+
75237697
# The configuration for auto rollout.
75247698
class GoogleCloudDialogflowCxV3RolloutConfig
75257699
include Google::Apis::Core::Hashable
@@ -9079,6 +9253,53 @@ def update!(**args)
90799253
end
90809254
end
90819255

9256+
# Tool version is a snapshot of the tool at certain timestamp.
9257+
class GoogleCloudDialogflowCxV3ToolVersion
9258+
include Google::Apis::Core::Hashable
9259+
9260+
# Output only. Last time the tool version was created or modified.
9261+
# Corresponds to the JSON property `createTime`
9262+
# @return [String]
9263+
attr_accessor :create_time
9264+
9265+
# Required. The display name of the tool version.
9266+
# Corresponds to the JSON property `displayName`
9267+
# @return [String]
9268+
attr_accessor :display_name
9269+
9270+
# Identifier. The unique identifier of the tool version. Format: `projects//
9271+
# locations//agents//tools//versions/`.
9272+
# Corresponds to the JSON property `name`
9273+
# @return [String]
9274+
attr_accessor :name
9275+
9276+
# A tool provides a list of actions which are available to the Playbook to
9277+
# attain its goal. A Tool consists of a description of the tool's usage and a
9278+
# specification of the tool which contains the schema and authentication
9279+
# information.
9280+
# Corresponds to the JSON property `tool`
9281+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Tool]
9282+
attr_accessor :tool
9283+
9284+
# Output only. Last time the tool version was created or modified.
9285+
# Corresponds to the JSON property `updateTime`
9286+
# @return [String]
9287+
attr_accessor :update_time
9288+
9289+
def initialize(**args)
9290+
update!(**args)
9291+
end
9292+
9293+
# Update properties of this object
9294+
def update!(**args)
9295+
@create_time = args[:create_time] if args.key?(:create_time)
9296+
@display_name = args[:display_name] if args.key?(:display_name)
9297+
@name = args[:name] if args.key?(:name)
9298+
@tool = args[:tool] if args.key?(:tool)
9299+
@update_time = args[:update_time] if args.key?(:update_time)
9300+
end
9301+
end
9302+
90829303
# The request message for Flows.TrainFlow.
90839304
class GoogleCloudDialogflowCxV3TrainFlowRequest
90849305
include Google::Apis::Core::Hashable
@@ -11074,9 +11295,10 @@ def update!(**args)
1107411295
class GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig
1107511296
include Google::Apis::Core::Hashable
1107611297

11077-
# Required. Both flow and playbook versions are supported. Format for flow
11298+
# Required. Flow, playbook and tool versions are supported. Format for flow
1107811299
# version: projects//locations//agents//flows//versions/. Format for playbook
11079-
# version: projects//locations//agents//playbooks//versions/.
11300+
# version: projects//locations//agents//playbooks//versions/. Format for tool
11301+
# version: projects//locations//agents//tools//versions/.
1108011302
# Corresponds to the JSON property `version`
1108111303
# @return [String]
1108211304
attr_accessor :version

0 commit comments

Comments
 (0)