google-cloud-dlp 0.12.1 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -444,14 +444,19 @@ module Google
444
444
  # @!attribute [rw] timestamp_field
445
445
  # @return [Google::Privacy::Dlp::V2::FieldId]
446
446
  # Specification of the field containing the timestamp of scanned items.
447
- # Used for data sources like Datastore or BigQuery.
448
- # If not specified for BigQuery, table last modification timestamp
449
- # is checked against given time span.
450
- # The valid data types of the timestamp field are:
451
- # for BigQuery - timestamp, date, datetime;
452
- # for Datastore - timestamp.
453
- # Datastore entity will be scanned if the timestamp property does not exist
454
- # or its value is empty or invalid.
447
+ # Used for data sources like Datastore and BigQuery.
448
+ #
449
+ # For BigQuery:
450
+ # Required to filter out rows based on the given start and
451
+ # end times. If not specified and the table was modified between the given
452
+ # start and end times, the entire table will be scanned.
453
+ # The valid data types of the timestamp field are: `INTEGER`, `DATE`,
454
+ # `TIMESTAMP`, or `DATETIME` BigQuery column.
455
+ #
456
+ # For Datastore.
457
+ # Valid data types of the timestamp field are: `TIMESTAMP`.
458
+ # Datastore entity will be scanned if the timestamp property does not
459
+ # exist or its value is empty or invalid.
455
460
  # @!attribute [rw] enable_auto_population_of_timespan_config
456
461
  # @return [true, false]
457
462
  # When the job is started by a JobTrigger we will automatically figure out
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Dlp
19
- VERSION = "0.12.1".freeze
19
+ VERSION = "0.13.0".freeze
20
20
  end
21
21
  end
22
22
  end
@@ -5,6 +5,8 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/field_behavior_pb'
9
+ require 'google/api/resource_pb'
8
10
  require 'google/privacy/dlp/v2/storage_pb'
9
11
  require 'google/protobuf/duration_pb'
10
12
  require 'google/protobuf/empty_pb'
@@ -137,6 +139,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
137
139
  end
138
140
  add_message "google.privacy.dlp.v2.RedactImageRequest" do
139
141
  optional :parent, :string, 1
142
+ optional :location_id, :string, 8
140
143
  optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
141
144
  repeated :image_redaction_configs, :message, 5, "google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig"
142
145
  optional :include_findings, :bool, 6
@@ -166,6 +169,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
166
169
  optional :item, :message, 4, "google.privacy.dlp.v2.ContentItem"
167
170
  optional :inspect_template_name, :string, 5
168
171
  optional :deidentify_template_name, :string, 6
172
+ optional :location_id, :string, 7
169
173
  end
170
174
  add_message "google.privacy.dlp.v2.DeidentifyContentResponse" do
171
175
  optional :item, :message, 1, "google.privacy.dlp.v2.ContentItem"
@@ -178,6 +182,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
178
182
  optional :item, :message, 4, "google.privacy.dlp.v2.ContentItem"
179
183
  optional :inspect_template_name, :string, 5
180
184
  optional :reidentify_template_name, :string, 6
185
+ optional :location_id, :string, 7
181
186
  end
182
187
  add_message "google.privacy.dlp.v2.ReidentifyContentResponse" do
183
188
  optional :item, :message, 1, "google.privacy.dlp.v2.ContentItem"
@@ -188,6 +193,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
188
193
  optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
189
194
  optional :item, :message, 3, "google.privacy.dlp.v2.ContentItem"
190
195
  optional :inspect_template_name, :string, 4
196
+ optional :location_id, :string, 5
191
197
  end
192
198
  add_message "google.privacy.dlp.v2.InspectContentResponse" do
193
199
  optional :result, :message, 1, "google.privacy.dlp.v2.InspectResult"
@@ -232,6 +238,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
232
238
  add_message "google.privacy.dlp.v2.ListInfoTypesRequest" do
233
239
  optional :language_code, :string, 1
234
240
  optional :filter, :string, 2
241
+ optional :location_id, :string, 3
235
242
  end
236
243
  add_message "google.privacy.dlp.v2.ListInfoTypesResponse" do
237
244
  repeated :info_types, :message, 1, "google.privacy.dlp.v2.InfoTypeDescription"
@@ -670,6 +677,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
670
677
  optional :publish_summary_to_cscc, :message, 3, "google.privacy.dlp.v2.Action.PublishSummaryToCscc"
671
678
  optional :publish_findings_to_cloud_data_catalog, :message, 5, "google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog"
672
679
  optional :job_notification_emails, :message, 8, "google.privacy.dlp.v2.Action.JobNotificationEmails"
680
+ optional :publish_to_stackdriver, :message, 9, "google.privacy.dlp.v2.Action.PublishToStackdriver"
673
681
  end
674
682
  end
675
683
  add_message "google.privacy.dlp.v2.Action.SaveFindings" do
@@ -684,10 +692,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
684
692
  end
685
693
  add_message "google.privacy.dlp.v2.Action.JobNotificationEmails" do
686
694
  end
695
+ add_message "google.privacy.dlp.v2.Action.PublishToStackdriver" do
696
+ end
687
697
  add_message "google.privacy.dlp.v2.CreateInspectTemplateRequest" do
688
698
  optional :parent, :string, 1
689
699
  optional :inspect_template, :message, 2, "google.privacy.dlp.v2.InspectTemplate"
