Skip to content

Commit 70f733e

Browse files
feat: Automated regeneration of dialogflow v2 client (googleapis#23719)
Auto-created at 2025-07-20 10:00:27 +0000 using the toys pull request generator.
1 parent 3048106 commit 70f733e

File tree

6 files changed

+400
-2
lines changed

6 files changed

+400
-2
lines changed

api_names_out.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183910,6 +183910,14 @@
183910183910
"/dialogflow:v2/GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest/participantRole": participant_role
183911183911
"/dialogflow:v2/GoogleCloudDialogflowV2ClearSuggestionFeatureConfigRequest/suggestionFeatureType": suggestion_feature_type
183912183912
"/dialogflow:v2/GoogleCloudDialogflowV2CompleteConversationRequest": google_cloud_dialogflow_v2_complete_conversation_request
183913+
"/dialogflow:v2/GoogleCloudDialogflowV2Connection": google_cloud_dialogflow_v2_connection
183914+
"/dialogflow:v2/GoogleCloudDialogflowV2Connection/connectionId": connection_id
183915+
"/dialogflow:v2/GoogleCloudDialogflowV2Connection/errorDetails": error_details
183916+
"/dialogflow:v2/GoogleCloudDialogflowV2Connection/state": state
183917+
"/dialogflow:v2/GoogleCloudDialogflowV2Connection/updateTime": update_time
183918+
"/dialogflow:v2/GoogleCloudDialogflowV2ConnectionErrorDetails": google_cloud_dialogflow_v2_connection_error_details
183919+
"/dialogflow:v2/GoogleCloudDialogflowV2ConnectionErrorDetails/certificateState": certificate_state
183920+
"/dialogflow:v2/GoogleCloudDialogflowV2ConnectionErrorDetails/errorMessage": error_message
183913183921
"/dialogflow:v2/GoogleCloudDialogflowV2Context": google_cloud_dialogflow_v2_context
183914183922
"/dialogflow:v2/GoogleCloudDialogflowV2Context/lifespanCount": lifespan_count
183915183923
"/dialogflow:v2/GoogleCloudDialogflowV2Context/name": name
@@ -184661,6 +184669,10 @@
184661184669
"/dialogflow:v2/GoogleCloudDialogflowV2ListSessionEntityTypesResponse/nextPageToken": next_page_token
184662184670
"/dialogflow:v2/GoogleCloudDialogflowV2ListSessionEntityTypesResponse/sessionEntityTypes": session_entity_types
184663184671
"/dialogflow:v2/GoogleCloudDialogflowV2ListSessionEntityTypesResponse/sessionEntityTypes/session_entity_type": session_entity_type
184672+
"/dialogflow:v2/GoogleCloudDialogflowV2ListSipTrunksResponse": google_cloud_dialogflow_v2_list_sip_trunks_response
184673+
"/dialogflow:v2/GoogleCloudDialogflowV2ListSipTrunksResponse/nextPageToken": next_page_token
184674+
"/dialogflow:v2/GoogleCloudDialogflowV2ListSipTrunksResponse/sipTrunks": sip_trunks
184675+
"/dialogflow:v2/GoogleCloudDialogflowV2ListSipTrunksResponse/sipTrunks/sip_trunk": sip_trunk
184664184676
"/dialogflow:v2/GoogleCloudDialogflowV2ListVersionsResponse": google_cloud_dialogflow_v2_list_versions_response
184665184677
"/dialogflow:v2/GoogleCloudDialogflowV2ListVersionsResponse/nextPageToken": next_page_token
184666184678
"/dialogflow:v2/GoogleCloudDialogflowV2ListVersionsResponse/versions": versions
@@ -184846,6 +184858,13 @@
184846184858
"/dialogflow:v2/GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest": google_cloud_dialogflow_v2_set_suggestion_feature_config_request
184847184859
"/dialogflow:v2/GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest/participantRole": participant_role
184848184860
"/dialogflow:v2/GoogleCloudDialogflowV2SetSuggestionFeatureConfigRequest/suggestionFeatureConfig": suggestion_feature_config
184861+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk": google_cloud_dialogflow_v2_sip_trunk
184862+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/connections": connections
184863+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/connections/connection": connection
184864+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/displayName": display_name
184865+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/expectedHostname": expected_hostname
184866+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/expectedHostname/expected_hostname": expected_hostname
184867+
"/dialogflow:v2/GoogleCloudDialogflowV2SipTrunk/name": name
184849184868
"/dialogflow:v2/GoogleCloudDialogflowV2SmartReplyAnswer": google_cloud_dialogflow_v2_smart_reply_answer
184850184869
"/dialogflow:v2/GoogleCloudDialogflowV2SmartReplyAnswer/answerRecord": answer_record
184851184870
"/dialogflow:v2/GoogleCloudDialogflowV2SmartReplyAnswer/confidence": confidence
@@ -186455,6 +186474,19 @@
186455186474
"/dialogflow:v2/dialogflow.projects.locations.setAgent": set_project_location_agent
186456186475
"/dialogflow:v2/dialogflow.projects.locations.setAgent/parent": parent
186457186476
"/dialogflow:v2/dialogflow.projects.locations.setAgent/updateMask": update_mask
186477+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.create": create_project_location_sip_trunk
186478+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.create/parent": parent
186479+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.delete": delete_project_location_sip_trunk
186480+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.delete/name": name
186481+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.get": get_project_location_sip_trunk
186482+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.get/name": name
186483+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.list": list_project_location_sip_trunks
186484+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.list/pageSize": page_size
186485+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.list/pageToken": page_token
186486+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.list/parent": parent
186487+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.patch": patch_project_location_sip_trunk
186488+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.patch/name": name
186489+
"/dialogflow:v2/dialogflow.projects.locations.sipTrunks.patch/updateMask": update_mask
186458186490
"/dialogflow:v2/dialogflow.projects.locations.statelessSuggestion.generate": generate_project_location_stateless_suggestion
186459186491
"/dialogflow:v2/dialogflow.projects.locations.statelessSuggestion.generate/parent": parent
186460186492
"/dialogflow:v2/dialogflow.projects.locations.suggestions.generateStatelessSummary": generate_project_location_suggestion_stateless_summary

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

3+
### v0.109.0 (2025-07-20)
4+
5+
* Regenerated from discovery document revision 20250715
6+
37
### v0.108.0 (2025-07-06)
48

59
* Regenerated from discovery document revision 20250627

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

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8994,6 +8994,68 @@ def update!(**args)
89948994
end
89958995
end
89968996

8997+
# Represents a connection for SIP Trunk.
8998+
class GoogleCloudDialogflowV2Connection
8999+
include Google::Apis::Core::Hashable
9000+
9001+
# Output only. The unique identifier of the SIP Trunk connection.
9002+
# Corresponds to the JSON property `connectionId`
9003+
# @return [String]
9004+
attr_accessor :connection_id
9005+
9006+
# The error details of Sip Trunk connection authentication.
9007+
# Corresponds to the JSON property `errorDetails`
9008+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails]
9009+
attr_accessor :error_details
9010+
9011+
# Output only. State of the connection.
9012+
# Corresponds to the JSON property `state`
9013+
# @return [String]
9014+
attr_accessor :state
9015+
9016+
# Output only. When the connection status changed.
9017+
# Corresponds to the JSON property `updateTime`
9018+
# @return [String]
9019+
attr_accessor :update_time
9020+
9021+
def initialize(**args)
9022+
update!(**args)
9023+
end
9024+
9025+
# Update properties of this object
9026+
def update!(**args)
9027+
@connection_id = args[:connection_id] if args.key?(:connection_id)
9028+
@error_details = args[:error_details] if args.key?(:error_details)
9029+
@state = args[:state] if args.key?(:state)
9030+
@update_time = args[:update_time] if args.key?(:update_time)
9031+
end
9032+
end
9033+
9034+
# The error details of Sip Trunk connection authentication.
9035+
class GoogleCloudDialogflowV2ConnectionErrorDetails
9036+
include Google::Apis::Core::Hashable
9037+
9038+
# Output only. The status of the certificate authentication.
9039+
# Corresponds to the JSON property `certificateState`
9040+
# @return [String]
9041+
attr_accessor :certificate_state
9042+
9043+
# The error message provided from SIP trunking auth service
9044+
# Corresponds to the JSON property `errorMessage`
9045+
# @return [String]
9046+
attr_accessor :error_message
9047+
9048+
def initialize(**args)
9049+
update!(**args)
9050+
end
9051+
9052+
# Update properties of this object
9053+
def update!(**args)
9054+
@certificate_state = args[:certificate_state] if args.key?(:certificate_state)
9055+
@error_message = args[:error_message] if args.key?(:error_message)
9056+
end
9057+
end
9058+
89979059
# Dialogflow contexts are similar to natural language context. If a person says
89989060
# to you "they are orange", you need context in order to understand what "they"
89999061
# is referring to. Similarly, for Dialogflow to handle an end-user expression
@@ -14677,6 +14739,32 @@ def update!(**args)
1467714739
end
1467814740
end
1467914741

