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.



5232
5233
5234
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5232

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

Instance Attribute Details

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

Corresponds to the JSON property people



5230
5231
5232
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5230

def people
  @people
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5237
5238
5239
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5237

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