Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google.const .FeatureAccess Class Reference
Inheritance diagram for homeassistant.components.google.const .FeatureAccess:
[legend]
Collaboration diagram for homeassistant.components.google.const .FeatureAccess:
[legend]

Public Member Functions

None __init__ (self, str scope)
 
str scope (self)
 

Static Public Attributes

string read_only = "https://www.googleapis.com/auth/calendar.readonly"
 
string read_write = "https://www.googleapis.com/auth/calendar"
 

Private Attributes

 _scope
 

Detailed Description

Class to represent different access scopes.

Definition at line 17 of file const.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.google.const .FeatureAccess.__init__ (   self,
str  scope 
)
Init instance.

Definition at line 23 of file const.py.

Member Function Documentation

◆ scope()

str homeassistant.components.google.const .FeatureAccess.scope (   self)
Google calendar scope for the feature.

Definition at line 28 of file const.py.

Member Data Documentation

◆ _scope

homeassistant.components.google.const .FeatureAccess._scope
private

Definition at line 25 of file const.py.

◆ read_only

string homeassistant.components.google.const .FeatureAccess.read_only = "https://www.googleapis.com/auth/calendar.readonly"
static

Definition at line 20 of file const.py.

◆ read_write

string homeassistant.components.google.const .FeatureAccess.read_write = "https://www.googleapis.com/auth/calendar"
static

Definition at line 21 of file const.py.


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