target.apidocs.com.google.api.services.directory.Directory.DomainAliases.html Maven / Gradle / Ivy
Directory.DomainAliases (Admin SDK API directory_v1-rev20220802-2.0.0)
com.google.api.services.directory
Class Directory.DomainAliases
- java.lang.Object
-
- com.google.api.services.directory.Directory.DomainAliases
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.DomainAliases.Delete
class
Directory.DomainAliases.Get
class
Directory.DomainAliases.Insert
class
Directory.DomainAliases.List
-
Constructor Summary
Constructors
Constructor and Description
DomainAliases()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
delete
public Directory.DomainAliases.Delete delete(String customer,
String domainAliasName)
throws IOException
Deletes a domain Alias of the customer.
Create a request for the method "domainAliases.delete".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
domainAliasName
- Name of domain alias to be retrieved.
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.DomainAliases.Get get(String customer,
String domainAliasName)
throws IOException
Retrieves a domain alias of the customer.
Create a request for the method "domainAliases.get".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
domainAliasName
- Name of domain alias to be retrieved.
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.DomainAliases.Insert insert(String customer,
DomainAlias content)
throws IOException
Inserts a domain alias of the customer.
Create a request for the method "domainAliases.insert".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
content
- the DomainAlias
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.DomainAliases.List list(String customer)
throws IOException
Lists the domain aliases of the customer.
Create a request for the method "domainAliases.list".
This request holds the parameters needed by the admin server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
customer
- Immutable ID of the Google Workspace account.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.