# Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::UpdateDeviceSessionRequest (v0.3.0)

0.3.0 (latest) 0.2.1 0.1.0 Reference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::UpdateDeviceSessionRequest.

Request message for DirectAccessService.UpdateDeviceSession.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #device_session

    def device_session() -> ::Google::Cloud::DeviceStreaming::V1::DeviceSession

**Returns**

- ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. DeviceSession to update. The DeviceSession's `name` field is used to identify the session to update "projects/{project_id}/deviceSessions/{session_id}"

### #device_session=

    def device_session=(value) -> ::Google::Cloud::DeviceStreaming::V1::DeviceSession

**Parameter**

- **value** ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. DeviceSession to update. The DeviceSession's `name` field is used to identify the session to update "projects/{project_id}/deviceSessions/{session_id}"
**Returns**

- ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. DeviceSession to update. The DeviceSession's `name` field is used to identify the session to update "projects/{project_id}/deviceSessions/{session_id}"

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The list of fields to update.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The list of fields to update.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-device_streaming-v1/latest/Google-Protobuf-FieldMask)) --- Optional. The list of fields to update.