690
700
  optional :template_id, :string, 3
701
+ optional :location_id, :string, 4
691
702
  end
692
703
  add_message "google.privacy.dlp.v2.UpdateInspectTemplateRequest" do
693
704
  optional :name, :string, 1
@@ -702,6 +713,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
702
713
  optional :page_token, :string, 2
703
714
  optional :page_size, :int32, 3
704
715
  optional :order_by, :string, 4
716
+ optional :location_id, :string, 5
705
717
  end
706
718
  add_message "google.privacy.dlp.v2.ListInspectTemplatesResponse" do
707
719
  repeated :inspect_templates, :message, 1, "google.privacy.dlp.v2.InspectTemplate"
@@ -714,6 +726,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
714
726
  optional :parent, :string, 1
715
727
  optional :job_trigger, :message, 2, "google.privacy.dlp.v2.JobTrigger"
716
728
  optional :trigger_id, :string, 3
729
+ optional :location_id, :string, 4
717
730
  end
718
731
  add_message "google.privacy.dlp.v2.ActivateJobTriggerRequest" do
719
732
  optional :name, :string, 1
@@ -729,6 +742,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
729
742
  add_message "google.privacy.dlp.v2.CreateDlpJobRequest" do
730
743
  optional :parent, :string, 1
731
744
  optional :job_id, :string, 4
745
+ optional :location_id, :string, 5
732
746
  oneof :job do
733
747
  optional :inspect_job, :message, 2, "google.privacy.dlp.v2.InspectJobConfig"
734
748
  optional :risk_job, :message, 3, "google.privacy.dlp.v2.RiskAnalysisJobConfig"
@@ -740,6 +754,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
740
754
  optional :page_size, :int32, 3
741
755
  optional :order_by, :string, 4
742
756
  optional :filter, :string, 5
757
+ optional :location_id, :string, 7
743
758
  end
744
759
  add_message "google.privacy.dlp.v2.ListJobTriggersResponse" do
745
760
  repeated :job_triggers, :message, 1, "google.privacy.dlp.v2.JobTrigger"
@@ -786,6 +801,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
786
801
  optional :page_token, :string, 3
787
802
  optional :type, :enum, 5, "google.privacy.dlp.v2.DlpJobType"
788
803
  optional :order_by, :string, 6
804
+ optional :location_id, :string, 7
789
805
  end
790
806
  add_message "google.privacy.dlp.v2.ListDlpJobsResponse" do
791
807
  repeated :jobs, :message, 1, "google.privacy.dlp.v2.DlpJob"
@@ -801,6 +817,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
801
817
  optional :parent, :string, 1
802
818
  optional :deidentify_template, :message, 2, "google.privacy.dlp.v2.DeidentifyTemplate"
803
819
  optional :template_id, :string, 3
820
+ optional :location_id, :string, 4
804
821
  end
805
822
  add_message "google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest" do
806
823
  optional :name, :string, 1
@@ -815,6 +832,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
815
832
  optional :page_token, :string, 2
816
833
  optional :page_size, :int32, 3
817
834
  optional :order_by, :string, 4
835
+ optional :location_id, :string, 5
818
836
  end
819
837
  add_message "google.privacy.dlp.v2.ListDeidentifyTemplatesResponse" do
820
838
  repeated :deidentify_templates, :message, 1, "google.privacy.dlp.v2.DeidentifyTemplate"
@@ -861,6 +879,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
861
879
  optional :parent, :string, 1
862
880
  optional :config, :message, 2, "google.privacy.dlp.v2.StoredInfoTypeConfig"
863
881
  optional :stored_info_type_id, :string, 3
882
+ optional :location_id, :string, 4
864
883
  end
865
884
  add_message "google.privacy.dlp.v2.UpdateStoredInfoTypeRequest" do
866
885
  optional :name, :string, 1
@@ -875,6 +894,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
875
894
  optional :page_token, :string, 2
876
895
  optional :page_size, :int32, 3
877
896
  optional :order_by, :string, 4
897
+ optional :location_id, :string, 5
878
898
  end
879
899
  add_message "google.privacy.dlp.v2.ListStoredInfoTypesResponse" do
880
900
  repeated :stored_info_types, :message, 1, "google.privacy.dlp.v2.StoredInfoType"
@@ -1052,6 +1072,7 @@ module Google
1052
1072
  Action::PublishSummaryToCscc = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.PublishSummaryToCscc").msgclass
1053
1073
  Action::PublishFindingsToCloudDataCatalog = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog").msgclass
1054
1074
  Action::JobNotificationEmails = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.JobNotificationEmails").msgclass
1075
+ Action::PublishToStackdriver = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.Action.PublishToStackdriver").msgclass
1055
1076
  CreateInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.CreateInspectTemplateRequest").msgclass
1056
1077
  UpdateInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.UpdateInspectTemplateRequest").msgclass
1057
1078
  GetInspectTemplateRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetInspectTemplateRequest").msgclass
@@ -4,7 +4,7 @@
4
4
 
5
5
  require 'google/protobuf'
6
6
 
7
- require 'google/api/annotations_pb'
7
+ require 'google/api/resource_pb'
8
8
  require 'google/protobuf/timestamp_pb'
9
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
10
  add_message "google.privacy.dlp.v2.InfoType" do
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.12.1
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: 2019-11-07 00:00:00.000000000 Z
11
+ date: 2019-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax