| Modifier and Type | Class and Description |
|---|---|
class |
Directory.Domains.Delete |
class |
Directory.Domains.Get |
class |
Directory.Domains.Insert |
class |
Directory.Domains.List |
| Constructor and Description |
|---|
Domains() |
| Modifier and Type | Method and Description |
|---|---|
Directory.Domains.Delete |
delete(String customer,
String domainName)
Deletes a domain of the customer.
|
Directory.Domains.Get |
get(String customer,
String domainName)
Retrieves a domain of the customer.
|
Directory.Domains.Insert |
insert(String customer,
Domains content)
Inserts a domain of the customer.
|
Directory.Domains.List |
list(String customer)
Lists the domains of the customer.
|
public Directory.Domains.Delete delete(String customer, String domainName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.domainName - Name of domain to be deletedIOExceptionpublic Directory.Domains.Get get(String customer, String domainName) 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.domainName - Name of domain to be retrievedIOExceptionpublic Directory.Domains.Insert insert(String customer, Domains content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.customer - Immutable ID of the Google Workspace account.content - the DomainsIOExceptionpublic Directory.Domains.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.IOExceptionCopyright © 2011–2023 Google. All rights reserved.