Class Workstation (0.5.5)

Workstation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single instance of a developer workstation with its own persistent storage.

Attributes

NameDescription
name str
Full name of this workstation.
display_name str
Optional. Human-readable name for this workstation.
uid str
Output only. A system-assigned unique identifier for this workstation.
reconciling bool
Output only. Indicates whether this workstation is currently being updated to match its intended state.
annotations MutableMapping[str, str]
Optional. Client-specified annotations.
labels MutableMapping[str, str]
Optional. Labels __ that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this workstation was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this workstation was most recently updated.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this workstation was most recently successfully started, regardless of the workstation's initial state.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. Time when this workstation was soft-deleted.
etag str
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.
state google.cloud.workstations_v1.types.Workstation.State
Output only. Current state of the workstation.
host str
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}.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Whether a workstation is running and ready to receive user requests.

Values: STATE_UNSPECIFIED (0): Do not use. STATE_STARTING (1): The workstation is not yet ready to accept requests from users but will be soon. STATE_RUNNING (2): The workstation is ready to accept requests from users. STATE_STOPPING (3): The workstation is being stopped. STATE_STOPPED (4): The workstation is stopped and will not be able to receive requests until it is started.