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:



4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4762

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.



4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4762

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:



4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4762

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