Modifier and Type | Class and Description |
---|---|
class |
Directory.DomainAliases.Delete |
class |
Directory.DomainAliases.Get |
class |
Directory.DomainAliases.Insert |
class |
Directory.DomainAliases.List |
Constructor and Description |
---|
DomainAliases() |
Modifier and Type | Method and Description |
---|---|
Directory.DomainAliases.Delete |
delete(String customer,
String domainAliasName)
Deletes a domain Alias of the customer.
|
Directory.DomainAliases.Get |
get(String customer,
String domainAliasName)
Retrieves a domain alias of the customer.
|
Directory.DomainAliases.Insert |
insert(String customer,
DomainAlias content)
Inserts a domain alias of the customer.
|
Directory.DomainAliases.List |
list(String customer)
Lists the domain aliases of the customer.
|
public Directory.DomainAliases.Delete delete(String customer, String domainAliasName) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the Google Workspace account.domainAliasName
- Name of domain alias to be retrieved.IOException
public Directory.DomainAliases.Get get(String customer, String domainAliasName) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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 `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.domainAliasName
- Name of domain alias to be retrieved.IOException
public Directory.DomainAliases.Insert insert(String customer, DomainAlias content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.customer
- Immutable ID of the Google Workspace account.content
- the DomainAlias
IOException
public Directory.DomainAliases.List list(String customer) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.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 `domain`. You can also use the
`my_customer` alias to represent your account's `customerId`. The `customerId` is also
returned as part of the [Users](/admin-sdk/directory/v1/reference/users) resource. You
must provide either the `customer` or the `domain` parameter.IOException
Copyright © 2011–2023 Google. All rights reserved.