Class: Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1beta::GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory
- 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
-
#category ⇒ String
Name of the product category.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory
constructor
A new instance of GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory
Returns a new instance of GoogleCloudBillingBillingaccountskusV1betaTaxonomyCategory.
1759 1760 1761 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1759 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
Name of the product category.
Corresponds to the JSON property category
1757 1758 1759 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1757 def category @category end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1764 1765 1766 |
# File 'lib/google/apis/cloudbilling_v1beta/classes.rb', line 1764 def update!(**args) @category = args[:category] if args.key?(:category) end |