Class: Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation
- Inherits:
-
Object
- Object
- Google::Apis::CalendarV3::EventWorkingLocationProperties::OfficeLocation
- 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 an office.
Instance Attribute Summary collapse
-
#building_id ⇒ String
An optional building identifier.
-
#desk_id ⇒ String
An optional desk identifier.
-
#floor_id ⇒ String
An optional floor identifier.
-
#floor_section_id ⇒ String
An optional floor section identifier.
-
#label ⇒ String
The office name that's displayed in Calendar Web and Mobile clients.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OfficeLocation
constructor
A new instance of OfficeLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OfficeLocation
Returns a new instance of OfficeLocation.
2007 2008 2009 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2007 def initialize(**args) update!(**args) end |
Instance Attribute Details
#building_id ⇒ String
An optional building identifier. This should reference a building ID in the
organization's Resources database.
Corresponds to the JSON property buildingId
1983 1984 1985 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1983 def building_id @building_id end |
#desk_id ⇒ String
An optional desk identifier.
Corresponds to the JSON property deskId
1988 1989 1990 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1988 def desk_id @desk_id end |
#floor_id ⇒ String
An optional floor identifier.
Corresponds to the JSON property floorId
1993 1994 1995 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1993 def floor_id @floor_id end |
#floor_section_id ⇒ String
An optional floor section identifier.
Corresponds to the JSON property floorSectionId
1998 1999 2000 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 1998 def floor_section_id @floor_section_id end |
#label ⇒ String
The office name that's displayed in Calendar Web and Mobile clients. We
recommend you reference a building name in the organization's Resources
database.
Corresponds to the JSON property label
2005 2006 2007 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2005 def label @label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2012 2013 2014 2015 2016 2017 2018 |
# File 'lib/google/apis/calendar_v3/classes.rb', line 2012 def update!(**args) @building_id = args[:building_id] if args.key?(:building_id) @desk_id = args[:desk_id] if args.key?(:desk_id) @floor_id = args[:floor_id] if args.key?(:floor_id) @floor_section_id = args[:floor_section_id] if args.key?(:floor_section_id) @label = args[:label] if args.key?(:label) end |