Billing V1 API - Class Google::Cloud::Billing::V1::Sku (v1.0.0)

Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::Sku.

Encapsulates a single SKU in Google Cloud

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#category

def category() -> ::Google::Cloud::Billing::V1::Category
Returns

#category=

def category=(value) -> ::Google::Cloud::Billing::V1::Category
Parameter
Returns

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

#geo_taxonomy

def geo_taxonomy() -> ::Google::Cloud::Billing::V1::GeoTaxonomy
Returns

#geo_taxonomy=

def geo_taxonomy=(value) -> ::Google::Cloud::Billing::V1::GeoTaxonomy
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"
Returns
  • (::String) — The resource name for the SKU. Example: "services/6F81-5844-456A/skus/D041-B8A1-6E0B"

#pricing_info

def pricing_info() -> ::Array<::Google::Cloud::Billing::V1::PricingInfo>
Returns

#pricing_info=

def pricing_info=(value) -> ::Array<::Google::Cloud::Billing::V1::PricingInfo>
Parameter
Returns

#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: "D041-B8A1-6E0B"

#sku_id=

def sku_id=(value) -> ::String
Parameter
  • value (::String) — The identifier for the SKU. Example: "D041-B8A1-6E0B"
Returns
  • (::String) — The identifier for the SKU. Example: "D041-B8A1-6E0B"