Class: Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
Defined Under Namespace
Classes: OrConditions
Instance Attribute Summary collapse
-
#created_after ⇒ ::Google::Protobuf::Timestamp
BigQuery table must have been created after this date.
-
#or_conditions ⇒ ::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions
At least one of the conditions must be true for a table to be scanned.
-
#type_collection ⇒ ::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection
Restrict discovery to categories of table types.
-
#types ⇒ ::Google::Cloud::Dlp::V2::BigQueryTableTypes
Restrict discovery to specific table types.
Instance Attribute Details
#created_after ⇒ ::Google::Protobuf::Timestamp
Returns BigQuery table must have been created after this date. Used to avoid backfilling.
4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4878 class DiscoveryBigQueryConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # There is an OR relationship between these attributes. They are used to # determine if a table should be scanned or not in Discovery. # @!attribute [rw] min_row_count # @return [::Integer] # Minimum number of rows that should be present before Cloud DLP # profiles a table # @!attribute [rw] min_age # @return [::Google::Protobuf::Duration] # Minimum age a table must have before Cloud DLP can profile it. Value must # be 1 hour or greater. class OrConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#or_conditions ⇒ ::Google::Cloud::Dlp::V2::DiscoveryBigQueryConditions::OrConditions
Returns At least one of the conditions must be true for a table to be scanned.
4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4878 class DiscoveryBigQueryConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # There is an OR relationship between these attributes. They are used to # determine if a table should be scanned or not in Discovery. # @!attribute [rw] min_row_count # @return [::Integer] # Minimum number of rows that should be present before Cloud DLP # profiles a table # @!attribute [rw] min_age # @return [::Google::Protobuf::Duration] # Minimum age a table must have before Cloud DLP can profile it. Value must # be 1 hour or greater. class OrConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#type_collection ⇒ ::Google::Cloud::Dlp::V2::BigQueryTableTypeCollection
Returns Restrict discovery to categories of table types.
Note: The following fields are mutually exclusive: type_collection
, types
. If a field in that set is populated, all other fields in the set will automatically be cleared.
4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4878 class DiscoveryBigQueryConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # There is an OR relationship between these attributes. They are used to # determine if a table should be scanned or not in Discovery. # @!attribute [rw] min_row_count # @return [::Integer] # Minimum number of rows that should be present before Cloud DLP # profiles a table # @!attribute [rw] min_age # @return [::Google::Protobuf::Duration] # Minimum age a table must have before Cloud DLP can profile it. Value must # be 1 hour or greater. class OrConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#types ⇒ ::Google::Cloud::Dlp::V2::BigQueryTableTypes
Returns Restrict discovery to specific table types.
Note: The following fields are mutually exclusive: types
, type_collection
. If a field in that set is populated, all other fields in the set will automatically be cleared.
4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4878 class DiscoveryBigQueryConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # There is an OR relationship between these attributes. They are used to # determine if a table should be scanned or not in Discovery. # @!attribute [rw] min_row_count # @return [::Integer] # Minimum number of rows that should be present before Cloud DLP # profiles a table # @!attribute [rw] min_age # @return [::Google::Protobuf::Duration] # Minimum age a table must have before Cloud DLP can profile it. Value must # be 1 hour or greater. class OrConditions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |