Method: legacySdk.legacyGetFailedActions

Full name: projects.locations.instances.legacySdk.legacyGetFailedActions

Legacy RPC for getting failed actions.

HTTP request


Path parameters

Parameters
instance

string

Required. The GetFailedActions request. Format: projects/{project}/locations/{location}/instances/{instance}/legacySdk:getFailedActions

Query parameters

Parameters
numberOfHours

string (int64 format)

Required. The action type to get the failed actions for.

Request body

The request body must be empty.

Response body

The GetFailedActionsResponse message.

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

JSON representation
{
  "payload": [
    {
      object (SdkApiActionHistory)
    }
  ]
}
Fields
payload[]

object (SdkApiActionHistory)

The failed actions.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

SdkApiActionHistory

ApiActionHistory message.

JSON representation
{
  "id": string,
  "name": string,
  "message": string,
  "creationTime": string,
  "workflowId": string,
  "identifier": string,
  "modificationTime": string,
  "additionalProperties": {
    string: string,
    ...
  },
  "caseId": string
}
Fields
id

string (int64 format)

The id of the action history.

name

string

The name of the action.

message

string

The message of the action.

creationTime

string

The creation time of the action.

workflowId

string

The workflow id of the action.

identifier

string

The identifier of the action.

modificationTime

string (int64 format)

The modification time of the action.

additionalProperties

map (key: string, value: string)

The additional properties of the action.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

caseId

string (int64 format)

The case id of the action.