diff --git a/api_names_out.yaml b/api_names_out.yaml index aaa6bc0c3d0..aedb0d03719 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -193454,6 +193454,7 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers ? "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header" : secret_versions_for_request_header +"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/serviceAgentAuth": service_agent_auth "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/uri": uri "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebService/username": username @@ -193467,6 +193468,8 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_secret_version_header_value "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version +"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3_webhook_generic_web_service_service_account_auth_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest": google_cloud_dialogflow_cx_v3_webhook_request "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v2/GoogleCloudDialogflowCxV3WebhookRequest/dtmfDigits": dtmf_digits @@ -193970,6 +193973,7 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders": secret_versions_for_request_headers ? "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/secretVersionsForRequestHeaders/secret_versions_for_request_header" : secret_versions_for_request_header +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAccountAuthConfig": service_account_auth_config "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/serviceAgentAuth": service_agent_auth "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/uri": uri "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebService/username": username @@ -193983,6 +193987,8 @@ "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig/tokenEndpoint": token_endpoint "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_secret_version_header_value "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue/secretVersion": secret_version +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig": google_cloud_dialogflow_cx_v3beta1_webhook_generic_web_service_service_account_auth_config +"/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig/serviceAccount": service_account "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest": google_cloud_dialogflow_cx_v3beta1_webhook_request "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/detectIntentResponseId": detect_intent_response_id "/dialogflow:v2/GoogleCloudDialogflowCxV3beta1WebhookRequest/dtmfDigits": dtmf_digits diff --git a/generated/google-apis-dialogflow_v2/CHANGELOG.md b/generated/google-apis-dialogflow_v2/CHANGELOG.md index 6ff59fd7f6e..5d5c120f902 100644 --- a/generated/google-apis-dialogflow_v2/CHANGELOG.md +++ b/generated/google-apis-dialogflow_v2/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dialogflow_v2 +### v0.115.0 (2025-11-02) + +* Regenerated from discovery document revision 20251027 + ### v0.114.0 (2025-10-19) * Regenerated from discovery document revision 20251013 diff --git a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb index d2ac972f8fc..451d57e9710 100644 --- a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb +++ b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/classes.rb @@ -3507,6 +3507,11 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService # @return [Hash] attr_accessor :secret_versions_for_request_headers + # Configuration for authentication using a service account. + # Corresponds to the JSON property `serviceAccountAuthConfig` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig] + attr_accessor :service_account_auth_config + # Optional. Indicate the auth token type generated from the [Diglogflow service # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service- # agent). The generated token is sent in the Authorization header. @@ -3545,6 +3550,7 @@ def update!(**args) @request_headers = args[:request_headers] if args.key?(:request_headers) @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password) @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers) + @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config) @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth) @uri = args[:uri] if args.key?(:uri) @username = args[:username] if args.key?(:username) @@ -3620,6 +3626,30 @@ def update!(**args) end end + # Configuration for authentication using a service account. + class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + include Google::Apis::Core::Hashable + + # Required. The email address of the service account used to authenticate the + # webhook call. Dialogflow uses this service account to exchange an access token + # and the access token is then sent in the `Authorization` header of the webhook + # request. The service account must have the `roles/iam. + # serviceAccountTokenCreator` role granted to the [Dialogflow service agent]( + # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account = args[:service_account] if args.key?(:service_account) + end + end + # The request message for a webhook call. The request is sent as a JSON object # and the field names will be presented in camel cases. You may see undocumented # fields in an actual request. These fields are used internally by Dialogflow @@ -7432,6 +7462,11 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService # @return [Hash] attr_accessor :secret_versions_for_request_headers + # Configuration for authentication using a service account. + # Corresponds to the JSON property `serviceAccountAuthConfig` + # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig] + attr_accessor :service_account_auth_config + # Optional. Indicate the auth token type generated from the [Diglogflow service # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service- # agent). The generated token is sent in the Authorization header. @@ -7470,6 +7505,7 @@ def update!(**args) @request_headers = args[:request_headers] if args.key?(:request_headers) @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password) @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers) + @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config) @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth) @uri = args[:uri] if args.key?(:uri) @username = args[:username] if args.key?(:username) @@ -7545,6 +7581,30 @@ def update!(**args) end end + # Configuration for authentication using a service account. + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + include Google::Apis::Core::Hashable + + # Required. The email address of the service account used to authenticate the + # webhook call. Dialogflow uses this service account to exchange an access token + # and the access token is then sent in the `Authorization` header of the webhook + # request. The service account must have the `roles/iam. + # serviceAccountTokenCreator` role granted to the [Dialogflow service agent]( + # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent). + # Corresponds to the JSON property `serviceAccount` + # @return [String] + attr_accessor :service_account + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @service_account = args[:service_account] if args.key?(:service_account) + end + end + # The request message for a webhook call. The request is sent as a JSON object # and the field names will be presented in camel cases. You may see undocumented # fields in an actual request. These fields are used internally by Dialogflow @@ -19276,9 +19336,9 @@ class GoogleCloudDialogflowV2ToolTlsConfigCaCert # unspecified, Dialogflow will use Google's default trust store to verify # certificates. N.B. Make sure the HTTPS server certificates are signed with " # subject alt name". For instance a certificate can be self-signed using the - # following command, openssl x509 -req -days 200 -in example.com.csr \ -signkey - # example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName=' - # DNS:www.example.com'") + # following command, ``` openssl x509 -req -days 200 -in example.com.csr \ - + # signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\ + # nsubjectAltName='DNS:www.example.com'") ``` # Corresponds to the JSON property `cert` # NOTE: Values are automatically base64 encoded/decoded in the client library. # @return [String] diff --git a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb index 8a55e9b8bb0..77fb091e4b0 100644 --- a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb +++ b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DialogflowV2 # Version of the google-apis-dialogflow_v2 gem - GEM_VERSION = "0.114.0" + GEM_VERSION = "0.115.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251013" + REVISION = "20251027" end end end diff --git a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb index 02d867f64f7..435b455fa17 100644 --- a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb +++ b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/representations.rb @@ -604,6 +604,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1234,6 +1240,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -4905,6 +4917,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword' hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue::Representation + property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig::Representation + property :service_agent_auth, as: 'serviceAgentAuth' property :uri, as: 'uri' property :username, as: 'username' @@ -4930,6 +4944,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_account, as: 'serviceAccount' + end + end + class GoogleCloudDialogflowCxV3WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -5959,6 +5980,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :secret_version_for_username_password, as: 'secretVersionForUsernamePassword' hash :secret_versions_for_request_headers, as: 'secretVersionsForRequestHeaders', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue::Representation + property :service_account_auth_config, as: 'serviceAccountAuthConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig::Representation + property :service_agent_auth, as: 'serviceAgentAuth' property :uri, as: 'uri' property :username, as: 'username' @@ -5984,6 +6007,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :service_account, as: 'serviceAccount' + end + end + class GoogleCloudDialogflowCxV3beta1WebhookRequest # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/service.rb b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/service.rb index 85f2b1e6737..f3b494fa052 100644 --- a/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/service.rb +++ b/generated/google-apis-dialogflow_v2/lib/google/apis/dialogflow_v2/service.rb @@ -5088,8 +5088,8 @@ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, opt # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types - # Optional. Unless explicitly documented otherwise, don't use this unsupported - # field which is primarily intended for internal usage. + # Optional. Do not use this field. It is unsupported and is ignored unless + # explicitly documented otherwise. This is primarily for internal usage. # @param [String] filter # A filter to narrow down results to a preferred subset. The filtering language # accepts strings like `"displayName=tokyo"`, and is documented in more detail