Struct gapi_grpc::google::appengine::v1::EndpointsApiService[][src]

pub struct EndpointsApiService {
    pub name: String,
    pub config_id: String,
    pub rollout_strategy: i32,
    pub disable_trace_sampling: bool,
}

Cloud Endpoints configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.

The fields here refer to the name and configuration ID of a “service” resource in the Service Management API.

Fields

name: String

Endpoints service name which is the name of the “service” resource in the Service Management API. For example “myapi.endpoints.myproject.cloud.goog”

config_id: String

Endpoints service configuration ID as specified by the Service Management API. For example “2016-09-19r1”.

By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.

Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.

rollout_strategy: i32

Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.

disable_trace_sampling: bool

Enable or disable trace sampling. By default, this is set to false for enabled.

Implementations

impl EndpointsApiService[src]

pub fn rollout_strategy(&self) -> RolloutStrategy[src]

Returns the enum value of rollout_strategy, or the default if the field is set to an invalid enum value.

pub fn set_rollout_strategy(&mut self, value: RolloutStrategy)[src]

Sets rollout_strategy to the provided enum value.

Trait Implementations

impl Clone for EndpointsApiService[src]

impl Debug for EndpointsApiService[src]

impl Default for EndpointsApiService[src]

impl Message for EndpointsApiService[src]

impl PartialEq<EndpointsApiService> for EndpointsApiService[src]

impl StructuralPartialEq for EndpointsApiService[src]

Auto Trait Implementations

impl RefUnwindSafe for EndpointsApiService

impl Send for EndpointsApiService

impl Sync for EndpointsApiService

impl Unpin for EndpointsApiService

impl UnwindSafe for EndpointsApiService

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]