class Google::Apis::PeopleV1::ImClient

A person's instant messaging client.

Attributes

formatted_protocol[RW]

Output only. The 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` @return [String]

formatted_type[RW]

Output only. The 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` @return [String]

metadata[RW]

Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]

protocol[RW]

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 property `protocol` @return [String]

type[RW]

The type of the IM client. The type can be custom or one of these predefined values: * `home` * `work` * `other` Corresponds to the JSON property `type` @return [String]

username[RW]

The user name used in the IM client. Corresponds to the JSON property `username` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/people_v1/classes.rb, line 1207
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