Reference documentation and code samples for the Google Cloud Device Streaming V1 Client class UpdateDeviceSessionRequest.
Request message for DirectAccessService.UpdateDeviceSession.
Generated from protobuf message google.cloud.devicestreaming.v1.UpdateDeviceSessionRequest
Namespace
Google \ Cloud \ DeviceStreaming \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ device_session |
DeviceSession
Required. DeviceSession to update. The DeviceSession's |
↳ update_mask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. |
getDeviceSession
Required. DeviceSession to update.
The DeviceSession's name field is used to identify the session to update
"projects/{project_id}/deviceSessions/{session_id}"
| Returns | |
|---|---|
| Type | Description |
DeviceSession|null |
|
hasDeviceSession
clearDeviceSession
setDeviceSession
Required. DeviceSession to update.
The DeviceSession's name field is used to identify the session to update
"projects/{project_id}/deviceSessions/{session_id}"
| Parameter | |
|---|---|
| Name | Description |
var |
DeviceSession
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
Optional. The list of fields to update.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
Optional. The list of fields to update.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
deviceSession |
DeviceSession
Required. DeviceSession to update.
The DeviceSession's |
updateMask |
Google\Protobuf\FieldMask
Optional. The list of fields to update. |
| Returns | |
|---|---|
| Type | Description |
UpdateDeviceSessionRequest |
|