Method: projects.locations.channels.list

Returns a list of all channels in the specified region.

HTTP request

GET https://livestream.googleapis.com/v1/{parent=projects/*/locations/*}/channels

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent location for the resource, in the form of: projects/{project}/locations/{location}.

Query parameters

Parameters
pageSize

integer

The maximum number of items to return. If unspecified, server will pick an appropriate default. Server may return fewer items than requested. A caller should only rely on response's nextPageToken to determine if there are more items left to be queried.

pageToken

string

The nextPageToken value returned from a previous List request, if any.

filter

string

The filter to apply to list results.

orderBy

string

Specifies the ordering of results following syntax at https://cloud.google.com/apis/design/design_patterns#sorting_order.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for "LivestreamService.ListChannels".

JSON representation
{
  "channels": [
    {
      object (Channel)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
channels[]

object (Channel)

A list of channels.

nextPageToken

string

Token to retrieve the next page of results, or empty if there are no more results in the list.

unreachable[]

string

Locations that could not be reached.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • livestream.channels.list

For more information, see the IAM documentation.