Class: Google::Apis::MybusinesslodgingV1::HealthAndSafety
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::HealthAndSafety
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinesslodging_v1/classes.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb,
lib/google/apis/mybusinesslodging_v1/representations.rb
Overview
Health and safety measures implemented by the hotel during COVID-19.
Instance Attribute Summary collapse
-
#enhanced_cleaning ⇒ Google::Apis::MybusinesslodgingV1::EnhancedCleaning
Enhanced cleaning measures implemented by the hotel during COVID-19.
-
#increased_food_safety ⇒ Google::Apis::MybusinesslodgingV1::IncreasedFoodSafety
Increased food safety measures implemented by the hotel during COVID-19.
-
#minimized_contact ⇒ Google::Apis::MybusinesslodgingV1::MinimizedContact
Minimized contact measures implemented by the hotel during COVID-19.
-
#personal_protection ⇒ Google::Apis::MybusinesslodgingV1::PersonalProtection
Personal protection measures implemented by the hotel during COVID-19.
-
#physical_distancing ⇒ Google::Apis::MybusinesslodgingV1::PhysicalDistancing
Physical distancing measures implemented by the hotel during COVID-19.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HealthAndSafety
constructor
A new instance of HealthAndSafety.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HealthAndSafety
Returns a new instance of HealthAndSafety.
1096 1097 1098 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1096 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enhanced_cleaning ⇒ Google::Apis::MybusinesslodgingV1::EnhancedCleaning
Enhanced cleaning measures implemented by the hotel during COVID-19.
Corresponds to the JSON property enhancedCleaning
1074 1075 1076 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1074 def enhanced_cleaning @enhanced_cleaning end |
#increased_food_safety ⇒ Google::Apis::MybusinesslodgingV1::IncreasedFoodSafety
Increased food safety measures implemented by the hotel during COVID-19.
Corresponds to the JSON property increasedFoodSafety
1079 1080 1081 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1079 def increased_food_safety @increased_food_safety end |
#minimized_contact ⇒ Google::Apis::MybusinesslodgingV1::MinimizedContact
Minimized contact measures implemented by the hotel during COVID-19.
Corresponds to the JSON property minimizedContact
1084 1085 1086 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1084 def minimized_contact @minimized_contact end |
#personal_protection ⇒ Google::Apis::MybusinesslodgingV1::PersonalProtection
Personal protection measures implemented by the hotel during COVID-19.
Corresponds to the JSON property personalProtection
1089 1090 1091 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1089 def personal_protection @personal_protection end |
#physical_distancing ⇒ Google::Apis::MybusinesslodgingV1::PhysicalDistancing
Physical distancing measures implemented by the hotel during COVID-19.
Corresponds to the JSON property physicalDistancing
1094 1095 1096 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1094 def physical_distancing @physical_distancing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1101 1102 1103 1104 1105 1106 1107 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1101 def update!(**args) @enhanced_cleaning = args[:enhanced_cleaning] if args.key?(:enhanced_cleaning) @increased_food_safety = args[:increased_food_safety] if args.key?(:increased_food_safety) @minimized_contact = args[:minimized_contact] if args.key?(:minimized_contact) @personal_protection = args[:personal_protection] if args.key?(:personal_protection) @physical_distancing = args[:physical_distancing] if args.key?(:physical_distancing) end |