Skip to content

Commit a589e00

Browse files
feat: Automated regeneration of dialogflow v2 client (#24873)
Auto-created at 2025-11-02 11:03:00 +0000 using the toys pull request generator.
1 parent 67a37dd commit a589e00

File tree

6 files changed

+107
-7
lines changed

6 files changed

+107
-7
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195290,6 +195290,7 @@
195290195290
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers
195291195291
? "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header"
195292195292
: secret_versions_for_request_header
195293+
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config
195293195294
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAgentAuth": service_agent_auth
195294195295
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/uri": uri
195295195296
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/username": username
@@ -195303,6 +195304,8 @@
195303195304
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint
195304195305
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_secret_version_header_value
195305195306
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version
195307+
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_service_account_auth_config
195308+
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account
195306195309
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request
195307195310
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id
195308195311
"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/dtmfDigits": dtmf_digits
@@ -195806,6 +195809,7 @@
195806195809
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers
195807195810
? "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header"
195808195811
: secret_versions_for_request_header
195812+
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config
195809195813
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAgentAuth": service_agent_auth
195810195814
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/uri": uri
195811195815
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/username": username
@@ -195819,6 +195823,8 @@
195819195823
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint
195820195824
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_secret_version_header_value
195821195825
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version
195826+
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_service_account_auth_config
195827+
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account
195822195828
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request
195823195829
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id
195824195830
"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/dtmfDigits": dtmf_digits

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.115.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251027
6+
37
### v0.114.0 (2025-10-19)
48

59
* Regenerated from discovery document revision 20251013

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

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3507,6 +3507,11 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService
35073507
# @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
35083508
attr_accessor :secret_versions_for_request_headers
35093509

3510+
# Configuration for authentication using a service account.
3511+
# Corresponds to the JSON property `serviceAccountAuthConfig`
3512+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig]
3513+
attr_accessor :service_account_auth_config
3514+
35103515
# Optional. Indicate the auth token type generated from the [Diglogflow service
35113516
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
35123517
# agent). The generated token is sent in the Authorization header.
@@ -3545,6 +3550,7 @@ def update!(**args)
35453550
@request_headers = args[:request_headers] if args.key?(:request_headers)
35463551
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
35473552
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
3553+
@service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
35483554
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
35493555
@uri = args[:uri] if args.key?(:uri)
35503556
@username = args[:username] if args.key?(:username)
@@ -3620,6 +3626,30 @@ def update!(**args)
36203626
end
36213627
end
36223628

3629+
# Configuration for authentication using a service account.
3630+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
3631+
include Google::Apis::Core::Hashable
3632+
3633+
# Required. The email address of the service account used to authenticate the
3634+
# webhook call. Dialogflow uses this service account to exchange an access token
3635+
# and the access token is then sent in the `Authorization` header of the webhook
3636+
# request. The service account must have the `roles/iam.
3637+
# serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
3638+
# https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
3639+
# Corresponds to the JSON property `serviceAccount`
3640+
# @return [String]
3641+
attr_accessor :service_account
3642+
3643+
def initialize(**args)
3644+
update!(**args)
3645+
end
3646+
3647+
# Update properties of this object
3648+
def update!(**args)
3649+
@service_account = args[:service_account] if args.key?(:service_account)
3650+
end
3651+
end
3652+
36233653
# The request message for a webhook call. The request is sent as a JSON object
36243654
# and the field names will be presented in camel cases. You may see undocumented
36253655
# fields in an actual request. These fields are used internally by Dialogflow
@@ -7432,6 +7462,11 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
74327462
# @return [Hash<String,Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
74337463
attr_accessor :secret_versions_for_request_headers
74347464

7465+
# Configuration for authentication using a service account.
7466+
# Corresponds to the JSON property `serviceAccountAuthConfig`
7467+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig]
7468+
attr_accessor :service_account_auth_config
7469+
74357470
# Optional. Indicate the auth token type generated from the [Diglogflow service
74367471
# agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
74377472
# agent). The generated token is sent in the Authorization header.
@@ -7470,6 +7505,7 @@ def update!(**args)
74707505
@request_headers = args[:request_headers] if args.key?(:request_headers)
74717506
@secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
74727507
@secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
7508+
@service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
74737509
@service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
74747510
@uri = args[:uri] if args.key?(:uri)
74757511
@username = args[:username] if args.key?(:username)
@@ -7545,6 +7581,30 @@ def update!(**args)
75457581
end
75467582
end
75477583

