Method: remoteAgents.redeployRemoteAgent

Full name: projects.locations.instances.remoteAgents.redeployRemoteAgent

Redeploys remote agent from an already existing remote agent.

HTTP request


Path parameters

Parameters
parent

string

Required. Format: projects/{project}/locations/{location}/instances/{instance}

Request body

The request body contains data with the following structure:

JSON representation
{
  "previousRemoteAgent": string,
  "newRemoteAgent": string
}
Fields
previousRemoteAgent

string

Required. The source remote agent's identifier.

newRemoteAgent

string

Required. The destination remote agent's identifier.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.