Class: Google::Cloud::Dlp::V2::DiscoveryCloudSqlGenerationCadence

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

How often existing tables should have their profiles refreshed. New tables are scanned as quickly as possible depending on system capacity.

Defined Under Namespace

Classes: SchemaModifiedCadence

Instance Attribute Summary collapse

Instance Attribute Details

#inspect_template_modified_cadence::Google::Cloud::Dlp::V2::DiscoveryInspectTemplateModifiedCadence

Returns Governs when to update data profiles when the inspection rules defined by the InspectTemplate change. If not set, changing the template will not cause a data profile to update.

Returns:



4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4793

class DiscoveryCloudSqlGenerationCadence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How frequently to modify the profile when the table's schema is modified.
  # @!attribute [rw] types
  #   @return [::Array<::Google::Cloud::Dlp::V2::DiscoveryCloudSqlGenerationCadence::SchemaModifiedCadence::CloudSqlSchemaModification>]
  #     The types of schema modifications to consider.
  #     Defaults to NEW_COLUMNS.
  # @!attribute [rw] frequency
  #   @return [::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency]
  #     Frequency to regenerate data profiles when the schema is modified.
  #     Defaults to monthly.
  class SchemaModifiedCadence
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The type of modification that causes a profile update.
    module CloudSqlSchemaModification
      # Unused.
      SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0

      # New columns have appeared.
      NEW_COLUMNS = 1

      # Columns have been removed from the table.
      REMOVED_COLUMNS = 2
    end
  end
end

#refresh_frequency::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency

Returns Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.

Returns:

  • (::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency)

    Data changes (non-schema changes) in Cloud SQL tables can't trigger reprofiling. If you set this field, profiles are refreshed at this frequency regardless of whether the underlying tables have changed. Defaults to never.



4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4793

class DiscoveryCloudSqlGenerationCadence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How frequently to modify the profile when the table's schema is modified.
  # @!attribute [rw] types
  #   @return [::Array<::Google::Cloud::Dlp::V2::DiscoveryCloudSqlGenerationCadence::SchemaModifiedCadence::CloudSqlSchemaModification>]
  #     The types of schema modifications to consider.
  #     Defaults to NEW_COLUMNS.
  # @!attribute [rw] frequency
  #   @return [::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency]
  #     Frequency to regenerate data profiles when the schema is modified.
  #     Defaults to monthly.
  class SchemaModifiedCadence
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The type of modification that causes a profile update.
    module CloudSqlSchemaModification
      # Unused.
      SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0

      # New columns have appeared.
      NEW_COLUMNS = 1

      # Columns have been removed from the table.
      REMOVED_COLUMNS = 2
    end
  end
end

#schema_modified_cadence::Google::Cloud::Dlp::V2::DiscoveryCloudSqlGenerationCadence::SchemaModifiedCadence

Returns When to reprofile if the schema has changed.

Returns:



4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4793

class DiscoveryCloudSqlGenerationCadence
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # How frequently to modify the profile when the table's schema is modified.
  # @!attribute [rw] types
  #   @return [::Array<::Google::Cloud::Dlp::V2::DiscoveryCloudSqlGenerationCadence::SchemaModifiedCadence::CloudSqlSchemaModification>]
  #     The types of schema modifications to consider.
  #     Defaults to NEW_COLUMNS.
  # @!attribute [rw] frequency
  #   @return [::Google::Cloud::Dlp::V2::DataProfileUpdateFrequency]
  #     Frequency to regenerate data profiles when the schema is modified.
  #     Defaults to monthly.
  class SchemaModifiedCadence
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # The type of modification that causes a profile update.
    module CloudSqlSchemaModification
      # Unused.
      SQL_SCHEMA_MODIFICATION_UNSPECIFIED = 0

      # New columns have appeared.
      NEW_COLUMNS = 1

      # Columns have been removed from the table.
      REMOVED_COLUMNS = 2
    end
  end
end