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
NameDescription
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
TypeDescription
string

setDisplayName

Human readable name.

Generated from protobuf field string display_name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Human readable description. Description can contain HTML.

Generated from protobuf field string description = 2;

Returns
TypeDescription
string

setDescription

Human readable description. Description can contain HTML.

Generated from protobuf field string description = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDefaultLogo

Default logo.

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

Returns
TypeDescription
Google\Cloud\Channel\V1\Media|null

hasDefaultLogo

clearDefaultLogo

setDefaultLogo

Default logo.

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

Parameter
NameDescription
var Google\Cloud\Channel\V1\Media
Returns
TypeDescription
$this