Method: legacyPlaybooks.legacyGetWorkflowMenuCardsWithEnvFilter

Full name: projects.locations.instances.legacyPlaybooks.legacyGetWorkflowMenuCardsWithEnvFilter

Get legacyGetWorkflowMenuCards returns a list of the existing playbook cards with environment filter.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to get the workflows that contains action for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "legacyPayload": [
    enum (PlaybookType)
  ]
}
Fields
legacyPayload[]

enum (PlaybookType)

Required. Playbook types to filter the workflow menu cards by.

Response body

LegacyPlaybookGetWorkflowMenuCardsWithEnvFilterResponse is a response for getting the workflows that contains action.

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

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

object (ApiWorkflowMenuCardDefinitionDataModel)

Optional. The workflow menu cards.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

PlaybookType

Playbook types to filter the workflow menu cards by.

Enums
PLAYBOOK_TYPE_UNSPECIFIED Unspecified playbook type.
REGULAR Regular playbook type.
NESTED Nested playbook type.