google-cloud-dlp-v2 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,6 +37,35 @@ module Google
37
37
  extend ::Google::Protobuf::MessageExts::ClassMethods
38
38
  end
39
39
 
40
+ # Score is a summary of all elements in the data profile.
41
+ # A higher number means more sensitive.
42
+ # @!attribute [rw] score
43
+ # @return [::Google::Cloud::Dlp::V2::SensitivityScore::SensitivityScoreLevel]
44
+ # The score applied to the resource.
45
+ class SensitivityScore
46
+ include ::Google::Protobuf::MessageExts
47
+ extend ::Google::Protobuf::MessageExts::ClassMethods
48
+
49
+ # Various score levels for resources.
50
+ module SensitivityScoreLevel
51
+ # Unused.
52
+ SENSITIVITY_SCORE_UNSPECIFIED = 0
53
+
54
+ # No sensitive information detected. Limited access.
55
+ SENSITIVITY_LOW = 10
56
+
57
+ # Medium risk - PII, potentially sensitive data, or fields with free-text
58
+ # data that are at higher risk of having intermittent sensitive data.
59
+ # Consider limiting access.
60
+ SENSITIVITY_MODERATE = 20
61
+
62
+ # High risk – SPII may be present. Exfiltration of data may lead to user
63
+ # data loss. Re-identification of users may be possible. Consider limiting
64
+ # usage and or removing SPII.
65
+ SENSITIVITY_HIGH = 30
66
+ end
67
+ end
68
+
40
69
  # A reference to a StoredInfoType to use with scanning.
41
70
  # @!attribute [rw] name
42
71
  # @return [::String]
@@ -363,7 +392,7 @@ module Google
363
392
  extend ::Google::Protobuf::MessageExts::ClassMethods
364
393
  end
365
394
 
366
- # Options defining a file or a set of files within a Google Cloud Storage
395
+ # Options defining a file or a set of files within a Cloud Storage
367
396
  # bucket.
368
397
  # @!attribute [rw] file_set
369
398
  # @return [::Google::Cloud::Dlp::V2::CloudStorageOptions::FileSet]
@@ -517,7 +546,7 @@ module Google
517
546
  # Google Cloud Datastore options.
518
547
  # @!attribute [rw] cloud_storage_options
519
548
  # @return [::Google::Cloud::Dlp::V2::CloudStorageOptions]
520
- # Google Cloud Storage options.
549
+ # Cloud Storage options.
521
550
  # @!attribute [rw] big_query_options
522
551
  # @return [::Google::Cloud::Dlp::V2::BigQueryOptions]
523
552
  # BigQuery options.
@@ -531,7 +560,7 @@ module Google
531
560
  extend ::Google::Protobuf::MessageExts::ClassMethods
532
561
 
533
562
  # Configuration of the timespan of the items to include in scanning.
534
- # Currently only supported when inspecting Google Cloud Storage and BigQuery.
563
+ # Currently only supported when inspecting Cloud Storage and BigQuery.
535
564
  # @!attribute [rw] start_time
536
565
  # @return [::Google::Protobuf::Timestamp]
537
566
  # Exclude files, tables, or rows older than this value.
@@ -545,7 +574,8 @@ module Google
545
574
  # Specification of the field containing the timestamp of scanned items.
546
575
  # Used for data sources like Datastore and BigQuery.
547
576
  #
548
- # For BigQuery:
577
+ # <b>For BigQuery</b>
578
+ #
549
579
  # If this value is not specified and the table was modified between the
550
580
  # given start and end times, the entire table will be scanned. If this
551
581
  # value is specified, then rows are filtered based on the given start and
@@ -554,17 +584,34 @@ module Google
554
584
  # Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
555
585
  # `TIMESTAMP`, and `DATETIME`.
556
586
  #
557
- # For Datastore:
587
+ # If your BigQuery table is [partitioned at ingestion
588
+ # time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time),
589
+ # you can use any of the following pseudo-columns as your timestamp field.
590
+ # When used with Cloud DLP, these pseudo-column names are case sensitive.
591
+ #
592
+ # <ul>
593
+ # <li><code>_PARTITIONTIME</code></li>
594
+ # <li><code>_PARTITIONDATE</code></li>
595
+ # <li><code>_PARTITION_LOAD_TIME</code></li>
596
+ # </ul>
597
+ #
598
+ # <b>For Datastore</b>
599
+ #
558
600
  # If this value is specified, then entities are filtered based on the given
559
601
  # start and end times. If an entity does not contain the provided timestamp
560
602
  # property or contains empty or invalid values, then it is included.
561
603
  # Valid data types of the provided timestamp property are: `TIMESTAMP`.
604
+ #
605
+ # See the
606
+ # [known issue](https://cloud.google.com/dlp/docs/known-issues#bq-timespan)
607
+ # related to this operation.
562
608
  # @!attribute [rw] enable_auto_population_of_timespan_config
563
609
  # @return [::Boolean]
564
610
  # When the job is started by a JobTrigger we will automatically figure out
565
611
  # a valid start_time to avoid scanning files that have not been modified
566
612
  # since the last time the JobTrigger executed. This will be based on the
567
- # time of the execution of the last run of the JobTrigger.
613
+ # time of the execution of the last run of the JobTrigger or the timespan
614
+ # end_time used in the last run of the JobTrigger.
568
615
  class TimespanConfig
569
616
  include ::Google::Protobuf::MessageExts
570
617
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -26,8 +26,6 @@ module Google
26
26
  # service Foo {
27
27
  # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
28
28
  # }
29
- #
30
- # The JSON representation for `Empty` is empty JSON object `{}`.
31
29
  class Empty
32
30
  include ::Google::Protobuf::MessageExts
33
31
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dlp-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-20 00:00:00.000000000 Z
11
+ date: 2022-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common