Class ProjectsResource.SitesResource.DomainsResource
The "domains" collection of methods.
Inherited Members
Namespace: Google.Apis.FirebaseHosting.v1beta1
Assembly: Google.Apis.FirebaseHosting.v1beta1.dll
Syntax
public class ProjectsResource.SitesResource.DomainsResource
Constructors
DomainsResource(IClientService)
Constructs a new resource.
Declaration
public DomainsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Domain, string)
Creates a domain mapping on the specified site.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource.CreateRequest Create(Domain body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Domain | body | The body of the request. |
string | parent | Required. The parent to create the domain association for, in the format: sites/site-name |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource.CreateRequest |
Delete(string)
Deletes the existing domain mapping on the specified site.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the domain association to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource.DeleteRequest |
Get(string)
Gets a domain mapping on the specified site.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the domain configuration to get. |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource.GetRequest |
List(string)
Lists the domains for the specified site.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent for which to list domains, in the format: sites/ site-name |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource.ListRequest |
Update(Domain, string)
Updates the specified domain mapping, creating the mapping as if it does not exist.
Declaration
public virtual ProjectsResource.SitesResource.DomainsResource.UpdateRequest Update(Domain body, string name)
Parameters
Type | Name | Description |
---|---|---|
Domain | body | The body of the request. |
string | name | Required. The name of the domain association to update or create, if an association doesn't already exist. |
Returns
Type | Description |
---|---|
ProjectsResource.SitesResource.DomainsResource.UpdateRequest |