Method: legacyPlaybooks.legacyGetEnabledWFCards

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

Get enabled workflow cards. Returns the list of enabled workflows (playbooks).

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to get the enabled WFCards for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "caseEnvironment": string
}
Fields
caseEnvironment

string

Optional. The environment to get the enabled WFCards for.

Response body

LegacyPlaybookGetEnabledWFCardsResponse is a response for getting the enabled WFCards.

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

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

object (ApiPlaybookCard)

Optional. The enabled WFCards.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

ApiPlaybookCard

ApiPlaybookCard represents a playbook card.

JSON representation
{
  "playbookName": string,
  "description": string,
  "playbookType": enum (PlaybookType),
  "originalWorkflowDefinitionIdentifier": string,
  "workflowDefinitionIdentifier": string,
  "isDebugMode": boolean
}
Fields
playbookName

string

Required. PlaybookName is the name of the playbook.

description

string

Optional. Description is the description of the playbook.

playbookType

enum (PlaybookType)

Required. PlaybookType is the type of the playbook.

originalWorkflowDefinitionIdentifier

string

Required. OriginalWorkflowDefinitionIdentifier is the original workflow definition identifier.

workflowDefinitionIdentifier

string

Required. WorkflowDefinitionIdentifier is the workflow definition identifier.

isDebugMode

boolean

Optional. IsDebugMode indicates if the playbook is in debug mode.

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.