Class: Google::Apis::PeopleV1::SipAddress
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::SipAddress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/people_v1/classes.rb,
lib/google/apis/people_v1/representations.rb,
lib/google/apis/people_v1/representations.rb
Overview
A person's SIP address. Session Initial Protocol addresses are used for VoIP communications to make voice or video calls over the internet.
Instance Attribute Summary collapse
-
#formatted_type ⇒ String
Output only.
-
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#type ⇒ String
The type of the SIP address.
-
#value ⇒ String
The SIP address in the RFC 3261 19.1 SIP URI format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SipAddress
constructor
A new instance of SipAddress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SipAddress
Returns a new instance of SipAddress.
2619 2620 2621 |
# File 'lib/google/apis/people_v1/classes.rb', line 2619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#formatted_type ⇒ String
Output only. The type of the SIP address translated and formatted in the
viewer's account locale or the Accept-Language
HTTP header locale.
Corresponds to the JSON property formattedType
2600 2601 2602 |
# File 'lib/google/apis/people_v1/classes.rb', line 2600 def formatted_type @formatted_type end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
2605 2606 2607 |
# File 'lib/google/apis/people_v1/classes.rb', line 2605 def @metadata end |
#type ⇒ String
The type of the SIP address. The type can be custom or or one of these
predefined values: * home
* work
* mobile
* other
Corresponds to the JSON property type
2611 2612 2613 |
# File 'lib/google/apis/people_v1/classes.rb', line 2611 def type @type end |
#value ⇒ String
The SIP address in the RFC 3261 19.1 SIP URI format.
Corresponds to the JSON property value
2617 2618 2619 |
# File 'lib/google/apis/people_v1/classes.rb', line 2617 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2624 2625 2626 2627 2628 2629 |
# File 'lib/google/apis/people_v1/classes.rb', line 2624 def update!(**args) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |