Method: legacyPlaybooks.legacyGetHtmlViewPresets

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

legacyPlaybooks.legacyGetHtmlViewPresets gets the html view presets.

HTTP request


Path parameters

Parameters
instance

string

Required. The instance to get the html view presets for. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body must be empty.

Response body

LegacyPlaybookGetHtmlViewPresetsResponse is a response for getting html view presets.

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

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

object (HtmlViewPreset)

Optional. The html view presets. The Struct will contain the following fields: name: string identifier: string thumbnailBase64: string htmlCode: string htmlHeight: int

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

HtmlViewPreset

HtmlViewPreset represents a html view preset.

JSON representation
{
  "name": string,
  "identifier": string,
  "thumbnailBase64": string,
  "htmlCode": string,
  "htmlHeight": integer
}
Fields
name

string

Required. Name is the name of the html view preset.

identifier

string

Required. Identifier is the identifier of the html view preset.

thumbnailBase64

string

Optional. ThumbnailBase64 is the base64 thumbnail of the html view preset.

htmlCode

string

Required. HtmlCode is the html code of the html view preset.

htmlHeight

integer

Required. HtmlHeight is the height of the html view preset.