Show / Hide Table of Contents

Class SitesResource.ChannelsResource

The "channels" collection of methods.

Inheritance
object
SitesResource.ChannelsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class SitesResource.ChannelsResource

Constructors

ChannelsResource(IClientService)

Constructs a new resource.

Declaration
public ChannelsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Releases

Gets the Releases resource.

Declaration
public virtual SitesResource.ChannelsResource.ReleasesResource Releases { get; }
Property Value
Type Description
SitesResource.ChannelsResource.ReleasesResource

Methods

Create(Channel, string)

Creates a new channel in the specified site.

Declaration
public virtual SitesResource.ChannelsResource.CreateRequest Create(Channel body, string parent)
Parameters
Type Name Description
Channel body

The body of the request.

string parent

Required. The site in which to create this channel, in the format: sites/ SITE_ID

Returns
Type Description
SitesResource.ChannelsResource.CreateRequest

Delete(string)

Deletes the specified channel of the specified site. The live channel cannot be deleted.

Declaration
public virtual SitesResource.ChannelsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID

Returns
Type Description
SitesResource.ChannelsResource.DeleteRequest

Get(string)

Retrieves information for the specified channel of the specified site.

Declaration
public virtual SitesResource.ChannelsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The fully-qualified resource name for the channel, in the format: sites/SITE_ID/channels/CHANNEL_ID

Returns
Type Description
SitesResource.ChannelsResource.GetRequest

List(string)

Lists the channels for the specified site. All sites have a default live channel.

Declaration
public virtual SitesResource.ChannelsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The site for which to list channels, in the format: sites/SITE_ID

Returns
Type Description
SitesResource.ChannelsResource.ListRequest

Patch(Channel, string)

Updates information for the specified channel of the specified site. Implicitly creates the channel if it doesn't already exist.

Declaration
public virtual SitesResource.ChannelsResource.PatchRequest Patch(Channel body, string name)
Parameters
Type Name Description
Channel body

The body of the request.

string name

The fully-qualified resource name for the channel, in the format: sites/ SITE_ID/channels/CHANNEL_ID

Returns
Type Description
SitesResource.ChannelsResource.PatchRequest
In this article
Back to top Generated by DocFX