class Google::Apis::MirrorV1::Setting

A setting for Glass.

Attributes

id[RW]

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. Corresponds to the JSON property `id` @return [String]

kind[RW]

The type of resource. This is always mirror#setting. Corresponds to the JSON property `kind` @return [String]

value[RW]

The setting value, as a string. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/mirror_v1/classes.rb, line 624
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/mirror_v1/classes.rb, line 629
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @kind = args[:kind] if args.key?(:kind)
  @value = args[:value] if args.key?(:value)
end