sessions
Creates, updates, deletes, gets or lists a sessions
resource.
Overview
Name | sessions |
Type | Resource |
Id | google.dataplex.sessions |
Fields
The following fields are returned by SELECT
queries:
- projects_locations_lakes_environments_sessions_list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Output only. The relative resource name of the content, of the form: projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id} |
createTime | string (google-datetime) | Output only. Session start time. |
state | string | Output only. State of Session |
userId | string | Output only. Email of user running the session. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
projects_locations_lakes_environments_sessions_list | select | projectsId , locationsId , lakesId , environmentsId | pageSize , pageToken , filter | Lists session resources in an environment. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
environmentsId | string | |
lakesId | string | |
locationsId | string | |
projectsId | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- projects_locations_lakes_environments_sessions_list
Lists session resources in an environment.
SELECT
name,
createTime,
state,
userId
FROM google.dataplex.sessions
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND lakesId = '{{ lakesId }}' -- required
AND environmentsId = '{{ environmentsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}';