Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
- 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 SKU that is part of a billing account SKU group.
Instance Attribute Summary collapse
-
#billing_account_service ⇒ String
BillingAccountService that the BillingAccountSkuGroupSku belongs to.
-
#display_name ⇒ String
Description of the BillingAccountSkuGroupSku.
-
#geo_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy
Encapsulates geographic metadata, such as regions and multi-regions like
us- east4orEuropean Union. -
#name ⇒ String
Resource name for the BillingAccountSkuGroupSku.
-
#product_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy
Encapsulates product categories, such as
Serverless,Cloud Run,TaskQueue, and others. -
#sku_id ⇒ String
Unique identifier for the SKU.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
constructor
A new instance of GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku
Returns a new instance of GoogleCloudBillingBillingaccountskugroupskusV1betaBillingAccountSkuGroupSku.
1353 1354 1355 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1353 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_account_service ⇒ String
BillingAccountService that the BillingAccountSkuGroupSku belongs to.
Corresponds to the JSON property billingAccountService
1320 1321 1322 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1320 def billing_account_service @billing_account_service end |
#display_name ⇒ String
Description of the BillingAccountSkuGroupSku. Example: "A2 Instance Core
running in Hong Kong".
Corresponds to the JSON property displayName
1326 1327 1328 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1326 def display_name @display_name end |
#geo_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaGeoTaxonomy
Encapsulates geographic metadata, such as regions and multi-regions like us-
east4 or European Union.
Corresponds to the JSON property geoTaxonomy
1332 1333 1334 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1332 def geo_taxonomy @geo_taxonomy end |
#name ⇒ String
Resource name for the BillingAccountSkuGroupSku. Example: "billingAccounts/
012345-567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301/skus/AA95-
CD31-42FE".
Corresponds to the JSON property name
1339 1340 1341 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1339 def name @name end |
#product_taxonomy ⇒ Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaProductTaxonomy
Encapsulates product categories, such as Serverless, Cloud Run, TaskQueue
, and others.
Corresponds to the JSON property productTaxonomy
1345 1346 1347 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1345 def product_taxonomy @product_taxonomy 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
1351 1352 1353 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1351 def sku_id @sku_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1358 1359 1360 1361 1362 1363 1364 1365 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1358 def update!(**args) @billing_account_service = args[:billing_account_service] if args.key?(:billing_account_service) @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) @sku_id = args[:sku_id] if args.key?(:sku_id) end |