Class: Google::Apis::MybusinesslodgingV1::Lodging

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Lodging

Returns a new instance of Lodging.



2617
2618
2619
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2617

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

Instance Attribute Details

#accessibilityGoogle::Apis::MybusinesslodgingV1::Accessibility

Physical adaptations made to the property in consideration of varying levels of human physical ability. Corresponds to the JSON property accessibility



2498
2499
2500
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2498

def accessibility
  @accessibility
end

#activitiesGoogle::Apis::MybusinesslodgingV1::Activities

Amenities and features related to leisure and play. Corresponds to the JSON property activities



2503
2504
2505
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2503

def activities
  @activities
end

#all_unitsGoogle::Apis::MybusinesslodgingV1::GuestUnitFeatures

Features and available amenities in the guest unit. Corresponds to the JSON property allUnits



2508
2509
2510
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2508

def all_units
  @all_units
end

#businessGoogle::Apis::MybusinesslodgingV1::Business

Features of the property of specific interest to the business traveler. Corresponds to the JSON property business



2513
2514
2515
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2513

def business
  @business
end

#common_living_areaGoogle::Apis::MybusinesslodgingV1::LivingArea

An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit. Corresponds to the JSON property commonLivingArea



2519
2520
2521
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2519

def common_living_area
  @common_living_area
end

#connectivityGoogle::Apis::MybusinesslodgingV1::Connectivity

The ways in which the property provides guests with the ability to access the internet. Corresponds to the JSON property connectivity



2525
2526
2527
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2525

def connectivity
  @connectivity
end

#familiesGoogle::Apis::MybusinesslodgingV1::Families

Services and amenities for families and young guests. Corresponds to the JSON property families



2530
2531
2532
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2530

def families
  @families
end

#food_and_drinkGoogle::Apis::MybusinesslodgingV1::FoodAndDrink

Meals, snacks, and beverages available at the property. Corresponds to the JSON property foodAndDrink



2535
2536
2537
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2535

def food_and_drink
  @food_and_drink
end

#guest_unitsArray<Google::Apis::MybusinesslodgingV1::GuestUnitType>

Individual GuestUnitTypes that are available in this Lodging. Corresponds to the JSON property guestUnits



2540
2541
2542
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2540

def guest_units
  @guest_units
end

#health_and_safetyGoogle::Apis::MybusinesslodgingV1::HealthAndSafety

Health and safety measures implemented by the hotel during COVID-19. Corresponds to the JSON property healthAndSafety



2545
2546
2547
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2545

def health_and_safety
  @health_and_safety
end

#housekeepingGoogle::Apis::MybusinesslodgingV1::Housekeeping

Conveniences provided in guest units to facilitate an easier, more comfortable stay. Corresponds to the JSON property housekeeping



2551
2552
2553
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2551

def housekeeping
  @housekeeping
end

#metadataGoogle::Apis::MybusinesslodgingV1::LodgingMetadata

Metadata for the Lodging. Corresponds to the JSON property metadata



2556
2557
2558
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2556

def 
  @metadata
end

#nameString

Required. Google identifier for this location in the form: locations/ location_id/lodging Corresponds to the JSON property name

Returns:

  • (String)


2562
2563
2564
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2562

def name
  @name
end

#parkingGoogle::Apis::MybusinesslodgingV1::Parking

Parking options at the property. Corresponds to the JSON property parking



2567
2568
2569
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2567

def parking
  @parking
end

#petsGoogle::Apis::MybusinesslodgingV1::Pets

Policies regarding guest-owned animals. Corresponds to the JSON property pets



2572
2573
2574
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2572

def pets
  @pets
end

#policiesGoogle::Apis::MybusinesslodgingV1::Policies

Property rules that impact guests. Corresponds to the JSON property policies



2577
2578
2579
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2577

def policies
  @policies
end

#poolsGoogle::Apis::MybusinesslodgingV1::Pools

Swimming pool or recreational water facilities available at the hotel. Corresponds to the JSON property pools



2582
2583
2584
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2582

def pools
  @pools
end

#propertyGoogle::Apis::MybusinesslodgingV1::Property

General factual information about the property's physical structure and important dates. Corresponds to the JSON property property



2588
2589
2590
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2588

def property
  @property
end

#servicesGoogle::Apis::MybusinesslodgingV1::Services

Conveniences or help provided by the property to facilitate an easier, more comfortable stay. Corresponds to the JSON property services



2594
2595
2596
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2594

def services
  @services
end

#some_unitsGoogle::Apis::MybusinesslodgingV1::GuestUnitFeatures

Features and available amenities in the guest unit. Corresponds to the JSON property someUnits



2599
2600
2601
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2599

def some_units
  @some_units
end

#sustainabilityGoogle::Apis::MybusinesslodgingV1::Sustainability

Sustainability practices implemented at the hotel. Corresponds to the JSON property sustainability



2604
2605
2606
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2604

def sustainability
  @sustainability
end

#transportationGoogle::Apis::MybusinesslodgingV1::Transportation

Vehicles or vehicular services facilitated or owned by the property. Corresponds to the JSON property transportation



2609
2610
2611
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2609

def transportation
  @transportation
end

#wellnessGoogle::Apis::MybusinesslodgingV1::Wellness

Guest facilities at the property to promote or maintain health, beauty, and fitness. Corresponds to the JSON property wellness



2615
2616
2617
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2615

def wellness
  @wellness
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
# File 'lib/google/apis/mybusinesslodging_v1/classes.rb', line 2622

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