class Google::Apis::PeopleV1::RelationshipStatus

DEPRECATED: No data will be returned A person's relationship status.

Attributes

formatted_value[RW]

Output only. The value of the relationship status translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale. 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 relationship status. The value can be custom or one of these predefined values: * `single` * `inARelationship` * `engaged` * `married` * ` itsComplicated` * `openRelationship` * `widowed` * `inDomesticPartnership` * ` inCivilUnion` Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/people_v1/classes.rb, line 2470
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/people_v1/classes.rb, line 2475
def update!(**args)
  @formatted_value = args[:formatted_value] if args.key?(:formatted_value)
  @metadata = args[:metadata] if args.key?(:metadata)
  @value = args[:value] if args.key?(:value)
end