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.



1137
1138
1139
# File 'lib/google/apis/people_v1/classes.rb', line 1137

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)


1130
1131
1132
# File 'lib/google/apis/people_v1/classes.rb', line 1130

def key
  @key
end

#valueString

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

Returns:

  • (String)


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