Class: Google::Cloud::Billing::V1::PricingInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/billing/v1/cloud_catalog.rb

Overview

Represents the pricing information for a SKU at a single point of time.

Instance Attribute Summary collapse

Instance Attribute Details

#aggregation_info::Google::Cloud::Billing::V1::AggregationInfo

Returns Aggregation Info. This can be left unspecified if the pricing expression doesn't require aggregation.

Returns:



129
130
131
132
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 129

class PricingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#currency_conversion_rate::Float

Returns Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY.

Returns:

  • (::Float)

    Conversion rate used for currency conversion, from USD to the currency specified in the request. This includes any surcharge collected for billing in non USD currency. If a currency is not specified in the request this defaults to 1.0. Example: USD * currency_conversion_rate = JPY



129
130
131
132
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 129

class PricingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#effective_time::Google::Protobuf::Timestamp

Returns The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.

Returns:

  • (::Google::Protobuf::Timestamp)

    The timestamp from which this pricing was effective within the requested time range. This is guaranteed to be greater than or equal to the start_time field in the request and less than the end_time field in the request. If a time range was not specified in the request this field will be equivalent to a time within the last 12 hours, indicating the latest pricing info.



129
130
131
132
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 129

class PricingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#pricing_expression::Google::Cloud::Billing::V1::PricingExpression

Returns Expresses the pricing formula. See PricingExpression for an example.

Returns:



129
130
131
132
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 129

class PricingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#summary::String

Returns An optional human readable summary of the pricing information, has a maximum length of 256 characters.

Returns:

  • (::String)

    An optional human readable summary of the pricing information, has a maximum length of 256 characters.



129
130
131
132
# File 'proto_docs/google/cloud/billing/v1/cloud_catalog.rb', line 129

class PricingInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end