target.apidocs.com.google.api.services.directory.Directory.Domains.html Maven / Gradle / Ivy
Directory.Domains (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Domains
- java.lang.Object
-
- com.google.api.services.directory.Directory.Domains
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Domains.Delete
class
Directory.Domains.Get
class
Directory.Domains.Insert
class
Directory.Domains.List
-
Constructor Summary
Constructors
Constructor and Description
Domains()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
-
Method Detail
-
delete
public Directory.Domains.Delete delete(String customer,
String domainName)
throws IOException
Deletes a domain of the customer.
Create a request for the method "domains.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.
domainName
- Name of domain to be deleted
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Domains.Get get(String customer,
String domainName)
throws IOException
Retrieves a domain of the customer.
Create a request for the method "domains.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.
domainName
- Name of domain to be retrieved
- Returns:
- the request
- Throws:
IOException
-
insert
public Directory.Domains.Insert insert(String customer,
Domains content)
throws IOException
Inserts a domain of the customer.
Create a request for the method "domains.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 Domains
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Domains.List list(String customer)
throws IOException
Lists the domains of the customer.
Create a request for the method "domains.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.