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.



12896
12897
12898
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12896

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)


12884
12885
12886
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12884

def cost_micros
  @cost_micros
end

#plannable_product_codeString

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

Returns:

  • (String)


12889
12890
12891
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12889

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



12894
12895
12896
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12894

def planned_product_forecast
  @planned_product_forecast
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12901
12902
12903
12904
12905
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12901

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