target.apidocs.com.google.api.services.directory.Directory.Customers.html Maven / Gradle / Ivy
Directory.Customers (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory
Class Directory.Customers
- java.lang.Object
-
- com.google.api.services.directory.Directory.Customers
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Customers.Chrome
The "chrome" collection of methods.
class
Directory.Customers.Get
class
Directory.Customers.Patch
class
Directory.Customers.Update
-
Constructor Summary
Constructors
Constructor and Description
Customers()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Directory.Customers.Chrome
chrome()
An accessor for creating requests from the Chrome collection.
Directory.Customers.Get
get(String customerKey)
Retrieves a customer.
Directory.Customers.Patch
patch(String customerKey,
Customer content)
Patches a customer.
Directory.Customers.Update
update(String customerKey,
Customer content)
Updates a customer.
-
-
Method Detail
-
get
public Directory.Customers.Get get(String customerKey)
throws IOException
Retrieves a customer.
Create a request for the method "customers.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:
customerKey
- Id of the customer to be retrieved
- Returns:
- the request
- Throws:
IOException
-
patch
public Directory.Customers.Patch patch(String customerKey,
Customer content)
throws IOException
Patches a customer.
Create a request for the method "customers.patch".
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:
customerKey
- Id of the customer to be updated
content
- the Customer
- Returns:
- the request
- Throws:
IOException
-
update
public Directory.Customers.Update update(String customerKey,
Customer content)
throws IOException
Updates a customer.
Create a request for the method "customers.update".
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:
customerKey
- Id of the customer to be updated
content
- the Customer
- Returns:
- the request
- Throws:
IOException
-
chrome
public Directory.Customers.Chrome chrome()
An accessor for creating requests from the Chrome collection.
The typical use is:
Directory admin = new Directory(...);
Directory.Chrome.List request = admin.chrome().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2022 Google. All rights reserved.