Google Cloud Video Stitcher V1 Client - Class CreateVodSessionRequest (0.6.2)

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

Request message for VideoStitcherService.createVodSession

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

Namespace

Google \ Cloud \ Video \ Stitcher \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project and location in which the VOD session should be created, in the form of projects/{project_number}/locations/{location}.

↳ vod_session Google\Cloud\Video\Stitcher\V1\VodSession

Required. Parameters for creating a session.

getParent

Required. The project and location in which the VOD session should be created, in the form of projects/{project_number}/locations/{location}.

Returns
TypeDescription
string

setParent

Required. The project and location in which the VOD session should be created, in the form of projects/{project_number}/locations/{location}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVodSession

Required. Parameters for creating a session.

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

hasVodSession

clearVodSession

setVodSession

Required. Parameters for creating a session.

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

static::build

Parameters
NameDescription
parent string

Required. The project and location in which the VOD session should be created, in the form of projects/{project_number}/locations/{location}. Please see Google\Cloud\Video\Stitcher\V1\VideoStitcherServiceClient::locationName() for help formatting this field.

vodSession Google\Cloud\Video\Stitcher\V1\VodSession

Required. Parameters for creating a session.

Returns
TypeDescription
Google\Cloud\Video\Stitcher\V1\CreateVodSessionRequest