Class: Google::Apis::CloudsearchV1::EnterpriseTopazSidekickPersonProfileCard

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) ⇒ EnterpriseTopazSidekickPersonProfileCard

Returns a new instance of EnterpriseTopazSidekickPersonProfileCard.



2826
2827
2828
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2826

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

Instance Attribute Details

Corresponds to the JSON property relatedPeople



2819
2820
2821
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2819

def related_people
  @related_people
end

#subjectGoogle::Apis::CloudsearchV1::EnterpriseTopazSidekickCommonPerson

Common representation of a person. Corresponds to the JSON property subject



2824
2825
2826
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2824

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2831
2832
2833
2834
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 2831

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