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.
1279 1280 1281 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1279 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
1257 1258 1259 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1257 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
1262 1263 1264 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1262 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
1267 1268 1269 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1267 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
1272 1273 1274 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1272 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
1277 1278 1279 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1277 def physical_distancing @physical_distancing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1284 1285 1286 1287 1288 1289 1290 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 1284 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 |