Class: Google::Apis::DisplayvideoV4::ReachForecast

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

A single point in the reach curve.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReachForecast

Returns a new instance of ReachForecast.



13306
13307
13308
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13306

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cost_microsFixnum

Total cost for this point in micros. Corresponds to the JSON property costMicros

Returns:

  • (Fixnum)


13294
13295
13296
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13294

def cost_micros
  @cost_micros
end

#forecastGoogle::Apis::DisplayvideoV4::PlannedProductForecast

Performance metrics for a forecast point. Corresponds to the JSON property forecast



13299
13300
13301
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13299

def forecast
  @forecast
end

#planned_product_reach_forecastsArray<Google::Apis::DisplayvideoV4::PlannedProductReachForecast>

Breakdown for individual products at this cost point. Corresponds to the JSON property plannedProductReachForecasts



13304
13305
13306
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13304

def planned_product_reach_forecasts
  @planned_product_reach_forecasts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13311
13312
13313
13314
13315
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13311

def update!(**args)
  @cost_micros = args[:cost_micros] if args.key?(:cost_micros)
  @forecast = args[:forecast] if args.key?(:forecast)
  @planned_product_reach_forecasts = args[:planned_product_reach_forecasts] if args.key?(:planned_product_reach_forecasts)
end