Class: Google::Apis::CloudcontrolspartnerV1::Sku
- Inherits:
-
Object
- Object
- Google::Apis::CloudcontrolspartnerV1::Sku
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb
Overview
Represents the SKU a partner owns inside Google Cloud to sell to customers.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Display name of the product identified by the SKU.
-
#id ⇒ String
Argentum product SKU, that is associated with the partner offerings to customers used by Syntro for billing purposes.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Sku
constructor
A new instance of Sku.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Sku
Returns a new instance of Sku.
731 732 733 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 731 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Display name of the product identified by the SKU. A partner may want to show
partner branded names for their offerings such as local sovereign cloud
solutions.
Corresponds to the JSON property displayName
722 723 724 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 722 def display_name @display_name end |
#id ⇒ String
Argentum product SKU, that is associated with the partner offerings to
customers used by Syntro for billing purposes. SKUs can represent resold
Google products or support services.
Corresponds to the JSON property id
729 730 731 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 729 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
736 737 738 739 |
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 736 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |