# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dialogflow/cx/v3/security_settings.proto

require 'google/api/annotations_pb'
require 'google/api/client_pb'
require 'google/api/field_behavior_pb'
require 'google/api/resource_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/field_mask_pb'
require 'google/protobuf'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/dialogflow/cx/v3/security_settings.proto", :syntax => :proto3) do
    add_message "google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest" do
      optional :security_settings, :message, 1, "google.cloud.dialogflow.cx.v3.SecuritySettings"
      optional :update_mask, :message, 2, "google.protobuf.FieldMask"
    end
    add_message "google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest" do
      optional :parent, :string, 1
      optional :page_size, :int32, 2
      optional :page_token, :string, 3
    end
    add_message "google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse" do
      repeated :security_settings, :message, 1, "google.cloud.dialogflow.cx.v3.SecuritySettings"
      optional :next_page_token, :string, 2
    end
    add_message "google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest" do
      optional :parent, :string, 1
      optional :security_settings, :message, 2, "google.cloud.dialogflow.cx.v3.SecuritySettings"
    end
    add_message "google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest" do
      optional :name, :string, 1
    end
    add_message "google.cloud.dialogflow.cx.v3.SecuritySettings" do
      optional :name, :string, 1
      optional :display_name, :string, 2
      optional :redaction_strategy, :enum, 3, "google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy"
      optional :redaction_scope, :enum, 4, "google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope"
      optional :inspect_template, :string, 9
      optional :deidentify_template, :string, 17
      repeated :purge_data_types, :enum, 8, "google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType"
      optional :insights_export_settings, :message, 13, "google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings"
      oneof :data_retention do
        optional :retention_window_days, :int32, 6
      end
    end
    add_message "google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings" do
      optional :enable_insights_export, :bool, 1
    end
    add_enum "google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy" do
      value :REDACTION_STRATEGY_UNSPECIFIED, 0
      value :REDACT_WITH_SERVICE, 1
    end
    add_enum "google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope" do
      value :REDACTION_SCOPE_UNSPECIFIED, 0
      value :REDACT_DISK_STORAGE, 2
    end
    add_enum "google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType" do
      value :PURGE_DATA_TYPE_UNSPECIFIED, 0
      value :DIALOGFLOW_HISTORY, 1
    end
  end
end

module Google
  module Cloud
    module Dialogflow
      module CX
        module V3
          GetSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.GetSecuritySettingsRequest").msgclass
          UpdateSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.UpdateSecuritySettingsRequest").msgclass
          ListSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSecuritySettingsRequest").msgclass
          ListSecuritySettingsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.ListSecuritySettingsResponse").msgclass
          CreateSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.CreateSecuritySettingsRequest").msgclass
          DeleteSecuritySettingsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.DeleteSecuritySettingsRequest").msgclass
          SecuritySettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings").msgclass
          SecuritySettings::InsightsExportSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.InsightsExportSettings").msgclass
          SecuritySettings::RedactionStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionStrategy").enummodule
          SecuritySettings::RedactionScope = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.RedactionScope").enummodule
          SecuritySettings::PurgeDataType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dialogflow.cx.v3.SecuritySettings.PurgeDataType").enummodule
        end
      end
    end
  end
end