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.
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}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
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}
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = {
var
string
$this
getUserId
Output only. Email of user running the session.
Generated from protobuf field string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setUserId
Output only. Email of user running the session.
Generated from protobuf field string user_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getCreateTime
Output only. Session start time.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. Session start time.
Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getState
Generated from protobuf field .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setState
Generated from protobuf field .google.cloud.dataplex.v1.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this