Class: Google::Apis::PeopleV1::ImClient
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ImClient
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/people_v1/classes.rb,
generated/google/apis/people_v1/representations.rb,
generated/google/apis/people_v1/representations.rb
Overview
A person's instant messaging client.
Instance Attribute Summary collapse
-
#formatted_protocol ⇒ String
The read-only protocol of the IM client formatted in the viewer's account locale or the
Accept-Language
HTTP header locale. -
#formatted_type ⇒ String
The read-only type of the IM client translated and formatted in the viewer's account locale or the
Accept-Language
HTTP header locale. -
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#protocol ⇒ String
The protocol of the IM client.
-
#type ⇒ String
The type of the IM client.
-
#username ⇒ String
The user name used in the IM client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImClient
constructor
A new instance of ImClient.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImClient
Returns a new instance of ImClient
817 818 819 |
# File 'generated/google/apis/people_v1/classes.rb', line 817 def initialize(**args) update!(**args) end |
Instance Attribute Details
#formatted_protocol ⇒ String
The read-only protocol of the IM client formatted in the viewer's account
locale or the Accept-Language
HTTP header locale.
Corresponds to the JSON property formattedProtocol
775 776 777 |
# File 'generated/google/apis/people_v1/classes.rb', line 775 def formatted_protocol @formatted_protocol end |
#formatted_type ⇒ String
The read-only type of the IM client translated and formatted in the
viewer's account locale or the Accept-Language
HTTP header locale.
Corresponds to the JSON property formattedType
781 782 783 |
# File 'generated/google/apis/people_v1/classes.rb', line 781 def formatted_type @formatted_type end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
786 787 788 |
# File 'generated/google/apis/people_v1/classes.rb', line 786 def @metadata end |
#protocol ⇒ String
The protocol of the IM client. The protocol can be custom or one of these predefined values:
aim
msn
yahoo
skype
qq
googleTalk
icq
jabber
netMeeting
Corresponds to the JSON propertyprotocol
801 802 803 |
# File 'generated/google/apis/people_v1/classes.rb', line 801 def protocol @protocol end |
#type ⇒ String
The type of the IM client. The type can be custom or one of these predefined values:
home
work
other
Corresponds to the JSON propertytype
810 811 812 |
# File 'generated/google/apis/people_v1/classes.rb', line 810 def type @type end |
#username ⇒ String
The user name used in the IM client.
Corresponds to the JSON property username
815 816 817 |
# File 'generated/google/apis/people_v1/classes.rb', line 815 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
822 823 824 825 826 827 828 829 |
# File 'generated/google/apis/people_v1/classes.rb', line 822 def update!(**args) @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol) @formatted_type = args[:formatted_type] if args.key?(:formatted_type) @metadata = args[:metadata] if args.key?(:metadata) @protocol = args[:protocol] if args.key?(:protocol) @type = args[:type] if args.key?(:type) @username = args[:username] if args.key?(:username) end |