Google Cloud Channel V1 Client - Class MarketingInfo (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Channel V1 Client class MarketingInfo.

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

Generated from protobuf message google.cloud.channel.v1.MarketingInfo

Namespace

Google \ Cloud \ Channel \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Human readable name.

↳ description string

Human readable description. Description can contain HTML.

↳ default_logo Google\Cloud\Channel\V1\Media

Default logo.

getDisplayName

Human readable name.

Returns
Type Description
string

setDisplayName

Human readable name.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Human readable description. Description can contain HTML.

Returns
Type Description
string

setDescription

Human readable description. Description can contain HTML.

Parameter
Name Description
var string
Returns
Type Description
$this

getDefaultLogo

Default logo.

Returns
Type Description
Google\Cloud\Channel\V1\Media|null

hasDefaultLogo

clearDefaultLogo

setDefaultLogo

Default logo.

Parameter
Name Description
var Google\Cloud\Channel\V1\Media
Returns
Type Description
$this