Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView Class Reference
Inheritance diagram for homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView:
[legend]
Collaboration diagram for homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView:
[legend]

Public Member Functions

None __init__ (self, InMemoryStorage mem_storage)
 
web.Response get (self, web.Request request, str filename)
 

Static Public Attributes

string name = "api:google_assistant_sdk:audio"
 
bool requires_auth = True
 
string url = "/api/google_assistant_sdk/audio/{filename}"
 

Detailed Description

Google Assistant SDK view to serve audio responses.

Definition at line 173 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView.__init__ (   self,
InMemoryStorage  mem_storage 
)
Initialize GoogleAssistantSDKView.

Definition at line 180 of file helpers.py.

Member Function Documentation

◆ get()

web.Response homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView.get (   self,
web.Request  request,
str  filename 
)
Start a get request.

Definition at line 184 of file helpers.py.

Member Data Documentation

◆ name

string homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView.name = "api:google_assistant_sdk:audio"
static

Definition at line 178 of file helpers.py.

◆ requires_auth

bool homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView.requires_auth = True
static

Definition at line 176 of file helpers.py.

◆ url

string homeassistant.components.google_assistant_sdk.helpers.GoogleAssistantSDKAudioView.url = "/api/google_assistant_sdk/audio/{filename}"
static

Definition at line 177 of file helpers.py.


The documentation for this class was generated from the following file: