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:



5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5151

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.



5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5151

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:



5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 5151

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