14742+
# The response message for SipTrunks.ListSipTrunks.
14743+
class GoogleCloudDialogflowV2ListSipTrunksResponse
14744+
include Google::Apis::Core::Hashable
14745+
14746+
# Token to retrieve the next page of results, or empty if there are no more
14747+
# results in the list.
14748+
# Corresponds to the JSON property `nextPageToken`
14749+
# @return [String]
14750+
attr_accessor :next_page_token
14751+
14752+
# The list of SIP trunks.
14753+
# Corresponds to the JSON property `sipTrunks`
14754+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk>]
14755+
attr_accessor :sip_trunks
14756+
14757+
def initialize(**args)
14758+
update!(**args)
14759+
end
14760+
14761+
# Update properties of this object
14762+
def update!(**args)
14763+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
14764+
@sip_trunks = args[:sip_trunks] if args.key?(:sip_trunks)
14765+
end
14766+
end
14767+
1468014768
# The response message for Versions.ListVersions.
1468114769
class GoogleCloudDialogflowV2ListVersionsResponse
1468214770
include Google::Apis::Core::Hashable
@@ -16065,6 +16153,46 @@ def update!(**args)
1606516153
end
1606616154
end
1606716155

16156+
# SipTrunk is the resource that represents a SIP trunk to connect to Google
16157+
# Telephony platform SIP trunking service.
16158+
class GoogleCloudDialogflowV2SipTrunk
16159+
include Google::Apis::Core::Hashable
16160+
16161+
# Output only. Connections of the SIP trunk.
16162+
# Corresponds to the JSON property `connections`
16163+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection>]
16164+
attr_accessor :connections
16165+
16166+
# Optional. Human readable alias for this trunk.
16167+
# Corresponds to the JSON property `displayName`
16168+
# @return [String]
16169+
attr_accessor :display_name
16170+
16171+
# Required. The expected hostnames in the peer certificate from partner that is
16172+
# used for TLS authentication.
16173+
# Corresponds to the JSON property `expectedHostname`
16174+
# @return [Array<String>]
16175+
attr_accessor :expected_hostname
16176+
16177+
# Identifier. The unique identifier of the SIP trunk. Format: `projects//
16178+
# locations//sipTrunks/`.
16179+
# Corresponds to the JSON property `name`
16180+
# @return [String]
16181+
attr_accessor :name
16182+
16183+
def initialize(**args)
16184+
update!(**args)
16185+
end
16186+
16187+
# Update properties of this object
16188+
def update!(**args)
16189+
@connections = args[:connections] if args.key?(:connections)
16190+
@display_name = args[:display_name] if args.key?(:display_name)
16191+
@expected_hostname = args[:expected_hostname] if args.key?(:expected_hostname)
16192+
@name = args[:name] if args.key?(:name)
16193+
end
16194+
end
16195+
1606816196
# Represents a smart reply answer.
1606916197
class GoogleCloudDialogflowV2SmartReplyAnswer
1607016198
include Google::Apis::Core::Hashable

generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/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 DialogflowV2
1818
# Version of the google-apis-dialogflow_v2 gem
19-
GEM_VERSION = "0.108.0"
19+
GEM_VERSION = "0.109.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 = "20250627"
25+
REVISION = "20250715"
2626
end
2727
end
2828
end

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
14561456
include Google::Apis::Core::JsonObjectSupport
14571457
end
14581458

1459+
class GoogleCloudDialogflowV2Connection
1460+
class Representation < Google::Apis::Core::JsonRepresentation; end
1461+
1462+
include Google::Apis::Core::JsonObjectSupport
1463+
end
1464+
1465+
class GoogleCloudDialogflowV2ConnectionErrorDetails
1466+
class Representation < Google::Apis::Core::JsonRepresentation; end
1467+
1468+
include Google::Apis::Core::JsonObjectSupport
1469+
end
1470+
14591471
class GoogleCloudDialogflowV2Context
14601472
class Representation < Google::Apis::Core::JsonRepresentation; end
14611473

@@ -2404,6 +2416,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
24042416
include Google::Apis::Core::JsonObjectSupport
24052417
end
24062418

2419+
class GoogleCloudDialogflowV2ListSipTrunksResponse
2420+
class Representation < Google::Apis::Core::JsonRepresentation; end
2421+
2422+
include Google::Apis::Core::JsonObjectSupport
2423+
end
2424+
24072425
class GoogleCloudDialogflowV2ListVersionsResponse
24082426
class Representation < Google::Apis::Core::JsonRepresentation; end
24092427

