Class: Google::Apis::CloudsearchV1::PeoplePromotionCard
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::PeoplePromotionCard
- 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
-
#people ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
Corresponds to the JSON property
people.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PeoplePromotionCard
constructor
A new instance of PeoplePromotionCard.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PeoplePromotionCard
Returns a new instance of PeoplePromotionCard.
5402 5403 5404 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5402 def initialize(**args) update!(**args) end |
Instance Attribute Details
#people ⇒ Array<Google::Apis::CloudsearchV1::PersonCore>
Corresponds to the JSON property people
5400 5401 5402 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5400 def people @people end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5407 5408 5409 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5407 def update!(**args) @people = args[:people] if args.key?(:people) end |