Google Cloud Video Live Stream V1 Client - Class GetChannelRequest (0.5.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class GetChannelRequest.

Request message for "LivestreamService.GetChannel".

Generated from protobuf message google.cloud.video.livestream.v1.GetChannelRequest

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the channel resource, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

getName

Required. The name of the channel resource, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

Returns
TypeDescription
string

setName

Required. The name of the channel resource, in the form of: projects/{project}/locations/{location}/channels/{channelId}.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the channel resource, in the form of: projects/{project}/locations/{location}/channels/{channelId}. Please see Google\Cloud\Video\LiveStream\V1\LivestreamServiceClient::channelName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\GetChannelRequest