@@ -3507,6 +3507,11 @@ class GoogleCloudDialogflowCxV3WebhookGenericWebService
35073507 # @return [Hash<String,Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::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
@@ -5424,6 +5454,25 @@ def update!(**args)
54245454 end
54255455 end
54265456
5457+ # Represents a code block.
5458+ class GoogleCloudDialogflowCxV3beta1CodeBlock
5459+ include Google::Apis::Core::Hashable
5460+
5461+ # Optional. Source code of the block in Python.
5462+ # Corresponds to the JSON property `code`
5463+ # @return [String]
5464+ attr_accessor :code
5465+
5466+ def initialize(**args)
5467+ update!(**args)
5468+ end
5469+
5470+ # Update properties of this object
5471+ def update!(**args)
5472+ @code = args[:code] if args.key?(:code)
5473+ end
5474+ end
5475+
54275476 # The request message for Versions.CompareVersions.
54285477 class GoogleCloudDialogflowCxV3beta1CompareVersionsRequest
54295478 include Google::Apis::Core::Hashable
@@ -11618,6 +11667,11 @@ def update!(**args)
1161811667 class GoogleCloudDialogflowCxV3beta1Playbook
1161911668 include Google::Apis::Core::Hashable
1162011669
11670+ # Represents a code block.
11671+ # Corresponds to the JSON property `codeBlock`
11672+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1CodeBlock]
11673+ attr_accessor :code_block
11674+
1162111675 # Output only. The timestamp of initial playbook creation.
1162211676 # Corresponds to the JSON property `createTime`
1162311677 # @return [String]
@@ -11641,6 +11695,14 @@ class GoogleCloudDialogflowCxV3beta1Playbook
1164111695 # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Handler>]
1164211696 attr_accessor :handlers
1164311697
11698+ # Optional. Output only. Names of inline actions scoped to this playbook. These
11699+ # actions are in addition to those belonging to referenced tools, child
11700+ # playbooks, and flows, e.g. actions that are defined in the playbook's code
11701+ # block.
11702+ # Corresponds to the JSON property `inlineActions`
11703+ # @return [Array<String>]
11704+ attr_accessor :inline_actions
11705+
1164411706 # Optional. Defined structured input parameters for this playbook.
1164511707 # Corresponds to the JSON property `inputParameterDefinitions`
1164611708 # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ParameterDefinition>]
@@ -11713,10 +11775,12 @@ def initialize(**args)
1171311775
1171411776 # Update properties of this object
1171511777 def update!(**args)
11778+ @code_block = args[:code_block] if args.key?(:code_block)
1171611779 @create_time = args[:create_time] if args.key?(:create_time)
1171711780 @display_name = args[:display_name] if args.key?(:display_name)
1171811781 @goal = args[:goal] if args.key?(:goal)
1171911782 @handlers = args[:handlers] if args.key?(:handlers)
11783+ @inline_actions = args[:inline_actions] if args.key?(:inline_actions)
1172011784 @input_parameter_definitions = args[:input_parameter_definitions] if args.key?(:input_parameter_definitions)
1172111785 @instruction = args[:instruction] if args.key?(:instruction)
1172211786 @llm_model_settings = args[:llm_model_settings] if args.key?(:llm_model_settings)
@@ -14197,6 +14261,11 @@ class GoogleCloudDialogflowCxV3beta1ToolAuthentication
1419714261 # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationOAuthConfig]
1419814262 attr_accessor :oauth_config
1419914263
14264+ # Configuration for authentication using a service account.
14265+ # Corresponds to the JSON property `serviceAccountAuthConfig`
14266+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig]
14267+ attr_accessor :service_account_auth_config
14268+
1420014269 # Config for auth using [Diglogflow service agent](https://cloud.google.com/iam/
1420114270 # docs/service-agents#dialogflow-service-agent).
1420214271 # Corresponds to the JSON property `serviceAgentAuthConfig`
@@ -14212,6 +14281,7 @@ def update!(**args)
1421214281 @api_key_config = args[:api_key_config] if args.key?(:api_key_config)
1421314282 @bearer_token_config = args[:bearer_token_config] if args.key?(:bearer_token_config)
1421414283 @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
14284+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
1421514285 @service_agent_auth_config = args[:service_agent_auth_config] if args.key?(:service_agent_auth_config)
1421614286 end
1421714287 end
@@ -14341,6 +14411,30 @@ def update!(**args)
1434114411 end
1434214412 end
1434314413
14414+ # Configuration for authentication using a service account.
14415+ class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAccountAuthConfig
14416+ include Google::Apis::Core::Hashable
14417+
14418+ # Required. The email address of the service account used to authenticate the
14419+ # tool call. Dialogflow uses this service account to exchange an access token
14420+ # and the access token is then sent in the `Authorization` header of the tool
14421+ # request. The service account must have the `roles/iam.
14422+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
14423+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
14424+ # Corresponds to the JSON property `serviceAccount`
14425+ # @return [String]
14426+ attr_accessor :service_account
14427+
14428+ def initialize(**args)
14429+ update!(**args)
14430+ end
14431+
14432+ # Update properties of this object
14433+ def update!(**args)
14434+ @service_account = args[:service_account] if args.key?(:service_account)
14435+ end
14436+ end
14437+
1434414438 # Config for auth using [Diglogflow service agent](https://cloud.google.com/iam/
1434514439 # docs/service-agents#dialogflow-service-agent).
1434614440 class GoogleCloudDialogflowCxV3beta1ToolAuthenticationServiceAgentAuthConfig
@@ -15878,6 +15972,11 @@ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebService
1587815972 # @return [Hash<String,Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue>]
1587915973 attr_accessor :secret_versions_for_request_headers
1588015974
15975+ # Configuration for authentication using a service account.
15976+ # Corresponds to the JSON property `serviceAccountAuthConfig`
15977+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig]
15978+ attr_accessor :service_account_auth_config
15979+
1588115980 # Optional. Indicate the auth token type generated from the [Diglogflow service
1588215981 # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
1588315982 # agent). The generated token is sent in the Authorization header.
@@ -15916,6 +16015,7 @@ def update!(**args)
1591616015 @request_headers = args[:request_headers] if args.key?(:request_headers)
1591716016 @secret_version_for_username_password = args[:secret_version_for_username_password] if args.key?(:secret_version_for_username_password)
1591816017 @secret_versions_for_request_headers = args[:secret_versions_for_request_headers] if args.key?(:secret_versions_for_request_headers)
16018+ @service_account_auth_config = args[:service_account_auth_config] if args.key?(:service_account_auth_config)
1591916019 @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
1592016020 @uri = args[:uri] if args.key?(:uri)
1592116021 @username = args[:username] if args.key?(:username)
@@ -15991,6 +16091,30 @@ def update!(**args)
1599116091 end
1599216092 end
1599316093
16094+ # Configuration for authentication using a service account.
16095+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig
16096+ include Google::Apis::Core::Hashable
16097+
16098+ # Required. The email address of the service account used to authenticate the
16099+ # webhook call. Dialogflow uses this service account to exchange an access token
16100+ # and the access token is then sent in the `Authorization` header of the webhook
16101+ # request. The service account must have the `roles/iam.
16102+ # serviceAccountTokenCreator` role granted to the [Dialogflow service agent](
16103+ # https://cloud.google.com/iam/docs/service-agents#dialogflow-service-agent).
16104+ # Corresponds to the JSON property `serviceAccount`
16105+ # @return [String]
16106+ attr_accessor :service_account
16107+
16108+ def initialize(**args)
16109+ update!(**args)
16110+ end
16111+
16112+ # Update properties of this object
16113+ def update!(**args)
16114+ @service_account = args[:service_account] if args.key?(:service_account)
16115+ end
16116+ end
16117+
1599416118 # The request message for a webhook call. The request is sent as a JSON object
1599516119 # and the field names will be presented in camel cases. You may see undocumented
1599616120 # fields in an actual request. These fields are used internally by Dialogflow
0 commit comments