Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
- 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
-
#display_name ⇒ String
Description of the BillingAccountSkuGroup.
-
#name ⇒ String
Resource name for the BillingAccountSkuGroup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
constructor
A new instance of GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup
Returns a new instance of GoogleCloudBillingBillingaccountskugroupsV1betaBillingAccountSkuGroup.
1275 1276 1277 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1275 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Description of the BillingAccountSkuGroup. Example: "A2 VMs (1 Year CUD)".
Corresponds to the JSON property displayName
1267 1268 1269 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1267 def display_name @display_name end |
#name ⇒ String
Resource name for the BillingAccountSkuGroup. Example: "billingAccounts/012345-
567890-ABCDEF/skuGroups/0e6403d1-4694-44d2-a696-7a78b1a69301".
Corresponds to the JSON property name
1273 1274 1275 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1273 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1280 1281 1282 1283 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1280 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |