AssistantDevicesPlatformProtoExecutionConfig

GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig


Table of Contents ▼

Jump to a specific part of the page:

Description

Specifies the routing capabilities of the Intent. It will apply only when the Intent is triggered. Next ID: 8

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. cloudEndpointName (type: String.t, default: nil)
    - Instructions for performing a cloud execution request for the Intent when the execution_type is set to CLOUD. If non-empty, then the device execution would be routed to the CloudEndpoint specified by this name. The Account Linking exchange may be performed to fetch the OAuth access token, and the access token will be included in the HTTP header.
  2. cloudIntentTranslationDisabled (type: boolean(), default: nil)
    - If this field is set, then the Syndication cloud call will be disabled for this intent. Note this only applies if any Syndication cloud endpoint is associated with the Device Model, otherwise setting this field does nothing. By default, all Intents that are enabled and supported by the Syndication API will be routed through the Syndication cloud endpoint if it's provided.
  3. intentCommandFormat (type: String.t, default: nil)
    - Specifies the intent command format for this Action. For example, in order to launch an Android intent instead of receiving the device action payload on the client, then this field can be set with "intent:/#Intent;...;my_extra={$.params.channels[0].channelCode};end" The parameter "{$.params.channels[0].channelCode}" is in JSON path format, and will be replaced with the content from the original device action payload. Thus, with # JSON "execution": [ { "command": "action.devices.commands.SelectChannel", "params": { "channels": [{ "channelName": "exampleChannel", "channelCode": "1-1" }] } } ] as the original action result, then the final result would look like "intent:/#Intent;...;my_extra=\"1-1\";end"
  4. localDisabled (type: boolean(), default: nil)
    - If this field is set, then local execution capability is disabled for all matching intents.
  5. localExecutionType (type: String.t, default: nil)
    - Specifies how to execute this Action when it is invoked locally (from the same device.)
  6. remoteDisabled (type: boolean(), default: nil)
    - If this field is set, then remote execution capability is disabled for all matching intents.
  7. remoteExecutionType (type: String.t, default: nil)
    - Specifies how to execute this Action when it is invoked remotely (from a different device.)

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig{
cloudEndpointName: String.t() | nil,
cloudIntentTranslationDisabled: boolean() | nil,
intentCommandFormat: String.t() | nil,
localDisabled: boolean() | nil,
localExecutionType: String.t() | nil,
remoteDisabled: boolean() | nil,
remoteExecutionType: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AssistantDevicesPlatformProtoExecutionConfig