class Google::Apis::MybusinesslodgingV1::LanguageSpoken

Language spoken by at least one staff member.

Attributes

language_code[RW]

Required. The BCP-47 language code for the spoken language. Currently accepted codes: ar, de, en, es, fil, fr, hi, id, it, ja, ko, nl, pt, ru, vi, yue, zh. Corresponds to the JSON property `languageCode` @return [String]

spoken[RW]

At least one member of the staff can speak the language. Corresponds to the JSON property `spoken` @return [Boolean]

spoken?[RW]

At least one member of the staff can speak the language. Corresponds to the JSON property `spoken` @return [Boolean]

spoken_exception[RW]

Spoken exception. Corresponds to the JSON property `spokenException` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/mybusinesslodging_v1/classes.rb, line 1266
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 1271
def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
  @spoken = args[:spoken] if args.key?(:spoken)
  @spoken_exception = args[:spoken_exception] if args.key?(:spoken_exception)
end