class Google::Apis::AdminDirectoryV1::UserIm
JSON template for instant messenger of an user.
Attributes
Custom protocol. Corresponds to the JSON property `customProtocol` @return [String]
Custom type. Corresponds to the JSON property `customType` @return [String]
Instant messenger id. Corresponds to the JSON property `im` @return [String]
If this is user's primary im. Only one entry could be marked as primary. Corresponds to the JSON property `primary` @return [Boolean]
If this is user's primary im. Only one entry could be marked as primary. Corresponds to the JSON property `primary` @return [Boolean]
Protocol used in the instant messenger. It should be one of the values from ImProtocolTypes map. Similar to type, it can take a CUSTOM value and specify the custom name in customProtocol field. Corresponds to the JSON property `protocol` @return [String]
Each entry can have a type which indicates standard types of that entry. For example instant messengers could be of home, work etc. In addition to the standard type, an entry can have a custom type and can take any value. Such types should have the CUSTOM value as type and also have a customType value. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File generated/google/apis/admin_directory_v1/classes.rb, line 2684 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_directory_v1/classes.rb, line 2689 def update!(**args) @custom_protocol = args[:custom_protocol] if args.key?(:custom_protocol) @custom_type = args[:custom_type] if args.key?(:custom_type) @im = args[:im] if args.key?(:im) @primary = args[:primary] if args.key?(:primary) @protocol = args[:protocol] if args.key?(:protocol) @type = args[:type] if args.key?(:type) end