Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class GetDeviceSessionRequest.
Request message for DirectAccessService.GetDeviceSession.
Generated from protobuf message google.cloud.devicestreaming.v1.GetDeviceSessionRequest
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}" |
getName
Required. Name of the DeviceSession, e.g.
"projects/{project_id}/deviceSessions/{session_id}"
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Name of the DeviceSession, e.g.
"projects/{project_id}/deviceSessions/{session_id}"
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. Name of the DeviceSession, e.g. "projects/{project_id}/deviceSessions/{session_id}" Please see DirectAccessServiceClient::deviceSessionName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetDeviceSessionRequest |
|