#[non_exhaustive]pub struct FloorSetting {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub filter_config: Option<FilterConfig>,
pub enable_floor_setting_enforcement: Option<bool>,
pub integrated_services: Vec<IntegratedService>,
pub ai_platform_floor_setting: Option<AiPlatformFloorSetting>,
pub floor_setting_metadata: Option<FloorSettingMetadata>,
/* private fields */
}Expand description
Message describing FloorSetting resource
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIdentifier. The resource name.
create_time: Option<Timestamp>Output only. [Output only] Create timestamp
update_time: Option<Timestamp>Output only. [Output only] Update timestamp
filter_config: Option<FilterConfig>Required. ModelArmor filter configuration.
enable_floor_setting_enforcement: Option<bool>Optional. Floor Settings enforcement status.
integrated_services: Vec<IntegratedService>Optional. List of integrated services for which the floor setting is applicable.
ai_platform_floor_setting: Option<AiPlatformFloorSetting>Optional. AI Platform floor setting.
floor_setting_metadata: Option<FloorSettingMetadata>Optional. Metadata for FloorSetting
Implementations§
Source§impl FloorSetting
impl FloorSetting
pub fn new() -> Self
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_filter_config<T>(self, v: T) -> Selfwhere
T: Into<FilterConfig>,
pub fn set_filter_config<T>(self, v: T) -> Selfwhere
T: Into<FilterConfig>,
Sets the value of filter_config.
Sourcepub fn set_or_clear_filter_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<FilterConfig>,
pub fn set_or_clear_filter_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<FilterConfig>,
Sets or clears the value of filter_config.
Sourcepub fn set_enable_floor_setting_enforcement<T>(self, v: T) -> Self
pub fn set_enable_floor_setting_enforcement<T>(self, v: T) -> Self
Sets the value of enable_floor_setting_enforcement.
Sourcepub fn set_or_clear_enable_floor_setting_enforcement<T>(
self,
v: Option<T>,
) -> Self
pub fn set_or_clear_enable_floor_setting_enforcement<T>( self, v: Option<T>, ) -> Self
Sets or clears the value of enable_floor_setting_enforcement.
Sourcepub fn set_integrated_services<T, V>(self, v: T) -> Self
pub fn set_integrated_services<T, V>(self, v: T) -> Self
Sets the value of integrated_services.
Sourcepub fn set_ai_platform_floor_setting<T>(self, v: T) -> Selfwhere
T: Into<AiPlatformFloorSetting>,
pub fn set_ai_platform_floor_setting<T>(self, v: T) -> Selfwhere
T: Into<AiPlatformFloorSetting>,
Sets the value of ai_platform_floor_setting.
Sourcepub fn set_or_clear_ai_platform_floor_setting<T>(self, v: Option<T>) -> Selfwhere
T: Into<AiPlatformFloorSetting>,
pub fn set_or_clear_ai_platform_floor_setting<T>(self, v: Option<T>) -> Selfwhere
T: Into<AiPlatformFloorSetting>,
Sets or clears the value of ai_platform_floor_setting.
Sourcepub fn set_floor_setting_metadata<T>(self, v: T) -> Selfwhere
T: Into<FloorSettingMetadata>,
pub fn set_floor_setting_metadata<T>(self, v: T) -> Selfwhere
T: Into<FloorSettingMetadata>,
Sets the value of floor_setting_metadata.
Sourcepub fn set_or_clear_floor_setting_metadata<T>(self, v: Option<T>) -> Selfwhere
T: Into<FloorSettingMetadata>,
pub fn set_or_clear_floor_setting_metadata<T>(self, v: Option<T>) -> Selfwhere
T: Into<FloorSettingMetadata>,
Sets or clears the value of floor_setting_metadata.
Trait Implementations§
Source§impl Clone for FloorSetting
impl Clone for FloorSetting
Source§fn clone(&self) -> FloorSetting
fn clone(&self) -> FloorSetting
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more