#[non_exhaustive]pub struct ModelDeploymentMonitoringBigQueryTable {
pub log_source: LogSource,
pub log_type: LogType,
pub bigquery_table_path: String,
pub request_response_logging_schema_version: String,
/* private fields */
}Expand description
ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name as well as some information of the logs stored in this table.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.log_source: LogSourceThe source of log.
log_type: LogTypeThe type of log.
bigquery_table_path: StringThe created BigQuery table to store logs. Customer could do their own query
& analysis. Format:
bq://<project_id>.model_deployment_monitoring_<endpoint_id>.<tolower(log_source)>_<tolower(log_type)>
request_response_logging_schema_version: StringOutput only. The schema version of the request/response logging BigQuery table. Default to v1 if unset.
Implementations§
Source§impl ModelDeploymentMonitoringBigQueryTable
impl ModelDeploymentMonitoringBigQueryTable
pub fn new() -> Self
Sourcepub fn set_log_source<T: Into<LogSource>>(self, v: T) -> Self
pub fn set_log_source<T: Into<LogSource>>(self, v: T) -> Self
Sets the value of log_source.
Sourcepub fn set_log_type<T: Into<LogType>>(self, v: T) -> Self
pub fn set_log_type<T: Into<LogType>>(self, v: T) -> Self
Sets the value of log_type.
Sourcepub fn set_bigquery_table_path<T: Into<String>>(self, v: T) -> Self
pub fn set_bigquery_table_path<T: Into<String>>(self, v: T) -> Self
Sets the value of bigquery_table_path.
Sourcepub fn set_request_response_logging_schema_version<T: Into<String>>(
self,
v: T,
) -> Self
pub fn set_request_response_logging_schema_version<T: Into<String>>( self, v: T, ) -> Self
Sets the value of request_response_logging_schema_version.
Trait Implementations§
Source§impl Clone for ModelDeploymentMonitoringBigQueryTable
impl Clone for ModelDeploymentMonitoringBigQueryTable
Source§fn clone(&self) -> ModelDeploymentMonitoringBigQueryTable
fn clone(&self) -> ModelDeploymentMonitoringBigQueryTable
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ModelDeploymentMonitoringBigQueryTable
impl Default for ModelDeploymentMonitoringBigQueryTable
Source§fn default() -> ModelDeploymentMonitoringBigQueryTable
fn default() -> ModelDeploymentMonitoringBigQueryTable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelDeploymentMonitoringBigQueryTable
impl<'de> Deserialize<'de> for ModelDeploymentMonitoringBigQueryTable
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModelDeploymentMonitoringBigQueryTable
impl PartialEq for ModelDeploymentMonitoringBigQueryTable
Source§fn eq(&self, other: &ModelDeploymentMonitoringBigQueryTable) -> bool
fn eq(&self, other: &ModelDeploymentMonitoringBigQueryTable) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelDeploymentMonitoringBigQueryTable
Auto Trait Implementations§
impl Freeze for ModelDeploymentMonitoringBigQueryTable
impl RefUnwindSafe for ModelDeploymentMonitoringBigQueryTable
impl Send for ModelDeploymentMonitoringBigQueryTable
impl Sync for ModelDeploymentMonitoringBigQueryTable
impl Unpin for ModelDeploymentMonitoringBigQueryTable
impl UnwindSafe for ModelDeploymentMonitoringBigQueryTable
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
Mutably borrows from an owned value. Read more