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 \ V1Methods
__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 |
Enum of type DisplayRequirement. |
setDisplayRequirement
Indicates how many of the companions should be displayed with the ad.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DisplayRequirement. |
| 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 |
|