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