Table of Contents

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 BatchCreatePrintersRequest

The body of the request.

parent string

Required. The name of the customer. Format: customers/{customer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.BatchCreatePrintersRequest

BatchDeletePrinters(BatchDeletePrintersRequest, string)

Deletes printers in batch.

public virtual CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest BatchDeletePrinters(BatchDeletePrintersRequest body, string parent)

Parameters

body BatchDeletePrintersRequest

The body of the request.

parent string

Required. The name of the customer. Format: customers/{customer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest

Create(Printer, string)

Creates a printer under given Organization Unit.

public virtual CustomersResource.ChromeResource.PrintersResource.CreateRequest Create(Printer body, string parent)

Parameters

body Printer

The body of the request.

parent string

Required. The name of the customer. Format: customers/{customer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.CreateRequest

Delete(string)

Deletes a Printer.

public virtual CustomersResource.ChromeResource.PrintersResource.DeleteRequest Delete(string name)

Parameters

name string

Required. The name of the printer to be updated. Format: customers/{customer_id}/chrome/printers/{printer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.DeleteRequest

Get(string)

Returns a Printer resource (printer's config).

public virtual CustomersResource.ChromeResource.PrintersResource.GetRequest Get(string name)

Parameters

name string

Required. The name of the printer to retrieve. Format: customers/{customer_id}/chrome/printers/{printer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.GetRequest

List(string)

List printers configs.

public virtual CustomersResource.ChromeResource.PrintersResource.ListRequest List(string parent)

Parameters

parent string

Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.ListRequest

ListPrinterModels(string)

Lists the supported printer models.

public virtual CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest ListPrinterModels(string parent)

Parameters

parent string

Required. The name of the customer who owns this collection of printers. Format: customers/{customer_id}

Returns

CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest

Patch(Printer, string)

Updates a Printer resource.

public virtual CustomersResource.ChromeResource.PrintersResource.PatchRequest Patch(Printer body, string name)

Parameters

body Printer

The body of the request.

name string

The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)

Returns

CustomersResource.ChromeResource.PrintersResource.PatchRequest