Class: Google::Apis::CalendarV3::EventWorkingLocationProperties::CustomLocation

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomLocation

Returns a new instance of CustomLocation.



2057
2058
2059
# File 'lib/google/apis/calendar_v3/classes.rb', line 2057

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#labelString

An optional extra label for additional information. Corresponds to the JSON property label

Returns:

  • (String)


2055
2056
2057
# File 'lib/google/apis/calendar_v3/classes.rb', line 2055

def label
  @label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2062
2063
2064
# File 'lib/google/apis/calendar_v3/classes.rb', line 2062

def update!(**args)
  @label = args[:label] if args.key?(:label)
end