Class: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/calendar_v3/classes.rb,
lib/google/apis/calendar_v3/representations.rb,
lib/google/apis/calendar_v3/representations.rb
Overview
If present, specifies that the user is working from a custom location.
Instance Attribute Summary collapse
-
#label ⇒ String
An optional extra label for additional information.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomLocation
constructor
A new instance of CustomLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomLocation
Returns a new instance of CustomLocation.
1876 1877 1878 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1876 def initialize(**args) update!(**args) end |
Instance Attribute Details
#label ⇒ String
An optional extra label for additional information.
Corresponds to the JSON property label
1874 1875 1876 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1874 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1881 1882 1883 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1881 def update!(**args) @label = args[:label] if args.key?(:label) end |