Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.google_photos.const Namespace Reference

Variables

string DOMAIN = "google_photos"
 
string OAUTH2_AUTHORIZE = "https://accounts.google.com/o/oauth2/v2/auth"
 
list OAUTH2_SCOPES
 
string OAUTH2_TOKEN = "https://oauth2.googleapis.com/token"
 
string READ_SCOPE = "https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata"
 
string UPLOAD_SCOPE = "https://www.googleapis.com/auth/photoslibrary.appendonly"
 

Detailed Description

Constants for the Google Photos integration.

Variable Documentation

◆ DOMAIN

string homeassistant.components.google_photos.const.DOMAIN = "google_photos"

Definition at line 3 of file const.py.

◆ OAUTH2_AUTHORIZE

string homeassistant.components.google_photos.const.OAUTH2_AUTHORIZE = "https://accounts.google.com/o/oauth2/v2/auth"

Definition at line 5 of file const.py.

◆ OAUTH2_SCOPES

list homeassistant.components.google_photos.const.OAUTH2_SCOPES
Initial value:
1 = [
2  READ_SCOPE,
3  UPLOAD_SCOPE,
4  "https://www.googleapis.com/auth/userinfo.profile",
5 ]

Definition at line 10 of file const.py.

◆ OAUTH2_TOKEN

string homeassistant.components.google_photos.const.OAUTH2_TOKEN = "https://oauth2.googleapis.com/token"

Definition at line 6 of file const.py.

◆ READ_SCOPE

string homeassistant.components.google_photos.const.READ_SCOPE = "https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata"

Definition at line 9 of file const.py.

◆ UPLOAD_SCOPE

string homeassistant.components.google_photos.const.UPLOAD_SCOPE = "https://www.googleapis.com/auth/photoslibrary.appendonly"

Definition at line 8 of file const.py.