class Google::Apis::CloudchannelV1::GoogleCloudChannelV1Product

A Product is the entity a customer uses when placing an order. For example, Google Workspace, Google Voice, etc.

Attributes

marketing_info[RW]

Represents the marketing information for a Product, SKU or Offer. Corresponds to the JSON property `marketingInfo` @return [Google::Apis::CloudchannelV1::GoogleCloudChannelV1MarketingInfo]

name[RW]

Resource Name of the Product. Format: products/`product_id` Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudchannel_v1/classes.rb, line 1827
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudchannel_v1/classes.rb, line 1832
def update!(**args)
  @marketing_info = args[:marketing_info] if args.key?(:marketing_info)
  @name = args[:name] if args.key?(:name)
end