Method: legacySystem.legacyGetMaximumDataRetentionValue

Full name: projects.locations.instances.legacySystem.legacyGetMaximumDataRetentionValue

Returns the maximum data retention period allowed by the current license, expressed in months.

HTTP request


GET https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacySystem:legacyGetMaximumDataRetentionValue

Path parameters

Parameters
instance

string

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

integer

The maximum data retention value time in months.

Authorization scopes

Requires one of the following OAuth scopes:

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

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.