Class: Google::Apis::PartnersV2::EventData
- Inherits:
-
Object
- Object
- Google::Apis::PartnersV2::EventData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/partners_v2/classes.rb,
generated/google/apis/partners_v2/representations.rb,
generated/google/apis/partners_v2/representations.rb
Overview
Key value data pair for an event.
Instance Attribute Summary collapse
-
#key ⇒ String
Data type.
-
#values ⇒ Array<String>
Data values.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EventData
constructor
A new instance of EventData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ EventData
Returns a new instance of EventData
546 547 548 |
# File 'generated/google/apis/partners_v2/classes.rb', line 546 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Data type.
Corresponds to the JSON property key
544 545 546 |
# File 'generated/google/apis/partners_v2/classes.rb', line 544 def key @key end |
#values ⇒ Array<String>
Data values.
Corresponds to the JSON property values
539 540 541 |
# File 'generated/google/apis/partners_v2/classes.rb', line 539 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
551 552 553 554 |
# File 'generated/google/apis/partners_v2/classes.rb', line 551 def update!(**args) @values = args[:values] if args.key?(:values) @key = args[:key] if args.key?(:key) end |