Method: legacyPlaybooks.legacyCheckWorkflowNameInDifferentEnvironments

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

legacyPlaybooks.legacyCheckWorkflowNameInDifferentEnvironments checks if the workflow name is used in different environments.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to check the workflow name in different environments for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "wfName": string
}
Fields
wfName

string

Required. The workflow name to check in different environments for.

Response body

LegacyPlaybookCheckWorkflowNameInDifferentEnvironmentsResponse is a response for checking if the workflow name already exists in different environment. if it exists, the response will contain the identifier of the workflow in the different environment.

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

JSON representation
{
  "payload": string
}
Fields
payload

string

Optional. The result of the check.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.