Device Streaming V1 API - Class Google::Cloud::DeviceStreaming::V1::CreateDeviceSessionRequest (v0.1.0)

Reference documentation and code samples for the Device Streaming V1 API class Google::Cloud::DeviceStreaming::V1::CreateDeviceSessionRequest.

Request message for DirectAccessService.CreateDeviceSession.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#device_session

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

#device_session=

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

#device_session_id

def device_session_id() -> ::String
Returns
  • (::String) — Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

#device_session_id=

def device_session_id=(value) -> ::String
Parameter
  • value (::String) — Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

Returns
  • (::String) — Optional. The ID to use for the DeviceSession, which will become the final component of the DeviceSession's resource name.

    This value should be 4-63 characters, and valid characters are /[a-z][0-9]-/.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"
Returns
  • (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"