Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup
- 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) 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 SKU group.
-
#name ⇒ String
Resource name for the SKU group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingSkugroupsV1betaSkuGroup
constructor
A new instance of GoogleCloudBillingSkugroupsV1betaSkuGroup.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingSkugroupsV1betaSkuGroup
Returns a new instance of GoogleCloudBillingSkugroupsV1betaSkuGroup.
1977 1978 1979 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Description of the SKU group. Example: "A2 VMs (1 Year CUD)".
Corresponds to the JSON property displayName
1969 1970 1971 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1969 def display_name @display_name end |
#name ⇒ String
Resource name for the SKU group. Example: "skuGroups/0e6403d1-4694-44d2-a696-
7a78b1a69301".
Corresponds to the JSON property name
1975 1976 1977 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1975 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1982 1983 1984 1985 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1982 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) end |