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.
5232 5233 5234 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#people ⇒ Array<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 |