google-cloud-dlp-v2 0.4.1 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,8 +27,8 @@ module Google
27
27
  # Name of the information type. Either a name of your choosing when
28
28
  # creating a CustomInfoType, or one of the names listed
29
29
  # at https://cloud.google.com/dlp/docs/infotypes-reference when specifying
30
- # a built-in type. InfoType names should conform to the pattern
31
- # `[a-zA-Z0-9_]{1,64}`.
30
+ # a built-in type. When sending Cloud DLP results to Data Catalog, infoType
31
+ # names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
32
32
  class InfoType
33
33
  include ::Google::Protobuf::MessageExts
34
34
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -480,14 +480,16 @@ module Google
480
480
 
481
481
  # How to sample rows if not all rows are scanned. Meaningful only when used
482
482
  # in conjunction with either rows_limit or rows_limit_percent. If not
483
- # specified, scanning would start from the top.
483
+ # specified, rows are scanned in the order BigQuery reads them.
484
484
  module SampleMethod
485
485
  SAMPLE_METHOD_UNSPECIFIED = 0
486
486
 
487
- # Scan from the top (default).
487
+ # Scan groups of rows in the order BigQuery provides (default). Multiple
488
+ # groups of rows may be scanned in parallel, so results may not appear in
489
+ # the same order the rows are read.
488
490
  TOP = 1
489
491
 
490
- # Randomly pick the row to start scanning. The scanned rows are contiguous.
492
+ # Randomly pick groups of rows to scan.
491
493
  RANDOM_START = 2
492
494
  end
493
495
  end
@@ -518,27 +520,31 @@ module Google
518
520
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
519
521
  # @!attribute [rw] start_time
520
522
  # @return [::Google::Protobuf::Timestamp]
521
- # Exclude files or rows older than this value.
523
+ # Exclude files, tables, or rows older than this value.
524
+ # If not set, no lower time limit is applied.
522
525
  # @!attribute [rw] end_time
523
526
  # @return [::Google::Protobuf::Timestamp]
524
- # Exclude files or rows newer than this value.
525
- # If set to zero, no upper time limit is applied.
527
+ # Exclude files, tables, or rows newer than this value.
528
+ # If not set, no upper time limit is applied.
526
529
  # @!attribute [rw] timestamp_field
527
530
  # @return [::Google::Cloud::Dlp::V2::FieldId]
528
531
  # Specification of the field containing the timestamp of scanned items.
529
532
  # Used for data sources like Datastore and BigQuery.
530
533
  #
531
534
  # For BigQuery:
532
- # Required to filter out rows based on the given start and
533
- # end times. If not specified and the table was modified between the given
534
- # start and end times, the entire table will be scanned.
535
- # The valid data types of the timestamp field are: `INTEGER`, `DATE`,
536
- # `TIMESTAMP`, or `DATETIME` BigQuery column.
535
+ # If this value is not specified and the table was modified between the
536
+ # given start and end times, the entire table will be scanned. If this
537
+ # value is specified, then rows are filtered based on the given start and
538
+ # end times. Rows with a `NULL` value in the provided BigQuery column are
539
+ # skipped.
540
+ # Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`,
541
+ # `TIMESTAMP`, and `DATETIME`.
537
542
  #
538
- # For Datastore.
539
- # Valid data types of the timestamp field are: `TIMESTAMP`.
540
- # Datastore entity will be scanned if the timestamp property does not
541
- # exist or its value is empty or invalid.
543
+ # For Datastore:
544
+ # If this value is specified, then entities are filtered based on the given
545
+ # start and end times. If an entity does not contain the provided timestamp
546
+ # property or contains empty or invalid values, then it is included.
547
+ # Valid data types of the provided timestamp property are: `TIMESTAMP`.
542
548
  # @!attribute [rw] enable_auto_population_of_timespan_config
543
549
  # @return [::Boolean]
544
550
  # When the job is started by a JobTrigger we will automatically figure out
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.4.1
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-07 00:00:00.000000000 Z
11
+ date: 2021-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubygems_version: 3.1.3
207
+ rubygems_version: 3.2.6
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: API Client library for the Cloud Data Loss Prevention (DLP) V2 API