[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::CreateDeviceSessionRequest (v0.1.0)\n\nReference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::CreateDeviceSessionRequest.\n\nRequest message for DirectAccessService.CreateDeviceSession. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #device_session\n\n def device_session() -\u003e ::Google::Cloud::DeviceStreaming::V1::DeviceSession\n\n**Returns**\n\n- ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](./Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. A DeviceSession to create.\n\n### #device_session=\n\n def device_session=(value) -\u003e ::Google::Cloud::DeviceStreaming::V1::DeviceSession\n\n**Parameter**\n\n- **value** ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](./Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. A DeviceSession to create. \n**Returns**\n\n- ([::Google::Cloud::DeviceStreaming::V1::DeviceSession](./Google-Cloud-DeviceStreaming-V1-DeviceSession)) --- Required. A DeviceSession to create.\n\n### #device_session_id\n\n def device_session_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.\n\n This value should be 4-63 characters, and valid characters\n are /\\[a-z\\]\\[0-9\\]-/.\n\n### #device_session_id=\n\n def device_session_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.\n\n\n This value should be 4-63 characters, and valid characters\nare /\\[a-z\\]\\[0-9\\]-/. \n**Returns**\n\n- (::String) --- Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.\n\n This value should be 4-63 characters, and valid characters\n are /\\[a-z\\]\\[0-9\\]-/.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The Compute Engine project under which this device will be allocated. \"projects/{project_id}\"\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The Compute Engine project under which this device will be allocated. \"projects/{project_id}\" \n**Returns**\n\n- (::String) --- Required. The Compute Engine project under which this device will be allocated. \"projects/{project_id}\""]]