Class ProjectsResource.SitesResource.ChannelsResource.ReleasesResource
The "releases" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource.ChannelsResource.ReleasesResource
Constructors
ReleasesResource(IClientService)
Constructs a new resource.
Declaration
public ReleasesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Release, string)
Creates a new release, which makes the content of the specified version actively display on the appropriate URL(s).
Declaration
public virtual ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.CreateRequest Create(Release body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Release | body | The body of the request. |
string | parent | Required. The site or channel to which the release belongs, in either of the following formats:
|
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.CreateRequest |
Get(string)
Gets the specified release for a site or channel. When used to get a release for a site, this
can get releases for both the default live
channel and any active preview channels for the
specified site.
Declaration
public virtual ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The fully-qualified resource name for the Hosting release, in either of the following formats: - sites/SITE_ID/channels/CHANNEL_ID/releases/RELEASE_ID - sites/SITE_ID/releases/RELEASE_ID |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.GetRequest |
List(string)
Lists the releases that have been created for the specified site or channel. When used to list
releases for a site, this list includes releases for both the default live
channel and any
active preview channels for the specified site.
Declaration
public virtual ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The site or channel for which to list releases, in either of the following formats: - sites/SITE_ID - sites/SITE_ID/channels/CHANNEL_ID |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.ChannelsResource.ReleasesResource.ListRequest |