Google Cloud Dataplex V1 Client - Class Session (0.2.3)

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

Represents an active analyze session running for a user.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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}

↳ user_id string

Output only. Email of user running the session.

↳ create_time Google\Protobuf\Timestamp

Output only. Session start time.

↳ state int

getName

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}

Returns
TypeDescription
string

setName

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}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUserId

Output only. Email of user running the session.

Returns
TypeDescription
string

setUserId

Output only. Email of user running the session.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Session start time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Session start time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Generated from protobuf field .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

setState

Generated from protobuf field .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var int
Returns
TypeDescription
$this