Class CustomersResource.ChromeResource.PrintersResource
- Namespace
- Google.Apis.Admin.Directory.directory_v1
- Assembly
- Google.Apis.Admin.Directory.directory_v1.dll
The "printers" collection of methods.
public class CustomersResource.ChromeResource.PrintersResource
- Inheritance
-
CustomersResource.ChromeResource.PrintersResource
- Inherited Members
Constructors
PrintersResource(IClientService)
Constructs a new resource.
public PrintersResource(IClientService service)
Parameters
service
IClientService
Methods
BatchCreatePrinters(BatchCreatePrintersRequest, string)
Creates printers under given Organization Unit.
public virtual CustomersResource.ChromeResource.PrintersResource.BatchCreatePrintersRequest BatchCreatePrinters(BatchCreatePrintersRequest body, string parent)
Parameters
body
BatchCreatePrintersRequestThe body of the request.
parent
stringRequired. The name of the customer. Format: customers/{customer_id}
Returns
BatchDeletePrinters(BatchDeletePrintersRequest, string)
Deletes printers in batch.
public virtual CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest BatchDeletePrinters(BatchDeletePrintersRequest body, string parent)
Parameters
body
BatchDeletePrintersRequestThe body of the request.
parent
stringRequired. The name of the customer. Format: customers/{customer_id}
Returns
Create(Printer, string)
Creates a printer under given Organization Unit.
public virtual CustomersResource.ChromeResource.PrintersResource.CreateRequest Create(Printer body, string parent)
Parameters
body
PrinterThe body of the request.
parent
stringRequired. The name of the customer. Format: customers/{customer_id}
Returns
Delete(string)
Deletes a Printer
.
public virtual CustomersResource.ChromeResource.PrintersResource.DeleteRequest Delete(string name)
Parameters
name
stringRequired. The name of the printer to be updated. Format: customers/{customer_id}/chrome/printers/{printer_id}
Returns
Get(string)
Returns a Printer
resource (printer's config).
public virtual CustomersResource.ChromeResource.PrintersResource.GetRequest Get(string name)
Parameters
name
stringRequired. The name of the printer to retrieve. Format: customers/{customer_id}/chrome/printers/{printer_id}
Returns
List(string)
List printers configs.
public virtual CustomersResource.ChromeResource.PrintersResource.ListRequest List(string parent)
Parameters
parent
stringRequired. The name of the customer who owns this collection of printers. Format: customers/{customer_id}
Returns
ListPrinterModels(string)
Lists the supported printer models.
public virtual CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest ListPrinterModels(string parent)
Parameters
parent
stringRequired. The name of the customer who owns this collection of printers. Format: customers/{customer_id}
Returns
Patch(Printer, string)
Updates a Printer
resource.
public virtual CustomersResource.ChromeResource.PrintersResource.PatchRequest Patch(Printer body, string name)
Parameters
body
PrinterThe body of the request.
name
stringThe resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)