Google Cloud Channel V1 Client - Class MarketingInfo (1.0.1)

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

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.

Generated from protobuf field string display_name = 1;

Returns
Type Description
string

setDisplayName

Human readable name.

Generated from protobuf field string display_name = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Human readable description. Description can contain HTML.

Generated from protobuf field string description = 2;

Returns
Type Description
string

setDescription

Human readable description. Description can contain HTML.

Generated from protobuf field string description = 2;

Parameter
Name Description
var string
Returns
Type Description
$this

getDefaultLogo

Default logo.

Generated from protobuf field .google.cloud.channel.v1.Media default_logo = 3;

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

hasDefaultLogo

clearDefaultLogo

setDefaultLogo

Default logo.

Generated from protobuf field .google.cloud.channel.v1.Media default_logo = 3;

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