Show / Hide Table of Contents

Class ProjectsResource.SitesResource.ChannelsResource

The "channels" collection of methods.

Inheritance
object
ProjectsResource.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 ProjectsResource.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 ProjectsResource.SitesResource.ChannelsResource.ReleasesResource Releases { get; }
Property Value
Type Description
ProjectsResource.SitesResource.ChannelsResource.ReleasesResource

Methods

Create(Channel, string)

Creates a new channel in the specified site.

Declaration
public virtual ProjectsResource.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
ProjectsResource.SitesResource.ChannelsResource.CreateRequest

Delete(string)

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

Declaration
public virtual ProjectsResource.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
ProjectsResource.SitesResource.ChannelsResource.DeleteRequest

Get(string)

Retrieves information for the specified channel of the specified site.

Declaration
public virtual ProjectsResource.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
ProjectsResource.SitesResource.ChannelsResource.GetRequest

List(string)

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

Declaration
public virtual ProjectsResource.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
ProjectsResource.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 ProjectsResource.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
ProjectsResource.SitesResource.ChannelsResource.PatchRequest
In this article
Back to top Generated by DocFX