Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::Sku.
Encapsulates a single SKU in Google Cloud Platform
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category
def category() -> ::Google::Cloud::Billing::V1::Category
Returns
- (::Google::Cloud::Billing::V1::Category) — The category hierarchy of this SKU, purely for organizational purpose.
#category=
def category=(value) -> ::Google::Cloud::Billing::V1::Category
Parameter
- value (::Google::Cloud::Billing::V1::Category) — The category hierarchy of this SKU, purely for organizational purpose.
Returns
- (::Google::Cloud::Billing::V1::Category) — The category hierarchy of this SKU, purely for organizational purpose.
#description
def description() -> ::String
Returns
- (::String) — A human readable description of the SKU, has a maximum length of 256 characters.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — A human readable description of the SKU, has a maximum length of 256 characters.
Returns
- (::String) — A human readable description of the SKU, has a maximum length of 256 characters.
#name
def name() -> ::String
Returns
- (::String) — The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
Returns
- (::String) — The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE"
#pricing_info
def pricing_info() -> ::Array<::Google::Cloud::Billing::V1::PricingInfo>
Returns
- (::Array<::Google::Cloud::Billing::V1::PricingInfo>) — A timeline of pricing info for this SKU in chronological order.
#pricing_info=
def pricing_info=(value) -> ::Array<::Google::Cloud::Billing::V1::PricingInfo>
Parameter
- value (::Array<::Google::Cloud::Billing::V1::PricingInfo>) — A timeline of pricing info for this SKU in chronological order.
Returns
- (::Array<::Google::Cloud::Billing::V1::PricingInfo>) — A timeline of pricing info for this SKU in chronological order.
#service_provider_name
def service_provider_name() -> ::String
Returns
- (::String) — Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
#service_provider_name=
def service_provider_name=(value) -> ::String
Parameter
- value (::String) — Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
Returns
- (::String) — Identifies the service provider. This is 'Google' for first party services in Google Cloud Platform.
#service_regions
def service_regions() -> ::Array<::String>
Returns
- (::Array<::String>) — List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
#service_regions=
def service_regions=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
Returns
- (::Array<::String>) — List of service regions this SKU is offered at. Example: "asia-east1" Service regions can be found at https://cloud.google.com/about/locations/
#sku_id
def sku_id() -> ::String
Returns
- (::String) — The identifier for the SKU. Example: "AA95-CD31-42FE"
#sku_id=
def sku_id=(value) -> ::String
Parameter
- value (::String) — The identifier for the SKU. Example: "AA95-CD31-42FE"
Returns
- (::String) — The identifier for the SKU. Example: "AA95-CD31-42FE"