Device Streaming v1 API - Class CreateDeviceSessionRequest (1.0.0-beta01)

public sealed class CreateDeviceSessionRequest : IMessage<CreateDeviceSessionRequest>, IEquatable<CreateDeviceSessionRequest>, IDeepCloneable<CreateDeviceSessionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Device Streaming v1 API class CreateDeviceSessionRequest.

Request message for DirectAccessService.CreateDeviceSession.

Inheritance

object > CreateDeviceSessionRequest

Namespace

Google.Cloud.DeviceStreaming.V1

Assembly

Google.Cloud.DeviceStreaming.V1.dll

Constructors

CreateDeviceSessionRequest()

public CreateDeviceSessionRequest()

CreateDeviceSessionRequest(CreateDeviceSessionRequest)

public CreateDeviceSessionRequest(CreateDeviceSessionRequest other)
Parameter
Name Description
other CreateDeviceSessionRequest

Properties

DeviceSession

public DeviceSession DeviceSession { get; set; }

Required. A DeviceSession to create.

Property Value
Type Description
DeviceSession

DeviceSessionId

public string DeviceSessionId { get; set; }

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]-/.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The Compute Engine project under which this device will be allocated. "projects/{project_id}"

Property Value
Type Description
string

ParentAsProjectName

public ProjectName ParentAsProjectName { get; set; }

ProjectName-typed view over the Parent resource name property.

Property Value
Type Description
ProjectName