Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1beta/classes.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb,
lib/google/apis/cloudbilling_v1beta/representations.rb
Overview
Encapsulates a publicly listed stock keeping unit (SKU) that is part of a
publicly listed SKU group. A SKU group represents a collection of SKUs that
are related to each other. For example, the AI Platform APIs
SKU group
includes SKUs from the Cloud Dialogflow API, the Cloud Text-to-Speech API, and
additional related APIs.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Description of the SkuGroupSku.
-
#geo_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy
Encapsulates geographic metadata, such as regions and multi-regions like
us- east4
orEuropean Union
. -
#name ⇒ String
Resource name for the SkuGroupSku.
-
#product_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaProductTaxonomy
Encapsulates product categories, such as
Serverless
,Cloud Run
,TaskQueue
, and others. -
#service ⇒ String
Service that the SkuGroupSku belongs to.
-
#sku_id ⇒ String
Unique identifier for the SKU.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
constructor
A new instance of GoogleCloudBillingSkugroupskusV1betaSkuGroupSku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingSkugroupskusV1betaSkuGroupSku
Returns a new instance of GoogleCloudBillingSkugroupskusV1betaSkuGroupSku.
2202 2203 2204 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2202 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Description of the SkuGroupSku. Example: "A2 Instance Core running in Hong
Kong".
Corresponds to the JSON property displayName
2171 2172 2173 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2171 def display_name @display_name end |
#geo_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaGeoTaxonomy
Encapsulates geographic metadata, such as regions and multi-regions like us-
east4
or European Union
.
Corresponds to the JSON property geoTaxonomy
2177 2178 2179 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2177 def geo_taxonomy @geo_taxonomy end |
#name ⇒ String
Resource name for the SkuGroupSku. Example: "skuGroups/0e6403d1-4694-44d2-a696-
7a78b1a69301/skus/AA95-CD31-42FE".
Corresponds to the JSON property name
2183 2184 2185 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2183 def name @name end |
#product_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaProductTaxonomy
Encapsulates product categories, such as Serverless
, Cloud Run
, TaskQueue
, and others.
Corresponds to the JSON property productTaxonomy
2189 2190 2191 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2189 def product_taxonomy @product_taxonomy end |
#service ⇒ String
Service that the SkuGroupSku belongs to.
Corresponds to the JSON property service
2194 2195 2196 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2194 def service @service end |
#sku_id ⇒ String
Unique identifier for the SKU. It is the string after the collection
identifier "skus/" Example: "AA95-CD31-42FE".
Corresponds to the JSON property skuId
2200 2201 2202 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2200 def sku_id @sku_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2207 2208 2209 2210 2211 2212 2213 2214 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2207 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @geo_taxonomy = args[:geo_taxonomy] if args.key?(:geo_taxonomy) @name = args[:name] if args.key?(:name) @product_taxonomy = args[:product_taxonomy] if args.key?(:product_taxonomy) @service = args[:service] if args.key?(:service) @sku_id = args[:sku_id] if args.key?(:sku_id) end |