View Source GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ResponseConfig (google_api_content_warehouse v0.3.0)

Configuration for the response. Next Id: 11

Attributes

  • audioOutConfig (type: GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1AudioOutConfig.t, default: nil) - Specifies the current audio mode on the device.
  • deviceConfig (type: GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1DeviceConfig.t, default: nil) - Configuration related to a specific device.
  • deviceInteraction (type: String.t, default: nil) - The client interaction to be sent to Assistant. This is a assistant.embedded.v1.DeviceInteraction message in serialized binary proto format.
  • deviceState (type: GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1DeviceState.t, default: nil) - Device state to pass to the Assistant server to use in calculating the response.
  • initialAudioBytes (type: integer(), default: nil) - Specifies the initial bytes of TTS audio to send.
  • isNewConversation (type: boolean(), default: nil) - If true, the server will treat the request as a new conversation and not use state from the prior request. Set this field to true when the conversation should be restarted, such as after a device reboot, or after a significant lapse of time since the prior query.
  • outputSampleRateHz (type: integer(), default: nil) - Specifies the desired audio sample rate of the output TTS stream in Hz.
  • responseType (type: String.t, default: nil) - Specifies the requested response type.
  • screenOutConfig (type: GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ScreenOutConfig.t, default: nil) - Specifies the desired format to use when server returns a visual screen response.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ResponseConfig{
    audioOutConfig:
      GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1AudioOutConfig.t()
      | nil,
    deviceConfig:
      GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1DeviceConfig.t()
      | nil,
    deviceInteraction: String.t() | nil,
    deviceState:
      GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1DeviceState.t()
      | nil,
    initialAudioBytes: integer() | nil,
    isNewConversation: boolean() | nil,
    outputSampleRateHz: integer() | nil,
    responseType: String.t() | nil,
    screenOutConfig:
      GoogleApi.ContentWarehouse.V1.Model.GoogleAssistantAccessoryV1ScreenOutConfig.t()
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.