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

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

Methods

__construct

Constructor.

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

setUri

The ad tag URI processed with integrated macros.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRequestMetadata

The request metadata used to make the ad request.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\RequestMetadata|null

hasRequestMetadata

clearRequestMetadata

setRequestMetadata

The request metadata used to make the ad request.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\RequestMetadata
Returns
TypeDescription
$this

getResponseMetadata

The response metadata received from the ad request.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\ResponseMetadata|null

hasResponseMetadata

clearResponseMetadata

setResponseMetadata

The response metadata received from the ad request.

Parameter
NameDescription
var Google\Cloud\Video\Stitcher\V1\ResponseMetadata
Returns
TypeDescription
$this