AI-generated Key Takeaways
-
A Glass setting resource is represented by a JSON object with
kind,id, andvalueproperties. -
Valid setting IDs include
localefor the user's language andtimezonefor the user's time zone. -
The
kindproperty for a Glass setting resource is alwaysmirror#setting. -
The
valueproperty holds the setting's value as a string. -
The
getmethod allows retrieving a single setting by its ID.
For a list of methods for this resource, see the end of this page.
Resource representations
A setting for Glass.
{
"kind": "mirror#setting",
"id": string,
"value": string
}| Property name | Value | Description | Notes |
|---|---|---|---|
id |
string |
The setting's ID. The following IDs are valid:
|
|
kind |
string |
The type of resource. This is always mirror#setting. |
|
value |
string |
The setting value, as a string. |
Methods
- get
- Gets a single setting by ID.