Struct google_api_proto::google::cloud::telcoautomation::v1alpha1::EdgeSlm
source · pub struct EdgeSlm {
pub name: String,
pub orchestration_cluster: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: BTreeMap<String, String>,
pub tna_version: String,
pub state: i32,
pub workload_cluster_type: i32,
}
Expand description
EdgeSlm represents an SLM instance which manages the lifecycle of edge components installed on Workload clusters managed by an Orchestration Cluster.
Fields§
§name: String
Name of the EdgeSlm resource.
orchestration_cluster: String
Immutable. Reference to the orchestration cluster on which templates for this resources will be applied. This should be of format projects/{project}/locations/{location}/orchestrationClusters/{orchestration_cluster}.
create_time: Option<Timestamp>
Output only. [Output only] Create time stamp.
update_time: Option<Timestamp>
Output only. [Output only] Update time stamp.
labels: BTreeMap<String, String>
Optional. Labels as key value pairs. The key and value should contain characters which are UTF-8 compliant and less than 50 characters.
tna_version: String
Output only. Provides the active TNA version for this resource.
state: i32
Output only. State of the EdgeSlm resource.
workload_cluster_type: i32
Optional. Type of workload cluster for which an EdgeSLM resource is created.
Implementations§
source§impl EdgeSlm
impl EdgeSlm
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn workload_cluster_type(&self) -> WorkloadClusterType
pub fn workload_cluster_type(&self) -> WorkloadClusterType
Returns the enum value of workload_cluster_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_workload_cluster_type(&mut self, value: WorkloadClusterType)
pub fn set_workload_cluster_type(&mut self, value: WorkloadClusterType)
Sets workload_cluster_type
to the provided enum value.
Trait Implementations§
source§impl Message for EdgeSlm
impl Message for EdgeSlm
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 EdgeSlm
impl PartialEq for EdgeSlm
impl StructuralPartialEq for EdgeSlm
Auto Trait Implementations§
impl Freeze for EdgeSlm
impl RefUnwindSafe for EdgeSlm
impl Send for EdgeSlm
impl Sync for EdgeSlm
impl Unpin for EdgeSlm
impl UnwindSafe for EdgeSlm
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