Class: Google::Apis::CloudsearchV1::PhoneAccess
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PhoneAccess
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Phone access contains information required to dial into a conference using a regional phone number and a PIN that is specific to that phone number.
Instance Attribute Summary collapse
-
#formatted_phone_number ⇒ String
The phone number to dial for this meeting space in INTERNATIONAL format.
-
#language_code ⇒ String
The BCP 47/LDML language code for the language associated with this phone access.
-
#phone_number ⇒ String
The phone number to dial for this meeting space in E.164 format.
-
#pin ⇒ String
The PIN that users must enter after dialing the given number.
-
#region_code ⇒ String
The CLDR/ISO 3166 region code for the country associated with this phone access.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PhoneAccess
constructor
A new instance of PhoneAccess.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PhoneAccess
Returns a new instance of PhoneAccess.
12536 12537 12538 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12536 def initialize(**args) update!(**args) end |
Instance Attribute Details
#formatted_phone_number ⇒ String
The phone number to dial for this meeting space in INTERNATIONAL format. Full
phone number with a leading '+' character and whitespace separations.
Corresponds to the JSON property formattedPhoneNumber
12509 12510 12511 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12509 def formatted_phone_number @formatted_phone_number end |
#language_code ⇒ String
The BCP 47/LDML language code for the language associated with this phone
access. To be parsed by the i18n LanguageCode utility. Examples: "es-419" for
Latin American Spanish, "fr-CA" for Canadian French.
Corresponds to the JSON property languageCode
12516 12517 12518 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12516 def language_code @language_code end |
#phone_number ⇒ String
The phone number to dial for this meeting space in E.164 format. Full phone
number with a leading '+' character.
Corresponds to the JSON property phoneNumber
12522 12523 12524 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12522 def phone_number @phone_number end |
#pin ⇒ String
The PIN that users must enter after dialing the given number. The PIN consists
of only decimal digits and the length may vary.
Corresponds to the JSON property pin
12528 12529 12530 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12528 def pin @pin end |
#region_code ⇒ String
The CLDR/ISO 3166 region code for the country associated with this phone
access. To be parsed by the i18n RegionCode utility. Example: "SE" for Sweden.
Corresponds to the JSON property regionCode
12534 12535 12536 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12534 def region_code @region_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12541 12542 12543 12544 12545 12546 12547 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 12541 def update!(**args) @formatted_phone_number = args[:formatted_phone_number] if args.key?(:formatted_phone_number) @language_code = args[:language_code] if args.key?(:language_code) @phone_number = args[:phone_number] if args.key?(:phone_number) @pin = args[:pin] if args.key?(:pin) @region_code = args[:region_code] if args.key?(:region_code) end |