Reference documentation and code samples for the Cloud Workstations V1 API class Google::Cloud::Workstations::V1::Workstation.
A single instance of a developer workstation with its own persistent storage.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Client-specified annotations.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation was created.
#delete_time
def delete_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation was soft-deleted.
#display_name
def display_name() -> ::String
Returns
- (::String) — Optional. Human-readable name for this workstation.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Optional. Human-readable name for this workstation.
Returns
- (::String) — Optional. Human-readable name for this workstation.
#etag
def etag() -> ::String
Returns
- (::String) — Optional. 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.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Optional. 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.
Returns
- (::String) — Optional. 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.
#host
def host() -> ::String
Returns
-
(::String) — Output only. Host to which clients can send HTTPS traffic that will be
received by the workstation. Authorized traffic will be received to the
workstation as HTTP on port 80. To send traffic to a different port,
clients may prefix the host with the destination port in the format
{port}-{host}
.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
#name
def name() -> ::String
Returns
- (::String) — Full name of this workstation.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Full name of this workstation.
Returns
- (::String) — Full name of this workstation.
#reconciling
def reconciling() -> ::Boolean
Returns
- (::Boolean) — Output only. Indicates whether this workstation is currently being updated to match its intended state.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
#state
def state() -> ::Google::Cloud::Workstations::V1::Workstation::State
Returns
- (::Google::Cloud::Workstations::V1::Workstation::State) — Output only. Current state of the workstation.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. A system-assigned unique identifier for this workstation.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time when this workstation was most recently updated.