Show / Hide Table of Contents

Class SitesResource.DomainsResource

The "domains" collection of methods.

Inheritance
object
SitesResource.DomainsResource
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 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 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
SitesResource.DomainsResource.CreateRequest

Delete(string)

Deletes the existing domain mapping on the specified site.

Declaration
public virtual SitesResource.DomainsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. The name of the domain association to delete.

Returns
Type Description
SitesResource.DomainsResource.DeleteRequest

Get(string)

Gets a domain mapping on the specified site.

Declaration
public virtual SitesResource.DomainsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. The name of the domain configuration to get.

Returns
Type Description
SitesResource.DomainsResource.GetRequest

List(string)

Lists the domains for the specified site.

Declaration
public virtual 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
SitesResource.DomainsResource.ListRequest

Update(Domain, string)

Updates the specified domain mapping, creating the mapping as if it does not exist.

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