Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1MarketingInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1MarketingInfo
- 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
-
#default_logo ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1Media
Represents media information.
-
#description ⇒ String
Human readable description.
-
#display_name ⇒ String
Human readable name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1MarketingInfo
constructor
A new instance of GoogleCloudChannelV1MarketingInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1MarketingInfo
Returns a new instance of GoogleCloudChannelV1MarketingInfo.
1741 1742 1743 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_logo ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1Media
Represents media information.
Corresponds to the JSON property defaultLogo
1729 1730 1731 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1729 def default_logo @default_logo end |
#description ⇒ String
Human readable description. Description can contain HTML.
Corresponds to the JSON property description
1734 1735 1736 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1734 def description @description end |
#display_name ⇒ String
Human readable name.
Corresponds to the JSON property displayName
1739 1740 1741 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1739 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1746 1747 1748 1749 1750 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1746 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 |