- HTTP request
 - Path parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - HtmlViewPreset
 - Try it!
 
Full name: projects.locations.instances.legacyPlaybooks.legacyGetHtmlViewPresets
legacyPlaybooks.legacyGetHtmlViewPresets gets the html view presets.
HTTP request
Path parameters
| Parameters | |
|---|---|
instance | 
                
                   
 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 ( | 
                  
| Fields | |
|---|---|
payload[] | 
                    
                       
 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.
IAM Permissions
Requires the following IAM permission on the instance resource:
chronicle.legacyPlaybooks.get
For more information, see the IAM documentation.
HtmlViewPreset
HtmlViewPreset represents a html view preset.
| JSON representation | 
|---|
{ "name": string, "identifier": string, "thumbnailBase64": string, "htmlCode": string, "htmlHeight": integer }  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Required. Name is the name of the html view preset.  | 
              
identifier | 
                
                   
 Required. Identifier is the identifier of the html view preset.  | 
              
thumbnailBase64 | 
                
                   
 Optional. ThumbnailBase64 is the base64 thumbnail of the html view preset.  | 
              
htmlCode | 
                
                   
 Required. HtmlCode is the html code of the html view preset.  | 
              
htmlHeight | 
                
                   
 Required. HtmlHeight is the height of the html view preset.  |