View Source GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoIntent (google_api_content_warehouse v0.4.0)

An intent configures the behavior of a device action for this device. Next ID: 7

Attributes

  • argSpecs (type: %{optional(String.t) => GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoArgSpec.t}, 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.t, 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 as action.intent.SwitchChannel or action.intent.AppSelector.
  • securityConfig (type: GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoSecurityConfig.t, default: nil) - Security configuration for this Intent.
  • triggerConditions (type: list(GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoTriggerCondition.t), 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.