Reference documentation and code samples for the Cloud Workstations V1BETA API class Google::Cloud::Workstations::V1beta::CreateWorkstationRequest.
Message for creating a CreateWorkstation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. Parent resource name.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. Parent resource name.
Returns
- (::String) — Required. Parent resource name.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Optional. If set, validate the request and preview the result, but do not actually apply it.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If set, validate the request and preview the result, but do not actually apply it.
Returns
- (::Boolean) — Optional. If set, validate the request and preview the result, but do not actually apply it.
#workstation
def workstation() -> ::Google::Cloud::Workstations::V1beta::Workstation
Returns
-
(::Google::Cloud::Workstations::V1beta::Workstation) — Required. Workstation to create. If source_workstation is specified, the
user must have
workstations.workstations.usepermission 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.
#workstation=
def workstation=(value) -> ::Google::Cloud::Workstations::V1beta::Workstation
Parameter
-
value (::Google::Cloud::Workstations::V1beta::Workstation) — Required. Workstation to create. If source_workstation is specified, the
user must have
workstations.workstations.usepermission 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.
Returns
-
(::Google::Cloud::Workstations::V1beta::Workstation) — Required. Workstation to create. If source_workstation is specified, the
user must have
workstations.workstations.usepermission 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.
#workstation_id
def workstation_id() -> ::String
Returns
- (::String) — Required. ID to use for the workstation.
#workstation_id=
def workstation_id=(value) -> ::String
Parameter
- value (::String) — Required. ID to use for the workstation.
Returns
- (::String) — Required. ID to use for the workstation.