class Google::Apis::MybusinesslodgingV1::Lodging

Lodging of a location that provides accomodations.

Attributes

accessibility[RW]

Physical adaptations made to the property in consideration of varying levels of human physical ability. Corresponds to the JSON property `accessibility` @return [Google::Apis::MybusinesslodgingV1::Accessibility]

activities[RW]

Amenities and features related to leisure and play. Corresponds to the JSON property `activities` @return [Google::Apis::MybusinesslodgingV1::Activities]

all_units[RW]

Features and available amenities in the guest unit. Corresponds to the JSON property `allUnits` @return [Google::Apis::MybusinesslodgingV1::GuestUnitFeatures]

business[RW]

Features of the property of specific interest to the business traveler. Corresponds to the JSON property `business` @return [Google::Apis::MybusinesslodgingV1::Business]

common_living_area[RW]

An individual room, such as kitchen, bathroom, bedroom, within a bookable guest unit. Corresponds to the JSON property `commonLivingArea` @return [Google::Apis::MybusinesslodgingV1::LivingArea]

connectivity[RW]

The ways in which the property provides guests with the ability to access the internet. Corresponds to the JSON property `connectivity` @return [Google::Apis::MybusinesslodgingV1::Connectivity]

families[RW]

Services and amenities for families and young guests. Corresponds to the JSON property `families` @return [Google::Apis::MybusinesslodgingV1::Families]

food_and_drink[RW]

Meals, snacks, and beverages available at the property. Corresponds to the JSON property `foodAndDrink` @return [Google::Apis::MybusinesslodgingV1::FoodAndDrink]

guest_units[RW]

Individual GuestUnitTypes that are available in this Lodging. Corresponds to the JSON property `guestUnits` @return [Array<Google::Apis::MybusinesslodgingV1::GuestUnitType>]

health_and_safety[RW]

Health and safety measures implemented by the hotel during COVID-19. Corresponds to the JSON property `healthAndSafety` @return [Google::Apis::MybusinesslodgingV1::HealthAndSafety]

housekeeping[RW]

Conveniences provided in guest units to facilitate an easier, more comfortable stay. Corresponds to the JSON property `housekeeping` @return [Google::Apis::MybusinesslodgingV1::Housekeeping]

metadata[RW]

Metadata for the Lodging. Corresponds to the JSON property `metadata` @return [Google::Apis::MybusinesslodgingV1::LodgingMetadata]

name[RW]

Required. Google identifier for this location in the form: `locations/` location_id`/lodging` Corresponds to the JSON property `name` @return [String]

parking[RW]

Parking options at the property. Corresponds to the JSON property `parking` @return [Google::Apis::MybusinesslodgingV1::Parking]

pets[RW]

Policies regarding guest-owned animals. Corresponds to the JSON property `pets` @return [Google::Apis::MybusinesslodgingV1::Pets]

policies[RW]

Property rules that impact guests. Corresponds to the JSON property `policies` @return [Google::Apis::MybusinesslodgingV1::Policies]

pools[RW]

Swimming pool or recreational water facilities available at the hotel. Corresponds to the JSON property `pools` @return [Google::Apis::MybusinesslodgingV1::Pools]

property[RW]

General factual information about the property's physical structure and important dates. Corresponds to the JSON property `property` @return [Google::Apis::MybusinesslodgingV1::Property]

services[RW]

Conveniences or help provided by the property to facilitate an easier, more comfortable stay. Corresponds to the JSON property `services` @return [Google::Apis::MybusinesslodgingV1::Services]

some_units[RW]

Features and available amenities in the guest unit. Corresponds to the JSON property `someUnits` @return [Google::Apis::MybusinesslodgingV1::GuestUnitFeatures]

transportation[RW]

Vehicles or vehicular services facilitated or owned by the property. Corresponds to the JSON property `transportation` @return [Google::Apis::MybusinesslodgingV1::Transportation]

wellness[RW]

Guest facilities at the property to promote or maintain health, beauty, and fitness. Corresponds to the JSON property `wellness` @return [Google::Apis::MybusinesslodgingV1::Wellness]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2429
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 2434
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)
  @transportation = args[:transportation] if args.key?(:transportation)
  @wellness = args[:wellness] if args.key?(:wellness)
end