Class: Google::Apis::CloudbillingV1beta::EstimateCostScenarioWithListPriceRequest

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

Overview

Request for EstimateCostScenarioWithListPrice.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EstimateCostScenarioWithListPriceRequest

Returns a new instance of EstimateCostScenarioWithListPriceRequest.



696
697
698
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 696

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

Instance Attribute Details

#cost_scenarioGoogle::Apis::CloudbillingV1beta::CostScenario

Encapsulates all the information needed to perform a cost estimate. It includes a specification of the Google Cloud usage whose costs are estimated, and configuration options. Corresponds to the JSON property costScenario



694
695
696
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 694

def cost_scenario
  @cost_scenario
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



701
702
703
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 701

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