class Google::Apis::CalendarV3::Setting

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The id of the user setting. Corresponds to the JSON property `id` @return [String]

kind[RW]

Type of the resource (“calendar#setting”). Corresponds to the JSON property `kind` @return [String]

value[RW]

Value of the user setting. The format of the value depends on the ID of the setting. It must always be a UTF-8 string of length up to 1024 characters. Corresponds to the JSON property `value` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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