Full name: projects.locations.instances.legacyPlaybooks.upload
legacyPlaybooks.upload Import workflows from a zip file.
HTTP request
Path parameters
Parameters | |
---|---|
instance |
Required. The instance to import the definitions for. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "media": { object ( |
Fields | |
---|---|
media |
Information representing the imported data. |
mediaInfo |
Metadata about the media upload request. Information representing the imported data |
Response body
LegacyPlaybookImportDefinitionsResponse is a response for importing the Workflow definitions from a zip file.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"workflowIdentifiers": [
string
],
"mediaInfo": {
object ( |
Fields | |
---|---|
workflowIdentifiers[] |
Optional. The identifiers of the imported definitions. |
mediaInfo |
Metadata about the media upload response. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.