Struct googapis::google::monitoring::v3::Service [−][src]
pub struct Service {
pub name: String,
pub display_name: String,
pub telemetry: Option<Telemetry>,
pub user_labels: HashMap<String, String>,
pub identifier: Option<Identifier>,
}
Expand description
A Service
is a discrete, autonomous, and network-accessible unit, designed
to solve an individual concern
([Wikipedia](https://en.wikipedia.org/wiki/Service-orientation)). In
Cloud Monitoring, a Service
acts as the root resource under which
operational aspects of the service are accessible.
Fields
name: String
Resource name for this Service. The format is:
projects/\[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID\]
display_name: String
Name used for UI elements listing this Service.
telemetry: Option<Telemetry>
Configuration for how to query telemetry on a Service.
user_labels: HashMap<String, String>
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
identifier: Option<Identifier>
REQUIRED. Service-identifying atoms specifying the underlying service.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Service
impl UnwindSafe for Service
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more