Class SessionEvent (1.6.2)

SessionEvent(mapping=None, *, ignore_unknown_fields=False, **kwargs)

These messages contain information about sessions within an environment. The monitored resource is 'Environment'.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
message str
The log message.
user_id str
The information about the user that created the session. It will be the email address of the user.
session_id str
Unique identifier for the session.
type_ google.cloud.dataplex_v1.types.SessionEvent.EventType
The type of the event.
query google.cloud.dataplex_v1.types.SessionEvent.QueryDetail
The execution details of the query. This field is a member of oneof_ detail.
event_succeeded bool
The status of the event.
fast_startup_enabled bool
If the session is associated with an environment with fast startup enabled, and was created before being assigned to a user.
unassigned_duration google.protobuf.duration_pb2.Duration
The idle duration of a warm pooled session before it is assigned to user.

Classes

EventType

EventType(value)

The type of the event.

Values: EVENT_TYPE_UNSPECIFIED (0): An unspecified event type. START (1): Event when the session is assigned to a user. STOP (2): Event for stop of a session. QUERY (3): Query events in the session. CREATE (4): Event for creation of a cluster. It is not yet assigned to a user. This comes before START in the sequence

QueryDetail

QueryDetail(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Execution details of the query.