Class: Google::Apis::PeopleV1::ClientData
- Inherits:
-
Object
- Object
- Google::Apis::PeopleV1::ClientData
- 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
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.
-
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
-
#value ⇒ String
The client specified value of the client data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientData
constructor
A new instance of ClientData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClientData
Returns a new instance of ClientData.
314 315 316 |
# File 'generated/google/apis/people_v1/classes.rb', line 314 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
302 303 304 |
# File 'generated/google/apis/people_v1/classes.rb', line 302 def key @key end |
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
307 308 309 |
# File 'generated/google/apis/people_v1/classes.rb', line 307 def @metadata end |
#value ⇒ String
The client specified value of the client data.
Corresponds to the JSON property value
312 313 314 |
# File 'generated/google/apis/people_v1/classes.rb', line 312 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
319 320 321 322 323 |
# File 'generated/google/apis/people_v1/classes.rb', line 319 def update!(**args) @key = args[:key] if args.key?(:key) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) end |