class Google::Apis::PeopleV1::RelationshipInterest
The kind of relationship the person is looking for.
Attributes
formatted_value[RW]
The value of the relationship interest translated and formatted in the viewer' s account locale or the locale specified in the Accept-Language HTTP header. Corresponds to the JSON property `formattedValue` @return [String]
metadata[RW]
Metadata about a field. Corresponds to the JSON property `metadata` @return [Google::Apis::PeopleV1::FieldMetadata]
value[RW]
The kind of relationship the person is looking for. The value can be custom or predefined. Possible values include, but are not limited to, the following values: * `friend` * `date` * `relationship` * `networking` Corresponds to the JSON property `value` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/people_v1/classes.rb, line 1312 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/people_v1/classes.rb, line 1317 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @value = args[:value] if args.key?(:value) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) end