Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_assistant.helpers.RequestData Class Reference

Public Member Functions

None __init__ (self, AbstractConfig config, str user_id, str source, str request_id, list[dict]|None devices)
 
def is_local_request (self)
 

Public Attributes

 config
 
 context
 
 devices
 
 request_id
 
 source
 

Detailed Description

Hold data associated with a particular request.

Definition at line 467 of file helpers.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.google_assistant.helpers.RequestData.__init__ (   self,
AbstractConfig  config,
str  user_id,
str  source,
str  request_id,
list[dict] | None  devices 
)
Initialize the request data.

Definition at line 470 of file helpers.py.

Member Function Documentation

◆ is_local_request()

def homeassistant.components.google_assistant.helpers.RequestData.is_local_request (   self)
Return if this is a local request.

Definition at line 486 of file helpers.py.

Member Data Documentation

◆ config

homeassistant.components.google_assistant.helpers.RequestData.config

Definition at line 479 of file helpers.py.

◆ context

homeassistant.components.google_assistant.helpers.RequestData.context

Definition at line 482 of file helpers.py.

◆ devices

homeassistant.components.google_assistant.helpers.RequestData.devices

Definition at line 483 of file helpers.py.

◆ request_id

homeassistant.components.google_assistant.helpers.RequestData.request_id

Definition at line 481 of file helpers.py.

◆ source

homeassistant.components.google_assistant.helpers.RequestData.source

Definition at line 480 of file helpers.py.


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