Class: Google::Apis::CloudsearchV1::PeoplePromotionCard

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

Returns a new instance of PeoplePromotionCard.



5199
5200
5201
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5199

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

Instance Attribute Details

#peopleArray<Google::Apis::CloudsearchV1::PersonCore>

Corresponds to the JSON property people



5197
5198
5199
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5197

def people
  @people
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5204
5205
5206
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5204

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