Class: Google::Apis::CloudbillingV1beta::EstimateCostScenarioForBillingAccountRequest

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 EstimateCostScenarioForBillingAccount.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EstimateCostScenarioForBillingAccountRequest

Returns a new instance of EstimateCostScenarioForBillingAccountRequest.



656
657
658
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 656

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



654
655
656
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 654

def cost_scenario
  @cost_scenario
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



661
662
663
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 661

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