Struct google_api_proto::google::cloud::workstations::v1beta::Workstation
source · pub struct Workstation {Show 14 fields
pub name: String,
pub display_name: String,
pub uid: String,
pub reconciling: bool,
pub annotations: BTreeMap<String, String>,
pub labels: BTreeMap<String, String>,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub delete_time: Option<Timestamp>,
pub etag: String,
pub state: i32,
pub host: String,
pub env: BTreeMap<String, String>,
}
Expand description
A single instance of a developer workstation with its own persistent storage.
Fields§
§name: String
Full name of this workstation.
display_name: String
Optional. Human-readable name for this workstation.
uid: String
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: BTreeMap<String, String>
Optional. Client-specified annotations.
labels: BTreeMap<String, String>
Optional. Labels that are applied to the workstation and that are also propagated to the underlying Compute Engine resources.
create_time: Option<Timestamp>
Output only. Time when this workstation was created.
update_time: Option<Timestamp>
Output only. Time when this workstation was most recently updated.
start_time: Option<Timestamp>
Output only. Time when this workstation was most recently successfully started, regardless of the workstation’s initial state.
delete_time: Option<Timestamp>
Output only. Time when this workstation was soft-deleted.
etag: 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.
state: i32
Output only. Current state of the workstation.
host: 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}
.
env: BTreeMap<String, String>
Optional. Environment variables passed to the workstation container’s entrypoint.
Implementations§
Trait Implementations§
source§impl Clone for Workstation
impl Clone for Workstation
source§fn clone(&self) -> Workstation
fn clone(&self) -> Workstation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Workstation
impl Debug for Workstation
source§impl Default for Workstation
impl Default for Workstation
source§impl Message for Workstation
impl Message for Workstation
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Workstation
impl PartialEq for Workstation
source§fn eq(&self, other: &Workstation) -> bool
fn eq(&self, other: &Workstation) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Workstation
Auto Trait Implementations§
impl Freeze for Workstation
impl RefUnwindSafe for Workstation
impl Send for Workstation
impl Sync for Workstation
impl Unpin for Workstation
impl UnwindSafe for Workstation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request