Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory

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) ⇒ GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory

Returns a new instance of GoogleCloudBillingBillingaccountskugroupskusV1betaTaxonomyCategory.



1522
1523
1524
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1522

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

Instance Attribute Details

#categoryString

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

Returns:

  • (String)


1520
1521
1522
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1520

def category
  @category
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1527
1528
1529
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1527

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