Method: organizations.locations.workloads.updates.list

This endpoint lists all updates for the given workload.

HTTP request

GET https://{endpoint}/v1beta1/{parent=organizations/*/locations/*/workloads/*}/updates

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. organizations/{org_id}/locations/{locationId}/workloads/{workload_id}

Authorization requires the following IAM permission on the specified resource parent:

  • assuredworkloads.updates.list

Query parameters

Parameters
pageSize

integer

Page size. The default value is 20 and the max allowed value is 100.

pageToken

string

Page token returned from previous request.

Request body

The request body must be empty.

Response body

Response of listing the compliance updates per workload with pagination.

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

JSON representation
{
  "workloadUpdates": [
    {
      object (WorkloadUpdate)
    }
  ],
  "nextPageToken": string
}
Fields
workloadUpdates[]

object (WorkloadUpdate)

The list of workload updates for a given workload.

nextPageToken

string

The next page token. Return empty if reached the last page.

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:

  • assuredworkloads.updates.list

For more information, see the IAM documentation.