Cloud Workstations v1 API - Class CreateWorkstationRequest (1.5.0)

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

Reference documentation and code samples for the Cloud Workstations v1 API class CreateWorkstationRequest.

Message for creating a CreateWorkstation.

Inheritance

object > CreateWorkstationRequest

Namespace

Google.Cloud.Workstations.V1

Assembly

Google.Cloud.Workstations.V1.dll

Constructors

CreateWorkstationRequest()

public CreateWorkstationRequest()

CreateWorkstationRequest(CreateWorkstationRequest)

public CreateWorkstationRequest(CreateWorkstationRequest other)
Parameter
Name Description
other CreateWorkstationRequest

Properties

Parent

public string Parent { get; set; }

Required. Parent resource name.

Property Value
Type Description
string

ParentAsWorkstationConfigName

public WorkstationConfigName ParentAsWorkstationConfigName { get; set; }

WorkstationConfigName-typed view over the Parent resource name property.

Property Value
Type Description
WorkstationConfigName

ValidateOnly

public bool ValidateOnly { get; set; }

Optional. If set, validate the request and preview the result, but do not actually apply it.

Property Value
Type Description
bool

Workstation

public Workstation Workstation { get; set; }

Required. Workstation to create. If source_workstation is specified, the user must have workstations.workstations.use permission on the source workstation, and the Cloud Workstations Service Agent for the project where you are creating the new workstation must have compute.disks.createSnapshot and compute.snapshots.useReadOnly on the source project.

Property Value
Type Description
Workstation

WorkstationId

public string WorkstationId { get; set; }

Required. ID to use for the workstation.

Property Value
Type Description
string