Struct google_api_proto::google::cloud::recommender::v1beta1::RecommenderConfig
source · pub struct RecommenderConfig {
pub name: String,
pub recommender_generation_config: Option<RecommenderGenerationConfig>,
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 a Recommender.
Fields§
§name: String
Name of recommender config. Eg, projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]/config
recommender_generation_config: Option<RecommenderGenerationConfig>
RecommenderGenerationConfig which configures the Generation of recommendations for this recommender.
etag: String
Fingerprint of the RecommenderConfig. 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 RecommenderConfig
impl Clone for RecommenderConfig
source§fn clone(&self) -> RecommenderConfig
fn clone(&self) -> RecommenderConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommenderConfig
impl Debug for RecommenderConfig
source§impl Default for RecommenderConfig
impl Default for RecommenderConfig
source§impl Message for RecommenderConfig
impl Message for RecommenderConfig
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 RecommenderConfig
impl PartialEq for RecommenderConfig
source§fn eq(&self, other: &RecommenderConfig) -> bool
fn eq(&self, other: &RecommenderConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommenderConfig
Auto Trait Implementations§
impl Freeze for RecommenderConfig
impl RefUnwindSafe for RecommenderConfig
impl Send for RecommenderConfig
impl Sync for RecommenderConfig
impl Unpin for RecommenderConfig
impl UnwindSafe for RecommenderConfig
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