Class SitesResource
The "sites" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class 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 SitesResource.ChannelsResource Channels { get; }
Property Value
| Type | Description |
|---|---|
| SitesResource.ChannelsResource |
Domains
Gets the Domains resource.
Declaration
public virtual SitesResource.DomainsResource Domains { get; }
Property Value
| Type | Description |
|---|---|
| SitesResource.DomainsResource |
Releases
Gets the Releases resource.
Declaration
public virtual SitesResource.ReleasesResource Releases { get; }
Property Value
| Type | Description |
|---|---|
| SitesResource.ReleasesResource |
Versions
Gets the Versions resource.
Declaration
public virtual SitesResource.VersionsResource Versions { get; }
Property Value
| Type | Description |
|---|---|
| SitesResource.VersionsResource |
Methods
GetConfig(string)
Gets the Hosting metadata for a specific site.
Declaration
public virtual 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 |
|---|---|
| SitesResource.GetConfigRequest |
UpdateConfig(SiteConfig, string)
Sets the Hosting metadata for a specific site.
Declaration
public virtual 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 |
|---|---|
| SitesResource.UpdateConfigRequest |