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

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

Attributes

  • 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.
  • 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.
  • 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"
  • localDisabled (type: boolean(), default: nil) - If this field is set, then local execution capability is disabled for all matching intents.
  • localExecutionType (type: String.t, default: nil) - Specifies how to execute this Action when it is invoked locally (from the same device.)
  • remoteDisabled (type: boolean(), default: nil) - If this field is set, then remote execution capability is disabled for all matching intents.
  • remoteExecutionType (type: String.t, default: nil) - Specifies how to execute this Action when it is invoked remotely (from a different device.)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.