Method: projects.locations.sessions.get

Returns information about a previously created automation session.

HTTP request

GET https://devicerun.googleapis.com/v1alpha/{name=projects/*/locations/*/sessions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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

Query parameters

Parameters
view

enum (SessionView)

Optional. The view of the session to return. If not set, the default BASIC view will be returned.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Session.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.