Show / Hide Table of Contents

Class CustomersResource.ChromeResource.PrintersResource

The "printers" collection of methods.

Inheritance
object
CustomersResource.ChromeResource.PrintersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Admin.Directory.directory_v1
Assembly: Google.Apis.Admin.Directory.directory_v1.dll
Syntax
public class CustomersResource.ChromeResource.PrintersResource

Constructors

PrintersResource(IClientService)

Constructs a new resource.

Declaration
public PrintersResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

BatchCreatePrinters(BatchCreatePrintersRequest, string)

Creates printers under given Organization Unit.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.BatchCreatePrintersRequest BatchCreatePrinters(BatchCreatePrintersRequest body, string parent)
Parameters
Type Name Description
BatchCreatePrintersRequest body

The body of the request.

string parent

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.BatchCreatePrintersRequest

BatchDeletePrinters(BatchDeletePrintersRequest, string)

Deletes printers in batch.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest BatchDeletePrinters(BatchDeletePrintersRequest body, string parent)
Parameters
Type Name Description
BatchDeletePrintersRequest body

The body of the request.

string parent

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.BatchDeletePrintersRequest

Create(Printer, string)

Creates a printer under given Organization Unit.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.CreateRequest Create(Printer body, string parent)
Parameters
Type Name Description
Printer body

The body of the request.

string parent

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.CreateRequest

Delete(string)

Deletes a Printer.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.DeleteRequest

Get(string)

Returns a Printer resource (printer's config).

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.GetRequest

List(string)

List printers configs.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.ListRequest

ListPrinterModels(string)

Lists the supported printer models.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest ListPrinterModels(string parent)
Parameters
Type Name Description
string parent

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.ListPrinterModelsRequest

Patch(Printer, string)

Updates a Printer resource.

Declaration
public virtual CustomersResource.ChromeResource.PrintersResource.PatchRequest Patch(Printer body, string name)
Parameters
Type Name Description
Printer body

The body of the request.

string name

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

Returns
Type Description
CustomersResource.ChromeResource.PrintersResource.PatchRequest
In this article
Back to top Generated by DocFX