Method: remoteAgents.fetchInstallationCommand

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

Fetches the installation command of the remote agent.

HTTP request


Path parameters

Parameters
name

string

Required. The name of the remote agent to delete. Format: projects/{project}/locations/{location}/instances/{instance}/remoteAgents/{remoteAgent}

Query parameters

Parameters
installationType

enum (InstallationType)

Required. The type of the installation command to fetch.

Request body

The request body must be empty.

Response body

Response message for the remoteAgents.fetchInstallationCommand method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "installationCommand": string
}
Fields
installationCommand

string

Output only. Installer installation command - depends on the installation command.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.