Class: Google::Apis::DfareportingV3_4::CustomViewabilityMetric
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_4::CustomViewabilityMetric
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v3_4/classes.rb,
generated/google/apis/dfareporting_v3_4/representations.rb,
generated/google/apis/dfareporting_v3_4/representations.rb
Overview
Custom Viewability Metric
Instance Attribute Summary collapse
-
#configuration ⇒ Google::Apis::DfareportingV3_4::CustomViewabilityMetricConfiguration
The attributes, like playtime and percent onscreen, that define the Custom Viewability Metric.
-
#id ⇒ Fixnum
ID of the custom viewability metric.
-
#name ⇒ String
Name of the custom viewability metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomViewabilityMetric
constructor
A new instance of CustomViewabilityMetric.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomViewabilityMetric
Returns a new instance of CustomViewabilityMetric.
5062 5063 5064 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5062 def initialize(**args) update!(**args) end |
Instance Attribute Details
#configuration ⇒ Google::Apis::DfareportingV3_4::CustomViewabilityMetricConfiguration
The attributes, like playtime and percent onscreen, that define the Custom
Viewability Metric.
Corresponds to the JSON property configuration
5050 5051 5052 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5050 def configuration @configuration end |
#id ⇒ Fixnum
ID of the custom viewability metric.
Corresponds to the JSON property id
5055 5056 5057 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5055 def id @id end |
#name ⇒ String
Name of the custom viewability metric.
Corresponds to the JSON property name
5060 5061 5062 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5060 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5067 5068 5069 5070 5071 |
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5067 def update!(**args) @configuration = args[:configuration] if args.key?(:configuration) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) end |