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.



2884
2885
2886
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2884

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

Instance Attribute Details

Related people. Corresponds to the JSON property relatedPerson



2877
2878
2879
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2877

def related_person
  @related_person
end

#relationString

Relation type. Corresponds to the JSON property relation

Returns:

  • (String)


2882
2883
2884
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2882

def relation
  @relation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2889
2890
2891
2892
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2889

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