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

#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.



4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4631

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:



4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4631

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