Google Cloud Video Stitcher V1 Client - Class AdRequest (1.0.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

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 RequestMetadata

The request metadata used to make the ad request.

↳ response_metadata 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
RequestMetadata|null

hasRequestMetadata

clearRequestMetadata

setRequestMetadata

The request metadata used to make the ad request.

Parameter
Name Description
var RequestMetadata
Returns
Type Description
$this

getResponseMetadata

The response metadata received from the ad request.

Returns
Type Description
ResponseMetadata|null

hasResponseMetadata

clearResponseMetadata

setResponseMetadata

The response metadata received from the ad request.

Parameter
Name Description
var ResponseMetadata
Returns
Type Description
$this