pub struct EndpointsApiService {
pub config_id: Option<String>,
pub disable_trace_sampling: Option<bool>,
pub name: Option<String>,
pub rollout_strategy: Option<String>,
}
Expand description
Cloud Endpoints (https://cloud.google.com/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 (https://cloud.google.com/service-management/overview).
This type is not used in any activity, and only used as part of another schema.
Fields§
§config_id: Option<String>
Endpoints service configuration id as specified by the Service Management API. For example “2016-09-19r1“By default, the Endpoints service configuration id is fixed and config_id must be specified. To keep the Endpoints service configuration id updated with each rollout, specify RolloutStrategy.MANAGED and omit config_id.
disable_trace_sampling: Option<bool>
Enable or disable trace sampling. By default, this is set to false for enabled.
name: Option<String>
Endpoints service name which is the name of the “service” resource in the Service Management API. For example “myapi.endpoints.myproject.cloud.goog”
rollout_strategy: Option<String>
Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.
Trait Implementations§
Source§impl Clone for EndpointsApiService
impl Clone for EndpointsApiService
Source§fn clone(&self) -> EndpointsApiService
fn clone(&self) -> EndpointsApiService
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for EndpointsApiService
impl Debug for EndpointsApiService
Source§impl Default for EndpointsApiService
impl Default for EndpointsApiService
Source§fn default() -> EndpointsApiService
fn default() -> EndpointsApiService
Source§impl<'de> Deserialize<'de> for EndpointsApiService
impl<'de> Deserialize<'de> for EndpointsApiService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for EndpointsApiService
impl Serialize for EndpointsApiService
impl Part for EndpointsApiService
Auto Trait Implementations§
impl Freeze for EndpointsApiService
impl RefUnwindSafe for EndpointsApiService
impl Send for EndpointsApiService
impl Sync for EndpointsApiService
impl Unpin for EndpointsApiService
impl UnwindSafe for EndpointsApiService
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more