Interface CreateWorkstationRequestOrBuilder (0.81.0)

public interface CreateWorkstationRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent resource name.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getValidateOnly()

public abstract boolean getValidateOnly()

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

bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The validateOnly.

getWorkstation()

public abstract Workstation getWorkstation()

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.

.google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Workstation

The workstation.

getWorkstationId()

public abstract String getWorkstationId()

Required. ID to use for the workstation.

string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The workstationId.

getWorkstationIdBytes()

public abstract ByteString getWorkstationIdBytes()

Required. ID to use for the workstation.

string workstation_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for workstationId.

getWorkstationOrBuilder()

public abstract WorkstationOrBuilder getWorkstationOrBuilder()

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.

.google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
WorkstationOrBuilder

hasWorkstation()

public abstract boolean hasWorkstation()

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.

.google.cloud.workstations.v1.Workstation workstation = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the workstation field is set.