Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupsV1betaSkuGroup

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 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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBillingSkugroupsV1betaSkuGroup

Returns a new instance of GoogleCloudBillingSkugroupsV1betaSkuGroup.



2000
2001
2002
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2000

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


1992
1993
1994
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1992

def display_name
  @display_name
end

#nameString

Resource name for the SKU group. Example: "skuGroups/0e6403d1-4694-44d2-a696- 7a78b1a69301". Corresponds to the JSON property name

Returns:

  • (String)


1998
1999
2000
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1998

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2005
2006
2007
2008
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2005

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