Method: projects.locations.osPolicyAssignments.listRevisions

List the OS policy assignment revisions for a given OS policy assignment.

HTTP request

GET https://osconfig.googleapis.com/v1alpha/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the OS policy assignment to list revisions for.

Query parameters

Parameters
pageSize

integer

The maximum number of revisions to return.

pageToken

string

A pagination token returned from a previous call to osPolicyAssignments.listRevisions that indicates where this listing should continue from.

Request body

The request body must be empty.

Response body

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

A response message for listing all revisions for a OS policy assignment.

JSON representation
{
  "osPolicyAssignments": [
    {
      object (OSPolicyAssignment)
    }
  ],
  "nextPageToken": string
}
Fields
osPolicyAssignments[]

object (OSPolicyAssignment)

The OS policy assignment revisions

nextPageToken

string

The pagination token to retrieve the next page of OS policy assignment revisions.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.