@@ -2602,6 +2620,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
26022620
include Google::Apis::Core::JsonObjectSupport
26032621
end
26042622

2623+
class GoogleCloudDialogflowV2SipTrunk
2624+
class Representation < Google::Apis::Core::JsonRepresentation; end
2625+
2626+
include Google::Apis::Core::JsonObjectSupport
2627+
end
2628+
26052629
class GoogleCloudDialogflowV2SmartReplyAnswer
26062630
class Representation < Google::Apis::Core::JsonRepresentation; end
26072631

@@ -6005,6 +6029,25 @@ class Representation < Google::Apis::Core::JsonRepresentation
60056029
end
60066030
end
60076031

6032+
class GoogleCloudDialogflowV2Connection
6033+
# @private
6034+
class Representation < Google::Apis::Core::JsonRepresentation
6035+
property :connection_id, as: 'connectionId'
6036+
property :error_details, as: 'errorDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails::Representation
6037+
6038+
property :state, as: 'state'
6039+
property :update_time, as: 'updateTime'
6040+
end
6041+
end
6042+
6043+
class GoogleCloudDialogflowV2ConnectionErrorDetails
6044+
# @private
6045+
class Representation < Google::Apis::Core::JsonRepresentation
6046+
property :certificate_state, as: 'certificateState'
6047+
property :error_message, as: 'errorMessage'
6048+
end
6049+
end
6050+
60086051
class GoogleCloudDialogflowV2Context
60096052
# @private
60106053
class Representation < Google::Apis::Core::JsonRepresentation
@@ -7613,6 +7656,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
76137656
end
76147657
end
76157658

7659+
class GoogleCloudDialogflowV2ListSipTrunksResponse
7660+
# @private
7661+
class Representation < Google::Apis::Core::JsonRepresentation
7662+
property :next_page_token, as: 'nextPageToken'
7663+
collection :sip_trunks, as: 'sipTrunks', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SipTrunk::Representation
7664+
7665+
end
7666+
end
7667+
76167668
class GoogleCloudDialogflowV2ListVersionsResponse
76177669
# @private
76187670
class Representation < Google::Apis::Core::JsonRepresentation
@@ -7959,6 +8011,17 @@ class Representation < Google::Apis::Core::JsonRepresentation
79598011
end
79608012
end
79618013

8014+
class GoogleCloudDialogflowV2SipTrunk
8015+
# @private
8016+
class Representation < Google::Apis::Core::JsonRepresentation
8017+
collection :connections, as: 'connections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Connection::Representation
8018+
8019+
property :display_name, as: 'displayName'
8020+
collection :expected_hostname, as: 'expectedHostname'
8021+
property :name, as: 'name'
8022+
end
8023+
end
8024+
79628025
class GoogleCloudDialogflowV2SmartReplyAnswer
79638026
# @private
79648027
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)