Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1MarketingInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Represents the marketing information for a Product, SKU or Offer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1MarketingInfo

Returns a new instance of GoogleCloudChannelV1MarketingInfo.



1503
1504
1505
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1503

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

Instance Attribute Details

#default_logoGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1Media

Represents media information. Corresponds to the JSON property defaultLogo



1491
1492
1493
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1491

def 
  @default_logo
end

#descriptionString

Human readable description. Description can contain HTML. Corresponds to the JSON property description

Returns:

  • (String)


1496
1497
1498
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1496

def description
  @description
end

#display_nameString

Human readable name. Corresponds to the JSON property displayName

Returns:

  • (String)


1501
1502
1503
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1501

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1508
1509
1510
1511
1512
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1508

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