@@ -1154,6 +1154,25 @@ def update!(**args)
11541154 end
11551155 end
11561156
1157+ # Represents a code block.
1158+ class GoogleCloudDialogflowCxV3CodeBlock
1159+ include Google::Apis::Core::Hashable
1160+
1161+ # Optional. Source code of the block in Python.
1162+ # Corresponds to the JSON property `code`
1163+ # @return [String]
1164+ attr_accessor :code
1165+
1166+ def initialize(**args)
1167+ update!(**args)
1168+ end
1169+
1170+ # Update properties of this object
1171+ def update!(**args)
1172+ @code = args[:code] if args.key?(:code)
1173+ end
1174+ end
1175+
11571176 # The request message for Versions.CompareVersions.
11581177 class GoogleCloudDialogflowCxV3CompareVersionsRequest
11591178 include Google::Apis::Core::Hashable
@@ -6587,6 +6606,11 @@ def update!(**args)
65876606 class GoogleCloudDialogflowCxV3Playbook
65886607 include Google::Apis::Core::Hashable
65896608
6609+ # Represents a code block.
6610+ # Corresponds to the JSON property `codeBlock`
6611+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3CodeBlock]
6612+ attr_accessor :code_block
6613+
65906614 # Output only. The timestamp of initial playbook creation.
65916615 # Corresponds to the JSON property `createTime`
65926616 # @return [String]
@@ -6610,6 +6634,14 @@ class GoogleCloudDialogflowCxV3Playbook
66106634 # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Handler>]
66116635 attr_accessor :handlers
66126636
6637+ # Optional. Output only. Names of inline actions scoped to this playbook. These
6638+ # actions are in addition to those belonging to referenced tools, child
6639+ # playbooks, and flows, e.g. actions that are defined in the playbook's code
6640+ # block.
6641+ # Corresponds to the JSON property `inlineActions`
6642+ # @return [Array<String>]
6643+ attr_accessor :inline_actions
6644+
66136645 # Optional. Defined structured input parameters for this playbook.
66146646 # Corresponds to the JSON property `inputParameterDefinitions`
66156647 # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ParameterDefinition>]
@@ -6677,10 +6709,12 @@ def initialize(**args)
66776709
66786710 # Update properties of this object
66796711 def update!(**args)
6712+ @code_block = args[:code_block] if args.key?(:code_block)
66806713 @create_time = args[:create_time] if args.key?(:create_time)
66816714 @display_name = args[:display_name] if args.key?(:display_name)
66826715 @goal = args[:goal] if args.key?(:goal)
66836716 @handlers = args[:handlers] if args.key?(:handlers)
6717+ @inline_actions = args[:inline_actions] if args.key?(:inline_actions)
66846718 @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions)
66856719 @instruction = args[:instruction] if args.key?(:instruction)
66866720 @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
@@ -9020,6 +9054,11 @@ class GoogleCloudDialogflowCxV3ToolAuthentication
90209054 # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationOAuthConfig]
90219055 attr_accessor :oauth_config
90229056
9057+ # Configuration for authentication using a service account.
9058+ # Corresponds to the JSON property `serviceAccountAuthConfig`
9059+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig]
9060+ attr_accessor :service_account_auth_config
9061+
90239062 # Config for auth using [Diglogflow service agent](https://cloud.google.com/iam/
90249063 # docs/service-agents#dialogflow-service-agent).
90259064 # Corresponds to the JSON property `serviceAgentAuthConfig`
@@ -9035,6 +9074,7 @@ def update!(**args)
90359074 @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
90369075 @bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
90379076 @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
9077+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
90389078 @service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
90399079 end
90409080 end
@@ -9164,6 +9204,30 @@ def update!(**args)
91649204 end
91659205 end
91669206
9207+ # Configuration for authentication using a service account.
9208+ class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAccountAuthConfig
9209+ include Google::Apis::Core::Hashable
9210+
9211+ # Required. The email address of the service account used to authenticate the
9212+ # tool call. Dialogflow uses this service account to exchange an access token
9213+ # and the access token is then sent in the `Authorization` header of the tool
9214+ # request. The service account must have the `roles/iam.
9215+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
9216+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
9217+ # Corresponds to the JSON property `serviceAccount`
9218+ # @return [String]
9219+ attr_accessor :service_account
9220+
9221+ def initialize(**args)
9222+ update!(**args)
9223+ end
9224+
9225+ # Update properties of this object
9226+ def update!(**args)
9227+ @service_account = args[:service_account] if args.key?(:service_account)
9228+ end
9229+ end
9230+
91679231 # Config for auth using [Diglogflow service agent](https://cloud.google.com/iam/
91689232 # docs/service-agents#dialogflow-service-agent).
91699233 class GoogleCloudDialogflowCxV3ToolAuthenticationServiceAgentAuthConfig
@@ -10425,6 +10489,11 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService
1042510489 # @return [Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>]
1042610490 attr_accessor :secret_versions_for_request_headers
1042710491
10492+ # Configuration for authentication using a service account.
10493+ # Corresponds to the JSON property `serviceAccountAuthConfig`
10494+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig]
10495+ attr_accessor :service_account_auth_config
10496+
1042810497 # Optional. Indicate the auth token type generated from the [Diglogflow service
1042910498 # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
1043010499 # agent). The generated token is sent in the Authorization header.
@@ -10463,6 +10532,7 @@ def update!(**args)
1046310532 @request_headers = args[:request_headers] if args.key?(:request_headers)
1046410533 @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
1046510534 @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
10535+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
1046610536 @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
1046710537 @uri = args[:uri] if args.key?(:uri)
1046810538 @username = args[:username] if args.key?(:username)
@@ -10538,6 +10608,30 @@ def update!(**args)
1053810608 end
1053910609 end
1054010610
10611+ # Configuration for authentication using a service account.
10612+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceServiceAccountAuthConfig
10613+ include Google::Apis::Core::Hashable
10614+
10615+ # Required. The email address of the service account used to authenticate the
10616+ # webhook call. Dialogflow uses this service account to exchange an access token
10617+ # and the access token is then sent in the `Authorization` header of the webhook
10618+ # request. The service account must have the `roles/iam.
10619+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
10620+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
10621+ # Corresponds to the JSON property `serviceAccount`
10622+ # @return [String]
10623+ attr_accessor :service_account
10624+
10625+ def initialize(**args)
10626+ update!(**args)
10627+ end
10628+
10629+ # Update properties of this object
10630+ def update!(**args)
10631+ @service_account = args[:service_account] if args.key?(:service_account)
10632+ end
10633+ end
10634+
1054110635 # The request message for a webhook call. The request is sent as a JSON object
1054210636 # and the field names will be presented in camel cases. You may see undocumented
1054310637 # fields in an actual request. These fields are used internally by Dialogflow
@@ -14350,6 +14444,11 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
1435014444 # @return [Hash<String,Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
1435114445 attr_accessor :secret_versions_for_request_headers
1435214446
14447+ # Configuration for authentication using a service account.
14448+ # Corresponds to the JSON property `serviceAccountAuthConfig`
14449+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig]
14450+ attr_accessor :service_account_auth_config
14451+
1435314452 # Optional. Indicate the auth token type generated from the [Diglogflow service
1435414453 # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
1435514454 # agent). The generated token is sent in the Authorization header.
@@ -14388,6 +14487,7 @@ def update!(**args)
1438814487 @request_headers = args[:request_headers] if args.key?(:request_headers)
1438914488 @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
1439014489 @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
14490+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
1439114491 @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
1439214492 @uri = args[:uri] if args.key?(:uri)
1439314493 @username = args[:username] if args.key?(:username)
@@ -14463,6 +14563,30 @@ def update!(**args)
1446314563 end
1446414564 end
1446514565
14566+ # Configuration for authentication using a service account.
14567+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
14568+ include Google::Apis::Core::Hashable
14569+
14570+ # Required. The email address of the service account used to authenticate the
14571+ # webhook call. Dialogflow uses this service account to exchange an access token
14572+ # and the access token is then sent in the `Authorization` header of the webhook
14573+ # request. The service account must have the `roles/iam.
14574+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
14575+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
14576+ # Corresponds to the JSON property `serviceAccount`
14577+ # @return [String]
14578+ attr_accessor :service_account
14579+
14580+ def initialize(**args)
14581+ update!(**args)
14582+ end
14583+
14584+ # Update properties of this object
14585+ def update!(**args)
14586+ @service_account = args[:service_account] if args.key?(:service_account)
14587+ end
14588+ end
14589+
1446614590 # The request message for a webhook call. The request is sent as a JSON object
1446714591 # and the field names will be presented in camel cases. You may see undocumented
1446814592 # fields in an actual request. These fields are used internally by Dialogflow
0 commit comments