assuredworkloads

Finds matching ArchivedResourceEvents and moves them back to the ResourceEvents table.

post/v1/assuredworkloads:revertArchivedResourceEvents

Request

  • Base URL: https://assuredworkloads.googleapis.com
  • URL: https://assuredworkloads.googleapis.com/v1/assuredworkloads:revertArchivedResourceEvents
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Request body

archiveEndTimestring google-datetime

Required. Only events within this time range will be reverted. This helps prevent reverting everything when something goes wrong.

archiveStartTimestring google-datetime

Required. Only events within this time range will be reverted. This helps prevent reverting everything when something goes wrong.

batchSizeinteger

Required. The number of events to process in a single transaction batch.

maxEventsMoveinteger

Required. The maximum total number of events to move in this request.

organizationIdstring int64

Required. The organization ID for which to revert events.

regionstring

Required. The region of the workload(s) whose events should be reverted. This is used to filter workloads based on AssurantWorkloadData.region.

Response

Successful response

Changes