GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoDeviceActionCapability
Table of Contents ▼
Jump to a specific part of the page:
Description
This capability represents device action needed capability. Next ID: 10
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
assistantDeviceInRoomOptOut
(type:boolean()
, default:nil
)
- Integrate your device with Google's Smart Home solution by putting your device into Google's Home Graph, a database that stores and provides contextual data about the home and its devices. For example, Home Graph can store the concept of a living room that contains multiple types of devices, when you say "turn on the light" to a device, if you have light in the living room, that light will be turned on. -
builtInIntentMode
(type:String.t
, default:nil
)
- Specifies behavior for built-in device actions for this device model. If not specified, defaults to ENABLE_CONFIGURED_INTENTS_ONLY. -
customIntentMode
(type:String.t
, default:nil
)
- Specifies which custom device actions should be enabled for this device model. This will only affect the behavior of intents corresponding to those from the Action Package of this project. If not specified, defaults to ENABLE_ALL. -
defaultExecutionConfig
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig
, default:nil
)
- Default instructions for routing of any Intent. The data here could be overridden for specific Intents if provided directly in the 'intents' field. -
inlinedActionCapability
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoInlinedActionCapability
, default:nil
)
- Specifies capabilities for device actions that are inlined in the google.assistant.embedded.v1.DeviceAction message. -
intents
(type:list(GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent)
, default:nil
)
- Intent configurations. Built-in and custom intents may be configured here. Note that built-in intents will always behave with IntentMode of ENABLE_CONFIGURED_INTENTS_ONLY. The IntentMode for custom intents can be changed using the custom_intent_mode. To configure an intent, list it here with its intent name, e.g. "MY_CUSTOM_INTENT", "google.assistant.car.model.capabilities.AC_TEMPERATURE". -
providedData
(type:list(GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoProvidedData)
, default:nil
)
- Provided data which augments the device action capabilities. Some built-in intents may require additional configuration to be provided. One example could be the list of channels available for theaction.intent.SelectChannel
intent. -
traits
(type:list(String.t)
, default:nil
)
- List of built-in traits such as "action.devices.traits.OnOff" See java/com/google/home/graph/service/config/protoconf.pi As of Nov. 2017, we also support custom traits for EAP users. We'll eventually disable custom traits once custom actions are in place. -
understandingConfig
(type:GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoUnderstandingConfig
, default:nil
)
- Specifies the format how Google routes queries to 3P cloud. By default, this field is unset, all partners should get shallow NLU. This is needed ONLY for specific partners for strong business reasons.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoDeviceActionCapability{
assistantDeviceInRoomOptOut: boolean() | nil,
builtInIntentMode: String.t() | nil,
customIntentMode: String.t() | nil,
defaultExecutionConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig.t() | nil,
inlinedActionCapability: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoInlinedActionCapability.t() | nil,
intents: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent.t() ] | nil,
providedData: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoProvidedData.t() ] | nil,
traits: [String.t()] | nil,
understandingConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoUnderstandingConfig.t() | nil
}
assistantDeviceInRoomOptOut: boolean() | nil,
builtInIntentMode: String.t() | nil,
customIntentMode: String.t() | nil,
defaultExecutionConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig.t() | nil,
inlinedActionCapability: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoInlinedActionCapability.t() | nil,
intents: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent.t() ] | nil,
providedData: [ GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoProvidedData.t() ] | nil,
traits: [String.t()] | nil,
understandingConfig: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoUnderstandingConfig.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoDeviceActionCapability