Method: legacyPublisher.legacySetUpgradeInProgress

Full name: projects.locations.instances.legacyPublisher.legacySetUpgradeInProgress

Legacy endpoint for updating upgradeInProgress status.

HTTP request


Path parameters

Parameters
instance

string

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

string

Required. the agent identifier to change the upgrade in progress flag for.

upgrade_in_progress

boolean

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 the following OAuth scope:

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

For more information, see the Authentication Overview.