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

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.2 0.18.1 0.17.4 0.16.0 0.15.1 0.14.0 0.13.2 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.5 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**

- ([::Google::Cloud::Billing::V1::Category](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/Google-Cloud-Billing-V1-Category)) --- The category hierarchy of this SKU, purely for organizational purpose.
**Returns**

- ([::Google::Cloud::Billing::V1::Category](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/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.

### #geo_taxonomy

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

**Returns**

- ([::Google::Cloud::Billing::V1::GeoTaxonomy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/Google-Cloud-Billing-V1-GeoTaxonomy)) --- The geographic taxonomy for this sku.

### #geo_taxonomy=

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

**Parameter**

- **value** ([::Google::Cloud::Billing::V1::GeoTaxonomy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/Google-Cloud-Billing-V1-GeoTaxonomy)) --- The geographic taxonomy for this sku.
**Returns**

- ([::Google::Cloud::Billing::V1::GeoTaxonomy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/Google-Cloud-Billing-V1-GeoTaxonomy)) --- The geographic taxonomy for this sku.

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

- (::Array\<[::Google::Cloud::Billing::V1::PricingInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/Google-Cloud-Billing-V1-PricingInfo)\>) --- A timeline of pricing info for this SKU in chronological order.
**Returns**

- (::Array\<[::Google::Cloud::Billing::V1::PricingInfo](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-v1/latest/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: "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"