Class ProjectsResource.SitesResource
The "sites" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource
Constructors
SitesResource(IClientService)
Constructs a new resource.
Declaration
public SitesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Channels
Gets the Channels resource.
Declaration
public virtual ProjectsResource.SitesResource.ChannelsResource Channels { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SitesResource.ChannelsResource |
CustomDomains
Gets the CustomDomains resource.
Declaration
public virtual ProjectsResource.SitesResource.CustomDomainsResource CustomDomains { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SitesResource.CustomDomainsResource |
Domains
Gets the Domains resource.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource Domains { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource |
Releases
Gets the Releases resource.
Declaration
public virtual ProjectsResource.SitesResource.ReleasesResource Releases { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SitesResource.ReleasesResource |
Versions
Gets the Versions resource.
Declaration
public virtual ProjectsResource.SitesResource.VersionsResource Versions { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.SitesResource.VersionsResource |
Methods
Create(Site, string)
Creates a new Hosting Site in the specified parent Firebase project. Note that Hosting sites can take several minutes to propagate through Firebase systems.
Declaration
public virtual ProjectsResource.SitesResource.CreateRequest Create(Site body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Site | body | The body of the request. |
string | parent | Required. The Firebase project in which to create a Hosting site, in the format:
projects/PROJECT_IDENTIFIER Refer to the |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.CreateRequest |
Delete(string)
Deletes the specified Hosting Site from the specified parent Firebase project.
Declaration
public virtual ProjectsResource.SitesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The fully-qualified resource name for the Hosting site, in the format:
projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DeleteRequest |
Get(string)
Gets the specified Hosting Site.
Declaration
public virtual ProjectsResource.SitesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The fully-qualified resource name for the Hosting site, in the format:
projects/PROJECT_IDENTIFIER/sites/SITE_ID Refer to the |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.GetRequest |
GetConfig(string)
Gets the Hosting metadata for a specific site.
Declaration
public virtual ProjectsResource.SitesResource.GetConfigRequest GetConfig(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The site for which to get the SiteConfig, in the format: sites/ site-name/config |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.GetConfigRequest |
List(string)
Lists each Hosting Site associated with the specified parent Firebase project.
Declaration
public virtual ProjectsResource.SitesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The Firebase project for which to list sites, in the format: projects/PROJECT_IDENTIFIER Refer
to the |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.ListRequest |
Patch(Site, string)
Updates attributes of the specified Hosting Site.
Declaration
public virtual ProjectsResource.SitesResource.PatchRequest Patch(Site body, string name)
Parameters
Type | Name | Description |
---|---|---|
Site | body | The body of the request. |
string | name | Output only. The fully-qualified resource name of the Hosting site, in the format:
projects/PROJECT_IDENTIFIER/sites/SITE_ID PROJECT_IDENTIFIER: the Firebase project's
|
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.PatchRequest |
UpdateConfig(SiteConfig, string)
Sets the Hosting metadata for a specific site.
Declaration
public virtual ProjectsResource.SitesResource.UpdateConfigRequest UpdateConfig(SiteConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
SiteConfig | body | The body of the request. |
string | name | Required. The site for which to update the SiteConfig, in the format: sites/ site-name/config |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.UpdateConfigRequest |