7584+
# Configuration for authentication using a service account.
7585+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
7586+
include Google::Apis::Core::Hashable
7587+
7588+
# Required. The email address of the service account used to authenticate the
7589+
# webhook call. Dialogflow uses this service account to exchange an access token
7590+
# and the access token is then sent in the `Authorization` header of the webhook
7591+
# request. The service account must have the `roles/iam.
7592+
# serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
7593+
# https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
7594+
# Corresponds to the JSON property `serviceAccount`
7595+
# @return [String]
7596+
attr_accessor :service_account
7597+
7598+
def initialize(**args)
7599+
update!(**args)
7600+
end
7601+
7602+
# Update properties of this object
7603+
def update!(**args)
7604+
@service_account = args[:service_account] if args.key?(:service_account)
7605+
end
7606+
end
7607+
75487608
# The request message for a webhook call. The request is sent as a JSON object
75497609
# and the field names will be presented in camel cases. You may see undocumented
75507610
# fields in an actual request. These fields are used internally by Dialogflow
@@ -19276,9 +19336,9 @@ class GoogleCloudDialogflowV2ToolTlsConfigCaCert
1927619336
# unspecified, Dialogflow will use Google's default trust store to verify
1927719337
# certificates. N.B. Make sure the HTTPS server certificates are signed with "
1927819338
# subject alt name". For instance a certificate can be self-signed using the
19279-
# following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey
19280-
# example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='
19281-
# DNS:www.example.com'")
19339+
# following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
19340+
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
19341+
# nsubjectAltName='DNS:www.example.com'") ```
1928219342
# Corresponds to the JSON property `cert`
1928319343
# NOTE: Values are automatically base64 encoded/decoded in the client library.
1928419344
# @return [String]

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.114.0"
19+
GEM_VERSION = "0.115.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 = "20251013"
25+
REVISION = "20251027"
2626
end
2727
end
2828
end

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
604604
include Google::Apis::Core::JsonObjectSupport
605605
end
606606

607+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
608+
class Representation < Google::Apis::Core::JsonRepresentation; end
609+
610+
include Google::Apis::Core::JsonObjectSupport
611+
end
612+
607613
class GoogleCloudDialogflowCxV3WebhookRequest
608614
class Representation < Google::Apis::Core::JsonRepresentation; end
609615

@@ -1234,6 +1240,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
12341240
include Google::Apis::Core::JsonObjectSupport
12351241
end
12361242

1243+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
1244+
class Representation < Google::Apis::Core::JsonRepresentation; end
1245+
1246+
include Google::Apis::Core::JsonObjectSupport
1247+
end
1248+
12371249
class GoogleCloudDialogflowCxV3beta1WebhookRequest
12381250
class Representation < Google::Apis::Core::JsonRepresentation; end
12391251

@@ -4905,6 +4917,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
49054917
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
49064918
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
49074919

4920+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig::Representation
4921+
49084922
property :service_agent_auth, as: 'serviceAgentAuth'
49094923
property :uri, as: 'uri'
49104924
property :username, as: 'username'
@@ -4930,6 +4944,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
49304944
end
49314945
end
49324946

4947+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
4948+
# @private
4949+
class Representation < Google::Apis::Core::JsonRepresentation
4950+
property :service_account, as: 'serviceAccount'
4951+
end
4952+
end
4953+
49334954
class GoogleCloudDialogflowCxV3WebhookRequest
49344955
# @private
49354956
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5959,6 +5980,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
59595980
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
59605981
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
59615982

5983+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig::Representation
5984+
59625985
property :service_agent_auth, as: 'serviceAgentAuth'
59635986
property :uri, as: 'uri'
59645987
property :username, as: 'username'
@@ -5984,6 +6007,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
59846007
end
59856008
end
59866009

6010+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
6011+
# @private
6012+
class Representation < Google::Apis::Core::JsonRepresentation
6013+
property :service_account, as: 'serviceAccount'
6014+
end
6015+
end
6016+
59876017
class GoogleCloudDialogflowCxV3beta1WebhookRequest
59886018
# @private
59896019
class Representation < Google::Apis::Core::JsonRepresentation

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5088,8 +5088,8 @@ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, opt
50885088
# @param [String] name
50895089
# The resource that owns the locations collection, if applicable.
50905090
# @param [Array<String>, String] extra_location_types
5091-
# Optional. Unless explicitly documented otherwise, don't use this unsupported
5092-
# field which is primarily intended for internal usage.
5091+
# Optional. Do not use this field. It is unsupported and is ignored unless
5092+
# explicitly documented otherwise. This is primarily for internal usage.
50935093
# @param [String] filter
50945094
# A filter to narrow down results to a preferred subset. The filtering language
50955095
# accepts strings like `"displayName=tokyo"`, and is documented in more detail

0 commit comments

Comments
 (0)