pub struct GoogleCloudDialogflowCxV3SecuritySettings {
pub audio_export_settings: Option<GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings>,
pub deidentify_template: Option<String>,
pub display_name: Option<String>,
pub insights_export_settings: Option<GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings>,
pub inspect_template: Option<String>,
pub name: Option<String>,
pub purge_data_types: Option<Vec<String>>,
pub redaction_scope: Option<String>,
pub redaction_strategy: Option<String>,
pub retention_strategy: Option<String>,
pub retention_window_days: Option<i32>,
}
Expand description
Represents the settings related to security issues, such as data redaction and data retention. It may take hours for updates on the settings to propagate to all the related components and take effect.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations security settings create projects (request|response)
- locations security settings get projects (response)
- locations security settings patch projects (request|response)
Fields§
§audio_export_settings: Option<GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings>
Controls audio export settings for post-conversation analytics when ingesting audio to conversations via Participants.AnalyzeContent or Participants.StreamingAnalyzeContent. If retention_strategy is set to REMOVE_AFTER_CONVERSATION or audio_export_settings.gcs_bucket is empty, audio export is disabled. If audio export is enabled, audio is recorded and saved to audio_export_settings.gcs_bucket, subject to retention policy of audio_export_settings.gcs_bucket. This setting won’t effect audio input for implicit sessions via Sessions.DetectIntent or Sessions.StreamingDetectIntent.
deidentify_template: Option<String>
DLP deidentify template name. Use this template to define de-identification configuration for the content. The DLP De-identify Templates Reader
role is needed on the Dialogflow service identity service account (has the form service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com
) for your agent’s project. If empty, Dialogflow replaces sensitive info with [redacted]
text. The template name will have one of the following formats: projects//locations//deidentifyTemplates/
OR organizations//locations//deidentifyTemplates/
Note: deidentify_template
must be located in the same region as the SecuritySettings
.
display_name: Option<String>
Required. The human-readable name of the security settings, unique within the location.
insights_export_settings: Option<GoogleCloudDialogflowCxV3SecuritySettingsInsightsExportSettings>
Controls conversation exporting settings to Insights after conversation is completed. If retention_strategy is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here.
inspect_template: Option<String>
DLP inspect template name. Use this template to define inspect base settings. The DLP Inspect Templates Reader
role is needed on the Dialogflow service identity service account (has the form service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com
) for your agent’s project. If empty, we use the default DLP inspect config. The template name will have one of the following formats: projects//locations//inspectTemplates/
OR organizations//locations//inspectTemplates/
Note: inspect_template
must be located in the same region as the SecuritySettings
.
name: Option<String>
Resource name of the settings. Required for the SecuritySettingsService.UpdateSecuritySettings method. SecuritySettingsService.CreateSecuritySettings populates the name automatically. Format: projects//locations//securitySettings/
.
purge_data_types: Option<Vec<String>>
List of types of data to remove when retention settings triggers purge.
redaction_scope: Option<String>
Defines the data for which Dialogflow applies redaction. Dialogflow does not redact data that it does not have access to – for example, Cloud logging.
redaction_strategy: Option<String>
Strategy that defines how we do redaction.
retention_strategy: Option<String>
Specifies the retention behavior defined by SecuritySettings.RetentionStrategy.
retention_window_days: Option<i32>
Retains the data for the specified number of days. User must set a value lower than Dialogflow’s default 365d TTL (30 days for Agent Assist traffic), higher value will be ignored and use default. Setting a value higher than that has no effect. A missing value or setting to 0 also means we use default TTL. When data retention configuration is changed, it only applies to the data created after the change; the TTL of existing data created before the change stays intact.
Trait Implementations§
source§impl Clone for GoogleCloudDialogflowCxV3SecuritySettings
impl Clone for GoogleCloudDialogflowCxV3SecuritySettings
source§fn clone(&self) -> GoogleCloudDialogflowCxV3SecuritySettings
fn clone(&self) -> GoogleCloudDialogflowCxV3SecuritySettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GoogleCloudDialogflowCxV3SecuritySettings
impl Default for GoogleCloudDialogflowCxV3SecuritySettings
source§fn default() -> GoogleCloudDialogflowCxV3SecuritySettings
fn default() -> GoogleCloudDialogflowCxV3SecuritySettings
source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3SecuritySettings
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3SecuritySettings
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>,
impl RequestValue for GoogleCloudDialogflowCxV3SecuritySettings
impl ResponseResult for GoogleCloudDialogflowCxV3SecuritySettings
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3SecuritySettings
impl RefUnwindSafe for GoogleCloudDialogflowCxV3SecuritySettings
impl Send for GoogleCloudDialogflowCxV3SecuritySettings
impl Sync for GoogleCloudDialogflowCxV3SecuritySettings
impl Unpin for GoogleCloudDialogflowCxV3SecuritySettings
impl UnwindSafe for GoogleCloudDialogflowCxV3SecuritySettings
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more