google-cloud-dlp-v2 0.9.0 → 0.10.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.
- checksums.yaml +4 -4
- data/lib/google/cloud/dlp/v2/version.rb +1 -1
- data/lib/google/privacy/dlp/v2/dlp_pb.rb +165 -0
- data/proto_docs/google/privacy/dlp/v2/dlp.rb +448 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f16fd4beb0176fd2449a44c7cd184afc3b8eab4ef79eae1827f86401c9447ac
|
|
4
|
+
data.tar.gz: cbc46186ab647aaf8a5f6e105de273a348c2a7a9cdd8acaf2ed267d45b6b1d48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: efe45c70b041e6e8d33eb1e9dad223ad6b513ebe5886aac251540ff884340f81d2fd270b8ccc5b5a2dd59cd3d49585aa3f9d70ac30894027d70da3f23e21b5c8
|
|
7
|
+
data.tar.gz: 5bfb839327ba5195b749c25499605da5e2269d645a0bba750944c836dd5f028b71dabcbad092cb84106810537284e2b4991b66c6f15ad04dd23c0ad861abaaa8
|
|
@@ -834,6 +834,45 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
834
834
|
optional :inspect_template_name, :string, 3
|
|
835
835
|
repeated :actions, :message, 4, "google.privacy.dlp.v2.Action"
|
|
836
836
|
end
|
|
837
|
+
add_message "google.privacy.dlp.v2.DataProfileAction" do
|
|
838
|
+
oneof :action do
|
|
839
|
+
optional :export_data, :message, 1, "google.privacy.dlp.v2.DataProfileAction.Export"
|
|
840
|
+
optional :pub_sub_notification, :message, 2, "google.privacy.dlp.v2.DataProfileAction.PubSubNotification"
|
|
841
|
+
end
|
|
842
|
+
end
|
|
843
|
+
add_message "google.privacy.dlp.v2.DataProfileAction.Export" do
|
|
844
|
+
optional :profile_table, :message, 1, "google.privacy.dlp.v2.BigQueryTable"
|
|
845
|
+
end
|
|
846
|
+
add_message "google.privacy.dlp.v2.DataProfileAction.PubSubNotification" do
|
|
847
|
+
optional :topic, :string, 1
|
|
848
|
+
optional :event, :enum, 2, "google.privacy.dlp.v2.DataProfileAction.EventType"
|
|
849
|
+
optional :pubsub_condition, :message, 3, "google.privacy.dlp.v2.DataProfilePubSubCondition"
|
|
850
|
+
optional :detail_of_message, :enum, 4, "google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel"
|
|
851
|
+
end
|
|
852
|
+
add_enum "google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel" do
|
|
853
|
+
value :DETAIL_LEVEL_UNSPECIFIED, 0
|
|
854
|
+
value :TABLE_PROFILE, 1
|
|
855
|
+
value :RESOURCE_NAME, 2
|
|
856
|
+
end
|
|
857
|
+
add_enum "google.privacy.dlp.v2.DataProfileAction.EventType" do
|
|
858
|
+
value :EVENT_TYPE_UNSPECIFIED, 0
|
|
859
|
+
value :NEW_PROFILE, 1
|
|
860
|
+
value :CHANGED_PROFILE, 2
|
|
861
|
+
value :SCORE_INCREASED, 3
|
|
862
|
+
value :ERROR_CHANGED, 4
|
|
863
|
+
end
|
|
864
|
+
add_message "google.privacy.dlp.v2.DataProfileJobConfig" do
|
|
865
|
+
optional :location, :message, 1, "google.privacy.dlp.v2.DataProfileLocation"
|
|
866
|
+
optional :project_id, :string, 5
|
|
867
|
+
repeated :inspect_templates, :string, 7
|
|
868
|
+
repeated :data_profile_actions, :message, 6, "google.privacy.dlp.v2.DataProfileAction"
|
|
869
|
+
end
|
|
870
|
+
add_message "google.privacy.dlp.v2.DataProfileLocation" do
|
|
871
|
+
oneof :location do
|
|
872
|
+
optional :organization_id, :int64, 1
|
|
873
|
+
optional :folder_id, :int64, 2
|
|
874
|
+
end
|
|
875
|
+
end
|
|
837
876
|
add_message "google.privacy.dlp.v2.DlpJob" do
|
|
838
877
|
optional :name, :string, 1
|
|
839
878
|
optional :type, :enum, 2, "google.privacy.dlp.v2.DlpJobType"
|
|
@@ -995,6 +1034,97 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
995
1034
|
end
|
|
996
1035
|
add_message "google.privacy.dlp.v2.HybridInspectResponse" do
|
|
997
1036
|
end
|
|
1037
|
+
add_message "google.privacy.dlp.v2.SensitivityScore" do
|
|
1038
|
+
optional :score, :enum, 1, "google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel"
|
|
1039
|
+
end
|
|
1040
|
+
add_enum "google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel" do
|
|
1041
|
+
value :SENSITIVITY_SCORE_UNSPECIFIED, 0
|
|
1042
|
+
value :SENSITIVITY_LOW, 10
|
|
1043
|
+
value :SENSITIVITY_MODERATE, 20
|
|
1044
|
+
value :SENSITIVITY_HIGH, 30
|
|
1045
|
+
end
|
|
1046
|
+
add_message "google.privacy.dlp.v2.DataRiskLevel" do
|
|
1047
|
+
optional :score, :enum, 1, "google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore"
|
|
1048
|
+
end
|
|
1049
|
+
add_enum "google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore" do
|
|
1050
|
+
value :RISK_SCORE_UNSPECIFIED, 0
|
|
1051
|
+
value :RISK_LOW, 10
|
|
1052
|
+
value :RISK_MODERATE, 20
|
|
1053
|
+
value :RISK_HIGH, 30
|
|
1054
|
+
end
|
|
1055
|
+
add_message "google.privacy.dlp.v2.DataProfileConfigSnapshot" do
|
|
1056
|
+
optional :inspect_config, :message, 2, "google.privacy.dlp.v2.InspectConfig"
|
|
1057
|
+
optional :data_profile_job, :message, 3, "google.privacy.dlp.v2.DataProfileJobConfig"
|
|
1058
|
+
end
|
|
1059
|
+
add_message "google.privacy.dlp.v2.TableDataProfile" do
|
|
1060
|
+
optional :name, :string, 1
|
|
1061
|
+
optional :project_data_profile, :string, 2
|
|
1062
|
+
optional :dataset_project_id, :string, 24
|
|
1063
|
+
optional :dataset_location, :string, 29
|
|
1064
|
+
optional :dataset_id, :string, 25
|
|
1065
|
+
optional :table_id, :string, 26
|
|
1066
|
+
optional :full_resource, :string, 3
|
|
1067
|
+
optional :profile_status, :message, 21, "google.privacy.dlp.v2.ProfileStatus"
|
|
1068
|
+
optional :state, :enum, 22, "google.privacy.dlp.v2.TableDataProfile.State"
|
|
1069
|
+
optional :sensitivity_score, :message, 5, "google.privacy.dlp.v2.SensitivityScore"
|
|
1070
|
+
optional :data_risk_level, :message, 6, "google.privacy.dlp.v2.DataRiskLevel"
|
|
1071
|
+
repeated :predicted_info_types, :message, 27, "google.privacy.dlp.v2.InfoTypeSummary"
|
|
1072
|
+
repeated :other_info_types, :message, 28, "google.privacy.dlp.v2.OtherInfoTypeSummary"
|
|
1073
|
+
optional :config_snapshot, :message, 7, "google.privacy.dlp.v2.DataProfileConfigSnapshot"
|
|
1074
|
+
optional :last_modified_time, :message, 8, "google.protobuf.Timestamp"
|
|
1075
|
+
optional :expiration_time, :message, 9, "google.protobuf.Timestamp"
|
|
1076
|
+
optional :scanned_column_count, :int64, 10
|
|
1077
|
+
optional :failed_column_count, :int64, 11
|
|
1078
|
+
optional :table_size_bytes, :int64, 12
|
|
1079
|
+
optional :row_count, :int64, 13
|
|
1080
|
+
optional :encryption_status, :enum, 14, "google.privacy.dlp.v2.EncryptionStatus"
|
|
1081
|
+
optional :resource_visibility, :enum, 15, "google.privacy.dlp.v2.ResourceVisibility"
|
|
1082
|
+
optional :profile_last_generated, :message, 16, "google.protobuf.Timestamp"
|
|
1083
|
+
map :resource_labels, :string, :string, 17
|
|
1084
|
+
optional :create_time, :message, 23, "google.protobuf.Timestamp"
|
|
1085
|
+
end
|
|
1086
|
+
add_enum "google.privacy.dlp.v2.TableDataProfile.State" do
|
|
1087
|
+
value :STATE_UNSPECIFIED, 0
|
|
1088
|
+
value :RUNNING, 1
|
|
1089
|
+
value :DONE, 2
|
|
1090
|
+
end
|
|
1091
|
+
add_message "google.privacy.dlp.v2.ProfileStatus" do
|
|
1092
|
+
optional :status, :message, 1, "google.rpc.Status"
|
|
1093
|
+
optional :timestamp, :message, 3, "google.protobuf.Timestamp"
|
|
1094
|
+
end
|
|
1095
|
+
add_message "google.privacy.dlp.v2.InfoTypeSummary" do
|
|
1096
|
+
optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
|
|
1097
|
+
end
|
|
1098
|
+
add_message "google.privacy.dlp.v2.OtherInfoTypeSummary" do
|
|
1099
|
+
optional :info_type, :message, 1, "google.privacy.dlp.v2.InfoType"
|
|
1100
|
+
end
|
|
1101
|
+
add_message "google.privacy.dlp.v2.DataProfilePubSubCondition" do
|
|
1102
|
+
optional :expressions, :message, 1, "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions"
|
|
1103
|
+
end
|
|
1104
|
+
add_message "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition" do
|
|
1105
|
+
oneof :value do
|
|
1106
|
+
optional :minimum_risk_score, :enum, 1, "google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket"
|
|
1107
|
+
optional :minimum_sensitivity_score, :enum, 2, "google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket"
|
|
1108
|
+
end
|
|
1109
|
+
end
|
|
1110
|
+
add_message "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions" do
|
|
1111
|
+
optional :logical_operator, :enum, 1, "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator"
|
|
1112
|
+
repeated :conditions, :message, 2, "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition"
|
|
1113
|
+
end
|
|
1114
|
+
add_enum "google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator" do
|
|
1115
|
+
value :LOGICAL_OPERATOR_UNSPECIFIED, 0
|
|
1116
|
+
value :OR, 1
|
|
1117
|
+
value :AND, 2
|
|
1118
|
+
end
|
|
1119
|
+
add_enum "google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket" do
|
|
1120
|
+
value :PROFILE_SCORE_BUCKET_UNSPECIFIED, 0
|
|
1121
|
+
value :HIGH, 1
|
|
1122
|
+
value :MEDIUM_OR_HIGH, 2
|
|
1123
|
+
end
|
|
1124
|
+
add_message "google.privacy.dlp.v2.DataProfilePubSubMessage" do
|
|
1125
|
+
optional :profile, :message, 1, "google.privacy.dlp.v2.TableDataProfile"
|
|
1126
|
+
optional :event, :enum, 2, "google.privacy.dlp.v2.DataProfileAction.EventType"
|
|
1127
|
+
end
|
|
998
1128
|
add_enum "google.privacy.dlp.v2.RelationalOperator" do
|
|
999
1129
|
value :RELATIONAL_OPERATOR_UNSPECIFIED, 0
|
|
1000
1130
|
value :EQUAL_TO, 1
|
|
@@ -1037,6 +1167,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
1037
1167
|
value :FAILED, 3
|
|
1038
1168
|
value :INVALID, 4
|
|
1039
1169
|
end
|
|
1170
|
+
add_enum "google.privacy.dlp.v2.ResourceVisibility" do
|
|
1171
|
+
value :RESOURCE_VISIBILITY_UNSPECIFIED, 0
|
|
1172
|
+
value :RESOURCE_VISIBILITY_PUBLIC, 10
|
|
1173
|
+
value :RESOURCE_VISIBILITY_RESTRICTED, 20
|
|
1174
|
+
end
|
|
1175
|
+
add_enum "google.privacy.dlp.v2.EncryptionStatus" do
|
|
1176
|
+
value :ENCRYPTION_STATUS_UNSPECIFIED, 0
|
|
1177
|
+
value :ENCRYPTION_GOOGLE_MANAGED, 1
|
|
1178
|
+
value :ENCRYPTION_CUSTOMER_MANAGED, 2
|
|
1179
|
+
end
|
|
1040
1180
|
end
|
|
1041
1181
|
end
|
|
1042
1182
|
|
|
@@ -1195,6 +1335,13 @@ module Google
|
|
|
1195
1335
|
ListJobTriggersResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ListJobTriggersResponse").msgclass
|
|
1196
1336
|
DeleteJobTriggerRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DeleteJobTriggerRequest").msgclass
|
|
1197
1337
|
InspectJobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InspectJobConfig").msgclass
|
|
1338
|
+
DataProfileAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileAction").msgclass
|
|
1339
|
+
DataProfileAction::Export = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileAction.Export").msgclass
|
|
1340
|
+
DataProfileAction::PubSubNotification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileAction.PubSubNotification").msgclass
|
|
1341
|
+
DataProfileAction::PubSubNotification::DetailLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel").enummodule
|
|
1342
|
+
DataProfileAction::EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileAction.EventType").enummodule
|
|
1343
|
+
DataProfileJobConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileJobConfig").msgclass
|
|
1344
|
+
DataProfileLocation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileLocation").msgclass
|
|
1198
1345
|
DlpJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJob").msgclass
|
|
1199
1346
|
DlpJob::JobState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJob.JobState").enummodule
|
|
1200
1347
|
GetDlpJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.GetDlpJobRequest").msgclass
|
|
@@ -1226,6 +1373,22 @@ module Google
|
|
|
1226
1373
|
HybridContentItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridContentItem").msgclass
|
|
1227
1374
|
HybridFindingDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridFindingDetails").msgclass
|
|
1228
1375
|
HybridInspectResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.HybridInspectResponse").msgclass
|
|
1376
|
+
SensitivityScore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.SensitivityScore").msgclass
|
|
1377
|
+
SensitivityScore::SensitivityScoreLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel").enummodule
|
|
1378
|
+
DataRiskLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataRiskLevel").msgclass
|
|
1379
|
+
DataRiskLevel::DataRiskLevelScore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore").enummodule
|
|
1380
|
+
DataProfileConfigSnapshot = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfileConfigSnapshot").msgclass
|
|
1381
|
+
TableDataProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableDataProfile").msgclass
|
|
1382
|
+
TableDataProfile::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.TableDataProfile.State").enummodule
|
|
1383
|
+
ProfileStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ProfileStatus").msgclass
|
|
1384
|
+
InfoTypeSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeSummary").msgclass
|
|
1385
|
+
OtherInfoTypeSummary = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.OtherInfoTypeSummary").msgclass
|
|
1386
|
+
DataProfilePubSubCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubCondition").msgclass
|
|
1387
|
+
DataProfilePubSubCondition::PubSubCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition").msgclass
|
|
1388
|
+
DataProfilePubSubCondition::PubSubExpressions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions").msgclass
|
|
1389
|
+
DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator").enummodule
|
|
1390
|
+
DataProfilePubSubCondition::ProfileScoreBucket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucket").enummodule
|
|
1391
|
+
DataProfilePubSubMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DataProfilePubSubMessage").msgclass
|
|
1229
1392
|
RelationalOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.RelationalOperator").enummodule
|
|
1230
1393
|
MatchingType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.MatchingType").enummodule
|
|
1231
1394
|
ContentOption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ContentOption").enummodule
|
|
@@ -1233,6 +1396,8 @@ module Google
|
|
|
1233
1396
|
InfoTypeSupportedBy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.InfoTypeSupportedBy").enummodule
|
|
1234
1397
|
DlpJobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.DlpJobType").enummodule
|
|
1235
1398
|
StoredInfoTypeState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.StoredInfoTypeState").enummodule
|
|
1399
|
+
ResourceVisibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.ResourceVisibility").enummodule
|
|
1400
|
+
EncryptionStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.privacy.dlp.v2.EncryptionStatus").enummodule
|
|
1236
1401
|
end
|
|
1237
1402
|
end
|
|
1238
1403
|
end
|
|
@@ -3180,6 +3180,144 @@ module Google
|
|
|
3180
3180
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3181
3181
|
end
|
|
3182
3182
|
|
|
3183
|
+
# A task to execute when a data profile has been generated.
|
|
3184
|
+
# @!attribute [rw] export_data
|
|
3185
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::Export]
|
|
3186
|
+
# Export data profiles into a provided location.
|
|
3187
|
+
# @!attribute [rw] pub_sub_notification
|
|
3188
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification]
|
|
3189
|
+
# Publish a message into the Pub/Sub topic.
|
|
3190
|
+
class DataProfileAction
|
|
3191
|
+
include ::Google::Protobuf::MessageExts
|
|
3192
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3193
|
+
|
|
3194
|
+
# If set, the detailed data profiles will be persisted to the location
|
|
3195
|
+
# of your choice whenever updated.
|
|
3196
|
+
# @!attribute [rw] profile_table
|
|
3197
|
+
# @return [::Google::Cloud::Dlp::V2::BigQueryTable]
|
|
3198
|
+
# Store all table and column profiles in an existing table or a new table
|
|
3199
|
+
# in an existing dataset. Each re-generation will result in a new row in
|
|
3200
|
+
# BigQuery.
|
|
3201
|
+
class Export
|
|
3202
|
+
include ::Google::Protobuf::MessageExts
|
|
3203
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3204
|
+
end
|
|
3205
|
+
|
|
3206
|
+
# Send a Pub/Sub message into the given Pub/Sub topic to connect other
|
|
3207
|
+
# systems to data profile generation. The message payload data will
|
|
3208
|
+
# be the byte serialization of `DataProfilePubSubMessage`.
|
|
3209
|
+
# @!attribute [rw] topic
|
|
3210
|
+
# @return [::String]
|
|
3211
|
+
# Cloud Pub/Sub topic to send notifications to.
|
|
3212
|
+
# Format is projects/\\{project}/topics/\\{topic}.
|
|
3213
|
+
# @!attribute [rw] event
|
|
3214
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::EventType]
|
|
3215
|
+
# The type of event that triggers a Pub/Sub. At most one
|
|
3216
|
+
# `PubSubNotification` per EventType is permitted.
|
|
3217
|
+
# @!attribute [rw] pubsub_condition
|
|
3218
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition]
|
|
3219
|
+
# Conditions (e.g., data risk or sensitivity level) for triggering a
|
|
3220
|
+
# Pub/Sub.
|
|
3221
|
+
# @!attribute [rw] detail_of_message
|
|
3222
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel]
|
|
3223
|
+
# How much data to include in the Pub/Sub message. If the user wishes to
|
|
3224
|
+
# limit the size of the message, they can use resource_name and fetch the
|
|
3225
|
+
# profile fields they wish to. Per table profile (not per column).
|
|
3226
|
+
class PubSubNotification
|
|
3227
|
+
include ::Google::Protobuf::MessageExts
|
|
3228
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3229
|
+
|
|
3230
|
+
# The levels of detail that can be included in the Pub/Sub message.
|
|
3231
|
+
module DetailLevel
|
|
3232
|
+
# Unused.
|
|
3233
|
+
DETAIL_LEVEL_UNSPECIFIED = 0
|
|
3234
|
+
|
|
3235
|
+
# The full table data profile.
|
|
3236
|
+
TABLE_PROFILE = 1
|
|
3237
|
+
|
|
3238
|
+
# The resource name of the table.
|
|
3239
|
+
RESOURCE_NAME = 2
|
|
3240
|
+
end
|
|
3241
|
+
end
|
|
3242
|
+
|
|
3243
|
+
# Types of event that can trigger an action.
|
|
3244
|
+
module EventType
|
|
3245
|
+
# Unused.
|
|
3246
|
+
EVENT_TYPE_UNSPECIFIED = 0
|
|
3247
|
+
|
|
3248
|
+
# New profile (not a re-profile).
|
|
3249
|
+
NEW_PROFILE = 1
|
|
3250
|
+
|
|
3251
|
+
# Changed one of the following profile metrics:
|
|
3252
|
+
# * Table data risk score
|
|
3253
|
+
# * Table sensitivity score
|
|
3254
|
+
# * Table resource visibility
|
|
3255
|
+
# * Table encryption type
|
|
3256
|
+
# * Table predicted infoTypes
|
|
3257
|
+
# * Table other infoTypes
|
|
3258
|
+
CHANGED_PROFILE = 2
|
|
3259
|
+
|
|
3260
|
+
# Table data risk score or sensitivity score increased.
|
|
3261
|
+
SCORE_INCREASED = 3
|
|
3262
|
+
|
|
3263
|
+
# A user (non-internal) error occurred.
|
|
3264
|
+
ERROR_CHANGED = 4
|
|
3265
|
+
end
|
|
3266
|
+
end
|
|
3267
|
+
|
|
3268
|
+
# Configuration for setting up a job to scan resources for profile generation.
|
|
3269
|
+
# Only one data profile configuration may exist per organization, folder,
|
|
3270
|
+
# or project.
|
|
3271
|
+
#
|
|
3272
|
+
# The generated data profiles are retained according to the
|
|
3273
|
+
# [data retention policy]
|
|
3274
|
+
# (https://cloud.google.com/dlp/docs/data-profiles#retention).
|
|
3275
|
+
# @!attribute [rw] location
|
|
3276
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileLocation]
|
|
3277
|
+
# The data to scan.
|
|
3278
|
+
# @!attribute [rw] project_id
|
|
3279
|
+
# @return [::String]
|
|
3280
|
+
# The project that will run the scan. The DLP service
|
|
3281
|
+
# account that exists within this project must have access to all resources
|
|
3282
|
+
# that are profiled, and the Cloud DLP API must be enabled.
|
|
3283
|
+
# @!attribute [rw] inspect_templates
|
|
3284
|
+
# @return [::Array<::String>]
|
|
3285
|
+
# Detection logic for profile generation.
|
|
3286
|
+
#
|
|
3287
|
+
# Not all template features are used by profiles. FindingLimits,
|
|
3288
|
+
# include_quote and exclude_info_types have no impact on
|
|
3289
|
+
# data profiling.
|
|
3290
|
+
#
|
|
3291
|
+
# Multiple templates may be provided if there is data in multiple regions.
|
|
3292
|
+
# At most one template must be specified per-region (including "global").
|
|
3293
|
+
# Each region is scanned using the applicable template. If no region-specific
|
|
3294
|
+
# template is specified, but a "global" template is specified, it will be
|
|
3295
|
+
# copied to that region and used instead. If no global or region-specific
|
|
3296
|
+
# template is provided for a region with data, that region's data will not be
|
|
3297
|
+
# scanned.
|
|
3298
|
+
#
|
|
3299
|
+
# For more information, see
|
|
3300
|
+
# https://cloud.google.com/dlp/docs/data-profiles#data_residency.
|
|
3301
|
+
# @!attribute [rw] data_profile_actions
|
|
3302
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::DataProfileAction>]
|
|
3303
|
+
# Actions to execute at the completion of the job.
|
|
3304
|
+
class DataProfileJobConfig
|
|
3305
|
+
include ::Google::Protobuf::MessageExts
|
|
3306
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3307
|
+
end
|
|
3308
|
+
|
|
3309
|
+
# The data that will be profiled.
|
|
3310
|
+
# @!attribute [rw] organization_id
|
|
3311
|
+
# @return [::Integer]
|
|
3312
|
+
# The ID of an organization to scan.
|
|
3313
|
+
# @!attribute [rw] folder_id
|
|
3314
|
+
# @return [::Integer]
|
|
3315
|
+
# The ID of the Folder within an organization to scan.
|
|
3316
|
+
class DataProfileLocation
|
|
3317
|
+
include ::Google::Protobuf::MessageExts
|
|
3318
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3319
|
+
end
|
|
3320
|
+
|
|
3183
3321
|
# Combines all of the information about a DLP job.
|
|
3184
3322
|
# @!attribute [rw] name
|
|
3185
3323
|
# @return [::String]
|
|
@@ -3886,6 +4024,291 @@ module Google
|
|
|
3886
4024
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3887
4025
|
end
|
|
3888
4026
|
|
|
4027
|
+
# Score is a summary of all elements in the data profile.
|
|
4028
|
+
# A higher number means more sensitive.
|
|
4029
|
+
# @!attribute [rw] score
|
|
4030
|
+
# @return [::Google::Cloud::Dlp::V2::SensitivityScore::SensitivityScoreLevel]
|
|
4031
|
+
# The score applied to the resource.
|
|
4032
|
+
class SensitivityScore
|
|
4033
|
+
include ::Google::Protobuf::MessageExts
|
|
4034
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4035
|
+
|
|
4036
|
+
# Various score levels for resources.
|
|
4037
|
+
module SensitivityScoreLevel
|
|
4038
|
+
# Unused.
|
|
4039
|
+
SENSITIVITY_SCORE_UNSPECIFIED = 0
|
|
4040
|
+
|
|
4041
|
+
# No sensitive information detected. Limited access.
|
|
4042
|
+
SENSITIVITY_LOW = 10
|
|
4043
|
+
|
|
4044
|
+
# Medium risk - PII, potentially sensitive data, or fields with free-text
|
|
4045
|
+
# data that are at higher risk of having intermittent sensitive data.
|
|
4046
|
+
# Consider limiting access.
|
|
4047
|
+
SENSITIVITY_MODERATE = 20
|
|
4048
|
+
|
|
4049
|
+
# High risk – SPII may be present. Exfiltration of data may lead to user
|
|
4050
|
+
# data loss. Re-identification of users may be possible. Consider limiting
|
|
4051
|
+
# usage and or removing SPII.
|
|
4052
|
+
SENSITIVITY_HIGH = 30
|
|
4053
|
+
end
|
|
4054
|
+
end
|
|
4055
|
+
|
|
4056
|
+
# Score is a summary of all elements in the data profile.
|
|
4057
|
+
# A higher number means more risky.
|
|
4058
|
+
# @!attribute [rw] score
|
|
4059
|
+
# @return [::Google::Cloud::Dlp::V2::DataRiskLevel::DataRiskLevelScore]
|
|
4060
|
+
# The score applied to the resource.
|
|
4061
|
+
class DataRiskLevel
|
|
4062
|
+
include ::Google::Protobuf::MessageExts
|
|
4063
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4064
|
+
|
|
4065
|
+
# Various score levels for resources.
|
|
4066
|
+
module DataRiskLevelScore
|
|
4067
|
+
# Unused.
|
|
4068
|
+
RISK_SCORE_UNSPECIFIED = 0
|
|
4069
|
+
|
|
4070
|
+
# Low risk - Lower indication of sensitive data that appears to have
|
|
4071
|
+
# additional access restrictions in place or no indication of sensitive
|
|
4072
|
+
# data found.
|
|
4073
|
+
RISK_LOW = 10
|
|
4074
|
+
|
|
4075
|
+
# Medium risk - Sensitive data may be present but additional access or fine
|
|
4076
|
+
# grain access restrictions appears to be present. Consider limiting
|
|
4077
|
+
# access even further or transforming data to mask.
|
|
4078
|
+
RISK_MODERATE = 20
|
|
4079
|
+
|
|
4080
|
+
# High risk – SPII may be present. Access controls may include public
|
|
4081
|
+
# ACLs. Exfiltration of data may lead to user data loss. Re-identification
|
|
4082
|
+
# of users may be possible. Consider limiting usage and or removing SPII.
|
|
4083
|
+
RISK_HIGH = 30
|
|
4084
|
+
end
|
|
4085
|
+
end
|
|
4086
|
+
|
|
4087
|
+
# Snapshot of the configurations used to generate the profile.
|
|
4088
|
+
# @!attribute [rw] inspect_config
|
|
4089
|
+
# @return [::Google::Cloud::Dlp::V2::InspectConfig]
|
|
4090
|
+
# A copy of the inspection config used to generate this profile. This
|
|
4091
|
+
# is a copy of the inspect_template specified in `DataProfileJobConfig`.
|
|
4092
|
+
# @!attribute [rw] data_profile_job
|
|
4093
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileJobConfig]
|
|
4094
|
+
# A copy of the configuration used to generate this profile.
|
|
4095
|
+
class DataProfileConfigSnapshot
|
|
4096
|
+
include ::Google::Protobuf::MessageExts
|
|
4097
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4098
|
+
end
|
|
4099
|
+
|
|
4100
|
+
# The profile for a scanned table.
|
|
4101
|
+
# @!attribute [rw] name
|
|
4102
|
+
# @return [::String]
|
|
4103
|
+
# The name of the profile.
|
|
4104
|
+
# @!attribute [rw] project_data_profile
|
|
4105
|
+
# @return [::String]
|
|
4106
|
+
# The resource name to the project data profile for this table.
|
|
4107
|
+
# @!attribute [rw] dataset_project_id
|
|
4108
|
+
# @return [::String]
|
|
4109
|
+
# The GCP project ID that owns the BigQuery dataset.
|
|
4110
|
+
# @!attribute [rw] dataset_location
|
|
4111
|
+
# @return [::String]
|
|
4112
|
+
# The BigQuery location where the dataset's data is stored.
|
|
4113
|
+
# See https://cloud.google.com/bigquery/docs/locations for supported
|
|
4114
|
+
# locations.
|
|
4115
|
+
# @!attribute [rw] dataset_id
|
|
4116
|
+
# @return [::String]
|
|
4117
|
+
# The BigQuery dataset ID.
|
|
4118
|
+
# @!attribute [rw] table_id
|
|
4119
|
+
# @return [::String]
|
|
4120
|
+
# The BigQuery table ID.
|
|
4121
|
+
# @!attribute [rw] full_resource
|
|
4122
|
+
# @return [::String]
|
|
4123
|
+
# The resource name of the table.
|
|
4124
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
|
4125
|
+
# @!attribute [rw] profile_status
|
|
4126
|
+
# @return [::Google::Cloud::Dlp::V2::ProfileStatus]
|
|
4127
|
+
# Success or error status from the most recent profile generation attempt.
|
|
4128
|
+
# May be empty if the profile is still being generated.
|
|
4129
|
+
# @!attribute [rw] state
|
|
4130
|
+
# @return [::Google::Cloud::Dlp::V2::TableDataProfile::State]
|
|
4131
|
+
# State of a profile.
|
|
4132
|
+
# @!attribute [rw] sensitivity_score
|
|
4133
|
+
# @return [::Google::Cloud::Dlp::V2::SensitivityScore]
|
|
4134
|
+
# The sensitivity score of this table.
|
|
4135
|
+
# @!attribute [rw] data_risk_level
|
|
4136
|
+
# @return [::Google::Cloud::Dlp::V2::DataRiskLevel]
|
|
4137
|
+
# The data risk level of this table.
|
|
4138
|
+
# @!attribute [rw] predicted_info_types
|
|
4139
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::InfoTypeSummary>]
|
|
4140
|
+
# The infoTypes predicted from this table's data.
|
|
4141
|
+
# @!attribute [rw] other_info_types
|
|
4142
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::OtherInfoTypeSummary>]
|
|
4143
|
+
# Other infoTypes found in this table's data.
|
|
4144
|
+
# @!attribute [rw] config_snapshot
|
|
4145
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileConfigSnapshot]
|
|
4146
|
+
# The snapshot of the configurations used to generate the profile.
|
|
4147
|
+
# @!attribute [rw] last_modified_time
|
|
4148
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
4149
|
+
# The time when this table was last modified
|
|
4150
|
+
# @!attribute [rw] expiration_time
|
|
4151
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
4152
|
+
# Optional. The time when this table expires.
|
|
4153
|
+
# @!attribute [rw] scanned_column_count
|
|
4154
|
+
# @return [::Integer]
|
|
4155
|
+
# The number of columns profiled in the table.
|
|
4156
|
+
# @!attribute [rw] failed_column_count
|
|
4157
|
+
# @return [::Integer]
|
|
4158
|
+
# The number of columns skipped in the table because of an error.
|
|
4159
|
+
# @!attribute [rw] table_size_bytes
|
|
4160
|
+
# @return [::Integer]
|
|
4161
|
+
# The size of the table when the profile was generated.
|
|
4162
|
+
# @!attribute [rw] row_count
|
|
4163
|
+
# @return [::Integer]
|
|
4164
|
+
# Number of rows in the table when the profile was generated.
|
|
4165
|
+
# @!attribute [rw] encryption_status
|
|
4166
|
+
# @return [::Google::Cloud::Dlp::V2::EncryptionStatus]
|
|
4167
|
+
# How the table is encrypted.
|
|
4168
|
+
# @!attribute [rw] resource_visibility
|
|
4169
|
+
# @return [::Google::Cloud::Dlp::V2::ResourceVisibility]
|
|
4170
|
+
# How broadly a resource has been shared.
|
|
4171
|
+
# @!attribute [rw] profile_last_generated
|
|
4172
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
4173
|
+
# The last time the profile was generated.
|
|
4174
|
+
# @!attribute [rw] resource_labels
|
|
4175
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
4176
|
+
# The labels applied to the resource at the time the profile was generated.
|
|
4177
|
+
# @!attribute [rw] create_time
|
|
4178
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
4179
|
+
# The time at which the table was created.
|
|
4180
|
+
class TableDataProfile
|
|
4181
|
+
include ::Google::Protobuf::MessageExts
|
|
4182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4183
|
+
|
|
4184
|
+
# @!attribute [rw] key
|
|
4185
|
+
# @return [::String]
|
|
4186
|
+
# @!attribute [rw] value
|
|
4187
|
+
# @return [::String]
|
|
4188
|
+
class ResourceLabelsEntry
|
|
4189
|
+
include ::Google::Protobuf::MessageExts
|
|
4190
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4191
|
+
end
|
|
4192
|
+
|
|
4193
|
+
# Possible states of a profile. New items may be added.
|
|
4194
|
+
module State
|
|
4195
|
+
# Unused.
|
|
4196
|
+
STATE_UNSPECIFIED = 0
|
|
4197
|
+
|
|
4198
|
+
# The profile is currently running. Once a profile has finished it will
|
|
4199
|
+
# transition to DONE.
|
|
4200
|
+
RUNNING = 1
|
|
4201
|
+
|
|
4202
|
+
# The profile is no longer generating.
|
|
4203
|
+
# If profile_status.status.code is 0, the profile succeeded, otherwise, it
|
|
4204
|
+
# failed.
|
|
4205
|
+
DONE = 2
|
|
4206
|
+
end
|
|
4207
|
+
end
|
|
4208
|
+
|
|
4209
|
+
# @!attribute [rw] status
|
|
4210
|
+
# @return [::Google::Rpc::Status]
|
|
4211
|
+
# Profiling status code and optional message
|
|
4212
|
+
# @!attribute [rw] timestamp
|
|
4213
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
4214
|
+
# Time when the profile generation status was updated
|
|
4215
|
+
class ProfileStatus
|
|
4216
|
+
include ::Google::Protobuf::MessageExts
|
|
4217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4218
|
+
end
|
|
4219
|
+
|
|
4220
|
+
# The infoType details for this column.
|
|
4221
|
+
# @!attribute [rw] info_type
|
|
4222
|
+
# @return [::Google::Cloud::Dlp::V2::InfoType]
|
|
4223
|
+
# The infoType.
|
|
4224
|
+
class InfoTypeSummary
|
|
4225
|
+
include ::Google::Protobuf::MessageExts
|
|
4226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4227
|
+
end
|
|
4228
|
+
|
|
4229
|
+
# Infotype details for other infoTypes found within a column.
|
|
4230
|
+
# @!attribute [rw] info_type
|
|
4231
|
+
# @return [::Google::Cloud::Dlp::V2::InfoType]
|
|
4232
|
+
# The other infoType.
|
|
4233
|
+
class OtherInfoTypeSummary
|
|
4234
|
+
include ::Google::Protobuf::MessageExts
|
|
4235
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4236
|
+
end
|
|
4237
|
+
|
|
4238
|
+
# A condition for determining whether a PubSub should be triggered.
|
|
4239
|
+
# @!attribute [rw] expressions
|
|
4240
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions]
|
|
4241
|
+
# An expression.
|
|
4242
|
+
class DataProfilePubSubCondition
|
|
4243
|
+
include ::Google::Protobuf::MessageExts
|
|
4244
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4245
|
+
|
|
4246
|
+
# A condition consisting of a value.
|
|
4247
|
+
# @!attribute [rw] minimum_risk_score
|
|
4248
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket]
|
|
4249
|
+
# The minimum data risk score that triggers the condition.
|
|
4250
|
+
# @!attribute [rw] minimum_sensitivity_score
|
|
4251
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::ProfileScoreBucket]
|
|
4252
|
+
# The minimum sensitivity level that triggers the condition.
|
|
4253
|
+
class PubSubCondition
|
|
4254
|
+
include ::Google::Protobuf::MessageExts
|
|
4255
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4256
|
+
end
|
|
4257
|
+
|
|
4258
|
+
# An expression, consisting of an operator and conditions.
|
|
4259
|
+
# @!attribute [rw] logical_operator
|
|
4260
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubExpressions::PubSubLogicalOperator]
|
|
4261
|
+
# The operator to apply to the collection of conditions.
|
|
4262
|
+
# @!attribute [rw] conditions
|
|
4263
|
+
# @return [::Array<::Google::Cloud::Dlp::V2::DataProfilePubSubCondition::PubSubCondition>]
|
|
4264
|
+
# Conditions to apply to the expression.
|
|
4265
|
+
class PubSubExpressions
|
|
4266
|
+
include ::Google::Protobuf::MessageExts
|
|
4267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4268
|
+
|
|
4269
|
+
# Logical operators for conditional checks.
|
|
4270
|
+
module PubSubLogicalOperator
|
|
4271
|
+
# Unused.
|
|
4272
|
+
LOGICAL_OPERATOR_UNSPECIFIED = 0
|
|
4273
|
+
|
|
4274
|
+
# Conditional OR.
|
|
4275
|
+
OR = 1
|
|
4276
|
+
|
|
4277
|
+
# Conditional AND.
|
|
4278
|
+
AND = 2
|
|
4279
|
+
end
|
|
4280
|
+
end
|
|
4281
|
+
|
|
4282
|
+
# Various score levels for resources.
|
|
4283
|
+
module ProfileScoreBucket
|
|
4284
|
+
# Unused.
|
|
4285
|
+
PROFILE_SCORE_BUCKET_UNSPECIFIED = 0
|
|
4286
|
+
|
|
4287
|
+
# High risk/sensitivity detected.
|
|
4288
|
+
HIGH = 1
|
|
4289
|
+
|
|
4290
|
+
# Medium or high risk/sensitivity detected.
|
|
4291
|
+
MEDIUM_OR_HIGH = 2
|
|
4292
|
+
end
|
|
4293
|
+
end
|
|
4294
|
+
|
|
4295
|
+
# The message that will be published to a Pub/Sub topic.
|
|
4296
|
+
# To receive a message of protocol buffer schema type, convert the message data
|
|
4297
|
+
# to an object of this proto class.
|
|
4298
|
+
# https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages
|
|
4299
|
+
# @!attribute [rw] profile
|
|
4300
|
+
# @return [::Google::Cloud::Dlp::V2::TableDataProfile]
|
|
4301
|
+
# If `DetailLevel` is `TABLE_PROFILE` this will be fully populated.
|
|
4302
|
+
# Otherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and
|
|
4303
|
+
# `full_resource` will be populated.
|
|
4304
|
+
# @!attribute [rw] event
|
|
4305
|
+
# @return [::Google::Cloud::Dlp::V2::DataProfileAction::EventType]
|
|
4306
|
+
# The event that caused the Pub/Sub message to be sent.
|
|
4307
|
+
class DataProfilePubSubMessage
|
|
4308
|
+
include ::Google::Protobuf::MessageExts
|
|
4309
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4310
|
+
end
|
|
4311
|
+
|
|
3889
4312
|
# Operators available for comparing the value of fields.
|
|
3890
4313
|
module RelationalOperator
|
|
3891
4314
|
# Unused
|
|
@@ -4007,6 +4430,31 @@ module Google
|
|
|
4007
4430
|
# use the `UpdateStoredInfoType` method to create a new version.
|
|
4008
4431
|
INVALID = 4
|
|
4009
4432
|
end
|
|
4433
|
+
|
|
4434
|
+
# How broadly a resource has been shared. New items may be added over time.
|
|
4435
|
+
# A higher number means more restricted.
|
|
4436
|
+
module ResourceVisibility
|
|
4437
|
+
# Unused.
|
|
4438
|
+
RESOURCE_VISIBILITY_UNSPECIFIED = 0
|
|
4439
|
+
|
|
4440
|
+
# Visible to any user.
|
|
4441
|
+
RESOURCE_VISIBILITY_PUBLIC = 10
|
|
4442
|
+
|
|
4443
|
+
# Visible only to specific users.
|
|
4444
|
+
RESOURCE_VISIBILITY_RESTRICTED = 20
|
|
4445
|
+
end
|
|
4446
|
+
|
|
4447
|
+
# How a resource is encrypted.
|
|
4448
|
+
module EncryptionStatus
|
|
4449
|
+
# Unused.
|
|
4450
|
+
ENCRYPTION_STATUS_UNSPECIFIED = 0
|
|
4451
|
+
|
|
4452
|
+
# Google manages server-side encryption keys on your behalf.
|
|
4453
|
+
ENCRYPTION_GOOGLE_MANAGED = 1
|
|
4454
|
+
|
|
4455
|
+
# Customer provides the key.
|
|
4456
|
+
ENCRYPTION_CUSTOMER_MANAGED = 2
|
|
4457
|
+
end
|
|
4010
4458
|
end
|
|
4011
4459
|
end
|
|
4012
4460
|
end
|
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
|
+
version: 0.10.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-
|
|
11
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|