Struct google_api_proto::google::cloud::recommender::v1beta1::InsightTypeConfig
source · pub struct InsightTypeConfig {
pub name: String,
pub insight_type_generation_config: Option<InsightTypeGenerationConfig>,
pub etag: String,
pub update_time: Option<Timestamp>,
pub revision_id: String,
pub annotations: BTreeMap<String, String>,
pub display_name: String,
}
Expand description
Configuration for an InsightType.
Fields§
§name: String
Name of insight type config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/config
insight_type_generation_config: Option<InsightTypeGenerationConfig>
InsightTypeGenerationConfig which configures the generation of insights for this insight type.
etag: String
Fingerprint of the InsightTypeConfig. Provides optimistic locking when updating.
update_time: Option<Timestamp>
Last time when the config was updated.
revision_id: String
Output only. Immutable. The revision ID of the config. A new revision is committed whenever the config is changed in any way. The format is an 8-character hexadecimal string.
annotations: BTreeMap<String, String>
Allows clients to store small amounts of arbitrary data. Annotations must follow the Kubernetes syntax. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
display_name: String
A user-settable field to provide a human-readable name to be used in user interfaces.
Trait Implementations§
source§impl Clone for InsightTypeConfig
impl Clone for InsightTypeConfig
source§fn clone(&self) -> InsightTypeConfig
fn clone(&self) -> InsightTypeConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InsightTypeConfig
impl Debug for InsightTypeConfig
source§impl Default for InsightTypeConfig
impl Default for InsightTypeConfig
source§impl Message for InsightTypeConfig
impl Message for InsightTypeConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for InsightTypeConfig
impl PartialEq for InsightTypeConfig
source§fn eq(&self, other: &InsightTypeConfig) -> bool
fn eq(&self, other: &InsightTypeConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InsightTypeConfig
Auto Trait Implementations§
impl Freeze for InsightTypeConfig
impl RefUnwindSafe for InsightTypeConfig
impl Send for InsightTypeConfig
impl Sync for InsightTypeConfig
impl Unpin for InsightTypeConfig
impl UnwindSafe for InsightTypeConfig
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