Full name: projects.locations.instances.legacyPublisher.legacySetUpgradeInProgress
Sets a flag indicating that a remote agent is currently undergoing a software upgrade.
HTTP request
POST https://chronicle.africa-south1.rep.googleapis.com/v1alpha/{instance}/legacyPublisher:legacySetUpgradeInProgress Path parameters
| Parameters | |
|---|---|
instance |
Required. The instance of the legacy publisher. Format: projects/{project}/locations/{location}/instances/{instance}/legacyPublisher |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "agent_identifier": string, "upgrade_in_progress": boolean } |
| Fields | |
|---|---|
agent_identifier |
Required. the agent identifier to change the upgrade in progress flag for. |
upgrade_in_progress |
Required. The boolean value to set the upgrade in progress flag for the agent. |
Response body
If successful, the response body is an empty JSON object.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://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.legacyPublisher.update
For more information, see the IAM documentation.