Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory

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 product category.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory

Returns a new instance of GoogleCloudBillingSkugroupskusV1betaTaxonomyCategory.



2226
2227
2228
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2226

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

Instance Attribute Details

#categoryString

Name of the product category. Corresponds to the JSON property category

Returns:

  • (String)


2224
2225
2226
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2224

def category
  @category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2231
2232
2233
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 2231

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