- HTTP request
 - Path parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
Full name: projects.locations.instances.legacySystem.legacyGetMaximumDataRetentionValue
Legacy endpoint for getting the maximum data retention value.
HTTP request
Path parameters
| Parameters | |
|---|---|
instance | 
                
                   
 Required. The instance to get the maximum data retention value for. Format: projects/{project}/locations/{location}/instances/{instance}/legacySystem:legacyGetMaximumDataRetentionValue  | 
              
Request body
The request body must be empty.
Response body
Response message for legacySystem.legacyGetMaximumDataRetentionValue.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{ "payload": integer }  | 
                  
| Fields | |
|---|---|
payload | 
                    
                       
 The maximum data retention value time in months.  | 
                  
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.legacySystem.getMaximumDataRetentionValue
For more information, see the IAM documentation.