Admin SDK API (admin:directory_v1)

2022-09-22

7 new methods

Additions

    Methods
  • admin.customers.chrome.printServers.delete

      Path: admin/directory/v1/{+name}

      Parameters:

        name

          Pattern: ^customers/[^/]+/chrome/printServers/[^/]+$

          Location: path

          Required: Yes

          Type: string

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

      Scopes: https://www.googleapis.com/auth/admin.chrome.printers

      Description: Deletes a print server.

      HTTP Method: DELETE

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers/{printServersId}

      Parameter Order: name

  • admin.customers.chrome.printServers.batchDeletePrintServers

      Scopes: https://www.googleapis.com/auth/admin.chrome.printers

      Path: admin/directory/v1/{+parent}/chrome/printServers:batchDeletePrintServers

      HTTP Method: POST

      Description: Deletes multiple print servers.

      Parameter Order: parent

      Parameters:

        parent

          Location: path

          Description: Required. The [unique ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{customer.id}`

          Type: string

          Pattern: ^customers/[^/]+$

          Required: Yes

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers:batchDeletePrintServers

  • admin.customers.chrome.printServers.create

      Parameters:

        parent

          Pattern: ^customers/[^/]+$

          Location: path

          Description: Required. The [unique ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`

          Required: Yes

          Type: string

      HTTP Method: POST

      Path: admin/directory/v1/{+parent}/chrome/printServers

      Description: Creates a print server.

      Scopes: https://www.googleapis.com/auth/admin.chrome.printers

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers

      Parameter Order: parent

  • admin.customers.chrome.printServers.batchCreatePrintServers

      Path: admin/directory/v1/{+parent}/chrome/printServers:batchCreatePrintServers

      Scopes: https://www.googleapis.com/auth/admin.chrome.printers

      Description: Creates multiple print servers.

      HTTP Method: POST

      Parameters:

        parent

          Description: Required. The [unique ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`

          Pattern: ^customers/[^/]+$

          Required: Yes

          Location: path

          Type: string

      Parameter Order: parent

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers:batchCreatePrintServers

  • admin.customers.chrome.printServers.list

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers

      Description: Lists print server configurations.

      Parameter Order: parent

      Scopes:

    • https://www.googleapis.com/auth/admin.chrome.printers
    • https://www.googleapis.com/auth/admin.chrome.printers.readonly
    • Parameters:

        orderBy

          Location: query

          Description: Sort order for results. Supported values are `display_name`, `description`, or `create_time`. Default order is ascending, but descending order can be returned by appending "desc" to the `order_by` field. For instance, `orderBy=='description desc'` returns the print servers sorted by description in descending order.

          Type: string

        filter

          Type: string

          Description: Search query in [Common Expression Language syntax](https://github.com/google/cel-spec). Supported filters are `display_name`, `description`, and `uri`. Example: `printServer.displayName=='marketing-queue'`.

          Location: query

        orgUnitId

          Location: query

          Description: If `org_unit_id` is present in the request, only print servers owned or inherited by the organizational unit (OU) are returned. If the `PrintServer` resource's `org_unit_id` matches the one in the request, the OU owns the server. If `org_unit_id` is not specified in the request, all print servers are returned or filtered against.

          Type: string

        pageToken

          Description: A generated token to paginate results (the `next_page_token` from a previous call).

          Location: query

          Type: string

        pageSize

          Type: integer

          Description: The maximum number of objects to return (default `100`, max `100`). The service might return fewer than this value.

          Format: int32

          Location: query

        parent

          Type: string

          Description: Required. The [unique ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`

          Location: path

          Required: Yes

          Pattern: ^customers/[^/]+$

      HTTP Method: GET

      Path: admin/directory/v1/{+parent}/chrome/printServers

  • admin.customers.chrome.printServers.get

      HTTP Method: GET

      Path: admin/directory/v1/{+name}

      Parameter Order: name

      Parameters:

        name

          Required: Yes

          Type: string

          Pattern: ^customers/[^/]+/chrome/printServers/[^/]+$

          Location: path

          Description: Required. The [unique ID](https://developers.google.com/admin-sdk/directory/reference/rest/v1/customers) of the customer's Google Workspace account. Format: `customers/{id}`

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers/{printServersId}

      Scopes:

    • https://www.googleapis.com/auth/admin.chrome.printers
    • https://www.googleapis.com/auth/admin.chrome.printers.readonly
    • Description: Returns a print server's configuration.

  • admin.customers.chrome.printServers.patch

      HTTP Method: PATCH

      Path: admin/directory/v1/{+name}

      Scopes: https://www.googleapis.com/auth/admin.chrome.printers

      Parameters:

        name

          Pattern: ^customers/[^/]+/chrome/printServers/[^/]+$

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

          Location: path

          Required: Yes

          Type: string

        updateMask

          Description: The list of fields to update. Some fields are read-only and cannot be updated. Values for unspecified fields are patched.

          Location: query

          Type: string

          Format: google-fieldmask

      Flat Path: admin/directory/v1/customers/{customersId}/chrome/printServers/{printServersId}

      Description: Updates a print server's configuration.

      Parameter Order: name