Struct google_api_proto::google::cloud::vmwareengine::v1::LoggingServer
source · pub struct LoggingServer {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub hostname: String,
pub port: i32,
pub protocol: i32,
pub source_type: i32,
pub uid: String,
}
Expand description
Logging server to receive vCenter or ESXi logs.
Fields§
§name: String
Output only. The resource name of this logging server.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server
create_time: Option<Timestamp>
Output only. Creation time of this resource.
update_time: Option<Timestamp>
Output only. Last update time of this resource.
hostname: String
Required. Fully-qualified domain name (FQDN) or IP Address of the logging server.
port: i32
Required. Port number at which the logging server receives logs.
protocol: i32
Required. Protocol used by vCenter to send logs to a logging server.
source_type: i32
Required. The type of component that produces logs that will be forwarded to this logging server.
uid: String
Output only. System-generated unique identifier for the resource.
Implementations§
source§impl LoggingServer
impl LoggingServer
sourcepub fn protocol(&self) -> Protocol
pub fn protocol(&self) -> Protocol
Returns the enum value of protocol
, or the default if the field is set to an invalid enum value.
sourcepub fn set_protocol(&mut self, value: Protocol)
pub fn set_protocol(&mut self, value: Protocol)
Sets protocol
to the provided enum value.
sourcepub fn source_type(&self) -> SourceType
pub fn source_type(&self) -> SourceType
Returns the enum value of source_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_source_type(&mut self, value: SourceType)
pub fn set_source_type(&mut self, value: SourceType)
Sets source_type
to the provided enum value.
Trait Implementations§
source§impl Clone for LoggingServer
impl Clone for LoggingServer
source§fn clone(&self) -> LoggingServer
fn clone(&self) -> LoggingServer
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LoggingServer
impl Debug for LoggingServer
source§impl Default for LoggingServer
impl Default for LoggingServer
source§impl Message for LoggingServer
impl Message for LoggingServer
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 LoggingServer
impl PartialEq for LoggingServer
source§fn eq(&self, other: &LoggingServer) -> bool
fn eq(&self, other: &LoggingServer) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LoggingServer
Auto Trait Implementations§
impl Freeze for LoggingServer
impl RefUnwindSafe for LoggingServer
impl Send for LoggingServer
impl Sync for LoggingServer
impl Unpin for LoggingServer
impl UnwindSafe for LoggingServer
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