Skip to content

Commit 11db802

Browse files
feat: Automated regeneration of dialogflow v2beta1 client (#24772)
Auto-created at 2025-11-02 09:17:12 +0000 using the toys pull request generator.
1 parent ee45fae commit 11db802

6 files changed

Lines changed: 107 additions & 7 deletions

File tree

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197668,6 +197668,7 @@
197668197668
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers
197669197669
? "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header"
197670197670
: secret_versions_for_request_header
197671+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config
197671197672
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAgentAuth": service_agent_auth
197672197673
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/uri": uri
197673197674
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebService/username": username
@@ -197681,6 +197682,8 @@
197681197682
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint
197682197683
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_secret_version_header_value
197683197684
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version
197685+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_service_account_auth_config
197686+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account
197684197687
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request
197685197688
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id
197686197689
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3WebhookRequest/dtmfDigits": dtmf_digits
@@ -198186,6 +198189,7 @@
198186198189
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers
198187198190
? "/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header"
198188198191
: secret_versions_for_request_header
198192+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config
198189198193
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAgentAuth": service_agent_auth
198190198194
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/uri": uri
198191198195
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/username": username
@@ -198199,6 +198203,8 @@
198199198203
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint
198200198204
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_secret_version_header_value
198201198205
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version
198206+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_service_account_auth_config
198207+
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account
198202198208
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request
198203198209
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id
198204198210
"/dialogflow:v2beta1/GoogleCloudDialogflowCxV3beta1WebhookRequest/dtmfDigits": dtmf_digits

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

3+
### v0.114.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251027
6+
37
### v0.113.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251007

generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
@@ -23978,9 +24038,9 @@ class GoogleCloudDialogflowV2beta1ToolTlsConfigCaCert
2397824038
# unspecified, Dialogflow will use Google's default trust store to verify
2397924039
# certificates. N.B. Make sure the HTTPS server certificates are signed with "
2398024040
# subject alt name". For instance a certificate can be self-signed using the
23981-
# following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey
23982-
# example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='
23983-
# DNS:www.example.com'")
24041+
# following command, ``` openssl x509 -req -days 200 -in example.com.csr \ -
24042+
# signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\
24043+
# nsubjectAltName='DNS:www.example.com'") ```
2398424044
# Corresponds to the JSON property `cert`
2398524045
# NOTE: Values are automatically base64 encoded/decoded in the client library.
2398624046
# @return [String]

generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/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 DialogflowV2beta1
1818
# Version of the google-apis-dialogflow_v2beta1 gem
19-
GEM_VERSION = "0.113.0"
19+
GEM_VERSION = "0.114.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 = "20251007"
25+
REVISION = "20251027"
2626
end
2727
end
2828
end

generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/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

@@ -4887,6 +4899,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
48874899
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
48884900
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation
48894901

4902+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig::Representation
4903+
48904904
property :service_agent_auth, as: 'serviceAgentAuth'
48914905
property :uri, as: 'uri'
48924906
property :username, as: 'username'
@@ -4912,6 +4926,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
49124926
end
49134927
end
49144928

4929+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
4930+
# @private
4931+
class Representation < Google::Apis::Core::JsonRepresentation
4932+
property :service_account, as: 'serviceAccount'
4933+
end
4934+
end
4935+
49154936
class GoogleCloudDialogflowCxV3WebhookRequest
49164937
# @private
49174938
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5941,6 +5962,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
59415962
property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword'
59425963
hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation
59435964

5965+
property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig::Representation
5966+
59445967
property :service_agent_auth, as: 'serviceAgentAuth'
59455968
property :uri, as: 'uri'
59465969
property :username, as: 'username'
@@ -5966,6 +5989,13 @@ class Representation < Google::Apis::Core::JsonRepresentation
59665989
end
59675990
end
59685991

5992+
class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
5993+
# @private
5994+
class Representation < Google::Apis::Core::JsonRepresentation
5995+
property :service_account, as: 'serviceAccount'
5996+
end
5997+
end
5998+
59695999
class GoogleCloudDialogflowCxV3beta1WebhookRequest
59706000
# @private
59716001
class Representation < Google::Apis::Core::JsonRepresentation

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

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

0 commit comments

Comments
 (0)