google-cloud-dlp 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2/dlp_service_client.rb +168 -20
- data/lib/google/cloud/dlp/v2/dlp_service_client_config.json +15 -0
- data/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/dlp.rb +284 -46
- data/lib/google/cloud/dlp/v2/doc/google/privacy/dlp/v2/storage.rb +65 -8
- data/lib/google/cloud/dlp/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +75 -0
- data/lib/google/privacy/dlp/v2/dlp_services_pb.rb +21 -2
- data/lib/google/privacy/dlp/v2/storage_pb.rb +12 -0
- metadata +2 -2
@@ -383,8 +383,11 @@ module Google
|
|
383
383
|
# Complete BigQuery table reference.
|
384
384
|
# @!attribute [rw] identifying_fields
|
385
385
|
# @return [Array<Google::Privacy::Dlp::V2::FieldId>]
|
386
|
-
#
|
387
|
-
#
|
386
|
+
# Table fields that may uniquely identify a row within the table. When
|
387
|
+
# `actions.saveFindings.outputConfig.table` is specified, the values of
|
388
|
+
# columns specified here are available in the output table under
|
389
|
+
# `location.content_locations.record_location.record_key.id_values`. Nested
|
390
|
+
# fields such as `person.birthdate.year` are allowed.
|
388
391
|
# @!attribute [rw] rows_limit
|
389
392
|
# @return [Integer]
|
390
393
|
# Max number of rows to scan. If the table has more rows than this value, the
|
@@ -422,13 +425,19 @@ module Google
|
|
422
425
|
# Shared message indicating Cloud storage type.
|
423
426
|
# @!attribute [rw] datastore_options
|
424
427
|
# @return [Google::Privacy::Dlp::V2::DatastoreOptions]
|
425
|
-
# Google Cloud Datastore options
|
428
|
+
# Google Cloud Datastore options.
|
426
429
|
# @!attribute [rw] cloud_storage_options
|
427
430
|
# @return [Google::Privacy::Dlp::V2::CloudStorageOptions]
|
428
|
-
# Google Cloud Storage options
|
431
|
+
# Google Cloud Storage options.
|
429
432
|
# @!attribute [rw] big_query_options
|
430
433
|
# @return [Google::Privacy::Dlp::V2::BigQueryOptions]
|
431
|
-
# BigQuery options
|
434
|
+
# BigQuery options.
|
435
|
+
# @!attribute [rw] hybrid_options
|
436
|
+
# @return [Google::Privacy::Dlp::V2::HybridOptions]
|
437
|
+
# Hybrid inspection options.
|
438
|
+
# Early access feature is in a pre-release state and might change or have
|
439
|
+
# limited support. For more information, see
|
440
|
+
# https://cloud.google.com/products#product-launch-stages.
|
432
441
|
# @!attribute [rw] timespan_config
|
433
442
|
# @return [Google::Privacy::Dlp::V2::StorageConfig::TimespanConfig]
|
434
443
|
class StorageConfig
|
@@ -466,14 +475,53 @@ module Google
|
|
466
475
|
class TimespanConfig; end
|
467
476
|
end
|
468
477
|
|
478
|
+
# Configuration to control jobs where the content being inspected is outside
|
479
|
+
# of Google Cloud Platform.
|
480
|
+
# @!attribute [rw] description
|
481
|
+
# @return [String]
|
482
|
+
# A short description of where the data is coming from. Will be stored once
|
483
|
+
# in the job. 256 max length.
|
484
|
+
# @!attribute [rw] required_finding_label_keys
|
485
|
+
# @return [Array<String>]
|
486
|
+
# These are labels that each inspection request must include within their
|
487
|
+
# 'finding_labels' map. Request may contain others, but any missing one of
|
488
|
+
# these will be rejected.
|
489
|
+
#
|
490
|
+
# Label keys must be between 1 and 63 characters long and must conform
|
491
|
+
# to the following regular expression: \[a-z\](https://cloud.google.com\[-a-z0-9\]*\[a-z0-9\])?.
|
492
|
+
#
|
493
|
+
# No more than 10 keys can be required.
|
494
|
+
# @!attribute [rw] labels
|
495
|
+
# @return [Hash{String => String}]
|
496
|
+
# To organize findings, these labels will be added to each finding.
|
497
|
+
#
|
498
|
+
# Label keys must be between 1 and 63 characters long and must conform
|
499
|
+
# to the following regular expression: \[a-z\](https://cloud.google.com\[-a-z0-9\]*\[a-z0-9\])?.
|
500
|
+
#
|
501
|
+
# Label values must be between 0 and 63 characters long and must conform
|
502
|
+
# to the regular expression (\[a-z\](https://cloud.google.com\[-a-z0-9\]*\[a-z0-9\])?)?.
|
503
|
+
#
|
504
|
+
# No more than 10 labels can be associated with a given finding.
|
505
|
+
#
|
506
|
+
# Example: <code>"environment" : "production"</code>
|
507
|
+
# Example: <code>"pipeline" : "etl"</code>
|
508
|
+
# @!attribute [rw] table_options
|
509
|
+
# @return [Google::Privacy::Dlp::V2::TableOptions]
|
510
|
+
# If the container is a table, additional information to make findings
|
511
|
+
# meaningful such as the columns that are primary keys.
|
512
|
+
class HybridOptions; end
|
513
|
+
|
469
514
|
# Row key for identifying a record in BigQuery table.
|
470
515
|
# @!attribute [rw] table_reference
|
471
516
|
# @return [Google::Privacy::Dlp::V2::BigQueryTable]
|
472
517
|
# Complete BigQuery table reference.
|
473
518
|
# @!attribute [rw] row_number
|
474
519
|
# @return [Integer]
|
475
|
-
#
|
476
|
-
#
|
520
|
+
# Row number inferred at the time the table was scanned. This value is
|
521
|
+
# nondeterministic, cannot be queried, and may be null for inspection
|
522
|
+
# jobs. To locate findings within a table, specify
|
523
|
+
# `inspect_job.storage_config.big_query_options.identifying_fields` in
|
524
|
+
# `CreateDlpJobRequest`.
|
477
525
|
class BigQueryKey; end
|
478
526
|
|
479
527
|
# Record key for a finding in Cloud Datastore.
|
@@ -535,7 +583,7 @@ module Google
|
|
535
583
|
# @!attribute [rw] id_values
|
536
584
|
# @return [Array<String>]
|
537
585
|
# Values of identifying columns in the given row. Order of values matches
|
538
|
-
# the order of
|
586
|
+
# the order of `identifying_fields` specified in the scanning request.
|
539
587
|
class RecordKey; end
|
540
588
|
|
541
589
|
# Message defining the location of a BigQuery table. A table is uniquely
|
@@ -574,6 +622,15 @@ module Google
|
|
574
622
|
# Composite key indicating which field contains the entity identifier.
|
575
623
|
class EntityId; end
|
576
624
|
|
625
|
+
# Instructions regarding the table content being inspected.
|
626
|
+
# @!attribute [rw] identifying_fields
|
627
|
+
# @return [Array<Google::Privacy::Dlp::V2::FieldId>]
|
628
|
+
# The columns that are the primary keys for table objects included in
|
629
|
+
# ContentItem. A copy of this cell's value will stored alongside alongside
|
630
|
+
# each finding so that the finding can be traced to the specific row it came
|
631
|
+
# from. No more than 3 may be provided.
|
632
|
+
class TableOptions; end
|
633
|
+
|
577
634
|
# Definitions of file type groups to scan.
|
578
635
|
module FileType
|
579
636
|
# Includes all files.
|
@@ -91,17 +91,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
91
91
|
optional :findings_truncated, :bool, 2
|
92
92
|
end
|
93
93
|
add_message "google.privacy.dlp.v2.Finding" do
|
94
|
+
optional :name, :string, 14
|
94
95
|
optional :quote, :string, 1
|
95
96
|
optional :info_type, :message, 2, "google.privacy.dlp.v2.InfoType"
|
96
97
|
optional :likelihood, :enum, 3, "google.privacy.dlp.v2.Likelihood"
|
97
98
|
optional :location, :message, 4, "google.privacy.dlp.v2.Location"
|
98
99
|
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
99
100
|
optional :quote_info, :message, 7, "google.privacy.dlp.v2.QuoteInfo"
|
101
|
+
optional :resource_name, :string, 8
|
102
|
+
optional :trigger_name, :string, 9
|
103
|
+
map :labels, :string, :string, 10
|
104
|
+
optional :job_create_time, :message, 11, "google.protobuf.Timestamp"
|
105
|
+
optional :job_name, :string, 13
|
100
106
|
end
|
101
107
|
add_message "google.privacy.dlp.v2.Location" do
|
102
108
|
optional :byte_range, :message, 1, "google.privacy.dlp.v2.Range"
|
103
109
|
optional :codepoint_range, :message, 2, "google.privacy.dlp.v2.Range"
|
104
110
|
repeated :content_locations, :message, 7, "google.privacy.dlp.v2.ContentLocation"
|
111
|
+
optional :container, :message, 8, "google.privacy.dlp.v2.Container"
|
105
112
|
end
|
106
113
|
add_message "google.privacy.dlp.v2.ContentLocation" do
|
107
114
|
optional :container_name, :string, 1
|
@@ -124,6 +131,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
124
131
|
add_message "google.privacy.dlp.v2.TableLocation" do
|
125
132
|
optional :row_index, :int64, 1
|
126
133
|
end
|
134
|
+
add_message "google.privacy.dlp.v2.Container" do
|
135
|
+
optional :type, :string, 1
|
136
|
+
optional :project_id, :string, 2
|
137
|
+
optional :full_path, :string, 3
|
138
|
+
optional :root_path, :string, 4
|
139
|
+
optional :relative_path, :string, 5
|
140
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
141
|
+
optional :version, :string, 7
|
142
|
+
end
|
127
143
|
add_message "google.privacy.dlp.v2.Range" do
|
128
144
|
optional :start, :int64, 1
|
129
145
|
optional :end, :int64, 2
|
@@ -228,6 +244,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
228
244
|
optional :processed_bytes, :int64, 1
|
229
245
|
optional :total_estimated_bytes, :int64, 2
|
230
246
|
repeated :info_type_stats, :message, 3, "google.privacy.dlp.v2.InfoTypeStats"
|
247
|
+
optional :hybrid_stats, :message, 7, "google.privacy.dlp.v2.HybridInspectStatistics"
|
248
|
+
end
|
249
|
+
add_message "google.privacy.dlp.v2.HybridInspectStatistics" do
|
250
|
+
optional :processed_count, :int64, 1
|
251
|
+
optional :aborted_count, :int64, 2
|
252
|
+
optional :pending_count, :int64, 3
|
231
253
|
end
|
232
254
|
add_message "google.privacy.dlp.v2.InfoTypeDescription" do
|
233
255
|
optional :name, :string, 1
|
@@ -432,11 +454,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
432
454
|
optional :offset_minutes, :int32, 1
|
433
455
|
end
|
434
456
|
add_message "google.privacy.dlp.v2.DeidentifyConfig" do
|
457
|
+
optional :transformation_error_handling, :message, 3, "google.privacy.dlp.v2.TransformationErrorHandling"
|
435
458
|
oneof :transformation do
|
436
459
|
optional :info_type_transformations, :message, 1, "google.privacy.dlp.v2.InfoTypeTransformations"
|
437
460
|
optional :record_transformations, :message, 2, "google.privacy.dlp.v2.RecordTransformations"
|
438
461
|
end
|
439
462
|
end
|
463
|
+
add_message "google.privacy.dlp.v2.TransformationErrorHandling" do
|
464
|
+
oneof :mode do
|
465
|
+
optional :throw_error, :message, 1, "google.privacy.dlp.v2.TransformationErrorHandling.ThrowError"
|
466
|
+
optional :leave_untransformed, :message, 2, "google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed"
|
467
|
+
end
|
468
|
+
end
|
469
|
+
add_message "google.privacy.dlp.v2.TransformationErrorHandling.ThrowError" do
|
470
|
+
end
|
471
|
+
add_message "google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed" do
|
472
|
+
end
|
440
473
|
add_message "google.privacy.dlp.v2.PrimitiveTransformation" do
|
441
474
|
oneof :transformation do
|
442
475
|
optional :replace_config, :message, 1, "google.privacy.dlp.v2.ReplaceValueConfig"
|
@@ -625,6 +658,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
625
658
|
optional :recurrence_period_duration, :message, 1, "google.protobuf.Duration"
|
626
659
|
end
|
627
660
|
end
|
661
|
+
add_message "google.privacy.dlp.v2.Manual" do
|
662
|
+
end
|
628
663
|
add_message "google.privacy.dlp.v2.InspectTemplate" do
|
629
664
|
optional :name, :string, 1
|
630
665
|
optional :display_name, :string, 2
|
@@ -662,6 +697,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
662
697
|
add_message "google.privacy.dlp.v2.JobTrigger.Trigger" do
|
663
698
|
oneof :trigger do
|
664
699
|
optional :schedule, :message, 1, "google.privacy.dlp.v2.Schedule"
|
700
|
+
optional :manual, :message, 2, "google.privacy.dlp.v2.Manual"
|
665
701
|
end
|
666
702
|
end
|
667
703
|
add_enum "google.privacy.dlp.v2.JobTrigger.Status" do
|
@@ -790,6 +826,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
790
826
|
value :DONE, 3
|
791
827
|
value :CANCELED, 4
|
792
828
|
value :FAILED, 5
|
829
|
+
value :ACTIVE, 6
|
793
830
|
end
|
794
831
|
add_message "google.privacy.dlp.v2.GetDlpJobRequest" do
|
795
832
|
optional :name, :string, 1
|
@@ -810,6 +847,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
810
847
|
add_message "google.privacy.dlp.v2.CancelDlpJobRequest" do
|
811
848
|
optional :name, :string, 1
|
812
849
|
end
|
850
|
+
add_message "google.privacy.dlp.v2.FinishDlpJobRequest" do
|
851
|
+
optional :name, :string, 1
|
852
|
+
end
|
813
853
|
add_message "google.privacy.dlp.v2.DeleteDlpJobRequest" do
|
814
854
|
optional :name, :string, 1
|
815
855
|
end
|
@@ -856,6 +896,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
856
896
|
optional :description, :string, 2
|
857
897
|
oneof :type do
|
858
898
|
optional :large_custom_dictionary, :message, 3, "google.privacy.dlp.v2.LargeCustomDictionaryConfig"
|
899
|
+
optional :dictionary, :message, 4, "google.privacy.dlp.v2.CustomInfoType.Dictionary"
|
900
|
+
optional :regex, :message, 5, "google.privacy.dlp.v2.CustomInfoType.Regex"
|
859
901
|
end
|
860
902
|
end
|
861
903
|
add_message "google.privacy.dlp.v2.StoredInfoTypeStats" do
|
@@ -903,6 +945,27 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
903
945
|
add_message "google.privacy.dlp.v2.DeleteStoredInfoTypeRequest" do
|
904
946
|
optional :name, :string, 1
|
905
947
|
end
|
948
|
+
add_message "google.privacy.dlp.v2.HybridInspectJobTriggerRequest" do
|
949
|
+
optional :name, :string, 1
|
950
|
+
optional :hybrid_item, :message, 3, "google.privacy.dlp.v2.HybridContentItem"
|
951
|
+
end
|
952
|
+
add_message "google.privacy.dlp.v2.HybridInspectDlpJobRequest" do
|
953
|
+
optional :name, :string, 1
|
954
|
+
optional :hybrid_item, :message, 3, "google.privacy.dlp.v2.HybridContentItem"
|
955
|
+
end
|
956
|
+
add_message "google.privacy.dlp.v2.HybridContentItem" do
|
957
|
+
optional :item, :message, 1, "google.privacy.dlp.v2.ContentItem"
|
958
|
+
optional :finding_details, :message, 2, "google.privacy.dlp.v2.HybridFindingDetails"
|
959
|
+
end
|
960
|
+
add_message "google.privacy.dlp.v2.HybridFindingDetails" do
|
961
|
+
optional :container_details, :message, 1, "google.privacy.dlp.v2.Container"
|
962
|
+
optional :file_offset, :int64, 2
|
963
|
+
optional :row_offset, :int64, 3
|
964
|
+
optional :table_options, :message, 4, "google.privacy.dlp.v2.TableOptions"
|
965
|
+
map :labels, :string, :string, 5
|
966
|
+
end
|
967
|
+
add_message "google.privacy.dlp.v2.HybridInspectResponse" do
|
968
|
+
end
|
906
969
|
add_enum "google.privacy.dlp.v2.RelationalOperator" do
|
907
970
|
value :RELATIONAL_OPERATOR_UNSPECIFIED, 0
|
908
971
|
value :EQUAL_TO, 1
|
@@ -966,6 +1029,7 @@ module Google
|
|
966
1029
|
DocumentLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DocumentLocation").msgclass
|
967
1030
|
RecordLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RecordLocation").msgclass
|
968
1031
|
TableLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableLocation").msgclass
|
1032
|
+
Container = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Container").msgclass
|
969
1033
|
Range = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Range").msgclass
|
970
1034
|
ImageLocation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ImageLocation").msgclass
|
971
1035
|
BoundingBox = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BoundingBox").msgclass
|
@@ -985,6 +1049,7 @@ module Google
|
|
985
1049
|
InspectDataSourceDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails").msgclass
|
986
1050
|
InspectDataSourceDetails::RequestedOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions").msgclass
|
987
1051
|
InspectDataSourceDetails::Result = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectDataSourceDetails.Result").msgclass
|
1052
|
+
HybridInspectStatistics = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridInspectStatistics").msgclass
|
988
1053
|
InfoTypeDescription = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeDescription").msgclass
|
989
1054
|
ListInfoTypesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInfoTypesRequest").msgclass
|
990
1055
|
ListInfoTypesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListInfoTypesResponse").msgclass
|
@@ -1024,6 +1089,9 @@ module Google
|
|
1024
1089
|
DateTime = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DateTime").msgclass
|
1025
1090
|
DateTime::TimeZone = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DateTime.TimeZone").msgclass
|
1026
1091
|
DeidentifyConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyConfig").msgclass
|
1092
|
+
TransformationErrorHandling = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationErrorHandling").msgclass
|
1093
|
+
TransformationErrorHandling::ThrowError = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationErrorHandling.ThrowError").msgclass
|
1094
|
+
TransformationErrorHandling::LeaveUntransformed = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed").msgclass
|
1027
1095
|
PrimitiveTransformation = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.PrimitiveTransformation").msgclass
|
1028
1096
|
TimePartConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TimePartConfig").msgclass
|
1029
1097
|
TimePartConfig::TimePart = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TimePartConfig.TimePart").enummodule
|
@@ -1060,6 +1128,7 @@ module Google
|
|
1060
1128
|
TransformationSummary::SummaryResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationSummary.SummaryResult").msgclass
|
1061
1129
|
TransformationSummary::TransformationResultCode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TransformationSummary.TransformationResultCode").enummodule
|
1062
1130
|
Schedule = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Schedule").msgclass
|
1131
|
+
Manual = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Manual").msgclass
|
1063
1132
|
InspectTemplate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectTemplate").msgclass
|
1064
1133
|
DeidentifyTemplate = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeidentifyTemplate").msgclass
|
1065
1134
|
Error = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Error").msgclass
|
@@ -1094,6 +1163,7 @@ module Google
|
|
1094
1163
|
ListDlpJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDlpJobsRequest").msgclass
|
1095
1164
|
ListDlpJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListDlpJobsResponse").msgclass
|
1096
1165
|
CancelDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CancelDlpJobRequest").msgclass
|
1166
|
+
FinishDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.FinishDlpJobRequest").msgclass
|
1097
1167
|
DeleteDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteDlpJobRequest").msgclass
|
1098
1168
|
CreateDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateDeidentifyTemplateRequest").msgclass
|
1099
1169
|
UpdateDeidentifyTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest").msgclass
|
@@ -1113,6 +1183,11 @@ module Google
|
|
1113
1183
|
ListStoredInfoTypesRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListStoredInfoTypesRequest").msgclass
|
1114
1184
|
ListStoredInfoTypesResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListStoredInfoTypesResponse").msgclass
|
1115
1185
|
DeleteStoredInfoTypeRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteStoredInfoTypeRequest").msgclass
|
1186
|
+
HybridInspectJobTriggerRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridInspectJobTriggerRequest").msgclass
|
1187
|
+
HybridInspectDlpJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridInspectDlpJobRequest").msgclass
|
1188
|
+
HybridContentItem = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridContentItem").msgclass
|
1189
|
+
HybridFindingDetails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridFindingDetails").msgclass
|
1190
|
+
HybridInspectResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridInspectResponse").msgclass
|
1116
1191
|
RelationalOperator = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RelationalOperator").enummodule
|
1117
1192
|
MatchingType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.MatchingType").enummodule
|
1118
1193
|
ContentOption = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentOption").enummodule
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
2
|
# Source: google/privacy/dlp/v2/dlp.proto for package 'google.privacy.dlp.v2'
|
3
3
|
# Original file comments:
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2020 Google LLC
|
5
5
|
#
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
7
|
# you may not use this file except in compliance with the License.
|
@@ -15,7 +15,6 @@
|
|
15
15
|
# See the License for the specific language governing permissions and
|
16
16
|
# limitations under the License.
|
17
17
|
#
|
18
|
-
#
|
19
18
|
|
20
19
|
|
21
20
|
require 'grpc'
|
@@ -124,6 +123,13 @@ module Google
|
|
124
123
|
# Updates a job trigger.
|
125
124
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
126
125
|
rpc :UpdateJobTrigger, UpdateJobTriggerRequest, JobTrigger
|
126
|
+
# Inspect hybrid content and store findings to a trigger. The inspection
|
127
|
+
# will be processed asynchronously. To review the findings monitor the
|
128
|
+
# jobs within the trigger.
|
129
|
+
# Early access feature is in a pre-release state and might change or have
|
130
|
+
# limited support. For more information, see
|
131
|
+
# https://cloud.google.com/products#product-launch-stages.
|
132
|
+
rpc :HybridInspectJobTrigger, HybridInspectJobTriggerRequest, HybridInspectResponse
|
127
133
|
# Gets a job trigger.
|
128
134
|
# See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
|
129
135
|
rpc :GetJobTrigger, GetJobTriggerRequest, JobTrigger
|
@@ -185,6 +191,19 @@ module Google
|
|
185
191
|
# See https://cloud.google.com/dlp/docs/creating-stored-infotypes to
|
186
192
|
# learn more.
|
187
193
|
rpc :DeleteStoredInfoType, DeleteStoredInfoTypeRequest, Google::Protobuf::Empty
|
194
|
+
# Inspect hybrid content and store findings to a job.
|
195
|
+
# To review the findings inspect the job. Inspection will occur
|
196
|
+
# asynchronously.
|
197
|
+
# Early access feature is in a pre-release state and might change or have
|
198
|
+
# limited support. For more information, see
|
199
|
+
# https://cloud.google.com/products#product-launch-stages.
|
200
|
+
rpc :HybridInspectDlpJob, HybridInspectDlpJobRequest, HybridInspectResponse
|
201
|
+
# Finish a running hybrid DlpJob. Triggers the finalization steps and running
|
202
|
+
# of any enabled actions that have not yet run.
|
203
|
+
# Early access feature is in a pre-release state and might change or have
|
204
|
+
# limited support. For more information, see
|
205
|
+
# https://cloud.google.com/products#product-launch-stages.
|
206
|
+
rpc :FinishDlpJob, FinishDlpJobRequest, Google::Protobuf::Empty
|
188
207
|
end
|
189
208
|
|
190
209
|
Stub = Service.rpc_stub_class
|
@@ -126,6 +126,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
126
126
|
optional :datastore_options, :message, 2, "google.privacy.dlp.v2.DatastoreOptions"
|
127
127
|
optional :cloud_storage_options, :message, 3, "google.privacy.dlp.v2.CloudStorageOptions"
|
128
128
|
optional :big_query_options, :message, 4, "google.privacy.dlp.v2.BigQueryOptions"
|
129
|
+
optional :hybrid_options, :message, 9, "google.privacy.dlp.v2.HybridOptions"
|
129
130
|
end
|
130
131
|
end
|
131
132
|
add_message "google.privacy.dlp.v2.StorageConfig.TimespanConfig" do
|
@@ -134,6 +135,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
134
135
|
optional :timestamp_field, :message, 3, "google.privacy.dlp.v2.FieldId"
|
135
136
|
optional :enable_auto_population_of_timespan_config, :bool, 4
|
136
137
|
end
|
138
|
+
add_message "google.privacy.dlp.v2.HybridOptions" do
|
139
|
+
optional :description, :string, 1
|
140
|
+
repeated :required_finding_label_keys, :string, 2
|
141
|
+
map :labels, :string, :string, 3
|
142
|
+
optional :table_options, :message, 4, "google.privacy.dlp.v2.TableOptions"
|
143
|
+
end
|
137
144
|
add_message "google.privacy.dlp.v2.BigQueryKey" do
|
138
145
|
optional :table_reference, :message, 1, "google.privacy.dlp.v2.BigQueryTable"
|
139
146
|
optional :row_number, :int64, 2
|
@@ -171,6 +178,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
171
178
|
add_message "google.privacy.dlp.v2.EntityId" do
|
172
179
|
optional :field, :message, 1, "google.privacy.dlp.v2.FieldId"
|
173
180
|
end
|
181
|
+
add_message "google.privacy.dlp.v2.TableOptions" do
|
182
|
+
repeated :identifying_fields, :message, 1, "google.privacy.dlp.v2.FieldId"
|
183
|
+
end
|
174
184
|
add_enum "google.privacy.dlp.v2.Likelihood" do
|
175
185
|
value :LIKELIHOOD_UNSPECIFIED, 0
|
176
186
|
value :VERY_UNLIKELY, 1
|
@@ -218,6 +228,7 @@ module Google
|
|
218
228
|
BigQueryOptions::SampleMethod = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BigQueryOptions.SampleMethod").enummodule
|
219
229
|
StorageConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.StorageConfig").msgclass
|
220
230
|
StorageConfig::TimespanConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.StorageConfig.TimespanConfig").msgclass
|
231
|
+
HybridOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridOptions").msgclass
|
221
232
|
BigQueryKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BigQueryKey").msgclass
|
222
233
|
DatastoreKey = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DatastoreKey").msgclass
|
223
234
|
Key = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Key").msgclass
|
@@ -226,6 +237,7 @@ module Google
|
|
226
237
|
BigQueryTable = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BigQueryTable").msgclass
|
227
238
|
BigQueryField = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.BigQueryField").msgclass
|
228
239
|
EntityId = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.EntityId").msgclass
|
240
|
+
TableOptions = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableOptions").msgclass
|
229
241
|
Likelihood = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Likelihood").enummodule
|
230
242
|
FileType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.FileType").enummodule
|
231
243
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dlp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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-03-
|
11
|
+
date: 2020-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|