class CustomersChromePrintServers extends Resource (View source)

The "printServers" collection of methods.

Typical usage is:

 $adminService = new Google\Service\Directory(...);
 $printServers = $adminService->customers_chrome_printServers;

Methods

batchCreatePrintServers(string $parent, BatchCreatePrintServersRequest $postBody, array $optParams = [])

Creates multiple print servers. (printServers.batchCreatePrintServers)

batchDeletePrintServers(string $parent, BatchDeletePrintServersRequest $postBody, array $optParams = [])

Deletes multiple print servers. (printServers.batchDeletePrintServers)

create(string $parent, PrintServer $postBody, array $optParams = [])

Creates a print server. (printServers.create)

delete(string $name, array $optParams = [])

Deletes a print server. (printServers.delete)

get(string $name, array $optParams = [])

Returns a print server's configuration. (printServers.get)

listCustomersChromePrintServers(string $parent, array $optParams = [])

Lists print server configurations.

patch(string $name, PrintServer $postBody, array $optParams = [])

Updates a print server's configuration. (printServers.patch)

Details

BatchCreatePrintServersResponse batchCreatePrintServers(string $parent, BatchCreatePrintServersRequest $postBody, array $optParams = [])

Creates multiple print servers. (printServers.batchCreatePrintServers)

Parameters

string $parent

Required. The unique ID of the customer's Google Workspace account. Format: customers/{id}

BatchCreatePrintServersRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchCreatePrintServersResponse

Exceptions

Exception

BatchDeletePrintServersResponse batchDeletePrintServers(string $parent, BatchDeletePrintServersRequest $postBody, array $optParams = [])

Deletes multiple print servers. (printServers.batchDeletePrintServers)

Parameters

string $parent

Required. The unique ID of the customer's Google Workspace account. Format: customers/{customer.id}

BatchDeletePrintServersRequest $postBody
array $optParams

Optional parameters.

Return Value

BatchDeletePrintServersResponse

Exceptions

Exception

PrintServer create(string $parent, PrintServer $postBody, array $optParams = [])

Creates a print server. (printServers.create)

Parameters

string $parent

Required. The unique ID of the customer's Google Workspace account. Format: customers/{id}

PrintServer $postBody
array $optParams

Optional parameters.

Return Value

PrintServer

Exceptions

Exception

AdminEmpty delete(string $name, array $optParams = [])

Deletes a print server. (printServers.delete)

Parameters

string $name

Required. The name of the print server to be deleted. Format: customers/{customer.id}/chrome/printServers/{print_server.id}

array $optParams

Optional parameters.

Return Value

AdminEmpty

Exceptions

Exception

PrintServer get(string $name, array $optParams = [])

Returns a print server's configuration. (printServers.get)

Parameters

string $name

Required. The unique ID of the customer's Google Workspace account. Format: customers/{id}

array $optParams

Optional parameters.

Return Value

PrintServer

Exceptions

Exception

ListPrintServersResponse listCustomersChromePrintServers(string $parent, array $optParams = [])

Lists print server configurations.

(printServers.listCustomersChromePrintServers)

Parameters

string $parent

Required. The unique ID of the customer's Google Workspace account. Format: customers/{id}

array $optParams

Optional parameters.

Return Value

ListPrintServersResponse

Exceptions

Exception

PrintServer patch(string $name, PrintServer $postBody, array $optParams = [])

Updates a print server's configuration. (printServers.patch)

Parameters

string $name

Immutable. Resource name of the print server. Leave empty when creating. Format: customers/{customer.id}/printServers/{print_server.id}

PrintServer $postBody
array $optParams

Optional parameters.

Return Value

PrintServer

Exceptions

Exception