Method: projects.patchJobs.list

Get a list of patch jobs.

HTTP request

GET https://osconfig.googleapis.com/v1/{parent=projects/*}/patchJobs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. In the form of projects/*

Query parameters

Parameters
pageSize

integer

The maximum number of instance status to return.

pageToken

string

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

filter

string

If provided, this field specifies the criteria that must be met by patch jobs to be included in the response. Currently, filtering is only available on the patchDeployment field.

Request body

The request body must be empty.

Response body

A response message for listing patch jobs.

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

JSON representation
{
  "patchJobs": [
    {
      object (PatchJob)
    }
  ],
  "nextPageToken": string
}
Fields
patchJobs[]

object (PatchJob)

The list of patch jobs.

nextPageToken

string

A pagination token that can be used to get the next page of results.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • osconfig.patchJobs.list

For more information, see the IAM documentation.