class Google::Apis::PeopleV1::ImClient

A person's instant messaging client.

Attributes

formatted_protocol[RW]

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

formatted_type[RW]

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` @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 predefined. Possible values include, but are not limited to, the following: * `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 predefined. Possible values include, but are not limited to, the following: * `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 generated/google/apis/people_v1/classes.rb, line 930
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/people_v1/classes.rb, line 935
def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @username = args[:username] if args.key?(:username)
  @type = args[:type] if args.key?(:type)
  @formatted_type = args[:formatted_type] if args.key?(:formatted_type)
  @protocol = args[:protocol] if args.key?(:protocol)
  @formatted_protocol = args[:formatted_protocol] if args.key?(:formatted_protocol)
end