class Google::Apis::CloudbillingV1::Sku
Encapsulates a single SKU in Google
Cloud Platform
Attributes
Represents the category hierarchy of a SKU. Corresponds to the JSON property `category` @return [Google::Apis::CloudbillingV1::Category]
A human readable description of the SKU, has a maximum length of 256 characters. Corresponds to the JSON property `description` @return [String]
Encapsulates the geographic taxonomy data for a sku. Corresponds to the JSON property `geoTaxonomy` @return [Google::Apis::CloudbillingV1::GeoTaxonomy]
The resource name for the SKU. Example: “services/DA34-426B-A397/skus/AA95- CD31-42FE” Corresponds to the JSON property `name` @return [String]
A timeline of pricing info for this SKU in chronological order. Corresponds to the JSON property `pricingInfo` @return [Array<Google::Apis::CloudbillingV1::PricingInfo>]
Identifies the service provider. This is 'Google' for first party services in Google
Cloud Platform. Corresponds to the JSON property `serviceProviderName` @return [String]
List of service regions this SKU is offered at. Example: “asia-east1” Service
regions can be found at cloud.google.com/about/locations/ Corresponds to the JSON property `serviceRegions` @return [Array<String>]
The identifier for the SKU. Example: “AA95-CD31-42FE” Corresponds to the JSON property `skuId` @return [String]
Public Class Methods
# File lib/google/apis/cloudbilling_v1/classes.rb, line 917 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudbilling_v1/classes.rb, line 922 def update!(**args) @category = args[:category] if args.key?(:category) @description = args[:description] if args.key?(:description) @geo_taxonomy = args[:geo_taxonomy] if args.key?(:geo_taxonomy) @name = args[:name] if args.key?(:name) @pricing_info = args[:pricing_info] if args.key?(:pricing_info) @service_provider_name = args[:service_provider_name] if args.key?(:service_provider_name) @service_regions = args[:service_regions] if args.key?(:service_regions) @sku_id = args[:sku_id] if args.key?(:sku_id) end