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.



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

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)


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

def cost_micros
  @cost_micros
end

#plannable_product_codeString

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

Returns:

  • (String)


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

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



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

def planned_product_forecast
  @planned_product_forecast
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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