projects

Cancels an in-progress automation session. This RPC returns immediately and cancellation proceeds asynchronously. If the session is already finished, this RPC will have no effect.

post/v1alpha/{+name}:cancel

Request

  • Base URL: https://devicerun.googleapis.com
  • URL: https://devicerun.googleapis.com/v1alpha/{+name}:cancel
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

namestring required

Required. The name of the session. Format: "projects/{project}/locations/{location}/sessions/{session}"

Request body

CancelSessionRequest required

Request to cancel a session.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.