Class: Google::Apis::MybusinesslodgingV1::Lodging
- Inherits:
-
Object
- Object
- Google::Apis::MybusinesslodgingV1::Lodging
- 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
Lodging of a location that provides accomodations.
Instance Attribute Summary collapse
-
#accessibility ⇒ Google::Apis::MybusinesslodgingV1::Accessibility
Physical adaptations made to the property in consideration of varying levels of human physical ability.
-
#activities ⇒ Google::Apis::MybusinesslodgingV1::Activities
Amenities and features related to leisure and play.
-
#all_units ⇒ Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
Features and available amenities in the guest unit.
-
#business ⇒ Google::Apis::MybusinesslodgingV1::Business
Features of the property of specific interest to the business traveler.
-
#common_living_area ⇒ Google::Apis::MybusinesslodgingV1::LivingArea
An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit.
-
#connectivity ⇒ Google::Apis::MybusinesslodgingV1::Connectivity
The ways in which the property provides guests with the ability to access the internet.
-
#families ⇒ Google::Apis::MybusinesslodgingV1::Families
Services and amenities for families and young guests.
-
#food_and_drink ⇒ Google::Apis::MybusinesslodgingV1::FoodAndDrink
Meals, snacks, and beverages available at the property.
-
#guest_units ⇒ Array<Google::Apis::MybusinesslodgingV1::GuestUnitType>
Individual GuestUnitTypes that are available in this Lodging.
-
#health_and_safety ⇒ Google::Apis::MybusinesslodgingV1::HealthAndSafety
Health and safety measures implemented by the hotel during COVID-19.
-
#housekeeping ⇒ Google::Apis::MybusinesslodgingV1::Housekeeping
Conveniences provided in guest units to facilitate an easier, more comfortable stay.
-
#metadata ⇒ Google::Apis::MybusinesslodgingV1::LodgingMetadata
Metadata for the Lodging.
-
#name ⇒ String
Required.
-
#parking ⇒ Google::Apis::MybusinesslodgingV1::Parking
Parking options at the property.
-
#pets ⇒ Google::Apis::MybusinesslodgingV1::Pets
Policies regarding guest-owned animals.
-
#policies ⇒ Google::Apis::MybusinesslodgingV1::Policies
Property rules that impact guests.
-
#pools ⇒ Google::Apis::MybusinesslodgingV1::Pools
Swimming pool or recreational water facilities available at the hotel.
-
#property ⇒ Google::Apis::MybusinesslodgingV1::Property
General factual information about the property's physical structure and important dates.
-
#services ⇒ Google::Apis::MybusinesslodgingV1::Services
Conveniences or help provided by the property to facilitate an easier, more comfortable stay.
-
#some_units ⇒ Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
Features and available amenities in the guest unit.
-
#sustainability ⇒ Google::Apis::MybusinesslodgingV1::Sustainability
Sustainability practices implemented at the hotel.
-
#transportation ⇒ Google::Apis::MybusinesslodgingV1::Transportation
Vehicles or vehicular services facilitated or owned by the property.
-
#wellness ⇒ Google::Apis::MybusinesslodgingV1::Wellness
Guest facilities at the property to promote or maintain health, beauty, and fitness.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Lodging
constructor
A new instance of Lodging.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Lodging
Returns a new instance of Lodging.
2619 2620 2621 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accessibility ⇒ Google::Apis::MybusinesslodgingV1::Accessibility
Physical adaptations made to the property in consideration of varying levels
of human physical ability.
Corresponds to the JSON property accessibility
2500 2501 2502 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2500 def accessibility @accessibility end |
#activities ⇒ Google::Apis::MybusinesslodgingV1::Activities
Amenities and features related to leisure and play.
Corresponds to the JSON property activities
2505 2506 2507 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2505 def activities @activities end |
#all_units ⇒ Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
Features and available amenities in the guest unit.
Corresponds to the JSON property allUnits
2510 2511 2512 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2510 def all_units @all_units end |
#business ⇒ Google::Apis::MybusinesslodgingV1::Business
Features of the property of specific interest to the business traveler.
Corresponds to the JSON property business
2515 2516 2517 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2515 def business @business end |
#common_living_area ⇒ Google::Apis::MybusinesslodgingV1::LivingArea
An individual room, such as kitchen, bathroom, bedroom, within a bookable
guest unit.
Corresponds to the JSON property commonLivingArea
2521 2522 2523 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2521 def common_living_area @common_living_area end |
#connectivity ⇒ Google::Apis::MybusinesslodgingV1::Connectivity
The ways in which the property provides guests with the ability to access the
internet.
Corresponds to the JSON property connectivity
2527 2528 2529 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2527 def connectivity @connectivity end |
#families ⇒ Google::Apis::MybusinesslodgingV1::Families
Services and amenities for families and young guests.
Corresponds to the JSON property families
2532 2533 2534 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2532 def families @families end |
#food_and_drink ⇒ Google::Apis::MybusinesslodgingV1::FoodAndDrink
Meals, snacks, and beverages available at the property.
Corresponds to the JSON property foodAndDrink
2537 2538 2539 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2537 def food_and_drink @food_and_drink end |
#guest_units ⇒ Array<Google::Apis::MybusinesslodgingV1::GuestUnitType>
Individual GuestUnitTypes that are available in this Lodging.
Corresponds to the JSON property guestUnits
2542 2543 2544 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2542 def guest_units @guest_units end |
#health_and_safety ⇒ Google::Apis::MybusinesslodgingV1::HealthAndSafety
Health and safety measures implemented by the hotel during COVID-19.
Corresponds to the JSON property healthAndSafety
2547 2548 2549 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2547 def health_and_safety @health_and_safety end |
#housekeeping ⇒ Google::Apis::MybusinesslodgingV1::Housekeeping
Conveniences provided in guest units to facilitate an easier, more comfortable
stay.
Corresponds to the JSON property housekeeping
2553 2554 2555 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2553 def housekeeping @housekeeping end |
#metadata ⇒ Google::Apis::MybusinesslodgingV1::LodgingMetadata
Metadata for the Lodging.
Corresponds to the JSON property metadata
2558 2559 2560 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2558 def @metadata end |
#name ⇒ String
Required. Google identifier for this location in the form: locations/
location_id/lodging
Corresponds to the JSON property name
2564 2565 2566 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2564 def name @name end |
#parking ⇒ Google::Apis::MybusinesslodgingV1::Parking
Parking options at the property.
Corresponds to the JSON property parking
2569 2570 2571 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2569 def parking @parking end |
#pets ⇒ Google::Apis::MybusinesslodgingV1::Pets
Policies regarding guest-owned animals.
Corresponds to the JSON property pets
2574 2575 2576 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2574 def pets @pets end |
#policies ⇒ Google::Apis::MybusinesslodgingV1::Policies
Property rules that impact guests.
Corresponds to the JSON property policies
2579 2580 2581 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2579 def policies @policies end |
#pools ⇒ Google::Apis::MybusinesslodgingV1::Pools
Swimming pool or recreational water facilities available at the hotel.
Corresponds to the JSON property pools
2584 2585 2586 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2584 def pools @pools end |
#property ⇒ Google::Apis::MybusinesslodgingV1::Property
General factual information about the property's physical structure and
important dates.
Corresponds to the JSON property property
2590 2591 2592 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2590 def property @property end |
#services ⇒ Google::Apis::MybusinesslodgingV1::Services
Conveniences or help provided by the property to facilitate an easier, more
comfortable stay.
Corresponds to the JSON property services
2596 2597 2598 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2596 def services @services end |
#some_units ⇒ Google::Apis::MybusinesslodgingV1::GuestUnitFeatures
Features and available amenities in the guest unit.
Corresponds to the JSON property someUnits
2601 2602 2603 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2601 def some_units @some_units end |
#sustainability ⇒ Google::Apis::MybusinesslodgingV1::Sustainability
Sustainability practices implemented at the hotel.
Corresponds to the JSON property sustainability
2606 2607 2608 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2606 def sustainability @sustainability end |
#transportation ⇒ Google::Apis::MybusinesslodgingV1::Transportation
Vehicles or vehicular services facilitated or owned by the property.
Corresponds to the JSON property transportation
2611 2612 2613 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2611 def transportation @transportation end |
#wellness ⇒ Google::Apis::MybusinesslodgingV1::Wellness
Guest facilities at the property to promote or maintain health, beauty, and
fitness.
Corresponds to the JSON property wellness
2617 2618 2619 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2617 def wellness @wellness end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 |
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2624 def update!(**args) @accessibility = args[:accessibility] if args.key?(:accessibility) @activities = args[:activities] if args.key?(:activities) @all_units = args[:all_units] if args.key?(:all_units) @business = args[:business] if args.key?(:business) @common_living_area = args[:common_living_area] if args.key?(:common_living_area) @connectivity = args[:connectivity] if args.key?(:connectivity) @families = args[:families] if args.key?(:families) @food_and_drink = args[:food_and_drink] if args.key?(:food_and_drink) @guest_units = args[:guest_units] if args.key?(:guest_units) @health_and_safety = args[:health_and_safety] if args.key?(:health_and_safety) @housekeeping = args[:housekeeping] if args.key?(:housekeeping) @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @parking = args[:parking] if args.key?(:parking) @pets = args[:pets] if args.key?(:pets) @policies = args[:policies] if args.key?(:policies) @pools = args[:pools] if args.key?(:pools) @property = args[:property] if args.key?(:property) @services = args[:services] if args.key?(:services) @some_units = args[:some_units] if args.key?(:some_units) @sustainability = args[:sustainability] if args.key?(:sustainability) @transportation = args[:transportation] if args.key?(:transportation) @wellness = args[:wellness] if args.key?(:wellness) end |