Resource: Watchlist
A watchlist is a list of entities that allows for bulk operations over the included entities.
| JSON representation | 
|---|
{ "name": string, "displayName": string, "description": string, "multiplyingFactor": number, "entityPopulationMechanism": { object (  | 
              
| Fields | |
|---|---|
name | 
                
                   
 Identifier. Resource name of the watchlist. Format:   | 
              
displayName | 
                
                   
 Required. Display name of the watchlist. Note that it must be at least one character and less than 63 characters (https://google.aip.dev/148).  | 
              
description | 
                
                   
 Optional. Description of the watchlist.  | 
              
multiplyingFactor | 
                
                   
 Optional. Weight applied to the risk score for entities in this watchlist. The default is 1.0 if it is not specified.  | 
              
entityPopulationMechanism | 
                
                   
 Required. Mechanism to populate entities in the watchlist.  | 
              
entityCount | 
                
                   
 Output only. Entity count in the watchlist.  | 
              
createTime | 
                
                   
 Output only. Time the watchlist was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
updateTime | 
                
                   
 Output only. Time the watchlist was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
watchlistUserPreferences | 
                
                   
 Optional. User preferences for watchlist configuration.  | 
              
EntityPopulationMechanism
Mechanism to populate entities in the watchlist.
| JSON representation | 
|---|
{ // Union field  | 
              
| Fields | |
|---|---|
Union field mechanism. Ways to populate entities in watchlist. Currently, only manual is supported. mechanism can be only one of the following: | 
              |
manual | 
                
                   
 Optional. Entities are added manually.  | 
              
Manual
This type has no fields.
Entities are added manually.
EntityCount
Count of different types of entities in the watchlist.
| JSON representation | 
|---|
{ "user": integer, "asset": integer }  | 
              
| Fields | |
|---|---|
user | 
                
                   
 Output only. Count of user type entities in the watchlist.  | 
              
asset | 
                
                   
 Output only. Count of asset type entities in the watchlist.  | 
              
WatchlistUserPreferences
A collection of user preferences for watchlist UI configuration.
| JSON representation | 
|---|
{ "pinned": boolean }  | 
              
| Fields | |
|---|---|
pinned | 
                
                   
 Optional. Whether the watchlist is pinned on the dashboard.  | 
              
Methods | 
            |
|---|---|
                
 | 
              Creates a watchlist for the given instance. | 
                
 | 
              Deletes the watchlist for the given instance. | 
                
 | 
              Gets watchlist details for the given watchlist ID. | 
                
 | 
              Lists all watchlists for the given instance. | 
                
 | 
              Updates the watchlist for the given instance. |