Class: Google::Apis::DisplayvideoV4::PlannedProductReachForecast

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

Performance forecast for a specific product.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannedProductReachForecast

Returns a new instance of PlannedProductReachForecast.



12951
12952
12953
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12951

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

Instance Attribute Details

#cost_microsFixnum

The cost in micros for this product. Corresponds to the JSON property costMicros

Returns:

  • (Fixnum)


12939
12940
12941
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12939

def cost_micros
  @cost_micros
end

#plannable_product_codeString

The code for the product. Corresponds to the JSON property plannableProductCode

Returns:

  • (String)


12944
12945
12946
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12944

def plannable_product_code
  @plannable_product_code
end

#planned_product_forecastGoogle::Apis::DisplayvideoV4::PlannedProductForecast

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



12949
12950
12951
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12949

def planned_product_forecast
  @planned_product_forecast
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12956
12957
12958
12959
12960
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12956

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