Struct google_api_proto::google::api::serviceusage::v1::ServiceConfig
source · pub struct ServiceConfig {
pub name: String,
pub title: String,
pub apis: Vec<Api>,
pub documentation: Option<Documentation>,
pub quota: Option<Quota>,
pub authentication: Option<Authentication>,
pub usage: Option<Usage>,
pub endpoints: Vec<Endpoint>,
pub monitored_resources: Vec<MonitoredResourceDescriptor>,
pub monitoring: Option<Monitoring>,
}
Expand description
The configuration of the service.
Fields§
§name: String
The DNS address at which this service is available.
An example DNS address would be:
calendar.googleapis.com
.
title: String
The product title for this service.
apis: Vec<Api>
A list of API interfaces exported by this service. Contains only the names, versions, and method names of the interfaces.
documentation: Option<Documentation>
Additional API documentation. Contains only the summary and the documentation URL.
quota: Option<Quota>
Quota configuration.
authentication: Option<Authentication>
Auth configuration. Contains only the OAuth rules.
usage: Option<Usage>
Configuration controlling usage of this service.
endpoints: Vec<Endpoint>
Configuration for network endpoints. Contains only the names and aliases of the endpoints.
monitored_resources: Vec<MonitoredResourceDescriptor>
Defines the monitored resources used by this service. This is required by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
monitoring: Option<Monitoring>
Monitoring configuration. This should not include the ‘producer_destinations’ field.
Trait Implementations§
source§impl Clone for ServiceConfig
impl Clone for ServiceConfig
source§fn clone(&self) -> ServiceConfig
fn clone(&self) -> ServiceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceConfig
impl Debug for ServiceConfig
source§impl Default for ServiceConfig
impl Default for ServiceConfig
source§impl Message for ServiceConfig
impl Message for ServiceConfig
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 ServiceConfig
impl PartialEq for ServiceConfig
source§fn eq(&self, other: &ServiceConfig) -> bool
fn eq(&self, other: &ServiceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ServiceConfig
Auto Trait Implementations§
impl Freeze for ServiceConfig
impl RefUnwindSafe for ServiceConfig
impl Send for ServiceConfig
impl Sync for ServiceConfig
impl Unpin for ServiceConfig
impl UnwindSafe for ServiceConfig
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