Struct google_ml1::api::GoogleCloudMlV1__RequestLoggingConfig [−][src]
Configuration for logging request-response pairs to a BigQuery table. Online prediction requests to a model version and the responses to these requests are converted to raw strings and saved to the specified BigQuery table. Logging is constrained by BigQuery quotas and limits. If your project exceeds BigQuery quotas or limits, AI Platform Prediction does not log request-response pairs, but it continues to serve predictions. If you are using continuous evaluation, you do not need to specify this configuration manually. Setting up continuous evaluation automatically enables logging of request-response pairs.
This type is not used in any activity, and only used as part of another schema.
Fields
bigquery_table_name: Option<String>
Required. Fully qualified BigQuery table name in the following format: “ project_id.dataset_name.table_name“ The specified table must already exist, and the “Cloud ML Service Agent” for your project must have permission to write to it. The table must have the following schema: Field nameType Mode model STRING REQUIRED model_version STRING REQUIRED time TIMESTAMP REQUIRED raw_data STRING REQUIRED raw_prediction STRING NULLABLE groundtruth STRING NULLABLE
sampling_percentage: Option<f64>
Percentage of requests to be logged, expressed as a fraction from 0 to 1. For example, if you want to log 10% of requests, enter 0.1
. The sampling window is the lifetime of the model version. Defaults to 0.
Trait Implementations
impl Clone for GoogleCloudMlV1__RequestLoggingConfig
[src]
fn clone(&self) -> GoogleCloudMlV1__RequestLoggingConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudMlV1__RequestLoggingConfig
[src]
impl Default for GoogleCloudMlV1__RequestLoggingConfig
[src]
impl<'de> Deserialize<'de> for GoogleCloudMlV1__RequestLoggingConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudMlV1__RequestLoggingConfig
[src]
impl Serialize for GoogleCloudMlV1__RequestLoggingConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudMlV1__RequestLoggingConfig
impl Send for GoogleCloudMlV1__RequestLoggingConfig
impl Sync for GoogleCloudMlV1__RequestLoggingConfig
impl Unpin for GoogleCloudMlV1__RequestLoggingConfig
impl UnwindSafe for GoogleCloudMlV1__RequestLoggingConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,