Class: Google::Apis::PeopleV1::RelationshipInterest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::PeopleV1::RelationshipInterest
 
- 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
A person's read-only relationship interest .
Instance Attribute Summary collapse
- 
  
    
      #formatted_value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    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. 
- 
  
    
      #metadata  ⇒ Google::Apis::PeopleV1::FieldMetadata 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Metadata about a field. 
- 
  
    
      #value  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of relationship the person is looking for. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RelationshipInterest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RelationshipInterest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RelationshipInterest
Returns a new instance of RelationshipInterest
| 1870 1871 1872 | # File 'generated/google/apis/people_v1/classes.rb', line 1870 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#formatted_value ⇒ String
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
| 1852 1853 1854 | # File 'generated/google/apis/people_v1/classes.rb', line 1852 def formatted_value @formatted_value end | 
#metadata ⇒ Google::Apis::PeopleV1::FieldMetadata
Metadata about a field.
Corresponds to the JSON property metadata
| 1857 1858 1859 | # File 'generated/google/apis/people_v1/classes.rb', line 1857 def @metadata end | 
#value ⇒ String
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
- networkingCorresponds to the JSON property- value
| 1868 1869 1870 | # File 'generated/google/apis/people_v1/classes.rb', line 1868 def value @value end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1875 1876 1877 1878 1879 | # File 'generated/google/apis/people_v1/classes.rb', line 1875 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 |