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

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

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

Returns
Type Description
GetChannelRequest