Method: enterprises.devices.operations.list

  • This page describes how to list operations that match a specified filter using an HTTP GET request to the provided URL.

  • The request uses path parameters, specifically name to identify the parent resource of the operations.

  • Query parameters like filter, pageSize, pageToken, and returnPartialSuccess can be used to refine the list of operations returned.

  • The request body should be empty, and the successful response body contains a list of operations, a next page token, and potentially a list of unreachable resources.

  • Authorization requires the https://www.googleapis.com/auth/androidmanagement OAuth scope.

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

HTTP request

GET https://androidmanagement.googleapis.com/v1/{name=enterprises/*/devices/*/operations}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the operation's parent resource.

Query parameters

Parameters
filter

string

The standard list filter.

pageSize

integer

The standard list page size.

pageToken

string

The standard list page token.

returnPartialSuccess

boolean

When set to true, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field.

This can only be true when reading across collections e.g. when parent is set to "projects/example/locations/-".

This field is not by default supported and will result in an UNIMPLEMENTED error if set unless explicitly documented otherwise in service or product specific documentation.

Request body

The request body must be empty.

Response body

The response message for Operations.ListOperations.

If successful, the response body contains data with the following structure:

JSON representation
{
  "operations": [
    {
      object (Operation)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
operations[]

object (Operation)

A list of operations that matches the specified filter in the request.

nextPageToken

string

The standard List next-page token.

unreachable[]

string

Unordered list. Unreachable resources. Populated when the request sets ListOperationsRequest.return_partial_success and reads across collections e.g. when attempting to list all resources across all supported locations.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidmanagement

For more information, see the OAuth 2.0 Overview.