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
849 850 851 |
# File 'generated/google/apis/partners_v2/classes.rb', line 849 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Data type.
Corresponds to the JSON property key
842 843 844 |
# File 'generated/google/apis/partners_v2/classes.rb', line 842 def key @key end |
#values ⇒ Array<String>
Data values.
Corresponds to the JSON property values
847 848 849 |
# File 'generated/google/apis/partners_v2/classes.rb', line 847 def values @values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
854 855 856 857 |
# File 'generated/google/apis/partners_v2/classes.rb', line 854 def update!(**args) @key = args[:key] if args.key?(:key) @values = args[:values] if args.key?(:values) end |