Google Cloud Channel V1 Client - Class Media (1.2.1)

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

Represents media information.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ title string

Title of the media.

↳ content string

URL of the media.

↳ type int

Type of the media.

getTitle

Title of the media.

Returns
TypeDescription
string

setTitle

Title of the media.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContent

URL of the media.

Returns
TypeDescription
string

setContent

URL of the media.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Type of the media.

Returns
TypeDescription
int

setType

Type of the media.

Parameter
NameDescription
var int
Returns
TypeDescription
$this