GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent
Table of Contents ▼
Jump to a specific part of the page:
Description
An intent configures the behavior of a device action for this device. Next ID: 7
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
argSpecs
(type:%{optional(String.t) => GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoArgSpec}
, default:nil
)
- List of arguments associated this intent. Each of which depends a template for the expected argument. -
executionConfig
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig
, default:nil
)
- Instructions for the routing of this Intent. -
name
(type:String.t
, default:nil
)
- The name of the intent. -
providedDataNames
(type:list(String.t)
, default:nil
)
- List of provided data names used by this intent. Note that some built-in intents will not function properly without provided data, such asaction.intent.SwitchChannel
oraction.intent.AppSelector
. -
securityConfig
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoSecurityConfig
, default:nil
)
- Security configuration for this Intent. -
triggerConditions
(type:list(GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoTriggerCondition)
, default:nil
)
- The conditions which must be met by the device before executing this Intent. More than one can be provided, in which case the conditions operate with the "AND" operator, i.e. the first condition which is failed will be used to restrict the execution of this Intent.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent{
argSpecs: %{
optional(String.t()) => GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoArgSpec.t()
} | nil,
executionConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig.t() | nil,
name: String.t() | nil,
providedDataNames: [String.t()] | nil,
securityConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoSecurityConfig.t() | nil,
triggerConditions: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoTriggerCondition.t() ] | nil
}
argSpecs: %{
optional(String.t()) => GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoArgSpec.t()
} | nil,
executionConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig.t() | nil,
name: String.t() | nil,
providedDataNames: [String.t()] | nil,
securityConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoSecurityConfig.t() | nil,
triggerConditions: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoTriggerCondition.t() ] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent