- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Session
- Try it!
Lists session resources in an environment.
HTTP request
GET https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*/lakes/*/environments/*}/sessions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the parent environment: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. Maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 10 sessions will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
page |
Optional. Page token received from a previous |
filter |
Optional. Filter request. The following mode = ADMIN | USER |
Request body
The request body must be empty.
Response body
List sessions response.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"sessions": [
{
object ( |
Fields | |
---|---|
sessions[] |
Sessions under a given environment. |
next |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Session
Represents an active analyze session running for a user.
JSON representation |
---|
{
"name": string,
"userId": string,
"createTime": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. The relative resource name of the content, of the form: projects/{projectId}/locations/{locationId}/lakes/{lakeId}/environment/{environmentId}/sessions/{sessionId} |
user |
Output only. Email of user running the session. |
create |
Output only. Session start time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. State of Session |