Class: Google::Apis::CloudcontrolspartnerV1::Sku

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Sku

Returns a new instance of Sku.



708
709
710
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 708

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

Instance Attribute Details

#display_nameString

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

Returns:

  • (String)


699
700
701
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 699

def display_name
  @display_name
end

#idString

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

Returns:

  • (String)


706
707
708
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 706

def id
  @id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



713
714
715
716
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 713

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