Class DomainAliasesResource
The "domainAliases" collection of methods.
Inherited Members
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class DomainAliasesResource
Constructors
DomainAliasesResource(IClientService)
Constructs a new resource.
Declaration
public DomainAliasesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Delete(string, string)
Deletes a domain Alias of the customer.
Declaration
public virtual DomainAliasesResource.DeleteRequest Delete(string customer, string domainAliasName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | customer | Immutable ID of the Google Workspace account. |
| string | domainAliasName | Name of domain alias to be retrieved. |
Returns
| Type | Description |
|---|---|
| DomainAliasesResource.DeleteRequest |
Get(string, string)
Retrieves a domain alias of the customer.
Declaration
public virtual DomainAliasesResource.GetRequest Get(string customer, string domainAliasName)
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 | domainAliasName | Name of domain alias to be retrieved. |
Returns
| Type | Description |
|---|---|
| DomainAliasesResource.GetRequest |
Insert(DomainAlias, string)
Inserts a domain alias of the customer.
Declaration
public virtual DomainAliasesResource.InsertRequest Insert(DomainAlias body, string customer)
Parameters
| Type | Name | Description |
|---|---|---|
| DomainAlias | body | The body of the request. |
| string | customer | Immutable ID of the Google Workspace account. |
Returns
| Type | Description |
|---|---|
| DomainAliasesResource.InsertRequest |
List(string)
Lists the domain aliases of the customer.
Declaration
public virtual DomainAliasesResource.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 |
|---|---|
| DomainAliasesResource.ListRequest |