Class: Google::Apis::PeopleV1::GroupClientData
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::GroupClientData
- 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
Arbitrary client data that is populated by clients. Duplicate keys and values are allowed.
Instance Attribute Summary collapse
-
#key ⇒ String
The client specified key of the client data.
-
#value ⇒ String
The client specified value of the client data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GroupClientData
constructor
A new instance of GroupClientData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GroupClientData
Returns a new instance of GroupClientData.
1137 1138 1139 |
# File 'lib/google/apis/people_v1/classes.rb', line 1137 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
The client specified key of the client data.
Corresponds to the JSON property key
1130 1131 1132 |
# File 'lib/google/apis/people_v1/classes.rb', line 1130 def key @key end |
#value ⇒ String
The client specified value of the client data.
Corresponds to the JSON property value
1135 1136 1137 |
# File 'lib/google/apis/people_v1/classes.rb', line 1135 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1142 1143 1144 1145 |
# File 'lib/google/apis/people_v1/classes.rb', line 1142 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |