Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaRate
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaRate
- 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
Encapsulates a Rate
price. Billing account SKUs with Rate
price are
offered by pricing tiers. The price have 1 or more rate pricing tiers.
Instance Attribute Summary collapse
-
#aggregation_info ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
Encapsulates the aggregation information such as aggregation level and interval for a billing account price.
-
#tiers ⇒ Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaRateTier>
All tiers associated with the
Rate
price. -
#unit_info ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
Encapsulates the unit information for a Rate Corresponds to the JSON property
unitInfo
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountpricesV1betaRate
constructor
A new instance of GoogleCloudBillingBillingaccountpricesV1betaRate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountpricesV1betaRate
Returns a new instance of GoogleCloudBillingBillingaccountpricesV1betaRate.
1097 1098 1099 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1097 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aggregation_info ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaAggregationInfo
Encapsulates the aggregation information such as aggregation level and
interval for a billing account price.
Corresponds to the JSON property aggregationInfo
1085 1086 1087 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1085 def aggregation_info @aggregation_info end |
#tiers ⇒ Array<Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaRateTier>
All tiers associated with the Rate
price.
Corresponds to the JSON property tiers
1090 1091 1092 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1090 def tiers @tiers end |
#unit_info ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountpricesV1betaUnitInfo
Encapsulates the unit information for a Rate
Corresponds to the JSON property unitInfo
1095 1096 1097 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1095 def unit_info @unit_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1102 1103 1104 1105 1106 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1102 def update!(**args) @aggregation_info = args[:aggregation_info] if args.key?(:aggregation_info) @tiers = args[:tiers] if args.key?(:tiers) @unit_info = args[:unit_info] if args.key?(:unit_info) end |