Reference documentation and code samples for the Google Apps Meet V2 Client class ParticipantSession.
Refers to each unique join or leave session when a user joins a conference from a device. Note that any time a user joins the conference a new unique ID is assigned. That means if a user joins a space multiple times from the same device, they're assigned different IDs, and are also be treated as different participant sessions.
Generated from protobuf message google.apps.meet.v2.ParticipantSession
Namespace
Google \ Apps \ Meet \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Identifier. Session id. |
↳ start_time |
Google\Protobuf\Timestamp
Output only. Timestamp when the user session starts. |
↳ end_time |
Google\Protobuf\Timestamp
Output only. Timestamp when the user session ends. Unset if the user session hasn’t ended. |
getName
Identifier. Session id.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Identifier. Session id.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
Output only. Timestamp when the user session starts.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Output only. Timestamp when the user session starts.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
Output only. Timestamp when the user session ends. Unset if the user session hasn’t ended.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
Output only. Timestamp when the user session ends. Unset if the user session hasn’t ended.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|