target.apidocs.com.google.api.services.directory.Directory.Customers.Chrome.Printers.html Maven / Gradle / Ivy
Directory.Customers.Chrome.Printers (Admin SDK API directory_v1-rev20220125-1.32.1)
com.google.api.services.directory
Class Directory.Customers.Chrome.Printers
- java.lang.Object
-
- com.google.api.services.directory.Directory.Customers.Chrome.Printers
-
- Enclosing class:
- Directory.Customers.Chrome
public class Directory.Customers.Chrome.Printers
extends Object
The "printers" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Directory.Customers.Chrome.Printers.BatchCreatePrinters
class
Directory.Customers.Chrome.Printers.BatchDeletePrinters
class
Directory.Customers.Chrome.Printers.Create
class
Directory.Customers.Chrome.Printers.Delete
class
Directory.Customers.Chrome.Printers.Get
class
Directory.Customers.Chrome.Printers.List
class
Directory.Customers.Chrome.Printers.ListPrinterModels
class
Directory.Customers.Chrome.Printers.Patch
-
Constructor Summary
Constructors
Constructor and Description
Printers()
-
Method Summary
-
-
Method Detail
-
batchCreatePrinters
public Directory.Customers.Chrome.Printers.BatchCreatePrinters batchCreatePrinters(String parent,
BatchCreatePrintersRequest content)
throws IOException
Creates printers under given Organization Unit.
Create a request for the method "printers.batchCreatePrinters".
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:
parent
- Required. The name of the customer. Format: customers/{customer_id}
content
- the BatchCreatePrintersRequest
- Returns:
- the request
- Throws:
IOException
-
batchDeletePrinters
public Directory.Customers.Chrome.Printers.BatchDeletePrinters batchDeletePrinters(String parent,
BatchDeletePrintersRequest content)
throws IOException
Deletes printers in batch.
Create a request for the method "printers.batchDeletePrinters".
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:
parent
- Required. The name of the customer. Format: customers/{customer_id}
content
- the BatchDeletePrintersRequest
- Returns:
- the request
- Throws:
IOException
-
create
public Directory.Customers.Chrome.Printers.Create create(String parent,
Printer content)
throws IOException
Creates a printer under given Organization Unit.
Create a request for the method "printers.create".
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:
parent
- Required. The name of the customer. Format: customers/{customer_id}
content
- the Printer
- Returns:
- the request
- Throws:
IOException
-
delete
public Directory.Customers.Chrome.Printers.Delete delete(String name)
throws IOException
Deletes a `Printer`.
Create a request for the method "printers.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:
name
- Required. The name of the printer to be updated. Format:
customers/{customer_id}/chrome/printers/{printer_id}
- Returns:
- the request
- Throws:
IOException
-
get
public Directory.Customers.Chrome.Printers.Get get(String name)
throws IOException
Returns a `Printer` resource (printer's config).
Create a request for the method "printers.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:
name
- Required. The name of the printer to retrieve. Format:
customers/{customer_id}/chrome/printers/{printer_id}
- Returns:
- the request
- Throws:
IOException
-
list
public Directory.Customers.Chrome.Printers.List list(String parent)
throws IOException
List printers configs.
Create a request for the method "printers.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:
parent
- Required. The name of the customer who owns this collection of printers. Format:
customers/{customer_id}
- Returns:
- the request
- Throws:
IOException
-
listPrinterModels
public Directory.Customers.Chrome.Printers.ListPrinterModels listPrinterModels(String parent)
throws IOException
Lists the supported printer models.
Create a request for the method "printers.listPrinterModels".
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:
parent
- Required. The name of the customer who owns this collection of printers. Format:
customers/{customer_id}
- Returns:
- the request
- Throws:
IOException
-
patch
public Directory.Customers.Chrome.Printers.Patch patch(String name,
Printer content)
throws IOException
Updates a `Printer` resource.
Create a request for the method "printers.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:
name
- The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id}
(During printer creation leave empty)
content
- the Printer
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2022 Google. All rights reserved.