Class: Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountRequest
- 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 EstimateCostScenarioForBillingAccount.
Instance Attribute Summary collapse
-
#cost_scenario ⇒ Google::Apis::CloudbillingV1beta::CostScenario
Encapsulates all the information needed to perform a cost estimate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EstimateCostScenarioForBillingAccountRequest
constructor
A new instance of EstimateCostScenarioForBillingAccountRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EstimateCostScenarioForBillingAccountRequest
Returns a new instance of EstimateCostScenarioForBillingAccountRequest.
669 670 671 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 669 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cost_scenario ⇒ Google::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
667 668 669 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 667 def cost_scenario @cost_scenario end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
674 675 676 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 674 def update!(**args) @cost_scenario = args[:cost_scenario] if args.key?(:cost_scenario) end |