Class: Google::Apis::PeopleV1::ImClient
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ImClient
- 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 instant messaging client.
Instance Attribute Summary collapse
-
#formatted_protocol ⇒ String
Output only.
-
#formatted_type ⇒ String
Output only.
-
#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.
Constructor Details
#initialize(**args) ⇒ ImClient
Returns a new instance of ImClient.
1204 1205 1206 |
# File 'lib/google/apis/people_v1/classes.rb', line 1204 def initialize(**args) update!(**args) end |
Instance Attribute Details
#formatted_protocol ⇒ String
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
1173 1174 1175 |
# File 'lib/google/apis/people_v1/classes.rb', line 1173 def formatted_protocol @formatted_protocol end |
#formatted_type ⇒ String
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
1179 1180 1181 |
# File 'lib/google/apis/people_v1/classes.rb', line 1179 def formatted_type @formatted_type end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
1184 1185 1186 |
# File 'lib/google/apis/people_v1/classes.rb', line 1184 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 property protocol
1191 1192 1193 |
# File 'lib/google/apis/people_v1/classes.rb', line 1191 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 property type
1197 1198 1199 |
# File 'lib/google/apis/people_v1/classes.rb', line 1197 def type @type end |
#username ⇒ String
The user name used in the IM client.
Corresponds to the JSON property username
1202 1203 1204 |
# File 'lib/google/apis/people_v1/classes.rb', line 1202 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1209 1210 1211 1212 1213 1214 1215 1216 |
# File 'lib/google/apis/people_v1/classes.rb', line 1209 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 |