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-LanguageHTTP 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-LanguageHTTP 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
1306 1307 1308 |
# File 'generated/google/apis/people_v1/classes.rb', line 1306 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
1264 1265 1266 |
# File 'generated/google/apis/people_v1/classes.rb', line 1264 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
1270 1271 1272 |
# File 'generated/google/apis/people_v1/classes.rb', line 1270 def formatted_type @formatted_type end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
1275 1276 1277 |
# File 'generated/google/apis/people_v1/classes.rb', line 1275 def @metadata end |
#protocol ⇒ String
The protocol of the IM client. The protocol can be custom or predefined. Possible values include, but are not limited to, the following:
aimmsnyahooskypeqqgoogleTalkicqjabbernetMeetingCorresponds to the JSON propertyprotocol
1299 1300 1301 |
# File 'generated/google/apis/people_v1/classes.rb', line 1299 def protocol @protocol end |
#type ⇒ String
The type of the IM client. The type can be custom or predefined. Possible values include, but are not limited to, the following:
homeworkotherCorresponds to the JSON propertytype
1284 1285 1286 |
# File 'generated/google/apis/people_v1/classes.rb', line 1284 def type @type end |
#username ⇒ String
The user name used in the IM client.
Corresponds to the JSON property username
1304 1305 1306 |
# File 'generated/google/apis/people_v1/classes.rb', line 1304 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1311 1312 1313 1314 1315 1316 1317 1318 |
# File 'generated/google/apis/people_v1/classes.rb', line 1311 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) @type = args[:type] if args.key?(:type) @protocol = args[:protocol] if args.key?(:protocol) @username = args[:username] if args.key?(:username) end |