Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup

Inherits:
Object
  • Object
show all
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 stock keeping (SKU) group visible to a billing account. 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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup

Returns a new instance of GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup.



1267
1268
1269
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1267

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#display_nameString

Description of the BillingAccountSkuGroup. Example: "A2 VMs (1 Year CUD)". Corresponds to the JSON property displayName

Returns:

  • (String)


1259
1260
1261
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1259

def display_name
  @display_name
end

#nameString

Resource name for the BillingAccountSkuGroup. Example: "billingAccounts/012345- 567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301". Corresponds to the JSON property name

Returns:

  • (String)


1265
1266
1267
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1265

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1272
1273
1274
1275
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1272

def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
end