Class: Google::Apis::PeopleV1::GroupClientData

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GroupClientData

Returns a new instance of GroupClientData.



1153
1154
1155
# File 'lib/google/apis/people_v1/classes.rb', line 1153

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

The client specified key of the client data. Corresponds to the JSON property key

Returns:

  • (String)


1146
1147
1148
# File 'lib/google/apis/people_v1/classes.rb', line 1146

def key
  @key
end

#valueString

The client specified value of the client data. Corresponds to the JSON property value

Returns:

  • (String)


1151
1152
1153
# File 'lib/google/apis/people_v1/classes.rb', line 1151

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1158
1159
1160
1161
# File 'lib/google/apis/people_v1/classes.rb', line 1158

def update!(**args)
  @key = args[:key] if args.key?(:key)
  @value = args[:value] if args.key?(:value)
end