Struct gapi_grpc::google::api::serviceusage::v1beta1::ServiceConfig[][src]

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>,
}

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

impl Clone for ServiceConfig[src]

impl Debug for ServiceConfig[src]

impl Default for ServiceConfig[src]

impl Message for ServiceConfig[src]

impl PartialEq<ServiceConfig> for ServiceConfig[src]

impl StructuralPartialEq for ServiceConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceConfig

impl Send for ServiceConfig

impl Sync for ServiceConfig

impl Unpin for ServiceConfig

impl UnwindSafe for ServiceConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]