Cloud Workstations v1 API - Class WorkstationConfig (1.0.0-beta01)

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

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

A set of configuration options describing how a workstation will be run. Workstation configurations are intended to be shared across multiple workstations.

Inheritance

object > WorkstationConfig

Namespace

Google.Cloud.Workstations.V1

Assembly

Google.Cloud.Workstations.V1.dll

Constructors

WorkstationConfig()

public WorkstationConfig()

WorkstationConfig(WorkstationConfig)

public WorkstationConfig(WorkstationConfig other)
Parameter
NameDescription
otherWorkstationConfig

Properties

Annotations

public MapField<string, string> Annotations { get; }

Client-specified annotations.

Property Value
TypeDescription
MapFieldstringstring

Conditions

public RepeatedField<Status> Conditions { get; }

Output only. Status conditions describing the current resource state.

Property Value
TypeDescription
RepeatedFieldStatus

Container

public WorkstationConfig.Types.Container Container { get; set; }

Container that will be run for each workstation using this configuration when that workstation is started.

Property Value
TypeDescription
WorkstationConfigTypesContainer

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Time when this resource was created.

Property Value
TypeDescription
Timestamp

Degraded

public bool Degraded { get; set; }

Output only. Whether this resource is degraded, in which case it may require user action to restore full functionality. See also the conditions field.

Property Value
TypeDescription
bool

DeleteTime

public Timestamp DeleteTime { get; set; }

Output only. Time when this resource was soft-deleted.

Property Value
TypeDescription
Timestamp

DisplayName

public string DisplayName { get; set; }

Human-readable name for this resource.

Property Value
TypeDescription
string

EncryptionKey

public WorkstationConfig.Types.CustomerEncryptionKey EncryptionKey { get; set; }

Immutable. Encrypts resources of this workstation configuration using a customer-managed encryption key.

If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata.

If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost.

If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours.

Immutable after the workstation configuration is created.

Property Value
TypeDescription
WorkstationConfigTypesCustomerEncryptionKey

Etag

public string Etag { get; set; }

Checksum computed by the server. May be sent on update and delete requests to make sure that the client has an up-to-date value before proceeding.

Property Value
TypeDescription
string

Host

public WorkstationConfig.Types.Host Host { get; set; }

Runtime host for the workstation.

Property Value
TypeDescription
WorkstationConfigTypesHost

IdleTimeout

public Duration IdleTimeout { get; set; }

How long to wait before automatically stopping an instance that hasn't received any user traffic. A value of 0 indicates that this instance should never time out due to idleness. Defaults to 20 minutes.

Property Value
TypeDescription
Duration

Labels

public MapField<string, string> Labels { get; }

Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources.

Property Value
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

Full name of this resource.

Property Value
TypeDescription
string

PersistentDirectories

public RepeatedField<WorkstationConfig.Types.PersistentDirectory> PersistentDirectories { get; }

Directories to persist across workstation sessions.

Property Value
TypeDescription
RepeatedFieldWorkstationConfigTypesPersistentDirectory

Reconciling

public bool Reconciling { get; set; }

Output only. Indicates whether this resource is currently being updated to match its intended state.

Property Value
TypeDescription
bool

RunningTimeout

public Duration RunningTimeout { get; set; }

How long to wait before automatically stopping a workstation after it started. A value of 0 indicates that workstations using this configuration should never time out. Must be greater than 0 and less than 24 hours if encryption_key is set. Defaults to 12 hours.

Property Value
TypeDescription
Duration

Uid

public string Uid { get; set; }

Output only. A system-assigned unique identified for this resource.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Time when this resource was most recently updated.

Property Value
TypeDescription
Timestamp

WorkstationConfigName

public WorkstationConfigName WorkstationConfigName { get; set; }

WorkstationConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
WorkstationConfigName