Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPersonProfileCardRelatedPeople

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseTopazSidekickPersonProfileCardRelatedPeople

Returns a new instance of EnterpriseTopazSidekickPersonProfileCardRelatedPeople.



2851
2852
2853
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2851

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

Instance Attribute Details

Related people. Corresponds to the JSON property relatedPerson



2844
2845
2846
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2844

def related_person
  @related_person
end

#relationString

Relation type. Corresponds to the JSON property relation

Returns:

  • (String)


2849
2850
2851
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2849

def relation
  @relation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2856
2857
2858
2859
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2856

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