Google Cloud Video Stitcher V1 Client - Class CompanionAds (1.0.1)

Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class CompanionAds.

Metadata for companion ads.

Generated from protobuf message google.cloud.video.stitcher.v1.CompanionAds

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_requirement int

Indicates how many of the companions should be displayed with the ad.

↳ companions array<Companion>

List of companion ads.

getDisplayRequirement

Indicates how many of the companions should be displayed with the ad.

Returns
Type Description
int

setDisplayRequirement

Indicates how many of the companions should be displayed with the ad.

Parameter
Name Description
var int
Returns
Type Description
$this

getCompanions

List of companion ads.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCompanions

List of companion ads.

Parameter
Name Description
var array<Companion>
Returns
Type Description
$this