Google Cloud Dataplex V1 Client - Class SessionEvent (0.1.6)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class SessionEvent.

These messages contain information about sessions within an environment.

The monitored resource is 'Environment'.

Generated from protobuf message google.cloud.dataplex.v1.SessionEvent

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ message string

The log message.

↳ user_id string

The information about the user that created the session.

↳ session_id string

Unique identifier for the session.

↳ type int

The type of the event.

↳ query Google\Cloud\Dataplex\V1\SessionEvent\QueryDetail

The execution details of the query.

getMessage

The log message.

Generated from protobuf field string message = 1;

Returns
TypeDescription
string

setMessage

The log message.

Generated from protobuf field string message = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUserId

The information about the user that created the session.

Generated from protobuf field string user_id = 2;

Returns
TypeDescription
string

setUserId

The information about the user that created the session.

Generated from protobuf field string user_id = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSessionId

Unique identifier for the session.

Generated from protobuf field string session_id = 3;

Returns
TypeDescription
string

setSessionId

Unique identifier for the session.

Generated from protobuf field string session_id = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

The type of the event.

Generated from protobuf field .google.cloud.dataplex.v1.SessionEvent.EventType type = 4;

Returns
TypeDescription
int

setType

The type of the event.

Generated from protobuf field .google.cloud.dataplex.v1.SessionEvent.EventType type = 4;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getQuery

The execution details of the query.

Generated from protobuf field .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;

Returns
TypeDescription
Google\Cloud\Dataplex\V1\SessionEvent\QueryDetail|null

hasQuery

setQuery

The execution details of the query.

Generated from protobuf field .google.cloud.dataplex.v1.SessionEvent.QueryDetail query = 5;

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\SessionEvent\QueryDetail
Returns
TypeDescription
$this

getDetail

Returns
TypeDescription
string