Class DomainsResource
The "domains" collection of methods.
Inherited Members
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 |
---|---|---|
string | customer | Immutable ID of the Google Workspace account. |
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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all
groups for a customer, use this field instead of |
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. |
string | customer | Immutable ID of the Google Workspace 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 |
---|---|---|
string | customer | The unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all
groups for a customer, use this field instead of |
Returns
Type | Description |
---|---|
DomainsResource.ListRequest |