Show / Hide Table of Contents

Class DomainsResource

The "domains" collection of methods.

Inheritance
System.Object
DomainsResource
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class DomainsResource

Constructors

DomainsResource(IClientService)

Constructs a new resource.

Declaration
public DomainsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(String, String)

Deletes a domain of the customer.

Declaration
public virtual DomainsResource.DeleteRequest Delete(string customer, string domainName)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

System.String domainName

Name of domain to be deleted

Returns
Type Description
DomainsResource.DeleteRequest

Get(String, String)

Retrieves a domain of the customer.

Declaration
public virtual DomainsResource.GetRequest Get(string customer, string domainName)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

System.String domainName

Name of domain to be retrieved

Returns
Type Description
DomainsResource.GetRequest

Insert(Domains, String)

Inserts a domain of the customer.

Declaration
public virtual DomainsResource.InsertRequest Insert(Domains body, string customer)
Parameters
Type Name Description
Domains body

The body of the request.

System.String customer

Immutable ID of the G Suite account.

Returns
Type Description
DomainsResource.InsertRequest

List(String)

Lists the domains of the customer.

Declaration
public virtual DomainsResource.ListRequest List(string customer)
Parameters
Type Name Description
System.String customer

Immutable ID of the G Suite account.

Returns
Type Description
DomainsResource.ListRequest
Back to top