google-cloud-dlp-v2 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 548717c05eff99a75af158e3396e39f060a2e7da612a8ea1645fb12ca8c78e8b
4
- data.tar.gz: 2b5c13dd7783d4472e5844cc48804e0eb91459229c2e18f9685996b99dadc87e
3
+ metadata.gz: 650ad3676f37e3e9aceffd30c659024601317a40d87e909ff531072f9d78629f
4
+ data.tar.gz: 7ad95e9d84eb8cd5fd21efd3a3c76697f0bd7ac797309a684e718809233f8562
5
5
  SHA512:
6
- metadata.gz: b9d1312a1cd4b0f087a07d2022aa264ea0a2d8e9b3357bd49f9849fcc4f0a9ba3ebd106aa001ab18844d6628958c90143898984a79999652f091cd96604bfd2d
7
- data.tar.gz: 3c0c06d0bd2154e25b633456edc1e98304fa670868cff705117952b9a6d68ce5c0ebebb760955543c513b83661c526445ddbf7b6f467c624b3c892a8b446d54b
6
+ metadata.gz: df3ee8e2dfe1d681d1f2546c1cd3680f1d814f9380add4c093b91bf841e6a128d4c0a8993f203510e95831f408d7d9d72526701538e24fe3de607ca6a861573b
7
+ data.tar.gz: d0a6d4296daa330cb3e28600b06ecf29dc9c816d7f0eef6deedeac18495a906b89b09b953e07e893b27eadf79d8d18f7affb040a3528ff9ba5ec5d241515f8c1
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Dlp
23
23
  module V2
24
- VERSION = "0.4.4"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -356,6 +356,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
356
356
  add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails" do
357
357
  optional :requested_privacy_metric, :message, 1, "google.privacy.dlp.v2.PrivacyMetric"
358
358
  optional :requested_source_table, :message, 2, "google.privacy.dlp.v2.BigQueryTable"
359
+ optional :requested_options, :message, 10, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions"
359
360
  oneof :result do
360
361
  optional :numerical_stats_result, :message, 3, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult"
361
362
  optional :categorical_stats_result, :message, 4, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult"
@@ -438,6 +439,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
438
439
  repeated :bucket_values, :message, 6, "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues"
439
440
  optional :bucket_value_count, :int64, 7
440
441
  end
442
+ add_message "google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions" do
443
+ optional :job_config, :message, 1, "google.privacy.dlp.v2.RiskAnalysisJobConfig"
444
+ end
441
445
  add_message "google.privacy.dlp.v2.ValueFrequency" do
442
446
  optional :value, :message, 1, "google.privacy.dlp.v2.Value"
443
447
  optional :count, :int64, 2
@@ -1105,6 +1109,7 @@ module Google
1105
1109
  AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult").msgclass
1106
1110
  AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationQuasiIdValues = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues").msgclass
1107
1111
  AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult::DeltaPresenceEstimationHistogramBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket").msgclass
1112
+ AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions").msgclass
1108
1113
  ValueFrequency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ValueFrequency").msgclass
1109
1114
  Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Value").msgclass
1110
1115
  QuoteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.QuoteInfo").msgclass
@@ -1327,6 +1327,9 @@ module Google
1327
1327
  # @!attribute [rw] delta_presence_estimation_result
1328
1328
  # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::DeltaPresenceEstimationResult]
1329
1329
  # Delta-presence result
1330
+ # @!attribute [rw] requested_options
1331
+ # @return [::Google::Cloud::Dlp::V2::AnalyzeDataSourceRiskDetails::RequestedRiskAnalysisOptions]
1332
+ # The configuration used for this job.
1330
1333
  class AnalyzeDataSourceRiskDetails
1331
1334
  include ::Google::Protobuf::MessageExts
1332
1335
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -1599,6 +1602,15 @@ module Google
1599
1602
  extend ::Google::Protobuf::MessageExts::ClassMethods
1600
1603
  end
1601
1604
  end
1605
+
1606
+ # Risk analysis options.
1607
+ # @!attribute [rw] job_config
1608
+ # @return [::Google::Cloud::Dlp::V2::RiskAnalysisJobConfig]
1609
+ # The job config for the risk job.
1610
+ class RequestedRiskAnalysisOptions
1611
+ include ::Google::Protobuf::MessageExts
1612
+ extend ::Google::Protobuf::MessageExts::ClassMethods
1613
+ end
1602
1614
  end
1603
1615
 
1604
1616
  # A value of a field, including its frequency.
@@ -520,27 +520,31 @@ module Google
520
520
  # Currently only supported when inspecting Google Cloud Storage and BigQuery.
521
521
  # @!attribute [rw] start_time
522
522
  # @return [::Google::Protobuf::Timestamp]
523
- # 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.
524
525
  # @!attribute [rw] end_time
525
526
  # @return [::Google::Protobuf::Timestamp]
526
- # Exclude files or rows newer than this value.
527
- # 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.
528
529
  # @!attribute [rw] timestamp_field
529
530
  # @return [::Google::Cloud::Dlp::V2::FieldId]
530
531
  # Specification of the field containing the timestamp of scanned items.
531
532
  # Used for data sources like Datastore and BigQuery.
532
533
  #
533
534
  # For BigQuery:
534
- # Required to filter out rows based on the given start and
535
- # end times. If not specified and the table was modified between the given
536
- # start and end times, the entire table will be scanned.
537
- # The valid data types of the timestamp field are: `INTEGER`, `DATE`,
538
- # `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`.
539
542
  #
540
- # For Datastore.
541
- # Valid data types of the timestamp field are: `TIMESTAMP`.
542
- # Datastore entity will be scanned if the timestamp property does not
543
- # 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`.
544
548
  # @!attribute [rw] enable_auto_population_of_timespan_config
545
549
  # @return [::Boolean]
546
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.4
4
+ version: 0.5.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: 2020-09-18 00:00:00.000000000 Z
11
+ date: 2020-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common