1// Copyright 2023 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15syntax = "proto3"; 16 17package google.cloud.securitycenter.v2; 18 19import "google/api/resource.proto"; 20 21option csharp_namespace = "Google.Cloud.SecurityCenter.V2"; 22option go_package = "cloud.google.com/go/securitycenter/apiv2/securitycenterpb;securitycenterpb"; 23option java_multiple_files = true; 24option java_outer_classname = "CloudDlpDataProfileProto"; 25option java_package = "com.google.cloud.securitycenter.v2"; 26option php_namespace = "Google\\Cloud\\SecurityCenter\\V2"; 27option ruby_package = "Google::Cloud::SecurityCenter::V2"; 28option (google.api.resource_definition) = { 29 type: "dlp.googleapis.com/TableDataProfile" 30 pattern: "projects/{project}/tableProfiles/{table_profile}" 31 pattern: "projects/{project}/locations/{location}/tableProfiles/{table_profile}" 32}; 33 34// The [data profile](https://cloud.google.com/dlp/docs/data-profiles) 35// associated with the finding. 36message CloudDlpDataProfile { 37 // Parents for configurations that produce data profile findings. 38 enum ParentType { 39 // Unspecified parent type. 40 PARENT_TYPE_UNSPECIFIED = 0; 41 42 // Organization-level configurations. 43 ORGANIZATION = 1; 44 45 // Project-level configurations. 46 PROJECT = 2; 47 } 48 49 // Name of the data profile, for example, 50 // `projects/123/locations/europe/tableProfiles/8383929`. 51 string data_profile = 1 [(google.api.resource_reference) = { 52 type: "dlp.googleapis.com/TableDataProfile" 53 }]; 54 55 // The resource hierarchy level at which the data profile was generated. 56 ParentType parent_type = 2; 57} 58