Settings
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: locale - The key to the user’s language/locale (BCP 47 identifier) that Glassware should use to render localized content. timezone - The key to the user’s current time zone region as defined in the tz database. Example: America/Los_Angeles . |
|
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["Resource representations for Glass settings include an `id`, `kind`, and `value`."],["The `id` can be `locale` to indicate the user's language or `timezone` for their time zone."],["The `kind` is always `mirror#setting` to identify the resource type."],["The `value` represents the setting's specific content as a string."],["Developers can utilize the `get` method to retrieve a single setting by its ID."]]],[]]