Interface SecuritySettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecuritySettings,SecuritySettings.Builder
@Generated
public interface SecuritySettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionControls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][].Controls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][].[DLP](https://cloud.google.com/dlp/docs) deidentify template name.com.google.protobuf.ByteString[DLP](https://cloud.google.com/dlp/docs) deidentify template name.Required.com.google.protobuf.ByteStringRequired.Controls conversation exporting settings to Insights after conversation is completed.Controls conversation exporting settings to Insights after conversation is completed.[DLP](https://cloud.google.com/dlp/docs) inspect template name.com.google.protobuf.ByteString[DLP](https://cloud.google.com/dlp/docs) inspect template name.getName()Resource name of the settings.com.google.protobuf.ByteStringResource name of the settings.getPurgeDataTypes(int index) List of types of data to remove when retention settings triggers purge.intList of types of data to remove when retention settings triggers purge.List of types of data to remove when retention settings triggers purge.intgetPurgeDataTypesValue(int index) List of types of data to remove when retention settings triggers purge.List of types of data to remove when retention settings triggers purge.Defines the data for which Dialogflow applies redaction.intDefines the data for which Dialogflow applies redaction.Strategy that defines how we do redaction.intStrategy that defines how we do redaction.Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].intSpecifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].intRetains data in interaction logging for the specified number of days.booleanControls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][].booleanControls conversation exporting settings to Insights after conversation is completed.booleanSpecifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].booleanRetains data in interaction logging for the specified number of days.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Resource name of the settings. Required for the [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings] method. [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Resource name of the settings. Required for the [SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.UpdateSecuritySettings] method. [SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3beta1.SecuritySettingsService.CreateSecuritySettings] populates the name automatically. Format: `projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>`.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Required. The human-readable name of the security settings, unique within the location.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Required. The human-readable name of the security settings, unique within the location.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for displayName.
-
getRedactionStrategyValue
int getRedactionStrategyValue()Strategy that defines how we do redaction.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionStrategy redaction_strategy = 3;- Returns:
- The enum numeric value on the wire for redactionStrategy.
-
getRedactionStrategy
SecuritySettings.RedactionStrategy getRedactionStrategy()Strategy that defines how we do redaction.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionStrategy redaction_strategy = 3;- Returns:
- The redactionStrategy.
-
getRedactionScopeValue
int getRedactionScopeValue()Defines the data for which Dialogflow applies redaction. Dialogflow does not redact data that it does not have access to – for example, Cloud logging.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionScope redaction_scope = 4;- Returns:
- The enum numeric value on the wire for redactionScope.
-
getRedactionScope
SecuritySettings.RedactionScope getRedactionScope()Defines the data for which Dialogflow applies redaction. Dialogflow does not redact data that it does not have access to – for example, Cloud logging.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RedactionScope redaction_scope = 4;- Returns:
- The redactionScope.
-
getInspectTemplate
String getInspectTemplate()[DLP](https://cloud.google.com/dlp/docs) 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/<ProjectID>/locations/<LocationID>/inspectTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/inspectTemplates/<TemplateID>` Note: `inspect_template` must be located in the same region as the `SecuritySettings`.
string inspect_template = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The inspectTemplate.
-
getInspectTemplateBytes
com.google.protobuf.ByteString getInspectTemplateBytes()[DLP](https://cloud.google.com/dlp/docs) 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/<ProjectID>/locations/<LocationID>/inspectTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/inspectTemplates/<TemplateID>` Note: `inspect_template` must be located in the same region as the `SecuritySettings`.
string inspect_template = 9 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for inspectTemplate.
-
getDeidentifyTemplate
String getDeidentifyTemplate()[DLP](https://cloud.google.com/dlp/docs) 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/<ProjectID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
string deidentify_template = 17 [(.google.api.resource_reference) = { ... }- Returns:
- The deidentifyTemplate.
-
getDeidentifyTemplateBytes
com.google.protobuf.ByteString getDeidentifyTemplateBytes()[DLP](https://cloud.google.com/dlp/docs) 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/<ProjectID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` OR `organizations/<OrganizationID>/locations/<LocationID>/deidentifyTemplates/<TemplateID>` Note: `deidentify_template` must be located in the same region as the `SecuritySettings`.
string deidentify_template = 17 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for deidentifyTemplate.
-
hasRetentionWindowDays
boolean hasRetentionWindowDays()Retains data in interaction logging for the specified number of days. This does not apply to Cloud logging, which is owned by the user - not Dialogflow. 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.
int32 retention_window_days = 6;- Returns:
- Whether the retentionWindowDays field is set.
-
getRetentionWindowDays
int getRetentionWindowDays()Retains data in interaction logging for the specified number of days. This does not apply to Cloud logging, which is owned by the user - not Dialogflow. 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.
int32 retention_window_days = 6;- Returns:
- The retentionWindowDays.
-
hasRetentionStrategy
boolean hasRetentionStrategy()Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy retention_strategy = 7;- Returns:
- Whether the retentionStrategy field is set.
-
getRetentionStrategyValue
int getRetentionStrategyValue()Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy retention_strategy = 7;- Returns:
- The enum numeric value on the wire for retentionStrategy.
-
getRetentionStrategy
SecuritySettings.RetentionStrategy getRetentionStrategy()Specifies the retention behavior defined by [SecuritySettings.RetentionStrategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.RetentionStrategy retention_strategy = 7;- Returns:
- The retentionStrategy.
-
getPurgeDataTypesList
List<SecuritySettings.PurgeDataType> getPurgeDataTypesList()List of types of data to remove when retention settings triggers purge.
repeated .google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType purge_data_types = 8;- Returns:
- A list containing the purgeDataTypes.
-
getPurgeDataTypesCount
int getPurgeDataTypesCount()List of types of data to remove when retention settings triggers purge.
repeated .google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType purge_data_types = 8;- Returns:
- The count of purgeDataTypes.
-
getPurgeDataTypes
List of types of data to remove when retention settings triggers purge.
repeated .google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType purge_data_types = 8;- Parameters:
index- The index of the element to return.- Returns:
- The purgeDataTypes at the given index.
-
getPurgeDataTypesValueList
List of types of data to remove when retention settings triggers purge.
repeated .google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType purge_data_types = 8;- Returns:
- A list containing the enum numeric values on the wire for purgeDataTypes.
-
getPurgeDataTypesValue
int getPurgeDataTypesValue(int index) List of types of data to remove when retention settings triggers purge.
repeated .google.cloud.dialogflow.cx.v3beta1.SecuritySettings.PurgeDataType purge_data_types = 8;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of purgeDataTypes at the given index.
-
hasAudioExportSettings
boolean hasAudioExportSettings()Controls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][]. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.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][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] or [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings audio_export_settings = 12;- Returns:
- Whether the audioExportSettings field is set.
-
getAudioExportSettings
SecuritySettings.AudioExportSettings getAudioExportSettings()Controls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][]. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.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][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] or [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings audio_export_settings = 12;- Returns:
- The audioExportSettings.
-
getAudioExportSettingsOrBuilder
SecuritySettings.AudioExportSettingsOrBuilder getAudioExportSettingsOrBuilder()Controls audio export settings for post-conversation analytics when ingesting audio to conversations via [Participants.AnalyzeContent][] or [Participants.StreamingAnalyzeContent][]. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.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][google.cloud.dialogflow.cx.v3beta1.Sessions.DetectIntent] or [Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3beta1.Sessions.StreamingDetectIntent].
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.AudioExportSettings audio_export_settings = 12; -
hasInsightsExportSettings
boolean hasInsightsExportSettings()Controls conversation exporting settings to Insights after conversation is completed. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.InsightsExportSettings insights_export_settings = 13;- Returns:
- Whether the insightsExportSettings field is set.
-
getInsightsExportSettings
SecuritySettings.InsightsExportSettings getInsightsExportSettings()Controls conversation exporting settings to Insights after conversation is completed. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.InsightsExportSettings insights_export_settings = 13;- Returns:
- The insightsExportSettings.
-
getInsightsExportSettingsOrBuilder
SecuritySettings.InsightsExportSettingsOrBuilder getInsightsExportSettingsOrBuilder()Controls conversation exporting settings to Insights after conversation is completed. If [retention_strategy][google.cloud.dialogflow.cx.v3beta1.SecuritySettings.retention_strategy] is set to REMOVE_AFTER_CONVERSATION, Insights export is disabled no matter what you configure here.
.google.cloud.dialogflow.cx.v3beta1.SecuritySettings.InsightsExportSettings insights_export_settings = 13; -
getDataRetentionCase
SecuritySettings.DataRetentionCase getDataRetentionCase()
-