Google Cloud Video Stitcher V1 Client - Class AdRequest (0.8.4)

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

Details of an ad request to an ad server.

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

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ uri string

The ad tag URI processed with integrated macros.

↳ request_metadata Google\Cloud\Video\Stitcher\V1\RequestMetadata

The request metadata used to make the ad request.

↳ response_metadata Google\Cloud\Video\Stitcher\V1\ResponseMetadata

The response metadata received from the ad request.

getUri

The ad tag URI processed with integrated macros.

Returns
Type Description
string

setUri

The ad tag URI processed with integrated macros.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestMetadata

The request metadata used to make the ad request.

Returns
Type Description
Google\Cloud\Video\Stitcher\V1\RequestMetadata|null

hasRequestMetadata

clearRequestMetadata

setRequestMetadata

The request metadata used to make the ad request.

Parameter
Name Description
var Google\Cloud\Video\Stitcher\V1\RequestMetadata
Returns
Type Description
$this

getResponseMetadata

The response metadata received from the ad request.

Returns
Type Description
Google\Cloud\Video\Stitcher\V1\ResponseMetadata|null

hasResponseMetadata

clearResponseMetadata

setResponseMetadata

The response metadata received from the ad request.

Parameter
Name Description
var Google\Cloud\Video\Stitcher\V1\ResponseMetadata
Returns
Type Description
$this