Class: Google::Apis::CalendarV3::Setting
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::Setting
- Defined in:
- generated/google/apis/calendar_v3/classes.rb,
generated/google/apis/calendar_v3/representations.rb,
generated/google/apis/calendar_v3/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of the resource.
-
#id ⇒ String
The id of the user setting.
-
#kind ⇒ String
Type of the resource ("calendar#setting").
-
#value ⇒ String
Value of the user setting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Setting
constructor
A new instance of Setting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Setting
Returns a new instance of Setting
1860 1861 1862 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of the resource.
Corresponds to the JSON property etag
1842 1843 1844 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1842 def etag @etag end |
#id ⇒ String
The id of the user setting.
Corresponds to the JSON property id
1847 1848 1849 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1847 def id @id end |
#kind ⇒ String
Type of the resource ("calendar#setting").
Corresponds to the JSON property kind
1852 1853 1854 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1852 def kind @kind end |
#value ⇒ String
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
1858 1859 1860 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1858 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1865 1866 1867 1868 1869 1870 |
# File 'generated/google/apis/calendar_v3/classes.rb', line 1865 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 |