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
- (::Google::Cloud::DeviceStreaming::V1::DeviceSession) — Required. A DeviceSession to create.
#device_session=
def device_session=(value) -> ::Google::Cloud::DeviceStreaming::V1::DeviceSession
- value (::Google::Cloud::DeviceStreaming::V1::DeviceSession) — Required. A DeviceSession to create.
- (::Google::Cloud::DeviceStreaming::V1::DeviceSession) — Required. A DeviceSession to create.
#device_session_id
def device_session_id() -> ::String
-
(::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
-
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]-/.
-
(::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
- (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"
#parent=
def parent=(value) -> ::String
- value (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"
- (::String) — Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"