diff --git a/Dlp/metadata/V2/Dlp.php b/Dlp/metadata/V2/Dlp.php index ab6ee4ab852e..508adc07ef8f 100644 --- a/Dlp/metadata/V2/Dlp.php +++ b/Dlp/metadata/V2/Dlp.php @@ -28,7 +28,7 @@ public static function initOnce() { \GPBMetadata\Google\Type\Dayofweek::initOnce(); \GPBMetadata\Google\Type\Timeofday::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xED\xC3\x05\x0A\x1Fgoogle/privacy/dlp/v2/dlp.proto\x12\x15google.privacy.dlp.v2\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/privacy/dlp/v2/storage.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\x1A\x16google/type/date.proto\x1A\x1Bgoogle/type/dayofweek.proto\x1A\x1Bgoogle/type/timeofday.proto\"G\x0A\x10ExcludeInfoTypes\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\xA8\x01\x0A\x10ExcludeByHotword\x12B\x0A\x0Dhotword_regex\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\x0A\x09proximity\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\"\x9A\x01\x0A\x16ExcludeByImageFindings\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12K\x0A\x16image_containment_type\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.ImageContainmentType\"\xBB\x03\x0A\x0DExclusionRule\x12F\x0A\x0Adictionary\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12E\x0A\x12exclude_info_types\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.ExcludeInfoTypesH\x00\x12E\x0A\x12exclude_by_hotword\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.ExcludeByHotwordH\x00\x12R\x0A\x19exclude_by_image_findings\x18\x06 \x01(\x0B2-.google.privacy.dlp.v2.ExcludeByImageFindingsH\x00\x12:\x0A\x0Dmatching_type\x18\x04 \x01(\x0E2#.google.privacy.dlp.v2.MatchingTypeB\x06\x0A\x04type\"\xC7\x01\x0A\x19AdjustByMatchingInfoTypes\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12:\x0A\x0Dmatching_type\x18\x03 \x01(\x0E2#.google.privacy.dlp.v2.MatchingType\"\xD4\x01\x0A\x15AdjustByImageFindings\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12K\x0A\x16image_containment_type\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.ImageContainmentType\"\xB4\x02\x0A\x0EAdjustmentRule\x12Y\x0A\x1Dadjust_by_matching_info_types\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.AdjustByMatchingInfoTypesH\x00\x12P\x0A\x18adjust_by_image_findings\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.AdjustByImageFindingsH\x00\x12g\x0A\x15likelihood_adjustment\x18\x02 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x0C\x0A\x0Aconditions\"\xF3\x01\x0A\x0EInspectionRule\x12W\x0A\x0Chotword_rule\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x12>\x0A\x0Eexclusion_rule\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.ExclusionRuleH\x00\x12@\x0A\x0Fadjustment_rule\x18\x03 \x01(\x0B2%.google.privacy.dlp.v2.AdjustmentRuleH\x00B\x06\x0A\x04type\"~\x0A\x11InspectionRuleSet\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x124\x0A\x05rules\x18\x02 \x03(\x0B2%.google.privacy.dlp.v2.InspectionRule\"\xAC\x07\x0A\x0DInspectConfig\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12]\x0A\x1Cmin_likelihood_per_info_type\x18\x0B \x03(\x0B27.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood\x12B\x0A\x06limits\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.InspectConfig.FindingLimits\x12\x15\x0A\x0Dinclude_quote\x18\x04 \x01(\x08\x12\x1A\x0A\x12exclude_info_types\x18\x05 \x01(\x08\x12@\x0A\x11custom_info_types\x18\x06 \x03(\x0B2%.google.privacy.dlp.v2.CustomInfoType\x12=\x0A\x0Fcontent_options\x18\x08 \x03(\x0E2\$.google.privacy.dlp.v2.ContentOption\x12:\x0A\x08rule_set\x18\x0A \x03(\x0B2(.google.privacy.dlp.v2.InspectionRuleSet\x1A\x83\x01\x0A\x12InfoTypeLikelihood\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x1A\x91\x02\x0A\x0DFindingLimits\x12\x1D\x0A\x15max_findings_per_item\x18\x01 \x01(\x05\x12 \x0A\x18max_findings_per_request\x18\x02 \x01(\x05\x12d\x0A\x1Amax_findings_per_info_type\x18\x03 \x03(\x0B2@.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit\x1AY\x0A\x0DInfoTypeLimit\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x14\x0A\x0Cmax_findings\x18\x02 \x01(\x05\"\xF9\x02\x0A\x0FByteContentItem\x12>\x0A\x04type\x18\x01 \x01(\x0E20.google.privacy.dlp.v2.ByteContentItem.BytesType\x12\x0C\x0A\x04data\x18\x02 \x01(\x0C\"\x97\x02\x0A\x09BytesType\x12\x1A\x0A\x16BYTES_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05IMAGE\x10\x06\x12\x0E\x0A\x0AIMAGE_JPEG\x10\x01\x12\x0D\x0A\x09IMAGE_BMP\x10\x02\x12\x0D\x0A\x09IMAGE_PNG\x10\x03\x12\x0D\x0A\x09IMAGE_SVG\x10\x04\x12\x0D\x0A\x09TEXT_UTF8\x10\x05\x12\x11\x0A\x0DWORD_DOCUMENT\x10\x07\x12\x07\x0A\x03PDF\x10\x08\x12\x17\x0A\x13POWERPOINT_DOCUMENT\x10\x09\x12\x12\x0A\x0EEXCEL_DOCUMENT\x10\x0A\x12\x08\x0A\x04AVRO\x10\x0B\x12\x07\x0A\x03CSV\x10\x0C\x12\x07\x0A\x03TSV\x10\x0D\x12\x09\x0A\x05AUDIO\x10\x0F\x12\x09\x0A\x05VIDEO\x10\x10\x12\x0E\x0A\x0AEXECUTABLE\x10\x11\x12\x0C\x0A\x08AI_MODEL\x10\x12\"\xDD\x02\x0A\x0BContentItem\x12\x0F\x0A\x05value\x18\x03 \x01(\x09H\x00\x12-\x0A\x05table\x18\x04 \x01(\x0B2\x1C.google.privacy.dlp.v2.TableH\x00\x12;\x0A\x09byte_item\x18\x05 \x01(\x0B2&.google.privacy.dlp.v2.ByteContentItemH\x00\x12;\x0A\x0Cconversation\x18\x07 \x01(\x0B2#.google.privacy.dlp.v2.ConversationH\x00\x12E\x0A\x12batch_content_item\x18\x08 \x01(\x0B2'.google.privacy.dlp.v2.BatchContentItemH\x00\x12@\x0A\x10content_metadata\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.ContentMetadataB\x0B\x0A\x09data_item\"V\x0A\x0FContentMetadata\x12C\x0A\x0Aproperties\x18\x02 \x03(\x0B2/.google.privacy.dlp.v2.KeyValueMetadataProperty\"L\x0A\x0CConversation\x12<\x0A\x08messages\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.ConversationMessage\"\xD3\x01\x0A\x13ConversationMessage\x12\x0F\x0A\x07content\x18\x01 \x01(\x09\x12L\x0A\x0Cmessage_type\x18\x02 \x01(\x0E26.google.privacy.dlp.v2.ConversationMessage.MessageType\x12\x16\x0A\x0Eparticipant_id\x18\x03 \x01(\x09\"E\x0A\x0BMessageType\x12\x1C\x0A\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CONTENT\x10\x01\x12\x0B\x0A\x07CONTEXT\x10\x02\"g\x0A\x10BatchContentItem\x12J\x0A\x12string_value_batch\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.StringValueBatchB\x03\xE0A\x01H\x00B\x07\x0A\x05batch\"'\x0A\x10StringValueBatch\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x01\"\x9D\x01\x0A\x05Table\x12/\x0A\x07headers\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12.\x0A\x04rows\x18\x02 \x03(\x0B2 .google.privacy.dlp.v2.Table.Row\x1A3\x0A\x03Row\x12,\x0A\x06values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\"6\x0A\x18KeyValueMetadataProperty\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\"]\x0A\x0DInspectResult\x120\x0A\x08findings\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.Finding\x12\x1A\x0A\x12findings_truncated\x18\x02 \x01(\x08\"\xDF\x05\x0A\x07Finding\x12\x0C\x0A\x04name\x18\x0E \x01(\x09\x12\x0D\x0A\x05quote\x18\x01 \x01(\x09\x122\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x125\x0A\x0Alikelihood\x18\x03 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x121\x0A\x08location\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.Location\x12/\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x124\x0A\x0Aquote_info\x18\x07 \x01(\x0B2 .google.privacy.dlp.v2.QuoteInfo\x125\x0A\x0Dresource_name\x18\x08 \x01(\x09B\x1E\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x128\x0A\x0Ctrigger_name\x18\x09 \x01(\x09B\"\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x12:\x0A\x06labels\x18\x0A \x03(\x0B2*.google.privacy.dlp.v2.Finding.LabelsEntry\x123\x0A\x0Fjob_create_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.Timestamp\x120\x0A\x08job_name\x18\x0D \x01(\x09B\x1E\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x12\x12\x0A\x0Afinding_id\x18\x0F \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:[\xEAAX\x0A\x1Adlp.googleapis.com/Finding\x12:projects/{project}/locations/{location}/findings/{finding}\"\xEB\x01\x0A\x08Location\x120\x0A\x0Abyte_range\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Range\x125\x0A\x0Fcodepoint_range\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Range\x12A\x0A\x11content_locations\x18\x07 \x03(\x0B2&.google.privacy.dlp.v2.ContentLocation\x123\x0A\x09container\x18\x08 \x01(\x0B2 .google.privacy.dlp.v2.Container\"\xB4\x04\x0A\x0FContentLocation\x12\x16\x0A\x0Econtainer_name\x18\x01 \x01(\x09\x12@\x0A\x0Frecord_location\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.RecordLocationH\x00\x12>\x0A\x0Eimage_location\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.ImageLocationH\x00\x12D\x0A\x11document_location\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.DocumentLocationH\x00\x12D\x0A\x11metadata_location\x18\x08 \x01(\x0B2'.google.privacy.dlp.v2.MetadataLocationH\x00\x12L\x0A\x15conversation_location\x18\x0A \x01(\x0B2+.google.privacy.dlp.v2.ConversationLocationH\x00\x12M\x0A\x16batch_content_location\x18\x0B \x01(\x0B2+.google.privacy.dlp.v2.BatchContentLocationH\x00\x127\x0A\x13container_timestamp\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x19\x0A\x11container_version\x18\x07 \x01(\x09B\x0A\x0A\x08location\"\x9B\x01\x0A\x14ConversationLocation\x12\x17\x0A\x0Dmessage_index\x18\x01 \x01(\x05H\x00\x12O\x0A\x0Call_messages\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.ConversationLocation.AllMessagesH\x00\x1A\x0D\x0A\x0BAllMessagesB\x0A\x0A\x08location\"*\x0A\x14BatchContentLocation\x12\x12\x0A\x0Aitem_index\x18\x01 \x01(\x05\"\xE6\x01\x0A\x10MetadataLocation\x121\x0A\x04type\x18\x01 \x01(\x0E2#.google.privacy.dlp.v2.MetadataType\x12D\x0A\x0Dstorage_label\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.StorageMetadataLabelH\x00\x12P\x0A\x18key_value_metadata_label\x18\x04 \x01(\x0B2,.google.privacy.dlp.v2.KeyValueMetadataLabelH\x00B\x07\x0A\x05label\"#\x0A\x14StorageMetadataLabel\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\"\$\x0A\x15KeyValueMetadataLabel\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\"'\x0A\x10DocumentLocation\x12\x13\x0A\x0Bfile_offset\x18\x01 \x01(\x03\"\xB6\x01\x0A\x0ERecordLocation\x124\x0A\x0Arecord_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.RecordKey\x120\x0A\x08field_id\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12<\x0A\x0Etable_location\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.TableLocation\"\"\x0A\x0DTableLocation\x12\x11\x0A\x09row_index\x18\x01 \x01(\x03\"\xAC\x01\x0A\x09Container\x12\x0C\x0A\x04type\x18\x01 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12\x11\x0A\x09full_path\x18\x03 \x01(\x09\x12\x11\x0A\x09root_path\x18\x04 \x01(\x09\x12\x15\x0A\x0Drelative_path\x18\x05 \x01(\x09\x12/\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x0F\x0A\x07version\x18\x07 \x01(\x09\"#\x0A\x05Range\x12\x0D\x0A\x05start\x18\x01 \x01(\x03\x12\x0B\x0A\x03end\x18\x02 \x01(\x03\"K\x0A\x0DImageLocation\x12:\x0A\x0Ebounding_boxes\x18\x01 \x03(\x0B2\".google.privacy.dlp.v2.BoundingBox\"G\x0A\x0BBoundingBox\x12\x0B\x0A\x03top\x18\x01 \x01(\x05\x12\x0C\x0A\x04left\x18\x02 \x01(\x05\x12\x0D\x0A\x05width\x18\x03 \x01(\x05\x12\x0E\x0A\x06height\x18\x04 \x01(\x05\"\xB3\x04\x0A\x12RedactImageRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12\x13\x0A\x0Blocation_id\x18\x08 \x01(\x09\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12_\x0A\x17image_redaction_configs\x18\x05 \x03(\x0B2>.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig\x12\x18\x0A\x10include_findings\x18\x06 \x01(\x08\x129\x0A\x09byte_item\x18\x07 \x01(\x0B2&.google.privacy.dlp.v2.ByteContentItem\x12\x18\x0A\x10inspect_template\x18\x09 \x01(\x09\x12\x1B\x0A\x13deidentify_template\x18\x0A \x01(\x09\x1A\xA8\x01\x0A\x14ImageRedactionConfig\x124\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x19\x0A\x0Fredact_all_text\x18\x02 \x01(\x08H\x00\x125\x0A\x0Fredaction_color\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.ColorB\x08\x0A\x06target\"1\x0A\x05Color\x12\x0B\x0A\x03red\x18\x01 \x01(\x02\x12\x0D\x0A\x05green\x18\x02 \x01(\x02\x12\x0C\x0A\x04blue\x18\x03 \x01(\x02\"\x83\x01\x0A\x13RedactImageResponse\x12\x16\x0A\x0Eredacted_image\x18\x01 \x01(\x0C\x12\x16\x0A\x0Eextracted_text\x18\x02 \x01(\x09\x12<\x0A\x0Einspect_result\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectResult\"\xD8\x02\x0A\x18DeidentifyContentRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12B\x0A\x11deidentify_config\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig\x12<\x0A\x0Einspect_config\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x04 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12 \x0A\x18deidentify_template_name\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"\x8E\x01\x0A\x19DeidentifyContentResponse\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12?\x0A\x08overview\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.TransformationOverview\"\xDB\x02\x0A\x18ReidentifyContentRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12B\x0A\x11reidentify_config\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig\x12<\x0A\x0Einspect_config\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x04 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12 \x0A\x18reidentify_template_name\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"\x8E\x01\x0A\x19ReidentifyContentResponse\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12?\x0A\x08overview\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.TransformationOverview\"\xEF\x01\x0A\x15InspectContentRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x03 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"N\x0A\x16InspectContentResponse\x124\x0A\x06result\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.InspectResult\"\xF8\x02\x0A\x13OutputStorageConfig\x125\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableH\x00\x12?\x0A\x0Cstorage_path\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePathH\x00\x12N\x0A\x0Doutput_schema\x18\x03 \x01(\x0E27.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema\"\x90\x01\x0A\x0COutputSchema\x12\x1D\x0A\x19OUTPUT_SCHEMA_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DBASIC_COLUMNS\x10\x01\x12\x0F\x0A\x0BGCS_COLUMNS\x10\x02\x12\x15\x0A\x11DATASTORE_COLUMNS\x10\x03\x12\x15\x0A\x11BIG_QUERY_COLUMNS\x10\x04\x12\x0F\x0A\x0BALL_COLUMNS\x10\x05B\x06\x0A\x04type\"R\x0A\x0DInfoTypeStats\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x0D\x0A\x05count\x18\x02 \x01(\x03\"\xC0\x04\x0A\x18InspectDataSourceDetails\x12[\x0A\x11requested_options\x18\x02 \x01(\x0B2@.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions\x12F\x0A\x06result\x18\x03 \x01(\x0B26.google.privacy.dlp.v2.InspectDataSourceDetails.Result\x1A\x9A\x01\x0A\x10RequestedOptions\x12I\x0A\x19snapshot_inspect_template\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplate\x12;\x0A\x0Ajob_config\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfig\x1A\xE1\x01\x0A\x06Result\x12\x17\x0A\x0Fprocessed_bytes\x18\x01 \x01(\x03\x12\x1D\x0A\x15total_estimated_bytes\x18\x02 \x01(\x03\x12=\x0A\x0Finfo_type_stats\x18\x03 \x03(\x0B2\$.google.privacy.dlp.v2.InfoTypeStats\x12\x1A\x0A\x12num_rows_processed\x18\x05 \x01(\x03\x12D\x0A\x0Chybrid_stats\x18\x07 \x01(\x0B2..google.privacy.dlp.v2.HybridInspectStatistics\"\xFF\x01\x0A\x1CDataProfileBigQueryRowSchema\x12@\x0A\x0Dtable_profile\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.TableDataProfileH\x00\x12B\x0A\x0Ecolumn_profile\x18\x02 \x01(\x0B2(.google.privacy.dlp.v2.ColumnDataProfileH\x00\x12I\x0A\x12file_store_profile\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfileH\x00B\x0E\x0A\x0Cdata_profile\"`\x0A\x17HybridInspectStatistics\x12\x17\x0A\x0Fprocessed_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Daborted_count\x18\x02 \x01(\x03\x12\x15\x0A\x0Dpending_count\x18\x03 \x01(\x03\"l\x0A\x0DActionDetails\x12P\x0A\x12deidentify_details\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.DeidentifyDataSourceDetailsH\x00B\x09\x0A\x07details\"x\x0A\x19DeidentifyDataSourceStats\x12\x19\x0A\x11transformed_bytes\x18\x01 \x01(\x03\x12\x1C\x0A\x14transformation_count\x18\x02 \x01(\x03\x12\"\x0A\x1Atransformation_error_count\x18\x03 \x01(\x03\"\xF2\x03\x0A\x1BDeidentifyDataSourceDetails\x12h\x0A\x11requested_options\x18\x01 \x01(\x0B2M.google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions\x12J\x0A\x10deidentify_stats\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DeidentifyDataSourceStats\x1A\x9C\x02\x0A\x1ARequestedDeidentifyOptions\x12O\x0A\x1Csnapshot_deidentify_template\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12Z\x0A'snapshot_structured_deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12Q\x0A\x1Esnapshot_image_redact_template\x18\x03 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\"\xDF\x01\x0A\x0FLocationSupport\x12Z\x0A\x15regionalization_scope\x18\x01 \x01(\x0E2;.google.privacy.dlp.v2.LocationSupport.RegionalizationScope\x12\x11\x0A\x09locations\x18\x02 \x03(\x09\"]\x0A\x14RegionalizationScope\x12%\x0A!REGIONALIZATION_SCOPE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08REGIONAL\x10\x01\x12\x10\x0A\x0CANY_LOCATION\x10\x02\"\x9B\x05\x0A\x13InfoTypeDescription\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12@\x0A\x0Csupported_by\x18\x03 \x03(\x0E2*.google.privacy.dlp.v2.InfoTypeSupportedBy\x12\x13\x0A\x0Bdescription\x18\x04 \x01(\x09\x12@\x0A\x10location_support\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.LocationSupport\x12\x0F\x0A\x07example\x18\x08 \x01(\x09\x12;\x0A\x08versions\x18\x09 \x03(\x0B2).google.privacy.dlp.v2.VersionDescription\x12;\x0A\x0Acategories\x18\x0A \x03(\x0B2'.google.privacy.dlp.v2.InfoTypeCategory\x12B\x0A\x11sensitivity_score\x18\x0B \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12\x1B\x0A\x13specific_info_types\x18\x0C \x03(\x09\x12V\x0A\x0Dlaunch_status\x18\x0D \x01(\x0E2?.google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus\"\x82\x01\x0A\x14InfoTypeLaunchStatus\x12'\x0A#INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED\x10\x00\x12\x18\x0A\x14GENERAL_AVAILABILITY\x10\x01\x12\x12\x0A\x0EPUBLIC_PREVIEW\x10\x02\x12\x13\x0A\x0FPRIVATE_PREVIEW\x10\x03\"\x90\x0A\x0A\x10InfoTypeCategory\x12U\x0A\x11location_category\x18\x01 \x01(\x0E28.google.privacy.dlp.v2.InfoTypeCategory.LocationCategoryH\x00\x12U\x0A\x11industry_category\x18\x02 \x01(\x0E28.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategoryH\x00\x12M\x0A\x0Dtype_category\x18\x03 \x01(\x0E24.google.privacy.dlp.v2.InfoTypeCategory.TypeCategoryH\x00\"\xEF\x05\x0A\x10LocationCategory\x12\x18\x0A\x14LOCATION_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06GLOBAL\x10\x01\x12\x0D\x0A\x09ARGENTINA\x10\x02\x12\x0B\x0A\x07ARMENIA\x103\x12\x0D\x0A\x09AUSTRALIA\x10\x03\x12\x0B\x0A\x07AUSTRIA\x105\x12\x0E\x0A\x0AAZERBAIJAN\x100\x12\x0B\x0A\x07BELARUS\x102\x12\x0B\x0A\x07BELGIUM\x10\x04\x12\x0A\x0A\x06BRAZIL\x10\x05\x12\x0A\x0A\x06CANADA\x10\x06\x12\x09\x0A\x05CHILE\x10\x07\x12\x09\x0A\x05CHINA\x10\x08\x12\x0C\x0A\x08COLOMBIA\x10\x09\x12\x0B\x0A\x07CROATIA\x10*\x12\x0B\x0A\x07CZECHIA\x104\x12\x0B\x0A\x07DENMARK\x10\x0A\x12\x0A\x0A\x06FRANCE\x10\x0B\x12\x0B\x0A\x07FINLAND\x10\x0C\x12\x0B\x0A\x07GERMANY\x10\x0D\x12\x0D\x0A\x09HONG_KONG\x10\x0E\x12\x09\x0A\x05INDIA\x10\x0F\x12\x0D\x0A\x09INDONESIA\x10\x10\x12\x0B\x0A\x07IRELAND\x10\x11\x12\x0A\x0A\x06ISRAEL\x10\x12\x12\x09\x0A\x05ITALY\x10\x13\x12\x09\x0A\x05JAPAN\x10\x14\x12\x0E\x0A\x0AKAZAKHSTAN\x10/\x12\x09\x0A\x05KOREA\x10\x15\x12\x0A\x0A\x06MEXICO\x10\x16\x12\x13\x0A\x0FTHE_NETHERLANDS\x10\x17\x12\x0F\x0A\x0BNEW_ZEALAND\x10)\x12\x0A\x0A\x06NORWAY\x10\x18\x12\x0C\x0A\x08PARAGUAY\x10\x19\x12\x08\x0A\x04PERU\x10\x1A\x12\x0A\x0A\x06POLAND\x10\x1B\x12\x0C\x0A\x08PORTUGAL\x10\x1C\x12\x0A\x0A\x06RUSSIA\x10,\x12\x0D\x0A\x09SINGAPORE\x10\x1D\x12\x10\x0A\x0CSOUTH_AFRICA\x10\x1E\x12\x09\x0A\x05SPAIN\x10\x1F\x12\x0A\x0A\x06SWEDEN\x10 \x12\x0F\x0A\x0BSWITZERLAND\x10+\x12\x0A\x0A\x06TAIWAN\x10!\x12\x0C\x0A\x08THAILAND\x10\"\x12\x0A\x0A\x06TURKEY\x10#\x12\x0B\x0A\x07UKRAINE\x10-\x12\x12\x0A\x0EUNITED_KINGDOM\x10\$\x12\x11\x0A\x0DUNITED_STATES\x10%\x12\x0B\x0A\x07URUGUAY\x10&\x12\x0E\x0A\x0AUZBEKISTAN\x10.\x12\x0D\x0A\x09VENEZUELA\x10'\x12\x0C\x0A\x08INTERNAL\x10(\"]\x0A\x10IndustryCategory\x12\x18\x0A\x14INDUSTRY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07FINANCE\x10\x01\x12\x0A\x0A\x06HEALTH\x10\x02\x12\x16\x0A\x12TELECOMMUNICATIONS\x10\x03\"\xA1\x01\x0A\x0CTypeCategory\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03PII\x10\x01\x12\x08\x0A\x04SPII\x10\x02\x12\x0F\x0A\x0BDEMOGRAPHIC\x10\x03\x12\x0E\x0A\x0ACREDENTIAL\x10\x04\x12\x11\x0A\x0DGOVERNMENT_ID\x10\x05\x12\x0C\x0A\x08DOCUMENT\x10\x06\x12\x1A\x0A\x16CONTEXTUAL_INFORMATION\x10\x07\x12\x0A\x0A\x06CUSTOM\x10\x08B\x0A\x0A\x08category\":\x0A\x12VersionDescription\x12\x0F\x0A\x07version\x18\x01 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\"b\x0A\x14ListInfoTypesRequest\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\x12\x15\x0A\x0Dlanguage_code\x18\x01 \x01(\x09\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x03 \x01(\x09\"W\x0A\x15ListInfoTypesResponse\x12>\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.InfoTypeDescription\"\xC1\x01\x0A\x15RiskAnalysisJobConfig\x12<\x0A\x0Eprivacy_metric\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.PrivacyMetric\x12:\x0A\x0Csource_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12.\x0A\x07actions\x18\x03 \x03(\x0B2\x1D.google.privacy.dlp.v2.Action\"\xBC\x01\x0A\x07QuasiId\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x124\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\x0A\x0Acustom_tag\x18\x03 \x01(\x09H\x00\x12*\x0A\x08inferred\x18\x04 \x01(\x0B2\x16.google.protobuf.EmptyH\x00B\x05\x0A\x03tag\"\xBE\x02\x0A\x10StatisticalTable\x128\x0A\x05table\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableB\x03\xE0A\x02\x12T\x0A\x09quasi_ids\x18\x01 \x03(\x0B2<.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldB\x03\xE0A\x02\x12?\x0A\x12relative_frequency\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x1AY\x0A\x14QuasiIdentifierField\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Acustom_tag\x18\x02 \x01(\x09\"\x93\x0F\x0A\x0DPrivacyMetric\x12[\x0A\x16numerical_stats_config\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigH\x00\x12_\x0A\x18categorical_stats_config\x18\x02 \x01(\x0B2;.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigH\x00\x12S\x0A\x12k_anonymity_config\x18\x03 \x01(\x0B25.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigH\x00\x12S\x0A\x12l_diversity_config\x18\x04 \x01(\x0B25.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigH\x00\x12\\\x0A\x17k_map_estimation_config\x18\x05 \x01(\x0B29.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigH\x00\x12n\x0A delta_presence_estimation_config\x18\x06 \x01(\x0B2B.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigH\x00\x1AE\x0A\x14NumericalStatsConfig\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1AG\x0A\x16CategoricalStatsConfig\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1Ay\x0A\x10KAnonymityConfig\x121\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x122\x0A\x09entity_id\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.EntityId\x1A\x82\x01\x0A\x10LDiversityConfig\x121\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12;\x0A\x13sensitive_attribute\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1A\x81\x06\x0A\x14KMapEstimationConfig\x12]\x0A\x09quasi_ids\x18\x01 \x03(\x0B2E.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldB\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x02 \x01(\x09\x12b\x0A\x10auxiliary_tables\x18\x03 \x03(\x0B2H.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable\x1A\xC0\x01\x0A\x0BTaggedField\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x124\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\x0A\x0Acustom_tag\x18\x03 \x01(\x09H\x00\x12*\x0A\x08inferred\x18\x04 \x01(\x0B2\x16.google.protobuf.EmptyH\x00B\x05\x0A\x03tag\x1A\xCD\x02\x0A\x0EAuxiliaryTable\x128\x0A\x05table\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableB\x03\xE0A\x02\x12m\x0A\x09quasi_ids\x18\x01 \x03(\x0B2U.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldB\x03\xE0A\x02\x12?\x0A\x12relative_frequency\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x1AQ\x0A\x0CQuasiIdField\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Acustom_tag\x18\x02 \x01(\x09\x1A\xAF\x01\x0A\x1DDeltaPresenceEstimationConfig\x126\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.QuasiIdB\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x02 \x01(\x09\x12A\x0A\x10auxiliary_tables\x18\x03 \x03(\x0B2'.google.privacy.dlp.v2.StatisticalTableB\x06\x0A\x04type\"\xC1\x1F\x0A\x1CAnalyzeDataSourceRiskDetails\x12F\x0A\x18requested_privacy_metric\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.PrivacyMetric\x12D\x0A\x16requested_source_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12j\x0A\x16numerical_stats_result\x18\x03 \x01(\x0B2H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultH\x00\x12n\x0A\x18categorical_stats_result\x18\x04 \x01(\x0B2J.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultH\x00\x12b\x0A\x12k_anonymity_result\x18\x05 \x01(\x0B2D.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultH\x00\x12b\x0A\x12l_diversity_result\x18\x06 \x01(\x0B2D.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultH\x00\x12k\x0A\x17k_map_estimation_result\x18\x07 \x01(\x0B2H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultH\x00\x12}\x0A delta_presence_estimation_result\x18\x09 \x01(\x0B2Q.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultH\x00\x12k\x0A\x11requested_options\x18\x0A \x01(\x0B2P.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions\x1A\xAF\x01\x0A\x14NumericalStatsResult\x12/\x0A\x09min_value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12/\x0A\x09max_value\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x125\x0A\x0Fquantile_values\x18\x04 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x1A\x8D\x03\x0A\x16CategoricalStatsResult\x12\x95\x01\x0A!value_frequency_histogram_buckets\x18\x05 \x03(\x0B2j.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket\x1A\xDA\x01\x0A\x1FCategoricalStatsHistogramBucket\x12#\x0A\x1Bvalue_frequency_lower_bound\x18\x01 \x01(\x03\x12#\x0A\x1Bvalue_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12<\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2%.google.privacy.dlp.v2.ValueFrequency\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\xB5\x04\x0A\x10KAnonymityResult\x12\x8B\x01\x0A#equivalence_class_histogram_buckets\x18\x05 \x03(\x0B2^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket\x1At\x0A\x1AKAnonymityEquivalenceClass\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1E\x0A\x16equivalence_class_size\x18\x02 \x01(\x03\x1A\x9C\x02\x0A\x19KAnonymityHistogramBucket\x12*\x0A\"equivalence_class_size_lower_bound\x18\x01 \x01(\x03\x12*\x0A\"equivalence_class_size_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12v\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\xB0\x05\x0A\x10LDiversityResult\x12\x93\x01\x0A+sensitive_value_frequency_histogram_buckets\x18\x05 \x03(\x0B2^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket\x1A\xE0\x01\x0A\x1ALDiversityEquivalenceClass\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1E\x0A\x16equivalence_class_size\x18\x02 \x01(\x03\x12%\x0A\x1Dnum_distinct_sensitive_values\x18\x03 \x01(\x03\x12C\x0A\x14top_sensitive_values\x18\x04 \x03(\x0B2%.google.privacy.dlp.v2.ValueFrequency\x1A\xA2\x02\x0A\x19LDiversityHistogramBucket\x12-\x0A%sensitive_value_frequency_lower_bound\x18\x01 \x01(\x03\x12-\x0A%sensitive_value_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12v\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\x95\x04\x0A\x14KMapEstimationResult\x12\x8A\x01\x0A\x1Ak_map_estimation_histogram\x18\x01 \x03(\x0B2f.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket\x1Ar\x0A\x1BKMapEstimationQuasiIdValues\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1B\x0A\x13estimated_anonymity\x18\x02 \x01(\x03\x1A\xFB\x01\x0A\x1DKMapEstimationHistogramBucket\x12\x15\x0A\x0Dmin_anonymity\x18\x01 \x01(\x03\x12\x15\x0A\x0Dmax_anonymity\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x05 \x01(\x03\x12{\x0A\x0Dbucket_values\x18\x06 \x03(\x0B2d.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues\x12\x1A\x0A\x12bucket_value_count\x18\x07 \x01(\x03\x1A\xE4\x04\x0A\x1DDeltaPresenceEstimationResult\x12\xA5\x01\x0A#delta_presence_estimation_histogram\x18\x01 \x03(\x0B2x.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket\x1A}\x0A\$DeltaPresenceEstimationQuasiIdValues\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1D\x0A\x15estimated_probability\x18\x02 \x01(\x01\x1A\x9B\x02\x0A&DeltaPresenceEstimationHistogramBucket\x12\x17\x0A\x0Fmin_probability\x18\x01 \x01(\x01\x12\x17\x0A\x0Fmax_probability\x18\x02 \x01(\x01\x12\x13\x0A\x0Bbucket_size\x18\x05 \x01(\x03\x12\x8D\x01\x0A\x0Dbucket_values\x18\x06 \x03(\x0B2v.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues\x12\x1A\x0A\x12bucket_value_count\x18\x07 \x01(\x03\x1A`\x0A\x1CRequestedRiskAnalysisOptions\x12@\x0A\x0Ajob_config\x18\x01 \x01(\x0B2,.google.privacy.dlp.v2.RiskAnalysisJobConfigB\x08\x0A\x06result\"L\x0A\x0EValueFrequency\x12+\x0A\x05value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x0D\x0A\x05count\x18\x02 \x01(\x03\"\xB3\x02\x0A\x05Value\x12\x17\x0A\x0Dinteger_value\x18\x01 \x01(\x03H\x00\x12\x15\x0A\x0Bfloat_value\x18\x02 \x01(\x01H\x00\x12\x16\x0A\x0Cstring_value\x18\x03 \x01(\x09H\x00\x12\x17\x0A\x0Dboolean_value\x18\x04 \x01(\x08H\x00\x125\x0A\x0Ftimestamp_value\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampH\x00\x12,\x0A\x0Atime_value\x18\x06 \x01(\x0B2\x16.google.type.TimeOfDayH\x00\x12'\x0A\x0Adate_value\x18\x07 \x01(\x0B2\x11.google.type.DateH\x00\x123\x0A\x11day_of_week_value\x18\x08 \x01(\x0E2\x16.google.type.DayOfWeekH\x00B\x06\x0A\x04type\"Q\x0A\x09QuoteInfo\x124\x0A\x09date_time\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.DateTimeH\x00B\x0E\x0A\x0Cparsed_quote\"\xDF\x01\x0A\x08DateTime\x12\x1F\x0A\x04date\x18\x01 \x01(\x0B2\x11.google.type.Date\x12+\x0A\x0Bday_of_week\x18\x02 \x01(\x0E2\x16.google.type.DayOfWeek\x12\$\x0A\x04time\x18\x03 \x01(\x0B2\x16.google.type.TimeOfDay\x12;\x0A\x09time_zone\x18\x04 \x01(\x0B2(.google.privacy.dlp.v2.DateTime.TimeZone\x1A\"\x0A\x08TimeZone\x12\x16\x0A\x0Eoffset_minutes\x18\x01 \x01(\x05\"\xF2\x02\x0A\x10DeidentifyConfig\x12S\x0A\x19info_type_transformations\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x12N\x0A\x16record_transformations\x18\x02 \x01(\x0B2,.google.privacy.dlp.v2.RecordTransformationsH\x00\x12L\x0A\x15image_transformations\x18\x04 \x01(\x0B2+.google.privacy.dlp.v2.ImageTransformationsH\x00\x12Y\x0A\x1Dtransformation_error_handling\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.TransformationErrorHandlingB\x10\x0A\x0Etransformation\"\xE5\x04\x0A\x14ImageTransformations\x12S\x0A\x0Atransforms\x18\x02 \x03(\x0B2?.google.privacy.dlp.v2.ImageTransformations.ImageTransformation\x1A\xF7\x03\x0A\x13ImageTransformation\x12p\x0A\x13selected_info_types\x18\x04 \x01(\x0B2Q.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesH\x00\x12f\x0A\x0Eall_info_types\x18\x05 \x01(\x0B2L.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesH\x00\x12[\x0A\x08all_text\x18\x06 \x01(\x0B2G.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextH\x00\x125\x0A\x0Fredaction_color\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.Color\x1AM\x0A\x11SelectedInfoTypes\x128\x0A\x0Ainfo_types\x18\x05 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeB\x03\xE0A\x02\x1A\x0E\x0A\x0CAllInfoTypes\x1A\x09\x0A\x07AllTextB\x08\x0A\x06target\"\x85\x02\x0A\x1BTransformationErrorHandling\x12T\x0A\x0Bthrow_error\x18\x01 \x01(\x0B2=.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorH\x00\x12d\x0A\x13leave_untransformed\x18\x02 \x01(\x0B2E.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedH\x00\x1A\x0C\x0A\x0AThrowError\x1A\x14\x0A\x12LeaveUntransformedB\x06\x0A\x04mode\"\xCA\x07\x0A\x17PrimitiveTransformation\x12C\x0A\x0Ereplace_config\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.ReplaceValueConfigH\x00\x12<\x0A\x0Dredact_config\x18\x02 \x01(\x0B2#.google.privacy.dlp.v2.RedactConfigH\x00\x12K\x0A\x15character_mask_config\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.CharacterMaskConfigH\x00\x12Y\x0A\x1Dcrypto_replace_ffx_fpe_config\x18\x04 \x01(\x0B20.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigH\x00\x12V\x0A\x1Bfixed_size_bucketing_config\x18\x05 \x01(\x0B2/.google.privacy.dlp.v2.FixedSizeBucketingConfigH\x00\x12B\x0A\x10bucketing_config\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.BucketingConfigH\x00\x12Y\x0A\x1Dreplace_with_info_type_config\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigH\x00\x12A\x0A\x10time_part_config\x18\x08 \x01(\x0B2%.google.privacy.dlp.v2.TimePartConfigH\x00\x12E\x0A\x12crypto_hash_config\x18\x09 \x01(\x0B2'.google.privacy.dlp.v2.CryptoHashConfigH\x00\x12C\x0A\x11date_shift_config\x18\x0B \x01(\x0B2&.google.privacy.dlp.v2.DateShiftConfigH\x00\x12W\x0A\x1Bcrypto_deterministic_config\x18\x0C \x01(\x0B20.google.privacy.dlp.v2.CryptoDeterministicConfigH\x00\x12S\x0A\x19replace_dictionary_config\x18\x0D \x01(\x0B2..google.privacy.dlp.v2.ReplaceDictionaryConfigH\x00B\x10\x0A\x0Etransformation\"\xDC\x01\x0A\x0ETimePartConfig\x12G\x0A\x0Fpart_to_extract\x18\x01 \x01(\x0E2..google.privacy.dlp.v2.TimePartConfig.TimePart\"\x80\x01\x0A\x08TimePart\x12\x19\x0A\x15TIME_PART_UNSPECIFIED\x10\x00\x12\x08\x0A\x04YEAR\x10\x01\x12\x09\x0A\x05MONTH\x10\x02\x12\x10\x0A\x0CDAY_OF_MONTH\x10\x03\x12\x0F\x0A\x0BDAY_OF_WEEK\x10\x04\x12\x10\x0A\x0CWEEK_OF_YEAR\x10\x05\x12\x0F\x0A\x0BHOUR_OF_DAY\x10\x06\"H\x0A\x10CryptoHashConfig\x124\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKey\"\xC0\x01\x0A\x19CryptoDeterministicConfig\x124\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKey\x12<\x0A\x13surrogate_info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12/\x0A\x07context\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"E\x0A\x12ReplaceValueConfig\x12/\x0A\x09new_value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\"q\x0A\x17ReplaceDictionaryConfig\x12N\x0A\x09word_list\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00B\x06\x0A\x04type\"\x1B\x0A\x19ReplaceWithInfoTypeConfig\"\x0E\x0A\x0CRedactConfig\"\xB6\x02\x0A\x0DCharsToIgnore\x12\x1C\x0A\x12characters_to_skip\x18\x01 \x01(\x09H\x00\x12_\x0A\x1Bcommon_characters_to_ignore\x18\x02 \x01(\x0E28.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnoreH\x00\"\x97\x01\x0A\x13CommonCharsToIgnore\x12&\x0A\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07NUMERIC\x10\x01\x12\x14\x0A\x10ALPHA_UPPER_CASE\x10\x02\x12\x14\x0A\x10ALPHA_LOWER_CASE\x10\x03\x12\x0F\x0A\x0BPUNCTUATION\x10\x04\x12\x0E\x0A\x0AWHITESPACE\x10\x05B\x0C\x0A\x0Acharacters\"\xA3\x01\x0A\x13CharacterMaskConfig\x12\x19\x0A\x11masking_character\x18\x01 \x01(\x09\x12\x16\x0A\x0Enumber_to_mask\x18\x02 \x01(\x05\x12\x15\x0A\x0Dreverse_order\x18\x03 \x01(\x08\x12B\x0A\x14characters_to_ignore\x18\x04 \x03(\x0B2\$.google.privacy.dlp.v2.CharsToIgnore\"\xA4\x01\x0A\x18FixedSizeBucketingConfig\x126\x0A\x0Blower_bound\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\x126\x0A\x0Bupper_bound\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\x12\x18\x0A\x0Bbucket_size\x18\x03 \x01(\x01B\x03\xE0A\x02\"\xF0\x01\x0A\x0FBucketingConfig\x12>\x0A\x07buckets\x18\x01 \x03(\x0B2-.google.privacy.dlp.v2.BucketingConfig.Bucket\x1A\x9C\x01\x0A\x06Bucket\x12)\x0A\x03min\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12)\x0A\x03max\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12<\x0A\x11replacement_value\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\"\xF9\x03\x0A\x19CryptoReplaceFfxFpeConfig\x129\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKeyB\x03\xE0A\x02\x12/\x0A\x07context\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12c\x0A\x0Fcommon_alphabet\x18\x04 \x01(\x0E2H.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabetH\x00\x12\x19\x0A\x0Fcustom_alphabet\x18\x05 \x01(\x09H\x00\x12\x0F\x0A\x05radix\x18\x06 \x01(\x05H\x00\x12<\x0A\x13surrogate_info_type\x18\x08 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\x94\x01\x0A\x17FfxCommonNativeAlphabet\x12*\x0A&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07NUMERIC\x10\x01\x12\x0F\x0A\x0BHEXADECIMAL\x10\x02\x12\x1C\x0A\x18UPPER_CASE_ALPHA_NUMERIC\x10\x03\x12\x11\x0A\x0DALPHA_NUMERIC\x10\x04B\x0A\x0A\x08alphabet\"\xD8\x01\x0A\x09CryptoKey\x12>\x0A\x09transient\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.TransientCryptoKeyH\x00\x12>\x0A\x09unwrapped\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.UnwrappedCryptoKeyH\x00\x12A\x0A\x0Bkms_wrapped\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.KmsWrappedCryptoKeyH\x00B\x08\x0A\x06source\"'\x0A\x12TransientCryptoKey\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\"&\x0A\x12UnwrappedCryptoKey\x12\x10\x0A\x03key\x18\x01 \x01(\x0CB\x03\xE0A\x02\"M\x0A\x13KmsWrappedCryptoKey\x12\x18\x0A\x0Bwrapped_key\x18\x01 \x01(\x0CB\x03\xE0A\x02\x12\x1C\x0A\x0Fcrypto_key_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xC2\x01\x0A\x0FDateShiftConfig\x12\x1D\x0A\x10upper_bound_days\x18\x01 \x01(\x05B\x03\xE0A\x02\x12\x1D\x0A\x10lower_bound_days\x18\x02 \x01(\x05B\x03\xE0A\x02\x12/\x0A\x07context\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x126\x0A\x0Acrypto_key\x18\x04 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKeyH\x00B\x08\x0A\x06method\"\xA5\x02\x0A\x17InfoTypeTransformations\x12c\x0A\x0Ftransformations\x18\x01 \x03(\x0B2E.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationB\x03\xE0A\x02\x1A\xA4\x01\x0A\x16InfoTypeTransformation\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12U\x0A\x18primitive_transformation\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformationB\x03\xE0A\x02\"\xC0\x02\x0A\x13FieldTransformation\x123\x0A\x06fields\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x129\x0A\x09condition\x18\x03 \x01(\x0B2&.google.privacy.dlp.v2.RecordCondition\x12R\x0A\x18primitive_transformation\x18\x04 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformationH\x00\x12S\x0A\x19info_type_transformations\x18\x05 \x01(\x0B2..google.privacy.dlp.v2.InfoTypeTransformationsH\x00B\x10\x0A\x0Etransformation\"\xA9\x01\x0A\x15RecordTransformations\x12I\x0A\x15field_transformations\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.FieldTransformation\x12E\x0A\x13record_suppressions\x18\x02 \x03(\x0B2(.google.privacy.dlp.v2.RecordSuppression\"N\x0A\x11RecordSuppression\x129\x0A\x09condition\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.RecordCondition\"\xDC\x04\x0A\x0FRecordCondition\x12G\x0A\x0Bexpressions\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.RecordCondition.Expressions\x1A\xAE\x01\x0A\x09Condition\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x12@\x0A\x08operator\x18\x03 \x01(\x0E2).google.privacy.dlp.v2.RelationalOperatorB\x03\xE0A\x02\x12+\x0A\x05value\x18\x04 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x1AR\x0A\x0AConditions\x12D\x0A\x0Aconditions\x18\x01 \x03(\x0B20.google.privacy.dlp.v2.RecordCondition.Condition\x1A\xFA\x01\x0A\x0BExpressions\x12\\\x0A\x10logical_operator\x18\x01 \x01(\x0E2B.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator\x12G\x0A\x0Aconditions\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.RecordCondition.ConditionsH\x00\"<\x0A\x0FLogicalOperator\x12 \x0A\x1CLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x07\x0A\x03AND\x10\x01B\x06\x0A\x04type\"\x83\x01\x0A\x16TransformationOverview\x12\x19\x0A\x11transformed_bytes\x18\x02 \x01(\x03\x12N\x0A\x18transformation_summaries\x18\x03 \x03(\x0B2,.google.privacy.dlp.v2.TransformationSummary\"\x9F\x05\x0A\x15TransformationSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12-\x0A\x05field\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12F\x0A\x0Etransformation\x18\x03 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformation\x12I\x0A\x15field_transformations\x18\x05 \x03(\x0B2*.google.privacy.dlp.v2.FieldTransformation\x12A\x0A\x0Frecord_suppress\x18\x06 \x01(\x0B2(.google.privacy.dlp.v2.RecordSuppression\x12K\x0A\x07results\x18\x04 \x03(\x0B2:.google.privacy.dlp.v2.TransformationSummary.SummaryResult\x12\x19\x0A\x11transformed_bytes\x18\x07 \x01(\x03\x1A\x84\x01\x0A\x0DSummaryResult\x12\x0D\x0A\x05count\x18\x01 \x01(\x03\x12S\x0A\x04code\x18\x02 \x01(\x0E2E.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode\x12\x0F\x0A\x07details\x18\x03 \x01(\x09\"^\x0A\x18TransformationResultCode\x12*\x0A&TRANSFORMATION_RESULT_CODE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07SUCCESS\x10\x01\x12\x09\x0A\x05ERROR\x10\x02\"\xB0\x01\x0A\x19TransformationDescription\x127\x0A\x04type\x18\x01 \x01(\x0E2).google.privacy.dlp.v2.TransformationType\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12\x11\x0A\x09condition\x18\x03 \x01(\x09\x122\x0A\x09info_type\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\xC6\x02\x0A\x15TransformationDetails\x12\x15\x0A\x0Dresource_name\x18\x01 \x01(\x09\x12\x16\x0A\x0Econtainer_name\x18\x02 \x01(\x09\x12H\x0A\x0Etransformation\x18\x03 \x03(\x0B20.google.privacy.dlp.v2.TransformationDescription\x12I\x0A\x0Estatus_details\x18\x04 \x01(\x0B21.google.privacy.dlp.v2.TransformationResultStatus\x12\x19\x0A\x11transformed_bytes\x18\x05 \x01(\x03\x12N\x0A\x17transformation_location\x18\x06 \x01(\x0B2-.google.privacy.dlp.v2.TransformationLocation\"\xD9\x01\x0A\x16TransformationLocation\x12\x14\x0A\x0Afinding_id\x18\x01 \x01(\x09H\x00\x12L\x0A\x15record_transformation\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.RecordTransformationH\x00\x12J\x0A\x0Econtainer_type\x18\x03 \x01(\x0E22.google.privacy.dlp.v2.TransformationContainerTypeB\x0F\x0A\x0Dlocation_type\"\x9C\x01\x0A\x14RecordTransformation\x120\x0A\x08field_id\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x127\x0A\x13container_timestamp\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x19\x0A\x11container_version\x18\x03 \x01(\x09\"\x94\x01\x0A\x1ATransformationResultStatus\x12Q\x0A\x12result_status_type\x18\x01 \x01(\x0E25.google.privacy.dlp.v2.TransformationResultStatusType\x12#\x0A\x07details\x18\x02 \x01(\x0B2\x12.google.rpc.Status\"c\x0A\"TransformationDetailsStorageConfig\x125\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableH\x00B\x06\x0A\x04type\"U\x0A\x08Schedule\x12?\x0A\x1Arecurrence_period_duration\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationH\x00B\x08\x0A\x06option\"\x08\x0A\x06Manual\"\xC2\x04\x0A\x0FInspectTemplate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12<\x0A\x0Einspect_config\x18\x06 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig:\xC6\x02\xEAA\xC2\x02\x0A\"dlp.googleapis.com/InspectTemplate\x12@organizations/{organization}/inspectTemplates/{inspect_template}\x126projects/{project}/inspectTemplates/{inspect_template}\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}\"\xE6\x04\x0A\x12DeidentifyTemplate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x11deidentify_config\x18\x06 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig:\xE1\x02\xEAA\xDD\x02\x0A%dlp.googleapis.com/DeidentifyTemplate\x12Forganizations/{organization}/deidentifyTemplates/{deidentify_template}\x12\x0A\x0Binspect_job\x18\x04 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12;\x0A\x08triggers\x18\x05 \x03(\x0B2).google.privacy.dlp.v2.JobTrigger.Trigger\x121\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dlast_run_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12=\x0A\x06status\x18\x0A \x01(\x0E2(.google.privacy.dlp.v2.JobTrigger.StatusB\x03\xE0A\x02\x1Az\x0A\x07Trigger\x123\x0A\x08schedule\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.ScheduleH\x00\x12/\x0A\x06manual\x18\x02 \x01(\x0B2\x1D.google.privacy.dlp.v2.ManualH\x00B\x09\x0A\x07trigger\"H\x0A\x06Status\x12\x16\x0A\x12STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07HEALTHY\x10\x01\x12\x0A\x0A\x06PAUSED\x10\x02\x12\x0D\x0A\x09CANCELLED\x10\x03:\x94\x01\xEAA\x90\x01\x0A\x1Ddlp.googleapis.com/JobTrigger\x12,projects/{project}/jobTriggers/{job_trigger}\x12Aprojects/{project}/locations/{location}/jobTriggers/{job_trigger}B\x05\x0A\x03job\"\x82\x0A\x0A\x06Action\x12C\x0A\x0Dsave_findings\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.Action.SaveFindingsH\x00\x12@\x0A\x07pub_sub\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.Action.PublishToPubSubH\x00\x12U\x0A\x17publish_summary_to_cscc\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.Action.PublishSummaryToCsccH\x00\x12u\x0A&publish_findings_to_cloud_data_catalog\x18\x05 \x01(\x0B2?.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogB\x02\x18\x01H\x00\x12n\x0A\$publish_findings_to_dataplex_catalog\x18\x0A \x01(\x0B2>.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalogH\x00\x12>\x0A\x0Adeidentify\x18\x07 \x01(\x0B2(.google.privacy.dlp.v2.Action.DeidentifyH\x00\x12V\x0A\x17job_notification_emails\x18\x08 \x01(\x0B23.google.privacy.dlp.v2.Action.JobNotificationEmailsH\x00\x12T\x0A\x16publish_to_stackdriver\x18\x09 \x01(\x0B22.google.privacy.dlp.v2.Action.PublishToStackdriverH\x00\x1AQ\x0A\x0CSaveFindings\x12A\x0A\x0Doutput_config\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.OutputStorageConfig\x1A \x0A\x0FPublishToPubSub\x12\x0D\x0A\x05topic\x18\x01 \x01(\x09\x1A\x16\x0A\x14PublishSummaryToCscc\x1A#\x0A!PublishFindingsToCloudDataCatalog\x1A\"\x0A PublishFindingsToDataplexCatalog\x1A\xB3\x02\x0A\x0ADeidentify\x12J\x0A\x15transformation_config\x18\x07 \x01(\x0B2+.google.privacy.dlp.v2.TransformationConfig\x12h\x0A%transformation_details_storage_config\x18\x03 \x01(\x0B29.google.privacy.dlp.v2.TransformationDetailsStorageConfig\x12#\x0A\x14cloud_storage_output\x18\x09 \x01(\x09B\x03\xE0A\x02H\x00\x12@\x0A\x17file_types_to_transform\x18\x08 \x03(\x0E2\x1F.google.privacy.dlp.v2.FileTypeB\x08\x0A\x06output\x1A\x17\x0A\x15JobNotificationEmails\x1A\x16\x0A\x14PublishToStackdriverB\x08\x0A\x06action\"z\x0A\x14TransformationConfig\x12\x1B\x0A\x13deidentify_template\x18\x01 \x01(\x09\x12&\x0A\x1Estructured_deidentify_template\x18\x02 \x01(\x09\x12\x1D\x0A\x15image_redact_template\x18\x04 \x01(\x09\"\xCB\x01\x0A\x1CCreateInspectTemplateRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/InspectTemplate\x12E\x0A\x10inspect_template\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplateB\x03\xE0A\x02\x12\x13\x0A\x0Btemplate_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xCB\x01\x0A\x1CUpdateInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\x12@\x0A\x10inspect_template\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplate\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"U\x0A\x19GetInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\"\xA7\x01\x0A\x1BListInspectTemplatesRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/InspectTemplate\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"z\x0A\x1CListInspectTemplatesResponse\x12A\x0A\x11inspect_templates\x18\x01 \x03(\x0B2&.google.privacy.dlp.v2.InspectTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"X\x0A\x1CDeleteInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\"\xB6\x01\x0A\x17CreateJobTriggerRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/JobTrigger\x12;\x0A\x0Bjob_trigger\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.JobTriggerB\x03\xE0A\x02\x12\x12\x0A\x0Atrigger_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"P\x0A\x19ActivateJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xB7\x01\x0A\x17UpdateJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x126\x0A\x0Bjob_trigger\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.JobTrigger\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"K\x0A\x14GetJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xB4\x01\x0A\x1CCreateDiscoveryConfigRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/DiscoveryConfig\x12E\x0A\x10discovery_config\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfigB\x03\xE0A\x02\x12\x11\x0A\x09config_id\x18\x03 \x01(\x09\"\xD0\x01\x0A\x1CUpdateDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\x12E\x0A\x10discovery_config\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfigB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"U\x0A\x19GetDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\"\x92\x01\x0A\x1BListDiscoveryConfigsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/DiscoveryConfig\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\"z\x0A\x1CListDiscoveryConfigsResponse\x12A\x0A\x11discovery_configs\x18\x01 \x03(\x0B2&.google.privacy.dlp.v2.DiscoveryConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"X\x0A\x1CDeleteDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\"\xF6\x01\x0A\x13CreateDlpJobRequest\x121\x0A\x06parent\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x12\x19dlp.googleapis.com/DlpJob\x12>\x0A\x0Binspect_job\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12@\x0A\x08risk_job\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.RiskAnalysisJobConfigH\x00\x12\x0E\x0A\x06job_id\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09B\x05\x0A\x03job\"\xDE\x01\x0A\x16ListJobTriggersRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/JobTrigger\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\x12/\x0A\x04type\x18\x06 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"k\x0A\x17ListJobTriggersResponse\x127\x0A\x0Cjob_triggers\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.JobTrigger\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"N\x0A\x17DeleteJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xDD\x01\x0A\x10InspectJobConfig\x12<\x0A\x0Estorage_config\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.StorageConfig\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12\x1D\x0A\x15inspect_template_name\x18\x03 \x01(\x09\x12.\x0A\x07actions\x18\x04 \x03(\x0B2\x1D.google.privacy.dlp.v2.Action\"\xF2\x0D\x0A\x11DataProfileAction\x12F\x0A\x0Bexport_data\x18\x01 \x01(\x0B2/.google.privacy.dlp.v2.DataProfileAction.ExportH\x00\x12[\x0A\x14pub_sub_notification\x18\x02 \x01(\x0B2;.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationH\x00\x12[\x0A\x14publish_to_chronicle\x18\x03 \x01(\x0B2;.google.privacy.dlp.v2.DataProfileAction.PublishToChronicleH\x00\x12a\x0A\x0Epublish_to_scc\x18\x04 \x01(\x0B2G.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenterH\x00\x12N\x0A\x0Dtag_resources\x18\x08 \x01(\x0B25.google.privacy.dlp.v2.DataProfileAction.TagResourcesH\x00\x12h\x0A\x1Bpublish_to_dataplex_catalog\x18\x09 \x01(\x0B2A.google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalogH\x00\x1A\x8A\x01\x0A\x06Export\x12;\x0A\x0Dprofile_table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12C\x0A\x15sample_findings_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x1A\x82\x03\x0A\x12PubSubNotification\x12\x0D\x0A\x05topic\x18\x01 \x01(\x09\x12A\x0A\x05event\x18\x02 \x01(\x0E22.google.privacy.dlp.v2.DataProfileAction.EventType\x12K\x0A\x10pubsub_condition\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.DataProfilePubSubCondition\x12b\x0A\x11detail_of_message\x18\x04 \x01(\x0E2G.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel\"i\x0A\x0BDetailLevel\x12\x1C\x0A\x18DETAIL_LEVEL_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DTABLE_PROFILE\x10\x01\x12\x11\x0A\x0DRESOURCE_NAME\x10\x02\x12\x16\x0A\x12FILE_STORE_PROFILE\x10\x03\x1A\x14\x0A\x12PublishToChronicle\x1A \x0A\x1EPublishToSecurityCommandCenter\x1A:\x0A\x18PublishToDataplexCatalog\x12\x1E\x0A\x16lower_data_risk_to_low\x18\x01 \x01(\x08\x1A\xB6\x03\x0A\x0CTagResources\x12Z\x0A\x0Etag_conditions\x18\x01 \x03(\x0B2B.google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition\x12L\x0A\x1Aprofile_generations_to_tag\x18\x02 \x03(\x0E2(.google.privacy.dlp.v2.ProfileGeneration\x12\x1E\x0A\x16lower_data_risk_to_low\x18\x03 \x01(\x08\x1A\xA9\x01\x0A\x0CTagCondition\x12K\x0A\x03tag\x18\x01 \x01(\x0B2>.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue\x12D\x0A\x11sensitivity_score\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScoreH\x00B\x06\x0A\x04type\x1A0\x0A\x08TagValue\x12\x1A\x0A\x10namespaced_value\x18\x01 \x01(\x09H\x00B\x08\x0A\x06format\"u\x0A\x09EventType\x12\x1A\x0A\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BNEW_PROFILE\x10\x01\x12\x13\x0A\x0FCHANGED_PROFILE\x10\x02\x12\x13\x0A\x0FSCORE_INCREASED\x10\x03\x12\x11\x0A\x0DERROR_CHANGED\x10\x04B\x08\x0A\x06action\"\xDD\x03\x0A\x12DataProfileFinding\x12\x0D\x0A\x05quote\x18\x01 \x01(\x09\x121\x0A\x08infotype\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x124\x0A\x0Aquote_info\x18\x03 \x01(\x0B2 .google.privacy.dlp.v2.QuoteInfo\x12\"\x0A\x1Adata_profile_resource_name\x18\x04 \x01(\x09\x12\x12\x0A\x0Afinding_id\x18\x05 \x01(\x09\x12-\x0A\x09timestamp\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12C\x0A\x08location\x18\x07 \x01(\x0B21.google.privacy.dlp.v2.DataProfileFindingLocation\x12F\x0A\x13resource_visibility\x18\x08 \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12\x1A\x0A\x12full_resource_name\x18\x09 \x01(\x09\x12?\x0A\x10data_source_type\x18\x0A \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\"\xB7\x01\x0A\x1ADataProfileFindingLocation\x12\x16\x0A\x0Econtainer_name\x18\x01 \x01(\x09\x12g\x0A\$data_profile_finding_record_location\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.DataProfileFindingRecordLocationH\x00B\x18\x0A\x16location_extra_details\"Q\x0A DataProfileFindingRecordLocation\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"\xAE\x02\x0A\x14DataProfileJobConfig\x12<\x0A\x08location\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.DataProfileLocation\x12\x12\x0A\x0Aproject_id\x18\x05 \x01(\x09\x12a\x0A\x1Dother_cloud_starting_location\x18\x08 \x01(\x0B2:.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation\x12\x19\x0A\x11inspect_templates\x18\x07 \x03(\x09\x12F\x0A\x14data_profile_actions\x18\x06 \x03(\x0B2(.google.privacy.dlp.v2.DataProfileAction\"[\x0A\x0DBigQueryRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\x12\x18\x0A\x10dataset_id_regex\x18\x02 \x01(\x09\x12\x16\x0A\x0Etable_id_regex\x18\x03 \x01(\x09\"I\x0A\x0FBigQueryRegexes\x126\x0A\x08patterns\x18\x01 \x03(\x0B2\$.google.privacy.dlp.v2.BigQueryRegex\"M\x0A\x12BigQueryTableTypes\x127\x0A\x05types\x18\x01 \x03(\x0E2(.google.privacy.dlp.v2.BigQueryTableType\"\x0A\x0A\x08Disabled\"Q\x0A\x13DataProfileLocation\x12\x19\x0A\x0Forganization_id\x18\x01 \x01(\x03H\x00\x12\x13\x0A\x09folder_id\x18\x02 \x01(\x03H\x00B\x0A\x0A\x08location\"\xEB\x07\x0A\x0FDiscoveryConfig\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x0B \x01(\x09\x12D\x0A\x0Aorg_config\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig\x12a\x0A\x1Dother_cloud_starting_location\x18\x0C \x01(\x0B2:.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation\x12\x19\x0A\x11inspect_templates\x18\x03 \x03(\x09\x129\x0A\x07actions\x18\x04 \x03(\x0B2(.google.privacy.dlp.v2.DataProfileAction\x127\x0A\x07targets\x18\x05 \x03(\x0B2&.google.privacy.dlp.v2.DiscoveryTarget\x121\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dlast_run_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x06status\x18\x0A \x01(\x0E2-.google.privacy.dlp.v2.DiscoveryConfig.StatusB\x03\xE0A\x02\x12K\x0A\x13processing_location\x18\x0D \x01(\x0B2).google.privacy.dlp.v2.ProcessingLocationB\x03\xE0A\x01\x1Ac\x0A\x09OrgConfig\x12B\x0A\x08location\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryStartingLocation\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\"9\x0A\x06Status\x12\x16\x0A\x12STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x0A\x0A\x06PAUSED\x10\x02:t\xEAAq\x0A\"dlp.googleapis.com/DiscoveryConfig\x12Kprojects/{project}/locations/{location}/discoveryConfigs/{discovery_config}\"\xF6\x03\x0A\x0FDiscoveryTarget\x12J\x0A\x10big_query_target\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.BigQueryDiscoveryTargetH\x00\x12J\x0A\x10cloud_sql_target\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.CloudSqlDiscoveryTargetH\x00\x12G\x0A\x0Esecrets_target\x18\x03 \x01(\x0B2-.google.privacy.dlp.v2.SecretsDiscoveryTargetH\x00\x12R\x0A\x14cloud_storage_target\x18\x04 \x01(\x0B22.google.privacy.dlp.v2.CloudStorageDiscoveryTargetH\x00\x12N\x0A\x12other_cloud_target\x18\x05 \x01(\x0B20.google.privacy.dlp.v2.OtherCloudDiscoveryTargetH\x00\x12T\x0A\x15vertex_dataset_target\x18\x07 \x01(\x0B23.google.privacy.dlp.v2.VertexDatasetDiscoveryTargetH\x00B\x08\x0A\x06target\"\xAE\x02\x0A\x17BigQueryDiscoveryTarget\x12C\x0A\x06filter\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DiscoveryBigQueryFilterB\x03\xE0A\x02\x12F\x0A\x0Aconditions\x18\x02 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryBigQueryConditions\x12D\x0A\x07cadence\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.DiscoveryGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x0B\x0A\x09frequency\"\xA0\x02\x0A\x17DiscoveryBigQueryFilter\x12@\x0A\x06tables\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.BigQueryTableCollectionH\x00\x12]\x0A\x0Cother_tables\x18\x02 \x01(\x0B2E.google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTablesH\x00\x12@\x0A\x0Ftable_reference\x18\x03 \x01(\x0B2%.google.privacy.dlp.v2.TableReferenceH\x00\x1A\x18\x0A\x16AllOtherBigQueryTablesB\x08\x0A\x06filter\"g\x0A\x17BigQueryTableCollection\x12A\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.BigQueryRegexesH\x00B\x09\x0A\x07pattern\"\x98\x03\x0A\x1BDiscoveryBigQueryConditions\x121\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12:\x0A\x05types\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.BigQueryTableTypesH\x00\x12M\x0A\x0Ftype_collection\x18\x03 \x01(\x0E22.google.privacy.dlp.v2.BigQueryTableTypeCollectionH\x00\x12V\x0A\x0Dor_conditions\x18\x04 \x01(\x0B2?.google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions\x1AQ\x0A\x0COrConditions\x12\x15\x0A\x0Dmin_row_count\x18\x01 \x01(\x05\x12*\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x10\x0A\x0Eincluded_types\"\x83\x03\x0A\x1ADiscoveryGenerationCadence\x12V\x0A\x17schema_modified_cadence\x18\x01 \x01(\x0B25.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence\x12T\x0A\x16table_modified_cadence\x18\x02 \x01(\x0B24.google.privacy.dlp.v2.DiscoveryTableModifiedCadence\x12i\x0A!inspect_template_modified_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\x12L\x0A\x11refresh_frequency\x18\x04 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xA6\x01\x0A\x1DDiscoveryTableModifiedCadence\x12?\x0A\x05types\x18\x01 \x03(\x0E20.google.privacy.dlp.v2.BigQueryTableModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xA8\x01\x0A\x1EDiscoverySchemaModifiedCadence\x12@\x0A\x05types\x18\x01 \x03(\x0E21.google.privacy.dlp.v2.BigQuerySchemaModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"o\x0A'DiscoveryInspectTemplateModifiedCadence\x12D\x0A\x09frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xBF\x02\x0A\x17CloudSqlDiscoveryTarget\x12C\x0A\x06filter\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DiscoveryCloudSqlFilterB\x03\xE0A\x02\x12F\x0A\x0Aconditions\x18\x02 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryCloudSqlConditions\x12W\x0A\x12generation_cadence\x18\x03 \x01(\x0B29.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x89\x02\x0A\x17DiscoveryCloudSqlFilter\x12G\x0A\x0Acollection\x18\x01 \x01(\x0B21.google.privacy.dlp.v2.DatabaseResourceCollectionH\x00\x12B\x0A\x06others\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.AllOtherDatabaseResourcesH\x00\x12W\x0A\x1Bdatabase_resource_reference\x18\x03 \x01(\x0B20.google.privacy.dlp.v2.DatabaseResourceReferenceH\x00B\x08\x0A\x06filter\"r\x0A\x1ADatabaseResourceCollection\x12I\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DatabaseResourceRegexesH\x00B\x09\x0A\x07pattern\"Y\x0A\x17DatabaseResourceRegexes\x12>\x0A\x08patterns\x18\x01 \x03(\x0B2,.google.privacy.dlp.v2.DatabaseResourceRegex\"\x87\x01\x0A\x15DatabaseResourceRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\x12\x16\x0A\x0Einstance_regex\x18\x02 \x01(\x09\x12\x16\x0A\x0Edatabase_regex\x18\x03 \x01(\x09\x12\$\x0A\x1Cdatabase_resource_name_regex\x18\x04 \x01(\x09\"\x1B\x0A\x19AllOtherDatabaseResources\"\x82\x01\x0A\x19DatabaseResourceReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08instance\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08database\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11database_resource\x18\x04 \x01(\x09B\x03\xE0A\x02\"\xDA\x03\x0A\x1BDiscoveryCloudSqlConditions\x12`\x0A\x10database_engines\x18\x01 \x03(\x0E2A.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngineB\x03\xE0A\x01\x12V\x0A\x05types\x18\x03 \x03(\x0E2G.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType\"n\x0A\x0EDatabaseEngine\x12\x1F\x0A\x1BDATABASE_ENGINE_UNSPECIFIED\x10\x00\x12\"\x0A\x1EALL_SUPPORTED_DATABASE_ENGINES\x10\x01\x12\x09\x0A\x05MYSQL\x10\x02\x12\x0C\x0A\x08POSTGRES\x10\x03\"\x90\x01\x0A\x14DatabaseResourceType\x12&\x0A\"DATABASE_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12.\x0A*DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES\x10\x01\x12 \x0A\x1CDATABASE_RESOURCE_TYPE_TABLE\x10\x02\"\x97\x05\x0A\"DiscoveryCloudSqlGenerationCadence\x12p\x0A\x17schema_modified_cadence\x18\x01 \x01(\x0B2O.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence\x12L\x0A\x11refresh_frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\x12i\x0A!inspect_template_modified_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\x1A\xC5\x02\x0A\x15SchemaModifiedCadence\x12y\x0A\x05types\x18\x01 \x03(\x0E2j.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"k\x0A\x1ACloudSqlSchemaModification\x12'\x0A#SQL_SCHEMA_MODIFICATION_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BNEW_COLUMNS\x10\x01\x12\x13\x0A\x0FREMOVED_COLUMNS\x10\x02\"\x18\x0A\x16SecretsDiscoveryTarget\"\xDB\x02\x0A\x1BCloudStorageDiscoveryTarget\x12G\x0A\x06filter\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryCloudStorageFilterB\x03\xE0A\x02\x12L\x0A\x0Aconditions\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.DiscoveryFileStoreConditionsB\x03\xE0A\x01\x12`\x0A\x12generation_cadence\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadenceB\x03\xE0A\x01H\x00\x128\x0A\x08disabled\x18\x03 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledB\x03\xE0A\x01H\x00B\x09\x0A\x07cadence\"\x96\x02\x0A\x1BDiscoveryCloudStorageFilter\x12E\x0A\x0Acollection\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.FileStoreCollectionB\x03\xE0A\x01H\x00\x12e\x0A cloud_storage_resource_reference\x18\x02 \x01(\x0B24.google.privacy.dlp.v2.CloudStorageResourceReferenceB\x03\xE0A\x01H\x00\x12?\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesB\x03\xE0A\x01H\x00B\x08\x0A\x06filter\"\xA7\x01\x0A\x13FileStoreCollection\x12G\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.FileStoreRegexesB\x03\xE0A\x01H\x00\x12<\x0A\x0Cinclude_tags\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.TagFiltersB\x03\xE0A\x01B\x09\x0A\x07pattern\"P\x0A\x10FileStoreRegexes\x12<\x0A\x08patterns\x18\x01 \x03(\x0B2%.google.privacy.dlp.v2.FileStoreRegexB\x03\xE0A\x02\"p\x0A\x0EFileStoreRegex\x12L\x0A\x13cloud_storage_regex\x18\x01 \x01(\x0B2(.google.privacy.dlp.v2.CloudStorageRegexB\x03\xE0A\x01H\x00B\x10\x0A\x0Eresource_regex\"R\x0A\x11CloudStorageRegex\x12\x1D\x0A\x10project_id_regex\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11bucket_name_regex\x18\x02 \x01(\x09B\x03\xE0A\x01\"R\x0A\x1DCloudStorageResourceReference\x12\x18\x0A\x0Bbucket_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xEB\x01\x0A&DiscoveryCloudStorageGenerationCadence\x12Q\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequencyB\x03\xE0A\x01\x12n\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadenceB\x03\xE0A\x01\"\x9B\x05\x0A\x1FDiscoveryCloudStorageConditions\x12{\x0A\x1Aincluded_object_attributes\x18\x01 \x03(\x0E2R.google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttributeB\x03\xE0A\x02\x12{\x0A\x1Aincluded_bucket_attributes\x18\x02 \x03(\x0E2R.google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttributeB\x03\xE0A\x02\"\xE3\x01\x0A\x1BCloudStorageObjectAttribute\x12.\x0A*CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_OBJECTS\x10\x01\x12\x0C\x0A\x08STANDARD\x10\x02\x12\x0C\x0A\x08NEARLINE\x10\x03\x12\x0C\x0A\x08COLDLINE\x10\x04\x12\x0B\x0A\x07ARCHIVE\x10\x05\x12\x0C\x0A\x08REGIONAL\x10\x06\x12\x12\x0A\x0EMULTI_REGIONAL\x10\x07\x12 \x0A\x1CDURABLE_REDUCED_AVAILABILITY\x10\x08\"\x97\x01\x0A\x1BCloudStorageBucketAttribute\x12.\x0A*CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_BUCKETS\x10\x01\x12\x16\x0A\x12AUTOCLASS_DISABLED\x10\x02\x12\x15\x0A\x11AUTOCLASS_ENABLED\x10\x03\"\xF6\x01\x0A\x1CDiscoveryFileStoreConditions\x126\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12/\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12_\x0A\x18cloud_storage_conditions\x18\x03 \x01(\x0B26.google.privacy.dlp.v2.DiscoveryCloudStorageConditionsB\x03\xE0A\x01H\x00B\x0C\x0A\x0Aconditions\"\x92\x03\x0A\x19OtherCloudDiscoveryTarget\x12D\x0A\x10data_source_type\x18\x01 \x01(\x0B2%.google.privacy.dlp.v2.DataSourceTypeB\x03\xE0A\x02\x12E\x0A\x06filter\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryOtherCloudFilterB\x03\xE0A\x02\x12M\x0A\x0Aconditions\x18\x03 \x01(\x0B24.google.privacy.dlp.v2.DiscoveryOtherCloudConditionsB\x03\xE0A\x01\x12Y\x0A\x12generation_cadence\x18\x04 \x01(\x0B2;.google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x05 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x86\x02\x0A\x19DiscoveryOtherCloudFilter\x12I\x0A\x0Acollection\x18\x01 \x01(\x0B23.google.privacy.dlp.v2.OtherCloudResourceCollectionH\x00\x12S\x0A\x0Fsingle_resource\x18\x02 \x01(\x0B28.google.privacy.dlp.v2.OtherCloudSingleResourceReferenceH\x00\x12?\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesB\x03\xE0A\x01H\x00B\x08\x0A\x06filter\"v\x0A\x1COtherCloudResourceCollection\x12K\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.OtherCloudResourceRegexesH\x00B\x09\x0A\x07pattern\"]\x0A\x19OtherCloudResourceRegexes\x12@\x0A\x08patterns\x18\x01 \x03(\x0B2..google.privacy.dlp.v2.OtherCloudResourceRegex\"y\x0A\x17OtherCloudResourceRegex\x12L\x0A\x16amazon_s3_bucket_regex\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.AmazonS3BucketRegexH\x00B\x10\x0A\x0Eresource_regex\"0\x0A\x0FAwsAccountRegex\x12\x1D\x0A\x10account_id_regex\x18\x01 \x01(\x09B\x03\xE0A\x01\"x\x0A\x13AmazonS3BucketRegex\x12A\x0A\x11aws_account_regex\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.AwsAccountRegex\x12\x1E\x0A\x11bucket_name_regex\x18\x02 \x01(\x09B\x03\xE0A\x01\"r\x0A!OtherCloudSingleResourceReference\x12A\x0A\x10amazon_s3_bucket\x18\x01 \x01(\x0B2%.google.privacy.dlp.v2.AmazonS3BucketH\x00B\x0A\x0A\x08resource\"%\x0A\x0AAwsAccount\x12\x17\x0A\x0Aaccount_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"b\x0A\x0EAmazonS3Bucket\x126\x0A\x0Baws_account\x18\x01 \x01(\x0B2!.google.privacy.dlp.v2.AwsAccount\x12\x18\x0A\x0Bbucket_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xB1\x01\x0A\x1DDiscoveryOtherCloudConditions\x12*\x0A\x07min_age\x18\x01 \x01(\x0B2\x19.google.protobuf.Duration\x12V\x0A\x1Bamazon_s3_bucket_conditions\x18\x02 \x01(\x0B2/.google.privacy.dlp.v2.AmazonS3BucketConditionsH\x00B\x0C\x0A\x0Aconditions\"\xD9\x03\x0A\x18AmazonS3BucketConditions\x12U\x0A\x0Cbucket_types\x18\x01 \x03(\x0E2:.google.privacy.dlp.v2.AmazonS3BucketConditions.BucketTypeB\x03\xE0A\x01\x12g\x0A\x16object_storage_classes\x18\x02 \x03(\x0E2B.google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClassB\x03\xE0A\x01\"T\x0A\x0ABucketType\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x16\x0A\x12TYPE_ALL_SUPPORTED\x10\x01\x12\x18\x0A\x14TYPE_GENERAL_PURPOSE\x10\x02\"\xA6\x01\x0A\x12ObjectStorageClass\x12\x0F\x0A\x0BUNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_CLASSES\x10\x01\x12\x0C\x0A\x08STANDARD\x10\x02\x12\x1E\x0A\x1ASTANDARD_INFREQUENT_ACCESS\x10\x04\x12\x1D\x0A\x19GLACIER_INSTANT_RETRIEVAL\x10\x06\x12\x17\x0A\x13INTELLIGENT_TIERING\x10\x07\"\xE9\x01\x0A\$DiscoveryOtherCloudGenerationCadence\x12Q\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequencyB\x03\xE0A\x01\x12n\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadenceB\x03\xE0A\x01\"W\x0A\x19DiscoveryStartingLocation\x12\x19\x0A\x0Forganization_id\x18\x01 \x01(\x03H\x00\x12\x13\x0A\x09folder_id\x18\x02 \x01(\x03H\x00B\x0A\x0A\x08location\"\x87\x02\x0A#OtherCloudDiscoveryStartingLocation\x12o\x0A\x0Caws_location\x18\x01 \x01(\x0B2W.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationH\x00\x1Ac\x0A\x1CAwsDiscoveryStartingLocation\x12\x14\x0A\x0Aaccount_id\x18\x02 \x01(\x09H\x00\x12\$\x0A\x1Aall_asset_inventory_assets\x18\x03 \x01(\x08H\x00B\x07\x0A\x05scopeB\x0A\x0A\x08location\"\x13\x0A\x11AllOtherResources\"\xD3\x02\x0A\x1CVertexDatasetDiscoveryTarget\x12H\x0A\x06filter\x18\x01 \x01(\x0B23.google.privacy.dlp.v2.DiscoveryVertexDatasetFilterB\x03\xE0A\x02\x12K\x0A\x0Aconditions\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.DiscoveryVertexDatasetConditions\x12\\\x0A\x12generation_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x8E\x02\x0A\x1CDiscoveryVertexDatasetFilter\x12D\x0A\x0Acollection\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.VertexDatasetCollectionH\x00\x12b\x0A!vertex_dataset_resource_reference\x18\x02 \x01(\x0B25.google.privacy.dlp.v2.VertexDatasetResourceReferenceH\x00\x12:\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesH\x00B\x08\x0A\x06filter\"s\x0A\x17VertexDatasetCollection\x12M\x0A\x16vertex_dataset_regexes\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.VertexDatasetRegexesH\x00B\x09\x0A\x07pattern\"X\x0A\x14VertexDatasetRegexes\x12@\x0A\x08patterns\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.VertexDatasetRegexB\x03\xE0A\x02\".\x0A\x12VertexDatasetRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\"D\x0A\x1EVertexDatasetResourceReference\x12\"\x0A\x15dataset_resource_name\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x81\x01\x0A DiscoveryVertexDatasetConditions\x121\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12*\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.Duration\"\xE2\x01\x0A'DiscoveryVertexDatasetGenerationCadence\x12L\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\x12i\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\"\xDC\x06\x0A\x06DlpJob\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12/\x0A\x04type\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x125\x0A\x05state\x18\x03 \x01(\x0E2&.google.privacy.dlp.v2.DlpJob.JobState\x12K\x0A\x0Crisk_details\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsH\x00\x12J\x0A\x0Finspect_details\x18\x05 \x01(\x0B2/.google.privacy.dlp.v2.InspectDataSourceDetailsH\x00\x12/\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12.\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\x121\x0A\x0Dlast_modified\x18\x0F \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x18\x0A\x10job_trigger_name\x18\x0A \x01(\x09\x12,\x0A\x06errors\x18\x0B \x03(\x0B2\x1C.google.privacy.dlp.v2.Error\x12<\x0A\x0Eaction_details\x18\x0C \x03(\x0B2\$.google.privacy.dlp.v2.ActionDetails\"o\x0A\x08JobState\x12\x19\x0A\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x0B\x0A\x07RUNNING\x10\x02\x12\x08\x0A\x04DONE\x10\x03\x12\x0C\x0A\x08CANCELED\x10\x04\x12\x0A\x0A\x06FAILED\x10\x05\x12\x0A\x0A\x06ACTIVE\x10\x06:\x7F\xEAA|\x0A\x19dlp.googleapis.com/DlpJob\x12\$projects/{project}/dlpJobs/{dlp_job}\x129projects/{project}/locations/{location}/dlpJobs/{dlp_job}B\x09\x0A\x07details\"C\x0A\x10GetDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"\xD6\x01\x0A\x12ListDlpJobsRequest\x121\x0A\x06parent\x18\x04 \x01(\x09B!\xE0A\x02\xFAA\x1B\x12\x19dlp.googleapis.com/DlpJob\x12\x0E\x0A\x06filter\x18\x01 \x01(\x09\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12/\x0A\x04type\x18\x05 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"[\x0A\x13ListDlpJobsResponse\x12+\x0A\x04jobs\x18\x01 \x03(\x0B2\x1D.google.privacy.dlp.v2.DlpJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"F\x0A\x13CancelDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"F\x0A\x13FinishDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"F\x0A\x13DeleteDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"\xD7\x01\x0A\x1FCreateDeidentifyTemplateRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/DeidentifyTemplate\x12K\x0A\x13deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplateB\x03\xE0A\x02\x12\x13\x0A\x0Btemplate_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xD7\x01\x0A\x1FUpdateDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\x12F\x0A\x13deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"[\x0A\x1CGetDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\"\xAD\x01\x0A\x1EListDeidentifyTemplatesRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/DeidentifyTemplate\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"\x83\x01\x0A\x1FListDeidentifyTemplatesResponse\x12G\x0A\x14deidentify_templates\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1FDeleteDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\"\xF4\x01\x0A\x1BLargeCustomDictionaryConfig\x12<\x0A\x0Boutput_path\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePath\x12L\x0A\x16cloud_storage_file_set\x18\x02 \x01(\x0B2*.google.privacy.dlp.v2.CloudStorageFileSetH\x00\x12?\x0A\x0Fbig_query_field\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryFieldH\x00B\x08\x0A\x06source\"8\x0A\x1ALargeCustomDictionaryStats\x12\x1A\x0A\x12approx_num_phrases\x18\x01 \x01(\x03\"\xA6\x02\x0A\x14StoredInfoTypeConfig\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12U\x0A\x17large_custom_dictionary\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.LargeCustomDictionaryConfigH\x00\x12F\x0A\x0Adictionary\x18\x04 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x05 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00B\x06\x0A\x04type\"s\x0A\x13StoredInfoTypeStats\x12T\x0A\x17large_custom_dictionary\x18\x01 \x01(\x0B21.google.privacy.dlp.v2.LargeCustomDictionaryStatsH\x00B\x06\x0A\x04type\"\xA9\x02\x0A\x15StoredInfoTypeVersion\x12;\x0A\x06config\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x129\x0A\x05state\x18\x03 \x01(\x0E2*.google.privacy.dlp.v2.StoredInfoTypeState\x12,\x0A\x06errors\x18\x04 \x03(\x0B2\x1C.google.privacy.dlp.v2.Error\x129\x0A\x05stats\x18\x05 \x01(\x0B2*.google.privacy.dlp.v2.StoredInfoTypeStats\"\xF1\x03\x0A\x0EStoredInfoType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12E\x0A\x0Fcurrent_version\x18\x02 \x01(\x0B2,.google.privacy.dlp.v2.StoredInfoTypeVersion\x12F\x0A\x10pending_versions\x18\x03 \x03(\x0B2,.google.privacy.dlp.v2.StoredInfoTypeVersion:\xC1\x02\xEAA\xBD\x02\x0A!dlp.googleapis.com/StoredInfoType\x12?organizations/{organization}/storedInfoTypes/{stored_info_type}\x125projects/{project}/storedInfoTypes/{stored_info_type}\x12Torganizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}\x12Jprojects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}\"\xCC\x01\x0A\x1BCreateStoredInfoTypeRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!dlp.googleapis.com/StoredInfoType\x12@\x0A\x06config\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfigB\x03\xE0A\x02\x12\x1B\x0A\x13stored_info_type_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xC4\x01\x0A\x1BUpdateStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\x12;\x0A\x06config\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"S\x0A\x18GetStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\"\xA5\x01\x0A\x1AListStoredInfoTypesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!dlp.googleapis.com/StoredInfoType\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"x\x0A\x1BListStoredInfoTypesResponse\x12@\x0A\x11stored_info_types\x18\x01 \x03(\x0B2%.google.privacy.dlp.v2.StoredInfoType\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x1BDeleteStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\"\x94\x01\x0A\x1EHybridInspectJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x12=\x0A\x0Bhybrid_item\x18\x03 \x01(\x0B2(.google.privacy.dlp.v2.HybridContentItem\"\x8C\x01\x0A\x1AHybridInspectDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x12=\x0A\x0Bhybrid_item\x18\x03 \x01(\x0B2(.google.privacy.dlp.v2.HybridContentItem\"\x8B\x01\x0A\x11HybridContentItem\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12D\x0A\x0Ffinding_details\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.HybridFindingDetails\"\xB0\x02\x0A\x14HybridFindingDetails\x12;\x0A\x11container_details\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.Container\x12\x13\x0A\x0Bfile_offset\x18\x02 \x01(\x03\x12\x12\x0A\x0Arow_offset\x18\x03 \x01(\x03\x12:\x0A\x0Dtable_options\x18\x04 \x01(\x0B2#.google.privacy.dlp.v2.TableOptions\x12G\x0A\x06labels\x18\x05 \x03(\x0B27.google.privacy.dlp.v2.HybridFindingDetails.LabelsEntry\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\x17\x0A\x15HybridInspectResponse\"\xC3\x01\x0A\x14ImageContainmentType\x123\x0A\x08encloses\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.EnclosesH\x00\x12:\x0A\x0Cfully_inside\x18\x02 \x01(\x0B2\".google.privacy.dlp.v2.FullyInsideH\x00\x122\x0A\x08overlaps\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.OverlapH\x00B\x06\x0A\x04type\"\x09\x0A\x07Overlap\"\x0A\x0A\x08Encloses\"\x0D\x0A\x0BFullyInside\"\xA8\x01\x0A\x1EListProjectDataProfilesRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/ProjectDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"\x84\x01\x0A\x1FListProjectDataProfilesResponse\x12H\x0A\x15project_data_profiles\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.ProjectDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA4\x01\x0A\x1CListTableDataProfilesRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x12#dlp.googleapis.com/TableDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"~\x0A\x1DListTableDataProfilesResponse\x12D\x0A\x13table_data_profiles\x18\x01 \x03(\x0B2'.google.privacy.dlp.v2.TableDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA6\x01\x0A\x1DListColumnDataProfilesRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x12\$dlp.googleapis.com/ColumnDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"\x81\x01\x0A\x1EListColumnDataProfilesResponse\x12F\x0A\x14column_data_profiles\x18\x01 \x03(\x0B2(.google.privacy.dlp.v2.ColumnDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xCB\x01\x0A\x0DDataRiskLevel\x12F\x0A\x05score\x18\x01 \x01(\x0E27.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore\"r\x0A\x12DataRiskLevelScore\x12\x1A\x0A\x16RISK_SCORE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08RISK_LOW\x10\x0A\x12\x10\x0A\x0CRISK_UNKNOWN\x10\x0C\x12\x11\x0A\x0DRISK_MODERATE\x10\x14\x12\x0D\x0A\x09RISK_HIGH\x10\x1E\"\xDC\x04\x0A\x12ProjectDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12:\x0A\x16profile_last_generated\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12B\x0A\x11sensitivity_score\x18\x04 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x05 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12<\x0A\x0Eprofile_status\x18\x07 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12 \x0A\x18table_data_profile_count\x18\x09 \x01(\x03\x12%\x0A\x1Dfile_store_data_profile_count\x18\x0A \x01(\x03:\xDD\x01\xEAA\xD9\x01\x0A%dlp.googleapis.com/ProjectDataProfile\x12\\organizations/{organization}/locations/{location}/projectDataProfiles/{project_data_profile}\x12Rprojects/{project}/locations/{location}/projectDataProfiles/{project_data_profile}\"\xC9\x02\x0A\x19DataProfileConfigSnapshot\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12I\x0A\x10data_profile_job\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.DataProfileJobConfigB\x02\x18\x01\x12@\x0A\x10discovery_config\x18\x04 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfig\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12B\x0A\x1Einspect_template_modified_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\"\x93\x0E\x0A\x10TableDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12?\x0A\x10data_source_type\x18\$ \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\x12\x1C\x0A\x14project_data_profile\x18\x02 \x01(\x09\x12\x1A\x0A\x12dataset_project_id\x18\x18 \x01(\x09\x12\x18\x0A\x10dataset_location\x18\x1D \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x19 \x01(\x09\x12\x10\x0A\x08table_id\x18\x1A \x01(\x09\x12\x15\x0A\x0Dfull_resource\x18\x03 \x01(\x09\x12<\x0A\x0Eprofile_status\x18\x15 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12<\x0A\x05state\x18\x16 \x01(\x0E2-.google.privacy.dlp.v2.TableDataProfile.State\x12B\x0A\x11sensitivity_score\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x06 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12D\x0A\x14predicted_info_types\x18\x1B \x03(\x0B2&.google.privacy.dlp.v2.InfoTypeSummary\x12E\x0A\x10other_info_types\x18\x1C \x03(\x0B2+.google.privacy.dlp.v2.OtherInfoTypeSummary\x12I\x0A\x0Fconfig_snapshot\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.DataProfileConfigSnapshot\x126\x0A\x12last_modified_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\x123\x0A\x0Fexpiration_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x1C\x0A\x14scanned_column_count\x18\x0A \x01(\x03\x12\x1B\x0A\x13failed_column_count\x18\x0B \x01(\x03\x12\x18\x0A\x10table_size_bytes\x18\x0C \x01(\x03\x12\x11\x0A\x09row_count\x18\x0D \x01(\x03\x12B\x0A\x11encryption_status\x18\x0E \x01(\x0E2'.google.privacy.dlp.v2.EncryptionStatus\x12F\x0A\x13resource_visibility\x18\x0F \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12:\x0A\x16profile_last_generated\x18\x10 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12T\x0A\x0Fresource_labels\x18\x11 \x03(\x0B2;.google.privacy.dlp.v2.TableDataProfile.ResourceLabelsEntry\x12/\x0A\x0Bcreate_time\x18\x17 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12C\x0A\x15sample_findings_table\x18% \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12(\x0A\x04tags\x18' \x03(\x0B2\x1A.google.privacy.dlp.v2.Tag\x12A\x0A\x11related_resources\x18) \x03(\x0B2&.google.privacy.dlp.v2.RelatedResource\x12.\x0A\x07domains\x18/ \x03(\x0B2\x1D.google.privacy.dlp.v2.Domain\x1A5\x0A\x13ResourceLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02:\xD3\x01\xEAA\xCF\x01\x0A#dlp.googleapis.com/TableDataProfile\x12Xorganizations/{organization}/locations/{location}/tableDataProfiles/{table_data_profile}\x12Nprojects/{project}/locations/{location}/tableDataProfiles/{table_data_profile}\"b\x0A\x0DProfileStatus\x12\"\x0A\x06status\x18\x01 \x01(\x0B2\x12.google.rpc.Status\x12-\x0A\x09timestamp\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\"g\x0A\x0FInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12 \x0A\x14estimated_prevalence\x18\x02 \x01(\x05B\x02\x18\x01\"\x88\x01\x0A\x14OtherInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x1C\x0A\x14estimated_prevalence\x18\x02 \x01(\x05\x12\x1E\x0A\x16excluded_from_analysis\x18\x03 \x01(\x08\"\xC9\x0D\x0A\x11ColumnDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12<\x0A\x0Eprofile_status\x18\x11 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12=\x0A\x05state\x18\x12 \x01(\x0E2..google.privacy.dlp.v2.ColumnDataProfile.State\x12:\x0A\x16profile_last_generated\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x1A\x0A\x12table_data_profile\x18\x04 \x01(\x09\x12\x1B\x0A\x13table_full_resource\x18\x05 \x01(\x09\x12\x1A\x0A\x12dataset_project_id\x18\x13 \x01(\x09\x12\x18\x0A\x10dataset_location\x18\x14 \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x15 \x01(\x09\x12\x10\x0A\x08table_id\x18\x16 \x01(\x09\x12\x0E\x0A\x06column\x18\x06 \x01(\x09\x12B\x0A\x11sensitivity_score\x18\x07 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x08 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12@\x0A\x10column_info_type\x18\x09 \x01(\x0B2&.google.privacy.dlp.v2.InfoTypeSummary\x12B\x0A\x0Dother_matches\x18\x0A \x03(\x0B2+.google.privacy.dlp.v2.OtherInfoTypeSummary\x12M\x0A\x19estimated_null_percentage\x18\x17 \x01(\x0E2*.google.privacy.dlp.v2.NullPercentageLevel\x12O\x0A\x1Aestimated_uniqueness_score\x18\x18 \x01(\x0E2+.google.privacy.dlp.v2.UniquenessScoreLevel\x12\x17\x0A\x0Ffree_text_score\x18\x0D \x01(\x01\x12L\x0A\x0Bcolumn_type\x18\x0E \x01(\x0E27.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType\x12P\x0A\x0Cpolicy_state\x18\x0F \x01(\x0E2:.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02\"\xFF\x02\x0A\x0EColumnDataType\x12 \x0A\x1CCOLUMN_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATYPE_INT64\x10\x01\x12\x0D\x0A\x09TYPE_BOOL\x10\x02\x12\x10\x0A\x0CTYPE_FLOAT64\x10\x03\x12\x0F\x0A\x0BTYPE_STRING\x10\x04\x12\x0E\x0A\x0ATYPE_BYTES\x10\x05\x12\x12\x0A\x0ETYPE_TIMESTAMP\x10\x06\x12\x0D\x0A\x09TYPE_DATE\x10\x07\x12\x0D\x0A\x09TYPE_TIME\x10\x08\x12\x11\x0A\x0DTYPE_DATETIME\x10\x09\x12\x12\x0A\x0ETYPE_GEOGRAPHY\x10\x0A\x12\x10\x0A\x0CTYPE_NUMERIC\x10\x0B\x12\x0F\x0A\x0BTYPE_RECORD\x10\x0C\x12\x13\x0A\x0FTYPE_BIGNUMERIC\x10\x0D\x12\x0D\x0A\x09TYPE_JSON\x10\x0E\x12\x11\x0A\x0DTYPE_INTERVAL\x10\x0F\x12\x13\x0A\x0FTYPE_RANGE_DATE\x10\x10\x12\x17\x0A\x13TYPE_RANGE_DATETIME\x10\x11\x12\x18\x0A\x14TYPE_RANGE_TIMESTAMP\x10\x12\"R\x0A\x11ColumnPolicyState\x12#\x0A\x1FCOLUMN_POLICY_STATE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14COLUMN_POLICY_TAGGED\x10\x01:\xD8\x01\xEAA\xD4\x01\x0A\$dlp.googleapis.com/ColumnDataProfile\x12Zorganizations/{organization}/locations/{location}/columnDataProfiles/{column_data_profile}\x12Pprojects/{project}/locations/{location}/columnDataProfiles/{column_data_profile}\"\xE8\x0E\x0A\x14FileStoreDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12?\x0A\x10data_source_type\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\x12\x1C\x0A\x14project_data_profile\x18\x03 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x04 \x01(\x09\x12\x1B\x0A\x13file_store_location\x18\x05 \x01(\x09\x12\x1E\x0A\x16data_storage_locations\x18\x13 \x03(\x09\x12\x15\x0A\x0Dlocation_type\x18\x14 \x01(\x09\x12\x17\x0A\x0Ffile_store_path\x18\x06 \x01(\x09\x12\x15\x0A\x0Dfull_resource\x18\x18 \x01(\x09\x12I\x0A\x0Fconfig_snapshot\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.DataProfileConfigSnapshot\x12<\x0A\x0Eprofile_status\x18\x08 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12@\x0A\x05state\x18\x09 \x01(\x0E21.google.privacy.dlp.v2.FileStoreDataProfile.State\x12:\x0A\x16profile_last_generated\x18\x0A \x01(\x0B2\x1A.google.protobuf.Timestamp\x12F\x0A\x13resource_visibility\x18\x0B \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12B\x0A\x11sensitivity_score\x18\x0C \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x0D \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12/\x0A\x0Bcreate_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.Timestamp\x126\x0A\x12last_modified_time\x18\x0F \x01(\x0B2\x1A.google.protobuf.Timestamp\x12I\x0A\x16file_cluster_summaries\x18\x10 \x03(\x0B2).google.privacy.dlp.v2.FileClusterSummary\x12`\x0A\x13resource_attributes\x18\x11 \x03(\x0B2C.google.privacy.dlp.v2.FileStoreDataProfile.ResourceAttributesEntry\x12X\x0A\x0Fresource_labels\x18\x12 \x03(\x0B2?.google.privacy.dlp.v2.FileStoreDataProfile.ResourceLabelsEntry\x12W\x0A\x1Efile_store_info_type_summaries\x18\x15 \x03(\x0B2/.google.privacy.dlp.v2.FileStoreInfoTypeSummary\x12C\x0A\x15sample_findings_table\x18\x16 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12\x1B\x0A\x13file_store_is_empty\x18\x17 \x01(\x08\x12(\x0A\x04tags\x18\x19 \x03(\x0B2\x1A.google.privacy.dlp.v2.Tag\x12A\x0A\x11related_resources\x18\x1A \x03(\x0B2&.google.privacy.dlp.v2.RelatedResource\x12.\x0A\x07domains\x18\x1B \x03(\x0B2\x1D.google.privacy.dlp.v2.Domain\x1AW\x0A\x17ResourceAttributesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12+\x0A\x05value\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value:\x028\x01\x1A5\x0A\x13ResourceLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02:\xE9\x01\xEAA\xE5\x01\x0A'dlp.googleapis.com/FileStoreDataProfile\x12aorganizations/{organization}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}\x12Wprojects/{project}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}\"?\x0A\x03Tag\x12\x1C\x0A\x14namespaced_tag_value\x18\x01 \x01(\x09\x12\x0B\x0A\x03key\x18\x02 \x01(\x09\x12\x0D\x0A\x05value\x18\x03 \x01(\x09\"H\x0A\x0ATagFilters\x12:\x0A\x0Btag_filters\x18\x01 \x03(\x0B2 .google.privacy.dlp.v2.TagFilterB\x03\xE0A\x02\"S\x0A\x09TagFilter\x12\x1E\x0A\x14namespaced_tag_value\x18\x01 \x01(\x09H\x00\x12\x1C\x0A\x12namespaced_tag_key\x18\x02 \x01(\x09H\x00B\x08\x0A\x06format\"(\x0A\x0FRelatedResource\x12\x15\x0A\x0Dfull_resource\x18\x01 \x01(\x09\"N\x0A\x18FileStoreInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"+\x0A\x11FileExtensionInfo\x12\x16\x0A\x0Efile_extension\x18\x01 \x01(\x09\"\x8C\x04\x0A\x12FileClusterSummary\x12A\x0A\x11file_cluster_type\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.FileClusterType\x12W\x0A\x1Efile_store_info_type_summaries\x18\x02 \x03(\x0B2/.google.privacy.dlp.v2.FileStoreInfoTypeSummary\x12B\x0A\x11sensitivity_score\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x04 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12,\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.Error\x12I\x0A\x17file_extensions_scanned\x18\x07 \x03(\x0B2(.google.privacy.dlp.v2.FileExtensionInfo\x12F\x0A\x14file_extensions_seen\x18\x08 \x03(\x0B2(.google.privacy.dlp.v2.FileExtensionInfo\x12\x16\x0A\x0Eno_files_exist\x18\x09 \x01(\x08\"[\x0A\x1CGetProjectDataProfileRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/ProjectDataProfile\"]\x0A\x1EGetFileStoreDataProfileRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/ProjectDataProfile\"\xC0\x01\x0A ListFileStoreDataProfilesRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'dlp.googleapis.com/FileStoreDataProfile\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x8B\x01\x0A!ListFileStoreDataProfilesResponse\x12M\x0A\x18file_store_data_profiles\x18\x01 \x03(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A!DeleteFileStoreDataProfileRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'dlp.googleapis.com/FileStoreDataProfile\"W\x0A\x1AGetTableDataProfileRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#dlp.googleapis.com/TableDataProfile\"Y\x0A\x1BGetColumnDataProfileRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$dlp.googleapis.com/ColumnDataProfile\"\xEA\x05\x0A\x1ADataProfilePubSubCondition\x12X\x0A\x0Bexpressions\x18\x01 \x01(\x0B2C.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions\x1A\xE9\x01\x0A\x0FPubSubCondition\x12b\x0A\x12minimum_risk_score\x18\x01 \x01(\x0E2D.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucketH\x00\x12i\x0A\x19minimum_sensitivity_score\x18\x02 \x01(\x0E2D.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucketH\x00B\x07\x0A\x05value\x1A\xAB\x02\x0A\x11PubSubExpressions\x12s\x0A\x10logical_operator\x18\x01 \x01(\x0E2Y.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator\x12U\x0A\x0Aconditions\x18\x02 \x03(\x0B2A.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition\"J\x0A\x15PubSubLogicalOperator\x12 \x0A\x1CLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x06\x0A\x02OR\x10\x01\x12\x07\x0A\x03AND\x10\x02\"X\x0A\x12ProfileScoreBucket\x12\$\x0A PROFILE_SCORE_BUCKET_UNSPECIFIED\x10\x00\x12\x08\x0A\x04HIGH\x10\x01\x12\x12\x0A\x0EMEDIUM_OR_HIGH\x10\x02\"\xE0\x01\x0A\x18DataProfilePubSubMessage\x128\x0A\x07profile\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.TableDataProfile\x12G\x0A\x12file_store_profile\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfile\x12A\x0A\x05event\x18\x02 \x01(\x0E22.google.privacy.dlp.v2.DataProfileAction.EventType\"\x8C\x01\x0A\x17CreateConnectionRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12:\x0A\x0Aconnection\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.ConnectionB\x03\xE0A\x02\"K\x0A\x14GetConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\"\x95\x01\x0A\x16ListConnectionsRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x97\x01\x0A\x18SearchConnectionsRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"j\x0A\x17ListConnectionsResponse\x126\x0A\x0Bconnections\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.Connection\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x19SearchConnectionsResponse\x126\x0A\x0Bconnections\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.Connection\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xC0\x01\x0A\x17UpdateConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\x12:\x0A\x0Aconnection\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.ConnectionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"N\x0A\x17DeleteConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\"\x90\x03\x0A\x0AConnection\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12:\x0A\x05state\x18\x02 \x01(\x0E2&.google.privacy.dlp.v2.ConnectionStateB\x03\xE0A\x02\x121\x0A\x06errors\x18\x03 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x12>\x0A\x09cloud_sql\x18\x04 \x01(\x0B2).google.privacy.dlp.v2.CloudSqlPropertiesH\x00:\xB1\x01\xEAA\xAD\x01\x0A\x1Ddlp.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}\x12Jorganizations/{organization}/locations/{location}/connections/{connection}B\x0C\x0A\x0Aproperties\"[\x0A\x17SecretManagerCredential\x12\x15\x0A\x08username\x18\x01 \x01(\x09B\x03\xE0A\x02\x12)\x0A\x1Cpassword_secret_version_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x17\x0A\x15CloudSqlIamCredential\"\xB5\x03\x0A\x12CloudSqlProperties\x12\x1F\x0A\x0Fconnection_name\x18\x01 \x01(\x09B\x06\xE0A\x05\xE0A\x01\x12K\x0A\x11username_password\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.SecretManagerCredentialH\x00\x12E\x0A\x0Dcloud_sql_iam\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.CloudSqlIamCredentialH\x00\x12\x1C\x0A\x0Fmax_connections\x18\x04 \x01(\x05B\x03\xE0A\x02\x12V\x0A\x0Fdatabase_engine\x18\x07 \x01(\x0E28.google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngineB\x03\xE0A\x02\"f\x0A\x0EDatabaseEngine\x12\x1B\x0A\x17DATABASE_ENGINE_UNKNOWN\x10\x00\x12\x19\x0A\x15DATABASE_ENGINE_MYSQL\x10\x01\x12\x1C\x0A\x18DATABASE_ENGINE_POSTGRES\x10\x02B\x0C\x0A\x0Acredential\"Z\x0A\x1DDeleteTableDataProfileRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#dlp.googleapis.com/TableDataProfile\"%\x0A\x0EDataSourceType\x12\x13\x0A\x0Bdata_source\x18\x01 \x01(\x09\"\xF4\x02\x0A\x0FFileClusterType\x12A\x0A\x07cluster\x18\x01 \x01(\x0E2..google.privacy.dlp.v2.FileClusterType.ClusterH\x00\"\x88\x02\x0A\x07Cluster\x12\x17\x0A\x13CLUSTER_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FCLUSTER_UNKNOWN\x10\x01\x12\x10\x0A\x0CCLUSTER_TEXT\x10\x02\x12\x1B\x0A\x17CLUSTER_STRUCTURED_DATA\x10\x03\x12\x17\x0A\x13CLUSTER_SOURCE_CODE\x10\x04\x12\x19\x0A\x15CLUSTER_RICH_DOCUMENT\x10\x05\x12\x11\x0A\x0DCLUSTER_IMAGE\x10\x06\x12\x13\x0A\x0FCLUSTER_ARCHIVE\x10\x07\x12\x16\x0A\x12CLUSTER_MULTIMEDIA\x10\x08\x12\x16\x0A\x12CLUSTER_EXECUTABLE\x10\x09\x12\x14\x0A\x10CLUSTER_AI_MODEL\x10\x0AB\x13\x0A\x11file_cluster_type\"\xB6\x05\x0A\x12ProcessingLocation\x12`\x0A\x17image_fallback_location\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation\x12f\x0A\x1Adocument_fallback_location\x18\x02 \x01(\x0B2B.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation\x1A\x17\x0A\x15MultiRegionProcessing\x1A\x12\x0A\x10GlobalProcessing\x1A\xD1\x01\x0A\x15ImageFallbackLocation\x12`\x0A\x17multi_region_processing\x18d \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing\x12V\x0A\x11global_processing\x18\xC8\x01 \x01(\x0B2:.google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing\x1A\xD4\x01\x0A\x18DocumentFallbackLocation\x12`\x0A\x17multi_region_processing\x18d \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing\x12V\x0A\x11global_processing\x18\xC8\x01 \x01(\x0B2:.google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing\"K\x0A\x17SaveToGcsFindingsOutput\x120\x0A\x08findings\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.Finding\"\xC6\x02\x0A\x06Domain\x128\x0A\x08category\x18\x01 \x01(\x0E2&.google.privacy.dlp.v2.Domain.Category\x125\x0A\x07signals\x18\x02 \x03(\x0E2\$.google.privacy.dlp.v2.Domain.Signal\"6\x0A\x08Category\x12\x18\x0A\x14CATEGORY_UNSPECIFIED\x10\x00\x12\x06\x0A\x02AI\x10\x01\x12\x08\x0A\x04CODE\x10\x02\"\x92\x01\x0A\x06Signal\x12\x16\x0A\x12SIGNAL_UNSPECIFIED\x10\x00\x12\x09\x0A\x05MODEL\x10\x01\x12\x12\x0A\x0ETEXT_EMBEDDING\x10\x02\x12\x0D\x0A\x09EMBEDDING\x10\x07\x12\x11\x0A\x0DVERTEX_PLUGIN\x10\x03\x12\x11\x0A\x0DVECTOR_PLUGIN\x10\x04\x12\x0F\x0A\x0BSOURCE_CODE\x10\x05\x12\x0B\x0A\x07SERVICE\x10\x06*\xA0\x01\x0A\x1ETransformationResultStatusType\x12\x1A\x0A\x16STATE_TYPE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11INVALID_TRANSFORM\x10\x01\x12\"\x0A\x1EBIGQUERY_MAX_ROW_SIZE_EXCEEDED\x10\x02\x12\x1A\x0A\x16METADATA_UNRETRIEVABLE\x10\x03\x12\x0B\x0A\x07SUCCESS\x10\x04*\x7F\x0A\x1BTransformationContainerType\x12\x1F\x0A\x1BTRANSFORM_UNKNOWN_CONTAINER\x10\x00\x12\x12\x0A\x0ETRANSFORM_BODY\x10\x01\x12\x16\x0A\x12TRANSFORM_METADATA\x10\x02\x12\x13\x0A\x0FTRANSFORM_TABLE\x10\x03*\xE0\x02\x0A\x12TransformationType\x12#\x0A\x1FTRANSFORMATION_TYPE_UNSPECIFIED\x10\x00\x12\x16\x0A\x12RECORD_SUPPRESSION\x10\x01\x12\x11\x0A\x0DREPLACE_VALUE\x10\x02\x12\x16\x0A\x12REPLACE_DICTIONARY\x10\x0F\x12\x0A\x0A\x06REDACT\x10\x03\x12\x12\x0A\x0ECHARACTER_MASK\x10\x04\x12\x1A\x0A\x16CRYPTO_REPLACE_FFX_FPE\x10\x05\x12\x18\x0A\x14FIXED_SIZE_BUCKETING\x10\x06\x12\x0D\x0A\x09BUCKETING\x10\x07\x12\x1A\x0A\x16REPLACE_WITH_INFO_TYPE\x10\x08\x12\x0D\x0A\x09TIME_PART\x10\x09\x12\x0F\x0A\x0BCRYPTO_HASH\x10\x0A\x12\x0E\x0A\x0ADATE_SHIFT\x10\x0C\x12\x1F\x0A\x1BCRYPTO_DETERMINISTIC_CONFIG\x10\x0D\x12\x10\x0A\x0CREDACT_IMAGE\x10\x0E*r\x0A\x11ProfileGeneration\x12\"\x0A\x1EPROFILE_GENERATION_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROFILE_GENERATION_NEW\x10\x01\x12\x1D\x0A\x19PROFILE_GENERATION_UPDATE\x10\x02*\x96\x01\x0A\x1BBigQueryTableTypeCollection\x12\$\x0A BIG_QUERY_COLLECTION_UNSPECIFIED\x10\x00\x12\"\x0A\x1EBIG_QUERY_COLLECTION_ALL_TYPES\x10\x01\x12-\x0A)BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES\x10\x02*\xA8\x01\x0A\x11BigQueryTableType\x12\$\x0A BIG_QUERY_TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1ABIG_QUERY_TABLE_TYPE_TABLE\x10\x01\x12*\x0A&BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE\x10\x02\x12!\x0A\x1DBIG_QUERY_TABLE_TYPE_SNAPSHOT\x10\x03*\x94\x01\x0A\x1ADataProfileUpdateFrequency\x12 \x0A\x1CUPDATE_FREQUENCY_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16UPDATE_FREQUENCY_NEVER\x10\x01\x12\x1A\x0A\x16UPDATE_FREQUENCY_DAILY\x10\x02\x12\x1C\x0A\x18UPDATE_FREQUENCY_MONTHLY\x10\x04*]\x0A\x19BigQueryTableModification\x12\"\x0A\x1ETABLE_MODIFICATION_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18TABLE_MODIFIED_TIMESTAMP\x10\x01*u\x0A\x1ABigQuerySchemaModification\x12#\x0A\x1FSCHEMA_MODIFICATION_UNSPECIFIED\x10\x00\x12\x16\x0A\x12SCHEMA_NEW_COLUMNS\x10\x01\x12\x1A\x0A\x16SCHEMA_REMOVED_COLUMNS\x10\x02*\xBB\x01\x0A\x12RelationalOperator\x12#\x0A\x1FRELATIONAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08EQUAL_TO\x10\x01\x12\x10\x0A\x0CNOT_EQUAL_TO\x10\x02\x12\x10\x0A\x0CGREATER_THAN\x10\x03\x12\x0D\x0A\x09LESS_THAN\x10\x04\x12\x1A\x0A\x16GREATER_THAN_OR_EQUALS\x10\x05\x12\x17\x0A\x13LESS_THAN_OR_EQUALS\x10\x06\x12\x0A\x0A\x06EXISTS\x10\x07*\xAE\x01\x0A\x0CMatchingType\x12\x1D\x0A\x19MATCHING_TYPE_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18MATCHING_TYPE_FULL_MATCH\x10\x01\x12\x1F\x0A\x1BMATCHING_TYPE_PARTIAL_MATCH\x10\x02\x12\x1F\x0A\x1BMATCHING_TYPE_INVERSE_MATCH\x10\x03\x12\x1F\x0A\x1BMATCHING_TYPE_RULE_SPECIFIC\x10\x04*M\x0A\x0DContentOption\x12\x17\x0A\x13CONTENT_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CCONTENT_TEXT\x10\x01\x12\x11\x0A\x0DCONTENT_IMAGE\x10\x02*v\x0A\x0CMetadataType\x12\x1C\x0A\x18METADATATYPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10STORAGE_METADATA\x10\x02\x12\x14\x0A\x10CONTENT_METADATA\x10\x03\x12\x1C\x0A\x18CLIENT_PROVIDED_METADATA\x10\x04*P\x0A\x13InfoTypeSupportedBy\x12\x19\x0A\x15ENUM_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INSPECT\x10\x01\x12\x11\x0A\x0DRISK_ANALYSIS\x10\x02*R\x0A\x0ADlpJobType\x12\x1C\x0A\x18DLP_JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BINSPECT_JOB\x10\x01\x12\x15\x0A\x11RISK_ANALYSIS_JOB\x10\x02*n\x0A\x13StoredInfoTypeState\x12&\x0A\"STORED_INFO_TYPE_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x09\x0A\x05READY\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03\x12\x0B\x0A\x07INVALID\x10\x04*\xA3\x01\x0A\x12ResourceVisibility\x12#\x0A\x1FRESOURCE_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1ARESOURCE_VISIBILITY_PUBLIC\x10\x0A\x12\$\x0A RESOURCE_VISIBILITY_INCONCLUSIVE\x10\x0F\x12\"\x0A\x1ERESOURCE_VISIBILITY_RESTRICTED\x10\x14*u\x0A\x10EncryptionStatus\x12!\x0A\x1DENCRYPTION_STATUS_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19ENCRYPTION_GOOGLE_MANAGED\x10\x01\x12\x1F\x0A\x1BENCRYPTION_CUSTOMER_MANAGED\x10\x02*\xA9\x01\x0A\x13NullPercentageLevel\x12%\x0A!NULL_PERCENTAGE_LEVEL_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18NULL_PERCENTAGE_VERY_LOW\x10\x01\x12\x17\x0A\x13NULL_PERCENTAGE_LOW\x10\x02\x12\x1A\x0A\x16NULL_PERCENTAGE_MEDIUM\x10\x03\x12\x18\x0A\x14NULL_PERCENTAGE_HIGH\x10\x04*\x90\x01\x0A\x14UniquenessScoreLevel\x12&\x0A\"UNIQUENESS_SCORE_LEVEL_UNSPECIFIED\x10\x00\x12\x18\x0A\x14UNIQUENESS_SCORE_LOW\x10\x01\x12\x1B\x0A\x17UNIQUENESS_SCORE_MEDIUM\x10\x02\x12\x19\x0A\x15UNIQUENESS_SCORE_HIGH\x10\x03*f\x0A\x0FConnectionState\x12 \x0A\x1CCONNECTION_STATE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13MISSING_CREDENTIALS\x10\x01\x12\x0D\x0A\x09AVAILABLE\x10\x02\x12\x09\x0A\x05ERROR\x10\x032\xDDv\x0A\x0ADlpService\x12\xDB\x01\x0A\x0EInspectContent\x12,.google.privacy.dlp.v2.InspectContentRequest\x1A-.google.privacy.dlp.v2.InspectContentResponse\"l\x82\xD3\xE4\x93\x02f\"'/v2/{parent=projects/*}/content:inspect:\x01*Z8\"3/v2/{parent=projects/*/locations/*}/content:inspect:\x01*\x12\xCC\x01\x0A\x0BRedactImage\x12).google.privacy.dlp.v2.RedactImageRequest\x1A*.google.privacy.dlp.v2.RedactImageResponse\"f\x82\xD3\xE4\x93\x02`\"\$/v2/{parent=projects/*}/image:redact:\x01*Z5\"0/v2/{parent=projects/*/locations/*}/image:redact:\x01*\x12\xEA\x01\x0A\x11DeidentifyContent\x12/.google.privacy.dlp.v2.DeidentifyContentRequest\x1A0.google.privacy.dlp.v2.DeidentifyContentResponse\"r\x82\xD3\xE4\x93\x02l\"*/v2/{parent=projects/*}/content:deidentify:\x01*Z;\"6/v2/{parent=projects/*/locations/*}/content:deidentify:\x01*\x12\xEA\x01\x0A\x11ReidentifyContent\x12/.google.privacy.dlp.v2.ReidentifyContentRequest\x1A0.google.privacy.dlp.v2.ReidentifyContentResponse\"r\x82\xD3\xE4\x93\x02l\"*/v2/{parent=projects/*}/content:reidentify:\x01*Z;\"6/v2/{parent=projects/*/locations/*}/content:reidentify:\x01*\x12\x99\x02\x0A\x0DListInfoTypes\x12+.google.privacy.dlp.v2.ListInfoTypesRequest\x1A,.google.privacy.dlp.v2.ListInfoTypesResponse\"\xAC\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\x9C\x01\x12\x0D/v2/infoTypesZ\$\x12\"/v2/{parent=locations/*}/infoTypesZ/\x12-/v2/{parent=projects/*/locations/*}/infoTypesZ4\x122/v2/{parent=organizations/*/locations/*}/infoTypes\x12\xF4\x02\x0A\x15CreateInspectTemplate\x123.google.privacy.dlp.v2.CreateInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\xFD\x01\xDAA\x17parent,inspect_template\x82\xD3\xE4\x93\x02\xDC\x01\"4/v2/{parent=projects/*/locations/*}/inspectTemplates:\x01*Z>\"9/v2/{parent=organizations/*/locations/*}/inspectTemplates:\x01*Z-\"(/v2/{parent=projects/*}/inspectTemplates:\x01*Z2\"-/v2/{parent=organizations/*}/inspectTemplates:\x01*\x12\xFE\x02\x0A\x15UpdateInspectTemplate\x123.google.privacy.dlp.v2.UpdateInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\x87\x02\xDAA!name,inspect_template,update_mask\x82\xD3\xE4\x93\x02\xDC\x0124/v2/{name=projects/*/locations/*/inspectTemplates/*}:\x01*Z>29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\x01*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\x01*Z22-/v2/{name=organizations/*/inspectTemplates/*}:\x01*\x12\xCF\x02\x0A\x12GetInspectTemplate\x120.google.privacy.dlp.v2.GetInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\xDE\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xD0\x01\x124/v2/{name=projects/*/locations/*/inspectTemplates/*}Z;\x129/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\x12(/v2/{name=projects/*/inspectTemplates/*}Z/\x12-/v2/{name=organizations/*/inspectTemplates/*}\x12\xE2\x02\x0A\x14ListInspectTemplates\x122.google.privacy.dlp.v2.ListInspectTemplatesRequest\x1A3.google.privacy.dlp.v2.ListInspectTemplatesResponse\"\xE0\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xD0\x01\x124/v2/{parent=projects/*/locations/*}/inspectTemplatesZ;\x129/v2/{parent=organizations/*/locations/*}/inspectTemplatesZ*\x12(/v2/{parent=projects/*}/inspectTemplatesZ/\x12-/v2/{parent=organizations/*}/inspectTemplates\x12\xC5\x02\x0A\x15DeleteInspectTemplate\x123.google.privacy.dlp.v2.DeleteInspectTemplateRequest\x1A\x16.google.protobuf.Empty\"\xDE\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xD0\x01*4/v2/{name=projects/*/locations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z/*-/v2/{name=organizations/*/inspectTemplates/*}\x12\x8C\x03\x0A\x18CreateDeidentifyTemplate\x126.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest\x1A).google.privacy.dlp.v2.DeidentifyTemplate\"\x8C\x02\xDAA\x1Aparent,deidentify_template\x82\xD3\xE4\x93\x02\xE8\x01\"0/v2/{parent=organizations/*}/deidentifyTemplates:\x01*ZA\"\x12\x12*\"9/v2/{parent=organizations/*/locations/*}/discoveryConfigs:\x01*\x12\x9A\x02\x0A\x15UpdateDiscoveryConfig\x123.google.privacy.dlp.v2.UpdateDiscoveryConfigRequest\x1A&.google.privacy.dlp.v2.DiscoveryConfig\"\xA3\x01\xDAA!name,discovery_config,update_mask\x82\xD3\xE4\x93\x02y24/v2/{name=projects/*/locations/*/discoveryConfigs/*}:\x01*Z>29/v2/{name=organizations/*/locations/*/discoveryConfigs/*}:\x01*\x12\xF1\x01\x0A\x12GetDiscoveryConfig\x120.google.privacy.dlp.v2.GetDiscoveryConfigRequest\x1A&.google.privacy.dlp.v2.DiscoveryConfig\"\x80\x01\xDAA\x04name\x82\xD3\xE4\x93\x02s\x124/v2/{name=projects/*/locations/*/discoveryConfigs/*}Z;\x129/v2/{name=organizations/*/locations/*/discoveryConfigs/*}\x12\x84\x02\x0A\x14ListDiscoveryConfigs\x122.google.privacy.dlp.v2.ListDiscoveryConfigsRequest\x1A3.google.privacy.dlp.v2.ListDiscoveryConfigsResponse\"\x82\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02s\x124/v2/{parent=projects/*/locations/*}/discoveryConfigsZ;\x129/v2/{parent=organizations/*/locations/*}/discoveryConfigs\x12\xE7\x01\x0A\x15DeleteDiscoveryConfig\x123.google.privacy.dlp.v2.DeleteDiscoveryConfigRequest\x1A\x16.google.protobuf.Empty\"\x80\x01\xDAA\x04name\x82\xD3\xE4\x93\x02s*4/v2/{name=projects/*/locations/*/discoveryConfigs/*}Z;*9/v2/{name=organizations/*/locations/*/discoveryConfigs/*}\x12\xDF\x01\x0A\x0CCreateDlpJob\x12*.google.privacy.dlp.v2.CreateDlpJobRequest\x1A\x1D.google.privacy.dlp.v2.DlpJob\"\x83\x01\xDAA\x12parent,inspect_job\xDAA\x0Fparent,risk_job\x82\xD3\xE4\x93\x02V\"\x1F/v2/{parent=projects/*}/dlpJobs:\x01*Z0\"+/v2/{parent=projects/*/locations/*}/dlpJobs:\x01*\x12\xFB\x01\x0A\x0BListDlpJobs\x12).google.privacy.dlp.v2.ListDlpJobsRequest\x1A*.google.privacy.dlp.v2.ListDlpJobsResponse\"\x94\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\x84\x01\x12\x1F/v2/{parent=projects/*}/dlpJobsZ-\x12+/v2/{parent=projects/*/locations/*}/dlpJobsZ2\x120/v2/{parent=organizations/*/locations/*}/dlpJobs\x12\xB2\x01\x0A\x09GetDlpJob\x12'.google.privacy.dlp.v2.GetDlpJobRequest\x1A\x1D.google.privacy.dlp.v2.DlpJob\"]\xDAA\x04name\x82\xD3\xE4\x93\x02P\x12\x1F/v2/{name=projects/*/dlpJobs/*}Z-\x12+/v2/{name=projects/*/locations/*/dlpJobs/*}\x12\xB1\x01\x0A\x0CDeleteDlpJob\x12*.google.privacy.dlp.v2.DeleteDlpJobRequest\x1A\x16.google.protobuf.Empty\"]\xDAA\x04name\x82\xD3\xE4\x93\x02P*\x1F/v2/{name=projects/*/dlpJobs/*}Z-*+/v2/{name=projects/*/locations/*/dlpJobs/*}\x12\xBE\x01\x0A\x0CCancelDlpJob\x12*.google.privacy.dlp.v2.CancelDlpJobRequest\x1A\x16.google.protobuf.Empty\"j\x82\xD3\xE4\x93\x02d\"&/v2/{name=projects/*/dlpJobs/*}:cancel:\x01*Z7\"2/v2/{name=projects/*/locations/*/dlpJobs/*}:cancel:\x01*\x12\xE3\x02\x0A\x14CreateStoredInfoType\x122.google.privacy.dlp.v2.CreateStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xEF\x01\xDAA\x0Dparent,config\x82\xD3\xE4\x93\x02\xD8\x01\",/v2/{parent=organizations/*}/storedInfoTypes:\x01*Z=\"8/v2/{parent=organizations/*/locations/*}/storedInfoTypes:\x01*Z,\"'/v2/{parent=projects/*}/storedInfoTypes:\x01*Z8\"3/v2/{parent=projects/*/locations/*}/storedInfoTypes:\x01*\x12\xED\x02\x0A\x14UpdateStoredInfoType\x122.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xF9\x01\xDAA\x17name,config,update_mask\x82\xD3\xE4\x93\x02\xD8\x012,/v2/{name=organizations/*/storedInfoTypes/*}:\x01*Z=28/v2/{name=organizations/*/locations/*/storedInfoTypes/*}:\x01*Z,2'/v2/{name=projects/*/storedInfoTypes/*}:\x01*Z823/v2/{name=projects/*/locations/*/storedInfoTypes/*}:\x01*\x12\xC8\x02\x0A\x11GetStoredInfoType\x12/.google.privacy.dlp.v2.GetStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xDA\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCC\x01\x12,/v2/{name=organizations/*/storedInfoTypes/*}Z:\x128/v2/{name=organizations/*/locations/*/storedInfoTypes/*}Z)\x12'/v2/{name=projects/*/storedInfoTypes/*}Z5\x123/v2/{name=projects/*/locations/*/storedInfoTypes/*}\x12\xDB\x02\x0A\x13ListStoredInfoTypes\x121.google.privacy.dlp.v2.ListStoredInfoTypesRequest\x1A2.google.privacy.dlp.v2.ListStoredInfoTypesResponse\"\xDC\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xCC\x01\x12,/v2/{parent=organizations/*}/storedInfoTypesZ:\x128/v2/{parent=organizations/*/locations/*}/storedInfoTypesZ)\x12'/v2/{parent=projects/*}/storedInfoTypesZ5\x123/v2/{parent=projects/*/locations/*}/storedInfoTypes\x12\xBF\x02\x0A\x14DeleteStoredInfoType\x122.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest\x1A\x16.google.protobuf.Empty\"\xDA\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCC\x01*,/v2/{name=organizations/*/storedInfoTypes/*}Z:*8/v2/{name=organizations/*/locations/*/storedInfoTypes/*}Z)*'/v2/{name=projects/*/storedInfoTypes/*}Z5*3/v2/{name=projects/*/locations/*/storedInfoTypes/*}\x12\x93\x02\x0A\x17ListProjectDataProfiles\x125.google.privacy.dlp.v2.ListProjectDataProfilesRequest\x1A6.google.privacy.dlp.v2.ListProjectDataProfilesResponse\"\x88\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02y\x12/v2/{parent=organizations/*/locations/*}/fileStoreDataProfilesZ;\x129/v2/{parent=projects/*/locations/*}/fileStoreDataProfiles\x12\x8A\x02\x0A\x17GetFileStoreDataProfile\x125.google.privacy.dlp.v2.GetFileStoreDataProfileRequest\x1A+.google.privacy.dlp.v2.FileStoreDataProfile\"\x8A\x01\xDAA\x04name\x82\xD3\xE4\x93\x02}\x12>/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}Z;\x129/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}\x12\xFB\x01\x0A\x1ADeleteFileStoreDataProfile\x128.google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest\x1A\x16.google.protobuf.Empty\"\x8A\x01\xDAA\x04name\x82\xD3\xE4\x93\x02}*>/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}Z;*9/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}\x12\xF6\x01\x0A\x13GetTableDataProfile\x121.google.privacy.dlp.v2.GetTableDataProfileRequest\x1A'.google.privacy.dlp.v2.TableDataProfile\"\x82\x01\xDAA\x04name\x82\xD3\xE4\x93\x02u\x12:/v2/{name=organizations/*/locations/*/tableDataProfiles/*}Z7\x125/v2/{name=projects/*/locations/*/tableDataProfiles/*}\x12\xFB\x01\x0A\x14GetColumnDataProfile\x122.google.privacy.dlp.v2.GetColumnDataProfileRequest\x1A(.google.privacy.dlp.v2.ColumnDataProfile\"\x84\x01\xDAA\x04name\x82\xD3\xE4\x93\x02w\x12;/v2/{name=organizations/*/locations/*/columnDataProfiles/*}Z8\x126/v2/{name=projects/*/locations/*/columnDataProfiles/*}\x12\xEB\x01\x0A\x16DeleteTableDataProfile\x124.google.privacy.dlp.v2.DeleteTableDataProfileRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\xDAA\x04name\x82\xD3\xE4\x93\x02u*:/v2/{name=organizations/*/locations/*/tableDataProfiles/*}Z7*5/v2/{name=projects/*/locations/*/tableDataProfiles/*}\x12\xC3\x01\x0A\x13HybridInspectDlpJob\x121.google.privacy.dlp.v2.HybridInspectDlpJobRequest\x1A,.google.privacy.dlp.v2.HybridInspectResponse\"K\xDAA\x04name\x82\xD3\xE4\x93\x02>\"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\x01*\x12\x91\x01\x0A\x0CFinishDlpJob\x12*.google.privacy.dlp.v2.FinishDlpJobRequest\x1A\x16.google.protobuf.Empty\"=\x82\xD3\xE4\x93\x027\"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\x01*\x12\xF2\x01\x0A\x10CreateConnection\x12..google.privacy.dlp.v2.CreateConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"\x8A\x01\xDAA\x12parent, connection\x82\xD3\xE4\x93\x02o\"//v2/{parent=projects/*/locations/*}/connections:\x01*Z9\"4/v2/{parent=organizations/*/locations/*}/connections:\x01*\x12\xD7\x01\x0A\x0DGetConnection\x12+.google.privacy.dlp.v2.GetConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"v\xDAA\x04name\x82\xD3\xE4\x93\x02i\x12//v2/{name=projects/*/locations/*/connections/*}Z6\x124/v2/{name=organizations/*/locations/*/connections/*}\x12\xEA\x01\x0A\x0FListConnections\x12-.google.privacy.dlp.v2.ListConnectionsRequest\x1A..google.privacy.dlp.v2.ListConnectionsResponse\"x\xDAA\x06parent\x82\xD3\xE4\x93\x02i\x12//v2/{parent=projects/*/locations/*}/connectionsZ6\x124/v2/{parent=organizations/*/locations/*}/connections\x12\xFF\x01\x0A\x11SearchConnections\x12/.google.privacy.dlp.v2.SearchConnectionsRequest\x1A0.google.privacy.dlp.v2.SearchConnectionsResponse\"\x86\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02w\x126/v2/{parent=projects/*/locations/*}/connections:searchZ=\x12;/v2/{parent=organizations/*/locations/*}/connections:search\x12\xD2\x01\x0A\x10DeleteConnection\x12..google.privacy.dlp.v2.DeleteConnectionRequest\x1A\x16.google.protobuf.Empty\"v\xDAA\x04name\x82\xD3\xE4\x93\x02i*//v2/{name=projects/*/locations/*/connections/*}Z6*4/v2/{name=organizations/*/locations/*/connections/*}\x12\xE3\x01\x0A\x10UpdateConnection\x12..google.privacy.dlp.v2.UpdateConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"|\xDAA\x04name\x82\xD3\xE4\x93\x02o2//v2/{name=projects/*/locations/*/connections/*}:\x01*Z924/v2/{name=organizations/*/locations/*/connections/*}:\x01*\x1AF\xCAA\x12dlp.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xEB\x02\x0A\x19com.google.privacy.dlp.v2B\x08DlpProtoP\x01Z)cloud.google.com/go/dlp/apiv2/dlppb;dlppb\xAA\x02\x13Google.Cloud.Dlp.V2\xCA\x02\x13Google\\Cloud\\Dlp\\V2\xEA\x02\x16Google::Cloud::Dlp::V2\xEAAr\x0A\x1Ddlp.googleapis.com/DlpContent\x12\x1Dprojects/{project}/dlpContent\x122projects/{project}/locations/{location}/dlpContent\xEAA\\\x0A'dlp.googleapis.com/OrganizationLocation\x121organizations/{organization}/locations/{location}b\x06proto3" + "\x0A\x93\xE6\x05\x0A\x1Fgoogle/privacy/dlp/v2/dlp.proto\x12\x15google.privacy.dlp.v2\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/privacy/dlp/v2/storage.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\x1A\x16google/type/date.proto\x1A\x1Bgoogle/type/dayofweek.proto\x1A\x1Bgoogle/type/timeofday.proto\"G\x0A\x10ExcludeInfoTypes\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\xA8\x01\x0A\x10ExcludeByHotword\x12B\x0A\x0Dhotword_regex\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\x0A\x09proximity\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\"\x9A\x01\x0A\x16ExcludeByImageFindings\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12K\x0A\x16image_containment_type\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.ImageContainmentType\"\xBB\x03\x0A\x0DExclusionRule\x12F\x0A\x0Adictionary\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12E\x0A\x12exclude_info_types\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.ExcludeInfoTypesH\x00\x12E\x0A\x12exclude_by_hotword\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.ExcludeByHotwordH\x00\x12R\x0A\x19exclude_by_image_findings\x18\x06 \x01(\x0B2-.google.privacy.dlp.v2.ExcludeByImageFindingsH\x00\x12:\x0A\x0Dmatching_type\x18\x04 \x01(\x0E2#.google.privacy.dlp.v2.MatchingTypeB\x06\x0A\x04type\"\xC7\x01\x0A\x19AdjustByMatchingInfoTypes\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12:\x0A\x0Dmatching_type\x18\x03 \x01(\x0E2#.google.privacy.dlp.v2.MatchingType\"\xD4\x01\x0A\x15AdjustByImageFindings\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12K\x0A\x16image_containment_type\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.ImageContainmentType\"\xB4\x02\x0A\x0EAdjustmentRule\x12Y\x0A\x1Dadjust_by_matching_info_types\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.AdjustByMatchingInfoTypesH\x00\x12P\x0A\x18adjust_by_image_findings\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.AdjustByImageFindingsH\x00\x12g\x0A\x15likelihood_adjustment\x18\x02 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x0C\x0A\x0Aconditions\"\xF3\x01\x0A\x0EInspectionRule\x12W\x0A\x0Chotword_rule\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x12>\x0A\x0Eexclusion_rule\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.ExclusionRuleH\x00\x12@\x0A\x0Fadjustment_rule\x18\x03 \x01(\x0B2%.google.privacy.dlp.v2.AdjustmentRuleH\x00B\x06\x0A\x04type\"~\x0A\x11InspectionRuleSet\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x124\x0A\x05rules\x18\x02 \x03(\x0B2%.google.privacy.dlp.v2.InspectionRule\"\xAC\x07\x0A\x0DInspectConfig\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12]\x0A\x1Cmin_likelihood_per_info_type\x18\x0B \x03(\x0B27.google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood\x12B\x0A\x06limits\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.InspectConfig.FindingLimits\x12\x15\x0A\x0Dinclude_quote\x18\x04 \x01(\x08\x12\x1A\x0A\x12exclude_info_types\x18\x05 \x01(\x08\x12@\x0A\x11custom_info_types\x18\x06 \x03(\x0B2%.google.privacy.dlp.v2.CustomInfoType\x12=\x0A\x0Fcontent_options\x18\x08 \x03(\x0E2\$.google.privacy.dlp.v2.ContentOption\x12:\x0A\x08rule_set\x18\x0A \x03(\x0B2(.google.privacy.dlp.v2.InspectionRuleSet\x1A\x83\x01\x0A\x12InfoTypeLikelihood\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x129\x0A\x0Emin_likelihood\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x1A\x91\x02\x0A\x0DFindingLimits\x12\x1D\x0A\x15max_findings_per_item\x18\x01 \x01(\x05\x12 \x0A\x18max_findings_per_request\x18\x02 \x01(\x05\x12d\x0A\x1Amax_findings_per_info_type\x18\x03 \x03(\x0B2@.google.privacy.dlp.v2.InspectConfig.FindingLimits.InfoTypeLimit\x1AY\x0A\x0DInfoTypeLimit\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x14\x0A\x0Cmax_findings\x18\x02 \x01(\x05\"\xF9\x02\x0A\x0FByteContentItem\x12>\x0A\x04type\x18\x01 \x01(\x0E20.google.privacy.dlp.v2.ByteContentItem.BytesType\x12\x0C\x0A\x04data\x18\x02 \x01(\x0C\"\x97\x02\x0A\x09BytesType\x12\x1A\x0A\x16BYTES_TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05IMAGE\x10\x06\x12\x0E\x0A\x0AIMAGE_JPEG\x10\x01\x12\x0D\x0A\x09IMAGE_BMP\x10\x02\x12\x0D\x0A\x09IMAGE_PNG\x10\x03\x12\x0D\x0A\x09IMAGE_SVG\x10\x04\x12\x0D\x0A\x09TEXT_UTF8\x10\x05\x12\x11\x0A\x0DWORD_DOCUMENT\x10\x07\x12\x07\x0A\x03PDF\x10\x08\x12\x17\x0A\x13POWERPOINT_DOCUMENT\x10\x09\x12\x12\x0A\x0EEXCEL_DOCUMENT\x10\x0A\x12\x08\x0A\x04AVRO\x10\x0B\x12\x07\x0A\x03CSV\x10\x0C\x12\x07\x0A\x03TSV\x10\x0D\x12\x09\x0A\x05AUDIO\x10\x0F\x12\x09\x0A\x05VIDEO\x10\x10\x12\x0E\x0A\x0AEXECUTABLE\x10\x11\x12\x0C\x0A\x08AI_MODEL\x10\x12\"\xDD\x02\x0A\x0BContentItem\x12\x0F\x0A\x05value\x18\x03 \x01(\x09H\x00\x12-\x0A\x05table\x18\x04 \x01(\x0B2\x1C.google.privacy.dlp.v2.TableH\x00\x12;\x0A\x09byte_item\x18\x05 \x01(\x0B2&.google.privacy.dlp.v2.ByteContentItemH\x00\x12;\x0A\x0Cconversation\x18\x07 \x01(\x0B2#.google.privacy.dlp.v2.ConversationH\x00\x12E\x0A\x12batch_content_item\x18\x08 \x01(\x0B2'.google.privacy.dlp.v2.BatchContentItemH\x00\x12@\x0A\x10content_metadata\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.ContentMetadataB\x0B\x0A\x09data_item\"\x92\x01\x0A\x0FContentMetadata\x12C\x0A\x0Aproperties\x18\x02 \x03(\x0B2/.google.privacy.dlp.v2.KeyValueMetadataProperty\x12:\x0A\x0Bfile_labels\x18\x03 \x03(\x0B2 .google.privacy.dlp.v2.FileLabelB\x03\xE0A\x01\"L\x0A\x0CConversation\x12<\x0A\x08messages\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.ConversationMessage\"\xD3\x01\x0A\x13ConversationMessage\x12\x0F\x0A\x07content\x18\x01 \x01(\x09\x12L\x0A\x0Cmessage_type\x18\x02 \x01(\x0E26.google.privacy.dlp.v2.ConversationMessage.MessageType\x12\x16\x0A\x0Eparticipant_id\x18\x03 \x01(\x09\"E\x0A\x0BMessageType\x12\x1C\x0A\x18MESSAGE_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CONTENT\x10\x01\x12\x0B\x0A\x07CONTEXT\x10\x02\"g\x0A\x10BatchContentItem\x12J\x0A\x12string_value_batch\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.StringValueBatchB\x03\xE0A\x01H\x00B\x07\x0A\x05batch\"'\x0A\x10StringValueBatch\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x01\"\x9D\x01\x0A\x05Table\x12/\x0A\x07headers\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12.\x0A\x04rows\x18\x02 \x03(\x0B2 .google.privacy.dlp.v2.Table.Row\x1A3\x0A\x03Row\x12,\x0A\x06values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\"6\x0A\x18KeyValueMetadataProperty\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09\"\xD5\x03\x0A\x09FileLabel\x12V\x0A\x11sensitivity_label\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.FileLabel.SensitivityLabelMetadataH\x00\x12W\x0A\x12google_drive_label\x18\x02 \x01(\x0B29.google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadataH\x00\x1A-\x0A\x18SensitivityLabelMetadata\x12\x11\x0A\x04guid\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xDF\x01\x0A\x18GoogleDriveLabelMetadata\x12\x10\x0A\x08label_id\x18\x01 \x01(\x09\x12b\x0A\x0Clabel_fields\x18\x02 \x03(\x0B2L.google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata\x1AM\x0A\x12LabelFieldMetadata\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12+\x0A\x05value\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x06\x0A\x04type\"]\x0A\x0DInspectResult\x120\x0A\x08findings\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.Finding\x12\x1A\x0A\x12findings_truncated\x18\x02 \x01(\x08\"\xDF\x05\x0A\x07Finding\x12\x0C\x0A\x04name\x18\x0E \x01(\x09\x12\x0D\x0A\x05quote\x18\x01 \x01(\x09\x122\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x125\x0A\x0Alikelihood\x18\x03 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x121\x0A\x08location\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.Location\x12/\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x124\x0A\x0Aquote_info\x18\x07 \x01(\x0B2 .google.privacy.dlp.v2.QuoteInfo\x125\x0A\x0Dresource_name\x18\x08 \x01(\x09B\x1E\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x128\x0A\x0Ctrigger_name\x18\x09 \x01(\x09B\"\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x12:\x0A\x06labels\x18\x0A \x03(\x0B2*.google.privacy.dlp.v2.Finding.LabelsEntry\x123\x0A\x0Fjob_create_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.Timestamp\x120\x0A\x08job_name\x18\x0D \x01(\x09B\x1E\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x12\x12\x0A\x0Afinding_id\x18\x0F \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:[\xEAAX\x0A\x1Adlp.googleapis.com/Finding\x12:projects/{project}/locations/{location}/findings/{finding}\"\xEB\x01\x0A\x08Location\x120\x0A\x0Abyte_range\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Range\x125\x0A\x0Fcodepoint_range\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Range\x12A\x0A\x11content_locations\x18\x07 \x03(\x0B2&.google.privacy.dlp.v2.ContentLocation\x123\x0A\x09container\x18\x08 \x01(\x0B2 .google.privacy.dlp.v2.Container\"\xB4\x04\x0A\x0FContentLocation\x12\x16\x0A\x0Econtainer_name\x18\x01 \x01(\x09\x12@\x0A\x0Frecord_location\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.RecordLocationH\x00\x12>\x0A\x0Eimage_location\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.ImageLocationH\x00\x12D\x0A\x11document_location\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.DocumentLocationH\x00\x12D\x0A\x11metadata_location\x18\x08 \x01(\x0B2'.google.privacy.dlp.v2.MetadataLocationH\x00\x12L\x0A\x15conversation_location\x18\x0A \x01(\x0B2+.google.privacy.dlp.v2.ConversationLocationH\x00\x12M\x0A\x16batch_content_location\x18\x0B \x01(\x0B2+.google.privacy.dlp.v2.BatchContentLocationH\x00\x127\x0A\x13container_timestamp\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x19\x0A\x11container_version\x18\x07 \x01(\x09B\x0A\x0A\x08location\"\x9B\x01\x0A\x14ConversationLocation\x12\x17\x0A\x0Dmessage_index\x18\x01 \x01(\x05H\x00\x12O\x0A\x0Call_messages\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.ConversationLocation.AllMessagesH\x00\x1A\x0D\x0A\x0BAllMessagesB\x0A\x0A\x08location\"*\x0A\x14BatchContentLocation\x12\x12\x0A\x0Aitem_index\x18\x01 \x01(\x05\"\xE6\x01\x0A\x10MetadataLocation\x121\x0A\x04type\x18\x01 \x01(\x0E2#.google.privacy.dlp.v2.MetadataType\x12D\x0A\x0Dstorage_label\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.StorageMetadataLabelH\x00\x12P\x0A\x18key_value_metadata_label\x18\x04 \x01(\x0B2,.google.privacy.dlp.v2.KeyValueMetadataLabelH\x00B\x07\x0A\x05label\"#\x0A\x14StorageMetadataLabel\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\"\$\x0A\x15KeyValueMetadataLabel\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\"'\x0A\x10DocumentLocation\x12\x13\x0A\x0Bfile_offset\x18\x01 \x01(\x03\"\xB6\x01\x0A\x0ERecordLocation\x124\x0A\x0Arecord_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.RecordKey\x120\x0A\x08field_id\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12<\x0A\x0Etable_location\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.TableLocation\"\"\x0A\x0DTableLocation\x12\x11\x0A\x09row_index\x18\x01 \x01(\x03\"\xAC\x01\x0A\x09Container\x12\x0C\x0A\x04type\x18\x01 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12\x11\x0A\x09full_path\x18\x03 \x01(\x09\x12\x11\x0A\x09root_path\x18\x04 \x01(\x09\x12\x15\x0A\x0Drelative_path\x18\x05 \x01(\x09\x12/\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x0F\x0A\x07version\x18\x07 \x01(\x09\"#\x0A\x05Range\x12\x0D\x0A\x05start\x18\x01 \x01(\x03\x12\x0B\x0A\x03end\x18\x02 \x01(\x03\"K\x0A\x0DImageLocation\x12:\x0A\x0Ebounding_boxes\x18\x01 \x03(\x0B2\".google.privacy.dlp.v2.BoundingBox\"G\x0A\x0BBoundingBox\x12\x0B\x0A\x03top\x18\x01 \x01(\x05\x12\x0C\x0A\x04left\x18\x02 \x01(\x05\x12\x0D\x0A\x05width\x18\x03 \x01(\x05\x12\x0E\x0A\x06height\x18\x04 \x01(\x05\"\xB3\x04\x0A\x12RedactImageRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12\x13\x0A\x0Blocation_id\x18\x08 \x01(\x09\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12_\x0A\x17image_redaction_configs\x18\x05 \x03(\x0B2>.google.privacy.dlp.v2.RedactImageRequest.ImageRedactionConfig\x12\x18\x0A\x10include_findings\x18\x06 \x01(\x08\x129\x0A\x09byte_item\x18\x07 \x01(\x0B2&.google.privacy.dlp.v2.ByteContentItem\x12\x18\x0A\x10inspect_template\x18\x09 \x01(\x09\x12\x1B\x0A\x13deidentify_template\x18\x0A \x01(\x09\x1A\xA8\x01\x0A\x14ImageRedactionConfig\x124\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x19\x0A\x0Fredact_all_text\x18\x02 \x01(\x08H\x00\x125\x0A\x0Fredaction_color\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.ColorB\x08\x0A\x06target\"1\x0A\x05Color\x12\x0B\x0A\x03red\x18\x01 \x01(\x02\x12\x0D\x0A\x05green\x18\x02 \x01(\x02\x12\x0C\x0A\x04blue\x18\x03 \x01(\x02\"\x83\x01\x0A\x13RedactImageResponse\x12\x16\x0A\x0Eredacted_image\x18\x01 \x01(\x0C\x12\x16\x0A\x0Eextracted_text\x18\x02 \x01(\x09\x12<\x0A\x0Einspect_result\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectResult\"\xD8\x02\x0A\x18DeidentifyContentRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12B\x0A\x11deidentify_config\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig\x12<\x0A\x0Einspect_config\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x04 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12 \x0A\x18deidentify_template_name\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"\x8E\x01\x0A\x19DeidentifyContentResponse\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12?\x0A\x08overview\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.TransformationOverview\"\xDB\x02\x0A\x18ReidentifyContentRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12B\x0A\x11reidentify_config\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig\x12<\x0A\x0Einspect_config\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x04 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12 \x0A\x18reidentify_template_name\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"\x8E\x01\x0A\x19ReidentifyContentResponse\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12?\x0A\x08overview\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.TransformationOverview\"\xEF\x01\x0A\x15InspectContentRequest\x122\x0A\x06parent\x18\x01 \x01(\x09B\"\xFAA\x1F\x12\x1Ddlp.googleapis.com/DlpContent\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x120\x0A\x04item\x18\x03 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12\x1D\x0A\x15inspect_template_name\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"N\x0A\x16InspectContentResponse\x124\x0A\x06result\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.InspectResult\"\xF8\x02\x0A\x13OutputStorageConfig\x125\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableH\x00\x12?\x0A\x0Cstorage_path\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePathH\x00\x12N\x0A\x0Doutput_schema\x18\x03 \x01(\x0E27.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema\"\x90\x01\x0A\x0COutputSchema\x12\x1D\x0A\x19OUTPUT_SCHEMA_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DBASIC_COLUMNS\x10\x01\x12\x0F\x0A\x0BGCS_COLUMNS\x10\x02\x12\x15\x0A\x11DATASTORE_COLUMNS\x10\x03\x12\x15\x0A\x11BIG_QUERY_COLUMNS\x10\x04\x12\x0F\x0A\x0BALL_COLUMNS\x10\x05B\x06\x0A\x04type\"R\x0A\x0DInfoTypeStats\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x0D\x0A\x05count\x18\x02 \x01(\x03\"\xCA\x04\x0A\x18InspectDataSourceDetails\x12[\x0A\x11requested_options\x18\x02 \x01(\x0B2@.google.privacy.dlp.v2.InspectDataSourceDetails.RequestedOptions\x12K\x0A\x06result\x18\x03 \x01(\x0B26.google.privacy.dlp.v2.InspectDataSourceDetails.ResultB\x03\xE0A\x03\x1A\x9F\x01\x0A\x10RequestedOptions\x12N\x0A\x19snapshot_inspect_template\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplateB\x03\xE0A\x03\x12;\x0A\x0Ajob_config\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfig\x1A\xE1\x01\x0A\x06Result\x12\x17\x0A\x0Fprocessed_bytes\x18\x01 \x01(\x03\x12\x1D\x0A\x15total_estimated_bytes\x18\x02 \x01(\x03\x12=\x0A\x0Finfo_type_stats\x18\x03 \x03(\x0B2\$.google.privacy.dlp.v2.InfoTypeStats\x12\x1A\x0A\x12num_rows_processed\x18\x05 \x01(\x03\x12D\x0A\x0Chybrid_stats\x18\x07 \x01(\x0B2..google.privacy.dlp.v2.HybridInspectStatistics\"\xFF\x01\x0A\x1CDataProfileBigQueryRowSchema\x12@\x0A\x0Dtable_profile\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.TableDataProfileH\x00\x12B\x0A\x0Ecolumn_profile\x18\x02 \x01(\x0B2(.google.privacy.dlp.v2.ColumnDataProfileH\x00\x12I\x0A\x12file_store_profile\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfileH\x00B\x0E\x0A\x0Cdata_profile\"`\x0A\x17HybridInspectStatistics\x12\x17\x0A\x0Fprocessed_count\x18\x01 \x01(\x03\x12\x15\x0A\x0Daborted_count\x18\x02 \x01(\x03\x12\x15\x0A\x0Dpending_count\x18\x03 \x01(\x03\"l\x0A\x0DActionDetails\x12P\x0A\x12deidentify_details\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.DeidentifyDataSourceDetailsH\x00B\x09\x0A\x07details\"x\x0A\x19DeidentifyDataSourceStats\x12\x19\x0A\x11transformed_bytes\x18\x01 \x01(\x03\x12\x1C\x0A\x14transformation_count\x18\x02 \x01(\x03\x12\"\x0A\x1Atransformation_error_count\x18\x03 \x01(\x03\"\xF2\x03\x0A\x1BDeidentifyDataSourceDetails\x12h\x0A\x11requested_options\x18\x01 \x01(\x0B2M.google.privacy.dlp.v2.DeidentifyDataSourceDetails.RequestedDeidentifyOptions\x12J\x0A\x10deidentify_stats\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DeidentifyDataSourceStats\x1A\x9C\x02\x0A\x1ARequestedDeidentifyOptions\x12O\x0A\x1Csnapshot_deidentify_template\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12Z\x0A'snapshot_structured_deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12Q\x0A\x1Esnapshot_image_redact_template\x18\x03 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\"\xDF\x01\x0A\x0FLocationSupport\x12Z\x0A\x15regionalization_scope\x18\x01 \x01(\x0E2;.google.privacy.dlp.v2.LocationSupport.RegionalizationScope\x12\x11\x0A\x09locations\x18\x02 \x03(\x09\"]\x0A\x14RegionalizationScope\x12%\x0A!REGIONALIZATION_SCOPE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08REGIONAL\x10\x01\x12\x10\x0A\x0CANY_LOCATION\x10\x02\"\x9B\x05\x0A\x13InfoTypeDescription\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12@\x0A\x0Csupported_by\x18\x03 \x03(\x0E2*.google.privacy.dlp.v2.InfoTypeSupportedBy\x12\x13\x0A\x0Bdescription\x18\x04 \x01(\x09\x12@\x0A\x10location_support\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.LocationSupport\x12\x0F\x0A\x07example\x18\x08 \x01(\x09\x12;\x0A\x08versions\x18\x09 \x03(\x0B2).google.privacy.dlp.v2.VersionDescription\x12;\x0A\x0Acategories\x18\x0A \x03(\x0B2'.google.privacy.dlp.v2.InfoTypeCategory\x12B\x0A\x11sensitivity_score\x18\x0B \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12\x1B\x0A\x13specific_info_types\x18\x0C \x03(\x09\x12V\x0A\x0Dlaunch_status\x18\x0D \x01(\x0E2?.google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus\"\x82\x01\x0A\x14InfoTypeLaunchStatus\x12'\x0A#INFO_TYPE_LAUNCH_STATUS_UNSPECIFIED\x10\x00\x12\x18\x0A\x14GENERAL_AVAILABILITY\x10\x01\x12\x12\x0A\x0EPUBLIC_PREVIEW\x10\x02\x12\x13\x0A\x0FPRIVATE_PREVIEW\x10\x03\"\x90\x0A\x0A\x10InfoTypeCategory\x12U\x0A\x11location_category\x18\x01 \x01(\x0E28.google.privacy.dlp.v2.InfoTypeCategory.LocationCategoryH\x00\x12U\x0A\x11industry_category\x18\x02 \x01(\x0E28.google.privacy.dlp.v2.InfoTypeCategory.IndustryCategoryH\x00\x12M\x0A\x0Dtype_category\x18\x03 \x01(\x0E24.google.privacy.dlp.v2.InfoTypeCategory.TypeCategoryH\x00\"\xEF\x05\x0A\x10LocationCategory\x12\x18\x0A\x14LOCATION_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06GLOBAL\x10\x01\x12\x0D\x0A\x09ARGENTINA\x10\x02\x12\x0B\x0A\x07ARMENIA\x103\x12\x0D\x0A\x09AUSTRALIA\x10\x03\x12\x0B\x0A\x07AUSTRIA\x105\x12\x0E\x0A\x0AAZERBAIJAN\x100\x12\x0B\x0A\x07BELARUS\x102\x12\x0B\x0A\x07BELGIUM\x10\x04\x12\x0A\x0A\x06BRAZIL\x10\x05\x12\x0A\x0A\x06CANADA\x10\x06\x12\x09\x0A\x05CHILE\x10\x07\x12\x09\x0A\x05CHINA\x10\x08\x12\x0C\x0A\x08COLOMBIA\x10\x09\x12\x0B\x0A\x07CROATIA\x10*\x12\x0B\x0A\x07CZECHIA\x104\x12\x0B\x0A\x07DENMARK\x10\x0A\x12\x0A\x0A\x06FRANCE\x10\x0B\x12\x0B\x0A\x07FINLAND\x10\x0C\x12\x0B\x0A\x07GERMANY\x10\x0D\x12\x0D\x0A\x09HONG_KONG\x10\x0E\x12\x09\x0A\x05INDIA\x10\x0F\x12\x0D\x0A\x09INDONESIA\x10\x10\x12\x0B\x0A\x07IRELAND\x10\x11\x12\x0A\x0A\x06ISRAEL\x10\x12\x12\x09\x0A\x05ITALY\x10\x13\x12\x09\x0A\x05JAPAN\x10\x14\x12\x0E\x0A\x0AKAZAKHSTAN\x10/\x12\x09\x0A\x05KOREA\x10\x15\x12\x0A\x0A\x06MEXICO\x10\x16\x12\x13\x0A\x0FTHE_NETHERLANDS\x10\x17\x12\x0F\x0A\x0BNEW_ZEALAND\x10)\x12\x0A\x0A\x06NORWAY\x10\x18\x12\x0C\x0A\x08PARAGUAY\x10\x19\x12\x08\x0A\x04PERU\x10\x1A\x12\x0A\x0A\x06POLAND\x10\x1B\x12\x0C\x0A\x08PORTUGAL\x10\x1C\x12\x0A\x0A\x06RUSSIA\x10,\x12\x0D\x0A\x09SINGAPORE\x10\x1D\x12\x10\x0A\x0CSOUTH_AFRICA\x10\x1E\x12\x09\x0A\x05SPAIN\x10\x1F\x12\x0A\x0A\x06SWEDEN\x10 \x12\x0F\x0A\x0BSWITZERLAND\x10+\x12\x0A\x0A\x06TAIWAN\x10!\x12\x0C\x0A\x08THAILAND\x10\"\x12\x0A\x0A\x06TURKEY\x10#\x12\x0B\x0A\x07UKRAINE\x10-\x12\x12\x0A\x0EUNITED_KINGDOM\x10\$\x12\x11\x0A\x0DUNITED_STATES\x10%\x12\x0B\x0A\x07URUGUAY\x10&\x12\x0E\x0A\x0AUZBEKISTAN\x10.\x12\x0D\x0A\x09VENEZUELA\x10'\x12\x0C\x0A\x08INTERNAL\x10(\"]\x0A\x10IndustryCategory\x12\x18\x0A\x14INDUSTRY_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07FINANCE\x10\x01\x12\x0A\x0A\x06HEALTH\x10\x02\x12\x16\x0A\x12TELECOMMUNICATIONS\x10\x03\"\xA1\x01\x0A\x0CTypeCategory\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03PII\x10\x01\x12\x08\x0A\x04SPII\x10\x02\x12\x0F\x0A\x0BDEMOGRAPHIC\x10\x03\x12\x0E\x0A\x0ACREDENTIAL\x10\x04\x12\x11\x0A\x0DGOVERNMENT_ID\x10\x05\x12\x0C\x0A\x08DOCUMENT\x10\x06\x12\x1A\x0A\x16CONTEXTUAL_INFORMATION\x10\x07\x12\x0A\x0A\x06CUSTOM\x10\x08B\x0A\x0A\x08category\":\x0A\x12VersionDescription\x12\x0F\x0A\x07version\x18\x01 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\"b\x0A\x14ListInfoTypesRequest\x12\x0E\x0A\x06parent\x18\x04 \x01(\x09\x12\x15\x0A\x0Dlanguage_code\x18\x01 \x01(\x09\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x03 \x01(\x09\"W\x0A\x15ListInfoTypesResponse\x12>\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.InfoTypeDescription\"\xC1\x01\x0A\x15RiskAnalysisJobConfig\x12<\x0A\x0Eprivacy_metric\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.PrivacyMetric\x12:\x0A\x0Csource_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12.\x0A\x07actions\x18\x03 \x03(\x0B2\x1D.google.privacy.dlp.v2.Action\"\xBC\x01\x0A\x07QuasiId\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x124\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\x0A\x0Acustom_tag\x18\x03 \x01(\x09H\x00\x12*\x0A\x08inferred\x18\x04 \x01(\x0B2\x16.google.protobuf.EmptyH\x00B\x05\x0A\x03tag\"\xBE\x02\x0A\x10StatisticalTable\x128\x0A\x05table\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableB\x03\xE0A\x02\x12T\x0A\x09quasi_ids\x18\x01 \x03(\x0B2<.google.privacy.dlp.v2.StatisticalTable.QuasiIdentifierFieldB\x03\xE0A\x02\x12?\x0A\x12relative_frequency\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x1AY\x0A\x14QuasiIdentifierField\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Acustom_tag\x18\x02 \x01(\x09\"\x93\x0F\x0A\x0DPrivacyMetric\x12[\x0A\x16numerical_stats_config\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.PrivacyMetric.NumericalStatsConfigH\x00\x12_\x0A\x18categorical_stats_config\x18\x02 \x01(\x0B2;.google.privacy.dlp.v2.PrivacyMetric.CategoricalStatsConfigH\x00\x12S\x0A\x12k_anonymity_config\x18\x03 \x01(\x0B25.google.privacy.dlp.v2.PrivacyMetric.KAnonymityConfigH\x00\x12S\x0A\x12l_diversity_config\x18\x04 \x01(\x0B25.google.privacy.dlp.v2.PrivacyMetric.LDiversityConfigH\x00\x12\\\x0A\x17k_map_estimation_config\x18\x05 \x01(\x0B29.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfigH\x00\x12n\x0A delta_presence_estimation_config\x18\x06 \x01(\x0B2B.google.privacy.dlp.v2.PrivacyMetric.DeltaPresenceEstimationConfigH\x00\x1AE\x0A\x14NumericalStatsConfig\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1AG\x0A\x16CategoricalStatsConfig\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1Ay\x0A\x10KAnonymityConfig\x121\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x122\x0A\x09entity_id\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.EntityId\x1A\x82\x01\x0A\x10LDiversityConfig\x121\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12;\x0A\x13sensitive_attribute\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x1A\x81\x06\x0A\x14KMapEstimationConfig\x12]\x0A\x09quasi_ids\x18\x01 \x03(\x0B2E.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.TaggedFieldB\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x02 \x01(\x09\x12b\x0A\x10auxiliary_tables\x18\x03 \x03(\x0B2H.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable\x1A\xC0\x01\x0A\x0BTaggedField\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x124\x0A\x09info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeH\x00\x12\x14\x0A\x0Acustom_tag\x18\x03 \x01(\x09H\x00\x12*\x0A\x08inferred\x18\x04 \x01(\x0B2\x16.google.protobuf.EmptyH\x00B\x05\x0A\x03tag\x1A\xCD\x02\x0A\x0EAuxiliaryTable\x128\x0A\x05table\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableB\x03\xE0A\x02\x12m\x0A\x09quasi_ids\x18\x01 \x03(\x0B2U.google.privacy.dlp.v2.PrivacyMetric.KMapEstimationConfig.AuxiliaryTable.QuasiIdFieldB\x03\xE0A\x02\x12?\x0A\x12relative_frequency\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x1AQ\x0A\x0CQuasiIdField\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Acustom_tag\x18\x02 \x01(\x09\x1A\xAF\x01\x0A\x1DDeltaPresenceEstimationConfig\x126\x0A\x09quasi_ids\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.QuasiIdB\x03\xE0A\x02\x12\x13\x0A\x0Bregion_code\x18\x02 \x01(\x09\x12A\x0A\x10auxiliary_tables\x18\x03 \x03(\x0B2'.google.privacy.dlp.v2.StatisticalTableB\x06\x0A\x04type\"\xE0\x1F\x0A\x1CAnalyzeDataSourceRiskDetails\x12F\x0A\x18requested_privacy_metric\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.PrivacyMetric\x12D\x0A\x16requested_source_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12o\x0A\x16numerical_stats_result\x18\x03 \x01(\x0B2H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResultB\x03\xE0A\x03H\x00\x12s\x0A\x18categorical_stats_result\x18\x04 \x01(\x0B2J.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResultB\x03\xE0A\x03H\x00\x12g\x0A\x12k_anonymity_result\x18\x05 \x01(\x0B2D.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResultB\x03\xE0A\x03H\x00\x12g\x0A\x12l_diversity_result\x18\x06 \x01(\x0B2D.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResultB\x03\xE0A\x03H\x00\x12p\x0A\x17k_map_estimation_result\x18\x07 \x01(\x0B2H.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResultB\x03\xE0A\x03H\x00\x12\x82\x01\x0A delta_presence_estimation_result\x18\x09 \x01(\x0B2Q.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResultB\x03\xE0A\x03H\x00\x12k\x0A\x11requested_options\x18\x0A \x01(\x0B2P.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.RequestedRiskAnalysisOptions\x1A\xAF\x01\x0A\x14NumericalStatsResult\x12/\x0A\x09min_value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12/\x0A\x09max_value\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x125\x0A\x0Fquantile_values\x18\x04 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x1A\x8D\x03\x0A\x16CategoricalStatsResult\x12\x95\x01\x0A!value_frequency_histogram_buckets\x18\x05 \x03(\x0B2j.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult.CategoricalStatsHistogramBucket\x1A\xDA\x01\x0A\x1FCategoricalStatsHistogramBucket\x12#\x0A\x1Bvalue_frequency_lower_bound\x18\x01 \x01(\x03\x12#\x0A\x1Bvalue_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12<\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2%.google.privacy.dlp.v2.ValueFrequency\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\xB5\x04\x0A\x10KAnonymityResult\x12\x8B\x01\x0A#equivalence_class_histogram_buckets\x18\x05 \x03(\x0B2^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityHistogramBucket\x1At\x0A\x1AKAnonymityEquivalenceClass\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1E\x0A\x16equivalence_class_size\x18\x02 \x01(\x03\x1A\x9C\x02\x0A\x19KAnonymityHistogramBucket\x12*\x0A\"equivalence_class_size_lower_bound\x18\x01 \x01(\x03\x12*\x0A\"equivalence_class_size_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12v\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult.KAnonymityEquivalenceClass\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\xB0\x05\x0A\x10LDiversityResult\x12\x93\x01\x0A+sensitive_value_frequency_histogram_buckets\x18\x05 \x03(\x0B2^.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityHistogramBucket\x1A\xE0\x01\x0A\x1ALDiversityEquivalenceClass\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1E\x0A\x16equivalence_class_size\x18\x02 \x01(\x03\x12%\x0A\x1Dnum_distinct_sensitive_values\x18\x03 \x01(\x03\x12C\x0A\x14top_sensitive_values\x18\x04 \x03(\x0B2%.google.privacy.dlp.v2.ValueFrequency\x1A\xA2\x02\x0A\x19LDiversityHistogramBucket\x12-\x0A%sensitive_value_frequency_lower_bound\x18\x01 \x01(\x03\x12-\x0A%sensitive_value_frequency_upper_bound\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x03 \x01(\x03\x12v\x0A\x0Dbucket_values\x18\x04 \x03(\x0B2_.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult.LDiversityEquivalenceClass\x12\x1A\x0A\x12bucket_value_count\x18\x05 \x01(\x03\x1A\x95\x04\x0A\x14KMapEstimationResult\x12\x8A\x01\x0A\x1Ak_map_estimation_histogram\x18\x01 \x03(\x0B2f.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationHistogramBucket\x1Ar\x0A\x1BKMapEstimationQuasiIdValues\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1B\x0A\x13estimated_anonymity\x18\x02 \x01(\x03\x1A\xFB\x01\x0A\x1DKMapEstimationHistogramBucket\x12\x15\x0A\x0Dmin_anonymity\x18\x01 \x01(\x03\x12\x15\x0A\x0Dmax_anonymity\x18\x02 \x01(\x03\x12\x13\x0A\x0Bbucket_size\x18\x05 \x01(\x03\x12{\x0A\x0Dbucket_values\x18\x06 \x03(\x0B2d.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult.KMapEstimationQuasiIdValues\x12\x1A\x0A\x12bucket_value_count\x18\x07 \x01(\x03\x1A\xE4\x04\x0A\x1DDeltaPresenceEstimationResult\x12\xA5\x01\x0A#delta_presence_estimation_histogram\x18\x01 \x03(\x0B2x.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationHistogramBucket\x1A}\x0A\$DeltaPresenceEstimationQuasiIdValues\x126\x0A\x10quasi_ids_values\x18\x01 \x03(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x1D\x0A\x15estimated_probability\x18\x02 \x01(\x01\x1A\x9B\x02\x0A&DeltaPresenceEstimationHistogramBucket\x12\x17\x0A\x0Fmin_probability\x18\x01 \x01(\x01\x12\x17\x0A\x0Fmax_probability\x18\x02 \x01(\x01\x12\x13\x0A\x0Bbucket_size\x18\x05 \x01(\x03\x12\x8D\x01\x0A\x0Dbucket_values\x18\x06 \x03(\x0B2v.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult.DeltaPresenceEstimationQuasiIdValues\x12\x1A\x0A\x12bucket_value_count\x18\x07 \x01(\x03\x1A`\x0A\x1CRequestedRiskAnalysisOptions\x12@\x0A\x0Ajob_config\x18\x01 \x01(\x0B2,.google.privacy.dlp.v2.RiskAnalysisJobConfigB\x08\x0A\x06result\"L\x0A\x0EValueFrequency\x12+\x0A\x05value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12\x0D\x0A\x05count\x18\x02 \x01(\x03\"\xB3\x02\x0A\x05Value\x12\x17\x0A\x0Dinteger_value\x18\x01 \x01(\x03H\x00\x12\x15\x0A\x0Bfloat_value\x18\x02 \x01(\x01H\x00\x12\x16\x0A\x0Cstring_value\x18\x03 \x01(\x09H\x00\x12\x17\x0A\x0Dboolean_value\x18\x04 \x01(\x08H\x00\x125\x0A\x0Ftimestamp_value\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampH\x00\x12,\x0A\x0Atime_value\x18\x06 \x01(\x0B2\x16.google.type.TimeOfDayH\x00\x12'\x0A\x0Adate_value\x18\x07 \x01(\x0B2\x11.google.type.DateH\x00\x123\x0A\x11day_of_week_value\x18\x08 \x01(\x0E2\x16.google.type.DayOfWeekH\x00B\x06\x0A\x04type\"Q\x0A\x09QuoteInfo\x124\x0A\x09date_time\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.DateTimeH\x00B\x0E\x0A\x0Cparsed_quote\"\xDF\x01\x0A\x08DateTime\x12\x1F\x0A\x04date\x18\x01 \x01(\x0B2\x11.google.type.Date\x12+\x0A\x0Bday_of_week\x18\x02 \x01(\x0E2\x16.google.type.DayOfWeek\x12\$\x0A\x04time\x18\x03 \x01(\x0B2\x16.google.type.TimeOfDay\x12;\x0A\x09time_zone\x18\x04 \x01(\x0B2(.google.privacy.dlp.v2.DateTime.TimeZone\x1A\"\x0A\x08TimeZone\x12\x16\x0A\x0Eoffset_minutes\x18\x01 \x01(\x05\"\xF2\x02\x0A\x10DeidentifyConfig\x12S\x0A\x19info_type_transformations\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.InfoTypeTransformationsH\x00\x12N\x0A\x16record_transformations\x18\x02 \x01(\x0B2,.google.privacy.dlp.v2.RecordTransformationsH\x00\x12L\x0A\x15image_transformations\x18\x04 \x01(\x0B2+.google.privacy.dlp.v2.ImageTransformationsH\x00\x12Y\x0A\x1Dtransformation_error_handling\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.TransformationErrorHandlingB\x10\x0A\x0Etransformation\"\xE5\x04\x0A\x14ImageTransformations\x12S\x0A\x0Atransforms\x18\x02 \x03(\x0B2?.google.privacy.dlp.v2.ImageTransformations.ImageTransformation\x1A\xF7\x03\x0A\x13ImageTransformation\x12p\x0A\x13selected_info_types\x18\x04 \x01(\x0B2Q.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypesH\x00\x12f\x0A\x0Eall_info_types\x18\x05 \x01(\x0B2L.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypesH\x00\x12[\x0A\x08all_text\x18\x06 \x01(\x0B2G.google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllTextH\x00\x125\x0A\x0Fredaction_color\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.Color\x1AM\x0A\x11SelectedInfoTypes\x128\x0A\x0Ainfo_types\x18\x05 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoTypeB\x03\xE0A\x02\x1A\x0E\x0A\x0CAllInfoTypes\x1A\x09\x0A\x07AllTextB\x08\x0A\x06target\"\x85\x02\x0A\x1BTransformationErrorHandling\x12T\x0A\x0Bthrow_error\x18\x01 \x01(\x0B2=.google.privacy.dlp.v2.TransformationErrorHandling.ThrowErrorH\x00\x12d\x0A\x13leave_untransformed\x18\x02 \x01(\x0B2E.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformedH\x00\x1A\x0C\x0A\x0AThrowError\x1A\x14\x0A\x12LeaveUntransformedB\x06\x0A\x04mode\"\xCA\x07\x0A\x17PrimitiveTransformation\x12C\x0A\x0Ereplace_config\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.ReplaceValueConfigH\x00\x12<\x0A\x0Dredact_config\x18\x02 \x01(\x0B2#.google.privacy.dlp.v2.RedactConfigH\x00\x12K\x0A\x15character_mask_config\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.CharacterMaskConfigH\x00\x12Y\x0A\x1Dcrypto_replace_ffx_fpe_config\x18\x04 \x01(\x0B20.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfigH\x00\x12V\x0A\x1Bfixed_size_bucketing_config\x18\x05 \x01(\x0B2/.google.privacy.dlp.v2.FixedSizeBucketingConfigH\x00\x12B\x0A\x10bucketing_config\x18\x06 \x01(\x0B2&.google.privacy.dlp.v2.BucketingConfigH\x00\x12Y\x0A\x1Dreplace_with_info_type_config\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.ReplaceWithInfoTypeConfigH\x00\x12A\x0A\x10time_part_config\x18\x08 \x01(\x0B2%.google.privacy.dlp.v2.TimePartConfigH\x00\x12E\x0A\x12crypto_hash_config\x18\x09 \x01(\x0B2'.google.privacy.dlp.v2.CryptoHashConfigH\x00\x12C\x0A\x11date_shift_config\x18\x0B \x01(\x0B2&.google.privacy.dlp.v2.DateShiftConfigH\x00\x12W\x0A\x1Bcrypto_deterministic_config\x18\x0C \x01(\x0B20.google.privacy.dlp.v2.CryptoDeterministicConfigH\x00\x12S\x0A\x19replace_dictionary_config\x18\x0D \x01(\x0B2..google.privacy.dlp.v2.ReplaceDictionaryConfigH\x00B\x10\x0A\x0Etransformation\"\xDC\x01\x0A\x0ETimePartConfig\x12G\x0A\x0Fpart_to_extract\x18\x01 \x01(\x0E2..google.privacy.dlp.v2.TimePartConfig.TimePart\"\x80\x01\x0A\x08TimePart\x12\x19\x0A\x15TIME_PART_UNSPECIFIED\x10\x00\x12\x08\x0A\x04YEAR\x10\x01\x12\x09\x0A\x05MONTH\x10\x02\x12\x10\x0A\x0CDAY_OF_MONTH\x10\x03\x12\x0F\x0A\x0BDAY_OF_WEEK\x10\x04\x12\x10\x0A\x0CWEEK_OF_YEAR\x10\x05\x12\x0F\x0A\x0BHOUR_OF_DAY\x10\x06\"H\x0A\x10CryptoHashConfig\x124\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKey\"\xC0\x01\x0A\x19CryptoDeterministicConfig\x124\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKey\x12<\x0A\x13surrogate_info_type\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12/\x0A\x07context\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"E\x0A\x12ReplaceValueConfig\x12/\x0A\x09new_value\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\"q\x0A\x17ReplaceDictionaryConfig\x12N\x0A\x09word_list\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00B\x06\x0A\x04type\"\x1B\x0A\x19ReplaceWithInfoTypeConfig\"\x0E\x0A\x0CRedactConfig\"\xB6\x02\x0A\x0DCharsToIgnore\x12\x1C\x0A\x12characters_to_skip\x18\x01 \x01(\x09H\x00\x12_\x0A\x1Bcommon_characters_to_ignore\x18\x02 \x01(\x0E28.google.privacy.dlp.v2.CharsToIgnore.CommonCharsToIgnoreH\x00\"\x97\x01\x0A\x13CommonCharsToIgnore\x12&\x0A\"COMMON_CHARS_TO_IGNORE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07NUMERIC\x10\x01\x12\x14\x0A\x10ALPHA_UPPER_CASE\x10\x02\x12\x14\x0A\x10ALPHA_LOWER_CASE\x10\x03\x12\x0F\x0A\x0BPUNCTUATION\x10\x04\x12\x0E\x0A\x0AWHITESPACE\x10\x05B\x0C\x0A\x0Acharacters\"\xA3\x01\x0A\x13CharacterMaskConfig\x12\x19\x0A\x11masking_character\x18\x01 \x01(\x09\x12\x16\x0A\x0Enumber_to_mask\x18\x02 \x01(\x05\x12\x15\x0A\x0Dreverse_order\x18\x03 \x01(\x08\x12B\x0A\x14characters_to_ignore\x18\x04 \x03(\x0B2\$.google.privacy.dlp.v2.CharsToIgnore\"\xA4\x01\x0A\x18FixedSizeBucketingConfig\x126\x0A\x0Blower_bound\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\x126\x0A\x0Bupper_bound\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\x12\x18\x0A\x0Bbucket_size\x18\x03 \x01(\x01B\x03\xE0A\x02\"\xF0\x01\x0A\x0FBucketingConfig\x12>\x0A\x07buckets\x18\x01 \x03(\x0B2-.google.privacy.dlp.v2.BucketingConfig.Bucket\x1A\x9C\x01\x0A\x06Bucket\x12)\x0A\x03min\x18\x01 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12)\x0A\x03max\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x12<\x0A\x11replacement_value\x18\x03 \x01(\x0B2\x1C.google.privacy.dlp.v2.ValueB\x03\xE0A\x02\"\xF9\x03\x0A\x19CryptoReplaceFfxFpeConfig\x129\x0A\x0Acrypto_key\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKeyB\x03\xE0A\x02\x12/\x0A\x07context\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12c\x0A\x0Fcommon_alphabet\x18\x04 \x01(\x0E2H.google.privacy.dlp.v2.CryptoReplaceFfxFpeConfig.FfxCommonNativeAlphabetH\x00\x12\x19\x0A\x0Fcustom_alphabet\x18\x05 \x01(\x09H\x00\x12\x0F\x0A\x05radix\x18\x06 \x01(\x05H\x00\x12<\x0A\x13surrogate_info_type\x18\x08 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\x94\x01\x0A\x17FfxCommonNativeAlphabet\x12*\x0A&FFX_COMMON_NATIVE_ALPHABET_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07NUMERIC\x10\x01\x12\x0F\x0A\x0BHEXADECIMAL\x10\x02\x12\x1C\x0A\x18UPPER_CASE_ALPHA_NUMERIC\x10\x03\x12\x11\x0A\x0DALPHA_NUMERIC\x10\x04B\x0A\x0A\x08alphabet\"\xD8\x01\x0A\x09CryptoKey\x12>\x0A\x09transient\x18\x01 \x01(\x0B2).google.privacy.dlp.v2.TransientCryptoKeyH\x00\x12>\x0A\x09unwrapped\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.UnwrappedCryptoKeyH\x00\x12A\x0A\x0Bkms_wrapped\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.KmsWrappedCryptoKeyH\x00B\x08\x0A\x06source\"'\x0A\x12TransientCryptoKey\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\"&\x0A\x12UnwrappedCryptoKey\x12\x10\x0A\x03key\x18\x01 \x01(\x0CB\x03\xE0A\x02\"M\x0A\x13KmsWrappedCryptoKey\x12\x18\x0A\x0Bwrapped_key\x18\x01 \x01(\x0CB\x03\xE0A\x02\x12\x1C\x0A\x0Fcrypto_key_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xC2\x01\x0A\x0FDateShiftConfig\x12\x1D\x0A\x10upper_bound_days\x18\x01 \x01(\x05B\x03\xE0A\x02\x12\x1D\x0A\x10lower_bound_days\x18\x02 \x01(\x05B\x03\xE0A\x02\x12/\x0A\x07context\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x126\x0A\x0Acrypto_key\x18\x04 \x01(\x0B2 .google.privacy.dlp.v2.CryptoKeyH\x00B\x08\x0A\x06method\"\xA5\x02\x0A\x17InfoTypeTransformations\x12c\x0A\x0Ftransformations\x18\x01 \x03(\x0B2E.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationB\x03\xE0A\x02\x1A\xA4\x01\x0A\x16InfoTypeTransformation\x123\x0A\x0Ainfo_types\x18\x01 \x03(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12U\x0A\x18primitive_transformation\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformationB\x03\xE0A\x02\"\xC0\x02\x0A\x13FieldTransformation\x123\x0A\x06fields\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x129\x0A\x09condition\x18\x03 \x01(\x0B2&.google.privacy.dlp.v2.RecordCondition\x12R\x0A\x18primitive_transformation\x18\x04 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformationH\x00\x12S\x0A\x19info_type_transformations\x18\x05 \x01(\x0B2..google.privacy.dlp.v2.InfoTypeTransformationsH\x00B\x10\x0A\x0Etransformation\"\xA9\x01\x0A\x15RecordTransformations\x12I\x0A\x15field_transformations\x18\x01 \x03(\x0B2*.google.privacy.dlp.v2.FieldTransformation\x12E\x0A\x13record_suppressions\x18\x02 \x03(\x0B2(.google.privacy.dlp.v2.RecordSuppression\"N\x0A\x11RecordSuppression\x129\x0A\x09condition\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.RecordCondition\"\xDC\x04\x0A\x0FRecordCondition\x12G\x0A\x0Bexpressions\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.RecordCondition.Expressions\x1A\xAE\x01\x0A\x09Condition\x122\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldIdB\x03\xE0A\x02\x12@\x0A\x08operator\x18\x03 \x01(\x0E2).google.privacy.dlp.v2.RelationalOperatorB\x03\xE0A\x02\x12+\x0A\x05value\x18\x04 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value\x1AR\x0A\x0AConditions\x12D\x0A\x0Aconditions\x18\x01 \x03(\x0B20.google.privacy.dlp.v2.RecordCondition.Condition\x1A\xFA\x01\x0A\x0BExpressions\x12\\\x0A\x10logical_operator\x18\x01 \x01(\x0E2B.google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator\x12G\x0A\x0Aconditions\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.RecordCondition.ConditionsH\x00\"<\x0A\x0FLogicalOperator\x12 \x0A\x1CLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x07\x0A\x03AND\x10\x01B\x06\x0A\x04type\"\x83\x01\x0A\x16TransformationOverview\x12\x19\x0A\x11transformed_bytes\x18\x02 \x01(\x03\x12N\x0A\x18transformation_summaries\x18\x03 \x03(\x0B2,.google.privacy.dlp.v2.TransformationSummary\"\x9F\x05\x0A\x15TransformationSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12-\x0A\x05field\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12F\x0A\x0Etransformation\x18\x03 \x01(\x0B2..google.privacy.dlp.v2.PrimitiveTransformation\x12I\x0A\x15field_transformations\x18\x05 \x03(\x0B2*.google.privacy.dlp.v2.FieldTransformation\x12A\x0A\x0Frecord_suppress\x18\x06 \x01(\x0B2(.google.privacy.dlp.v2.RecordSuppression\x12K\x0A\x07results\x18\x04 \x03(\x0B2:.google.privacy.dlp.v2.TransformationSummary.SummaryResult\x12\x19\x0A\x11transformed_bytes\x18\x07 \x01(\x03\x1A\x84\x01\x0A\x0DSummaryResult\x12\x0D\x0A\x05count\x18\x01 \x01(\x03\x12S\x0A\x04code\x18\x02 \x01(\x0E2E.google.privacy.dlp.v2.TransformationSummary.TransformationResultCode\x12\x0F\x0A\x07details\x18\x03 \x01(\x09\"^\x0A\x18TransformationResultCode\x12*\x0A&TRANSFORMATION_RESULT_CODE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07SUCCESS\x10\x01\x12\x09\x0A\x05ERROR\x10\x02\"\xB0\x01\x0A\x19TransformationDescription\x127\x0A\x04type\x18\x01 \x01(\x0E2).google.privacy.dlp.v2.TransformationType\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12\x11\x0A\x09condition\x18\x03 \x01(\x09\x122\x0A\x09info_type\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"\xC6\x02\x0A\x15TransformationDetails\x12\x15\x0A\x0Dresource_name\x18\x01 \x01(\x09\x12\x16\x0A\x0Econtainer_name\x18\x02 \x01(\x09\x12H\x0A\x0Etransformation\x18\x03 \x03(\x0B20.google.privacy.dlp.v2.TransformationDescription\x12I\x0A\x0Estatus_details\x18\x04 \x01(\x0B21.google.privacy.dlp.v2.TransformationResultStatus\x12\x19\x0A\x11transformed_bytes\x18\x05 \x01(\x03\x12N\x0A\x17transformation_location\x18\x06 \x01(\x0B2-.google.privacy.dlp.v2.TransformationLocation\"\xD9\x01\x0A\x16TransformationLocation\x12\x14\x0A\x0Afinding_id\x18\x01 \x01(\x09H\x00\x12L\x0A\x15record_transformation\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.RecordTransformationH\x00\x12J\x0A\x0Econtainer_type\x18\x03 \x01(\x0E22.google.privacy.dlp.v2.TransformationContainerTypeB\x0F\x0A\x0Dlocation_type\"\x9C\x01\x0A\x14RecordTransformation\x120\x0A\x08field_id\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x127\x0A\x13container_timestamp\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x19\x0A\x11container_version\x18\x03 \x01(\x09\"\x94\x01\x0A\x1ATransformationResultStatus\x12Q\x0A\x12result_status_type\x18\x01 \x01(\x0E25.google.privacy.dlp.v2.TransformationResultStatusType\x12#\x0A\x07details\x18\x02 \x01(\x0B2\x12.google.rpc.Status\"c\x0A\"TransformationDetailsStorageConfig\x125\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTableH\x00B\x06\x0A\x04type\"U\x0A\x08Schedule\x12?\x0A\x1Arecurrence_period_duration\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationH\x00B\x08\x0A\x06option\"\x08\x0A\x06Manual\"\xF6\x04\x0A\x0FInspectTemplate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12<\x0A\x0Einspect_config\x18\x06 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x122\x0A%allow_limited_availability_info_types\x18\x08 \x01(\x08B\x03\xE0A\x01:\xC6\x02\xEAA\xC2\x02\x0A\"dlp.googleapis.com/InspectTemplate\x12@organizations/{organization}/inspectTemplates/{inspect_template}\x126projects/{project}/inspectTemplates/{inspect_template}\x12Uorganizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}\x12Kprojects/{project}/locations/{location}/inspectTemplates/{inspect_template}\"\xE6\x04\x0A\x12DeidentifyTemplate\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x11deidentify_config\x18\x06 \x01(\x0B2'.google.privacy.dlp.v2.DeidentifyConfig:\xE1\x02\xEAA\xDD\x02\x0A%dlp.googleapis.com/DeidentifyTemplate\x12Forganizations/{organization}/deidentifyTemplates/{deidentify_template}\x12\x0A\x0Binspect_job\x18\x04 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12;\x0A\x08triggers\x18\x05 \x03(\x0B2).google.privacy.dlp.v2.JobTrigger.Trigger\x121\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dlast_run_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12=\x0A\x06status\x18\x0A \x01(\x0E2(.google.privacy.dlp.v2.JobTrigger.StatusB\x03\xE0A\x02\x1Az\x0A\x07Trigger\x123\x0A\x08schedule\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.ScheduleH\x00\x12/\x0A\x06manual\x18\x02 \x01(\x0B2\x1D.google.privacy.dlp.v2.ManualH\x00B\x09\x0A\x07trigger\"H\x0A\x06Status\x12\x16\x0A\x12STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07HEALTHY\x10\x01\x12\x0A\x0A\x06PAUSED\x10\x02\x12\x0D\x0A\x09CANCELLED\x10\x03:\x94\x01\xEAA\x90\x01\x0A\x1Ddlp.googleapis.com/JobTrigger\x12,projects/{project}/jobTriggers/{job_trigger}\x12Aprojects/{project}/locations/{location}/jobTriggers/{job_trigger}B\x05\x0A\x03job\"\x82\x0A\x0A\x06Action\x12C\x0A\x0Dsave_findings\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.Action.SaveFindingsH\x00\x12@\x0A\x07pub_sub\x18\x02 \x01(\x0B2-.google.privacy.dlp.v2.Action.PublishToPubSubH\x00\x12U\x0A\x17publish_summary_to_cscc\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.Action.PublishSummaryToCsccH\x00\x12u\x0A&publish_findings_to_cloud_data_catalog\x18\x05 \x01(\x0B2?.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalogB\x02\x18\x01H\x00\x12n\x0A\$publish_findings_to_dataplex_catalog\x18\x0A \x01(\x0B2>.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalogH\x00\x12>\x0A\x0Adeidentify\x18\x07 \x01(\x0B2(.google.privacy.dlp.v2.Action.DeidentifyH\x00\x12V\x0A\x17job_notification_emails\x18\x08 \x01(\x0B23.google.privacy.dlp.v2.Action.JobNotificationEmailsH\x00\x12T\x0A\x16publish_to_stackdriver\x18\x09 \x01(\x0B22.google.privacy.dlp.v2.Action.PublishToStackdriverH\x00\x1AQ\x0A\x0CSaveFindings\x12A\x0A\x0Doutput_config\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.OutputStorageConfig\x1A \x0A\x0FPublishToPubSub\x12\x0D\x0A\x05topic\x18\x01 \x01(\x09\x1A\x16\x0A\x14PublishSummaryToCscc\x1A#\x0A!PublishFindingsToCloudDataCatalog\x1A\"\x0A PublishFindingsToDataplexCatalog\x1A\xB3\x02\x0A\x0ADeidentify\x12J\x0A\x15transformation_config\x18\x07 \x01(\x0B2+.google.privacy.dlp.v2.TransformationConfig\x12h\x0A%transformation_details_storage_config\x18\x03 \x01(\x0B29.google.privacy.dlp.v2.TransformationDetailsStorageConfig\x12#\x0A\x14cloud_storage_output\x18\x09 \x01(\x09B\x03\xE0A\x02H\x00\x12@\x0A\x17file_types_to_transform\x18\x08 \x03(\x0E2\x1F.google.privacy.dlp.v2.FileTypeB\x08\x0A\x06output\x1A\x17\x0A\x15JobNotificationEmails\x1A\x16\x0A\x14PublishToStackdriverB\x08\x0A\x06action\"z\x0A\x14TransformationConfig\x12\x1B\x0A\x13deidentify_template\x18\x01 \x01(\x09\x12&\x0A\x1Estructured_deidentify_template\x18\x02 \x01(\x09\x12\x1D\x0A\x15image_redact_template\x18\x04 \x01(\x09\"\xCB\x01\x0A\x1CCreateInspectTemplateRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/InspectTemplate\x12E\x0A\x10inspect_template\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplateB\x03\xE0A\x02\x12\x13\x0A\x0Btemplate_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xCB\x01\x0A\x1CUpdateInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\x12@\x0A\x10inspect_template\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.InspectTemplate\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"U\x0A\x19GetInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\"\xA7\x01\x0A\x1BListInspectTemplatesRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/InspectTemplate\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"z\x0A\x1CListInspectTemplatesResponse\x12A\x0A\x11inspect_templates\x18\x01 \x03(\x0B2&.google.privacy.dlp.v2.InspectTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"X\x0A\x1CDeleteInspectTemplateRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/InspectTemplate\"\xB6\x01\x0A\x17CreateJobTriggerRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/JobTrigger\x12;\x0A\x0Bjob_trigger\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.JobTriggerB\x03\xE0A\x02\x12\x12\x0A\x0Atrigger_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"P\x0A\x19ActivateJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xB7\x01\x0A\x17UpdateJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x126\x0A\x0Bjob_trigger\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.JobTrigger\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"K\x0A\x14GetJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xB4\x01\x0A\x1CCreateDiscoveryConfigRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/DiscoveryConfig\x12E\x0A\x10discovery_config\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfigB\x03\xE0A\x02\x12\x11\x0A\x09config_id\x18\x03 \x01(\x09\"\xD0\x01\x0A\x1CUpdateDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\x12E\x0A\x10discovery_config\x18\x02 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfigB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"U\x0A\x19GetDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\"\x92\x01\x0A\x1BListDiscoveryConfigsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"dlp.googleapis.com/DiscoveryConfig\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\"z\x0A\x1CListDiscoveryConfigsResponse\x12A\x0A\x11discovery_configs\x18\x01 \x03(\x0B2&.google.privacy.dlp.v2.DiscoveryConfig\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"X\x0A\x1CDeleteDiscoveryConfigRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"dlp.googleapis.com/DiscoveryConfig\"\xF6\x01\x0A\x13CreateDlpJobRequest\x121\x0A\x06parent\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x12\x19dlp.googleapis.com/DlpJob\x12>\x0A\x0Binspect_job\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.InspectJobConfigH\x00\x12@\x0A\x08risk_job\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.RiskAnalysisJobConfigH\x00\x12\x0E\x0A\x06job_id\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09B\x05\x0A\x03job\"\xDE\x01\x0A\x16ListJobTriggersRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/JobTrigger\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\x12/\x0A\x04type\x18\x06 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"k\x0A\x17ListJobTriggersResponse\x127\x0A\x0Cjob_triggers\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.JobTrigger\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"N\x0A\x17DeleteJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\"\xDD\x01\x0A\x10InspectJobConfig\x12<\x0A\x0Estorage_config\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.StorageConfig\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12\x1D\x0A\x15inspect_template_name\x18\x03 \x01(\x09\x12.\x0A\x07actions\x18\x04 \x03(\x0B2\x1D.google.privacy.dlp.v2.Action\"\xF2\x0D\x0A\x11DataProfileAction\x12F\x0A\x0Bexport_data\x18\x01 \x01(\x0B2/.google.privacy.dlp.v2.DataProfileAction.ExportH\x00\x12[\x0A\x14pub_sub_notification\x18\x02 \x01(\x0B2;.google.privacy.dlp.v2.DataProfileAction.PubSubNotificationH\x00\x12[\x0A\x14publish_to_chronicle\x18\x03 \x01(\x0B2;.google.privacy.dlp.v2.DataProfileAction.PublishToChronicleH\x00\x12a\x0A\x0Epublish_to_scc\x18\x04 \x01(\x0B2G.google.privacy.dlp.v2.DataProfileAction.PublishToSecurityCommandCenterH\x00\x12N\x0A\x0Dtag_resources\x18\x08 \x01(\x0B25.google.privacy.dlp.v2.DataProfileAction.TagResourcesH\x00\x12h\x0A\x1Bpublish_to_dataplex_catalog\x18\x09 \x01(\x0B2A.google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalogH\x00\x1A\x8A\x01\x0A\x06Export\x12;\x0A\x0Dprofile_table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12C\x0A\x15sample_findings_table\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x1A\x82\x03\x0A\x12PubSubNotification\x12\x0D\x0A\x05topic\x18\x01 \x01(\x09\x12A\x0A\x05event\x18\x02 \x01(\x0E22.google.privacy.dlp.v2.DataProfileAction.EventType\x12K\x0A\x10pubsub_condition\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.DataProfilePubSubCondition\x12b\x0A\x11detail_of_message\x18\x04 \x01(\x0E2G.google.privacy.dlp.v2.DataProfileAction.PubSubNotification.DetailLevel\"i\x0A\x0BDetailLevel\x12\x1C\x0A\x18DETAIL_LEVEL_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DTABLE_PROFILE\x10\x01\x12\x11\x0A\x0DRESOURCE_NAME\x10\x02\x12\x16\x0A\x12FILE_STORE_PROFILE\x10\x03\x1A\x14\x0A\x12PublishToChronicle\x1A \x0A\x1EPublishToSecurityCommandCenter\x1A:\x0A\x18PublishToDataplexCatalog\x12\x1E\x0A\x16lower_data_risk_to_low\x18\x01 \x01(\x08\x1A\xB6\x03\x0A\x0CTagResources\x12Z\x0A\x0Etag_conditions\x18\x01 \x03(\x0B2B.google.privacy.dlp.v2.DataProfileAction.TagResources.TagCondition\x12L\x0A\x1Aprofile_generations_to_tag\x18\x02 \x03(\x0E2(.google.privacy.dlp.v2.ProfileGeneration\x12\x1E\x0A\x16lower_data_risk_to_low\x18\x03 \x01(\x08\x1A\xA9\x01\x0A\x0CTagCondition\x12K\x0A\x03tag\x18\x01 \x01(\x0B2>.google.privacy.dlp.v2.DataProfileAction.TagResources.TagValue\x12D\x0A\x11sensitivity_score\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScoreH\x00B\x06\x0A\x04type\x1A0\x0A\x08TagValue\x12\x1A\x0A\x10namespaced_value\x18\x01 \x01(\x09H\x00B\x08\x0A\x06format\"u\x0A\x09EventType\x12\x1A\x0A\x16EVENT_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BNEW_PROFILE\x10\x01\x12\x13\x0A\x0FCHANGED_PROFILE\x10\x02\x12\x13\x0A\x0FSCORE_INCREASED\x10\x03\x12\x11\x0A\x0DERROR_CHANGED\x10\x04B\x08\x0A\x06action\"\xDD\x03\x0A\x12DataProfileFinding\x12\x0D\x0A\x05quote\x18\x01 \x01(\x09\x121\x0A\x08infotype\x18\x02 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x124\x0A\x0Aquote_info\x18\x03 \x01(\x0B2 .google.privacy.dlp.v2.QuoteInfo\x12\"\x0A\x1Adata_profile_resource_name\x18\x04 \x01(\x09\x12\x12\x0A\x0Afinding_id\x18\x05 \x01(\x09\x12-\x0A\x09timestamp\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12C\x0A\x08location\x18\x07 \x01(\x0B21.google.privacy.dlp.v2.DataProfileFindingLocation\x12F\x0A\x13resource_visibility\x18\x08 \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12\x1A\x0A\x12full_resource_name\x18\x09 \x01(\x09\x12?\x0A\x10data_source_type\x18\x0A \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\"\xB7\x01\x0A\x1ADataProfileFindingLocation\x12\x16\x0A\x0Econtainer_name\x18\x01 \x01(\x09\x12g\x0A\$data_profile_finding_record_location\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.DataProfileFindingRecordLocationH\x00B\x18\x0A\x16location_extra_details\"Q\x0A DataProfileFindingRecordLocation\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"\xAE\x02\x0A\x14DataProfileJobConfig\x12<\x0A\x08location\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.DataProfileLocation\x12\x12\x0A\x0Aproject_id\x18\x05 \x01(\x09\x12a\x0A\x1Dother_cloud_starting_location\x18\x08 \x01(\x0B2:.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation\x12\x19\x0A\x11inspect_templates\x18\x07 \x03(\x09\x12F\x0A\x14data_profile_actions\x18\x06 \x03(\x0B2(.google.privacy.dlp.v2.DataProfileAction\"[\x0A\x0DBigQueryRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\x12\x18\x0A\x10dataset_id_regex\x18\x02 \x01(\x09\x12\x16\x0A\x0Etable_id_regex\x18\x03 \x01(\x09\"I\x0A\x0FBigQueryRegexes\x126\x0A\x08patterns\x18\x01 \x03(\x0B2\$.google.privacy.dlp.v2.BigQueryRegex\"M\x0A\x12BigQueryTableTypes\x127\x0A\x05types\x18\x01 \x03(\x0E2(.google.privacy.dlp.v2.BigQueryTableType\"\x0A\x0A\x08Disabled\"Q\x0A\x13DataProfileLocation\x12\x19\x0A\x0Forganization_id\x18\x01 \x01(\x03H\x00\x12\x13\x0A\x09folder_id\x18\x02 \x01(\x03H\x00B\x0A\x0A\x08location\"\xF0\x07\x0A\x0FDiscoveryConfig\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x0B \x01(\x09\x12D\x0A\x0Aorg_config\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig\x12a\x0A\x1Dother_cloud_starting_location\x18\x0C \x01(\x0B2:.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation\x12\x19\x0A\x11inspect_templates\x18\x03 \x03(\x09\x129\x0A\x07actions\x18\x04 \x03(\x0B2(.google.privacy.dlp.v2.DataProfileAction\x127\x0A\x07targets\x18\x05 \x03(\x0B2&.google.privacy.dlp.v2.DiscoveryTarget\x121\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dlast_run_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x06status\x18\x0A \x01(\x0E2-.google.privacy.dlp.v2.DiscoveryConfig.StatusB\x03\xE0A\x02\x12K\x0A\x13processing_location\x18\x0D \x01(\x0B2).google.privacy.dlp.v2.ProcessingLocationB\x03\xE0A\x01\x1Ac\x0A\x09OrgConfig\x12B\x0A\x08location\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryStartingLocation\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\"9\x0A\x06Status\x12\x16\x0A\x12STATUS_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x0A\x0A\x06PAUSED\x10\x02:t\xEAAq\x0A\"dlp.googleapis.com/DiscoveryConfig\x12Kprojects/{project}/locations/{location}/discoveryConfigs/{discovery_config}\"\xF6\x03\x0A\x0FDiscoveryTarget\x12J\x0A\x10big_query_target\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.BigQueryDiscoveryTargetH\x00\x12J\x0A\x10cloud_sql_target\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.CloudSqlDiscoveryTargetH\x00\x12G\x0A\x0Esecrets_target\x18\x03 \x01(\x0B2-.google.privacy.dlp.v2.SecretsDiscoveryTargetH\x00\x12R\x0A\x14cloud_storage_target\x18\x04 \x01(\x0B22.google.privacy.dlp.v2.CloudStorageDiscoveryTargetH\x00\x12N\x0A\x12other_cloud_target\x18\x05 \x01(\x0B20.google.privacy.dlp.v2.OtherCloudDiscoveryTargetH\x00\x12T\x0A\x15vertex_dataset_target\x18\x07 \x01(\x0B23.google.privacy.dlp.v2.VertexDatasetDiscoveryTargetH\x00B\x08\x0A\x06target\"\xAE\x02\x0A\x17BigQueryDiscoveryTarget\x12C\x0A\x06filter\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DiscoveryBigQueryFilterB\x03\xE0A\x02\x12F\x0A\x0Aconditions\x18\x02 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryBigQueryConditions\x12D\x0A\x07cadence\x18\x03 \x01(\x0B21.google.privacy.dlp.v2.DiscoveryGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x0B\x0A\x09frequency\"\xA0\x02\x0A\x17DiscoveryBigQueryFilter\x12@\x0A\x06tables\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.BigQueryTableCollectionH\x00\x12]\x0A\x0Cother_tables\x18\x02 \x01(\x0B2E.google.privacy.dlp.v2.DiscoveryBigQueryFilter.AllOtherBigQueryTablesH\x00\x12@\x0A\x0Ftable_reference\x18\x03 \x01(\x0B2%.google.privacy.dlp.v2.TableReferenceH\x00\x1A\x18\x0A\x16AllOtherBigQueryTablesB\x08\x0A\x06filter\"g\x0A\x17BigQueryTableCollection\x12A\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.BigQueryRegexesH\x00B\x09\x0A\x07pattern\"\x98\x03\x0A\x1BDiscoveryBigQueryConditions\x121\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12:\x0A\x05types\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.BigQueryTableTypesH\x00\x12M\x0A\x0Ftype_collection\x18\x03 \x01(\x0E22.google.privacy.dlp.v2.BigQueryTableTypeCollectionH\x00\x12V\x0A\x0Dor_conditions\x18\x04 \x01(\x0B2?.google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions\x1AQ\x0A\x0COrConditions\x12\x15\x0A\x0Dmin_row_count\x18\x01 \x01(\x05\x12*\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x10\x0A\x0Eincluded_types\"\x83\x03\x0A\x1ADiscoveryGenerationCadence\x12V\x0A\x17schema_modified_cadence\x18\x01 \x01(\x0B25.google.privacy.dlp.v2.DiscoverySchemaModifiedCadence\x12T\x0A\x16table_modified_cadence\x18\x02 \x01(\x0B24.google.privacy.dlp.v2.DiscoveryTableModifiedCadence\x12i\x0A!inspect_template_modified_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\x12L\x0A\x11refresh_frequency\x18\x04 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xA6\x01\x0A\x1DDiscoveryTableModifiedCadence\x12?\x0A\x05types\x18\x01 \x03(\x0E20.google.privacy.dlp.v2.BigQueryTableModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xA8\x01\x0A\x1EDiscoverySchemaModifiedCadence\x12@\x0A\x05types\x18\x01 \x03(\x0E21.google.privacy.dlp.v2.BigQuerySchemaModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"o\x0A'DiscoveryInspectTemplateModifiedCadence\x12D\x0A\x09frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"\xBF\x02\x0A\x17CloudSqlDiscoveryTarget\x12C\x0A\x06filter\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DiscoveryCloudSqlFilterB\x03\xE0A\x02\x12F\x0A\x0Aconditions\x18\x02 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryCloudSqlConditions\x12W\x0A\x12generation_cadence\x18\x03 \x01(\x0B29.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x89\x02\x0A\x17DiscoveryCloudSqlFilter\x12G\x0A\x0Acollection\x18\x01 \x01(\x0B21.google.privacy.dlp.v2.DatabaseResourceCollectionH\x00\x12B\x0A\x06others\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.AllOtherDatabaseResourcesH\x00\x12W\x0A\x1Bdatabase_resource_reference\x18\x03 \x01(\x0B20.google.privacy.dlp.v2.DatabaseResourceReferenceH\x00B\x08\x0A\x06filter\"r\x0A\x1ADatabaseResourceCollection\x12I\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.DatabaseResourceRegexesH\x00B\x09\x0A\x07pattern\"Y\x0A\x17DatabaseResourceRegexes\x12>\x0A\x08patterns\x18\x01 \x03(\x0B2,.google.privacy.dlp.v2.DatabaseResourceRegex\"\x87\x01\x0A\x15DatabaseResourceRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\x12\x16\x0A\x0Einstance_regex\x18\x02 \x01(\x09\x12\x16\x0A\x0Edatabase_regex\x18\x03 \x01(\x09\x12\$\x0A\x1Cdatabase_resource_name_regex\x18\x04 \x01(\x09\"\x1B\x0A\x19AllOtherDatabaseResources\"\x82\x01\x0A\x19DatabaseResourceReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08instance\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08database\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11database_resource\x18\x04 \x01(\x09B\x03\xE0A\x02\"\xDA\x03\x0A\x1BDiscoveryCloudSqlConditions\x12`\x0A\x10database_engines\x18\x01 \x03(\x0E2A.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseEngineB\x03\xE0A\x01\x12V\x0A\x05types\x18\x03 \x03(\x0E2G.google.privacy.dlp.v2.DiscoveryCloudSqlConditions.DatabaseResourceType\"n\x0A\x0EDatabaseEngine\x12\x1F\x0A\x1BDATABASE_ENGINE_UNSPECIFIED\x10\x00\x12\"\x0A\x1EALL_SUPPORTED_DATABASE_ENGINES\x10\x01\x12\x09\x0A\x05MYSQL\x10\x02\x12\x0C\x0A\x08POSTGRES\x10\x03\"\x90\x01\x0A\x14DatabaseResourceType\x12&\x0A\"DATABASE_RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12.\x0A*DATABASE_RESOURCE_TYPE_ALL_SUPPORTED_TYPES\x10\x01\x12 \x0A\x1CDATABASE_RESOURCE_TYPE_TABLE\x10\x02\"\x97\x05\x0A\"DiscoveryCloudSqlGenerationCadence\x12p\x0A\x17schema_modified_cadence\x18\x01 \x01(\x0B2O.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence\x12L\x0A\x11refresh_frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\x12i\x0A!inspect_template_modified_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\x1A\xC5\x02\x0A\x15SchemaModifiedCadence\x12y\x0A\x05types\x18\x01 \x03(\x0E2j.google.privacy.dlp.v2.DiscoveryCloudSqlGenerationCadence.SchemaModifiedCadence.CloudSqlSchemaModification\x12D\x0A\x09frequency\x18\x02 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\"k\x0A\x1ACloudSqlSchemaModification\x12'\x0A#SQL_SCHEMA_MODIFICATION_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BNEW_COLUMNS\x10\x01\x12\x13\x0A\x0FREMOVED_COLUMNS\x10\x02\"\x18\x0A\x16SecretsDiscoveryTarget\"\xDB\x02\x0A\x1BCloudStorageDiscoveryTarget\x12G\x0A\x06filter\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.DiscoveryCloudStorageFilterB\x03\xE0A\x02\x12L\x0A\x0Aconditions\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.DiscoveryFileStoreConditionsB\x03\xE0A\x01\x12`\x0A\x12generation_cadence\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.DiscoveryCloudStorageGenerationCadenceB\x03\xE0A\x01H\x00\x128\x0A\x08disabled\x18\x03 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledB\x03\xE0A\x01H\x00B\x09\x0A\x07cadence\"\x96\x02\x0A\x1BDiscoveryCloudStorageFilter\x12E\x0A\x0Acollection\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.FileStoreCollectionB\x03\xE0A\x01H\x00\x12e\x0A cloud_storage_resource_reference\x18\x02 \x01(\x0B24.google.privacy.dlp.v2.CloudStorageResourceReferenceB\x03\xE0A\x01H\x00\x12?\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesB\x03\xE0A\x01H\x00B\x08\x0A\x06filter\"\xA7\x01\x0A\x13FileStoreCollection\x12G\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.FileStoreRegexesB\x03\xE0A\x01H\x00\x12<\x0A\x0Cinclude_tags\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.TagFiltersB\x03\xE0A\x01B\x09\x0A\x07pattern\"P\x0A\x10FileStoreRegexes\x12<\x0A\x08patterns\x18\x01 \x03(\x0B2%.google.privacy.dlp.v2.FileStoreRegexB\x03\xE0A\x02\"p\x0A\x0EFileStoreRegex\x12L\x0A\x13cloud_storage_regex\x18\x01 \x01(\x0B2(.google.privacy.dlp.v2.CloudStorageRegexB\x03\xE0A\x01H\x00B\x10\x0A\x0Eresource_regex\"R\x0A\x11CloudStorageRegex\x12\x1D\x0A\x10project_id_regex\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11bucket_name_regex\x18\x02 \x01(\x09B\x03\xE0A\x01\"R\x0A\x1DCloudStorageResourceReference\x12\x18\x0A\x0Bbucket_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xEB\x01\x0A&DiscoveryCloudStorageGenerationCadence\x12Q\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequencyB\x03\xE0A\x01\x12n\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadenceB\x03\xE0A\x01\"\x9B\x05\x0A\x1FDiscoveryCloudStorageConditions\x12{\x0A\x1Aincluded_object_attributes\x18\x01 \x03(\x0E2R.google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttributeB\x03\xE0A\x02\x12{\x0A\x1Aincluded_bucket_attributes\x18\x02 \x03(\x0E2R.google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageBucketAttributeB\x03\xE0A\x02\"\xE3\x01\x0A\x1BCloudStorageObjectAttribute\x12.\x0A*CLOUD_STORAGE_OBJECT_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_OBJECTS\x10\x01\x12\x0C\x0A\x08STANDARD\x10\x02\x12\x0C\x0A\x08NEARLINE\x10\x03\x12\x0C\x0A\x08COLDLINE\x10\x04\x12\x0B\x0A\x07ARCHIVE\x10\x05\x12\x0C\x0A\x08REGIONAL\x10\x06\x12\x12\x0A\x0EMULTI_REGIONAL\x10\x07\x12 \x0A\x1CDURABLE_REDUCED_AVAILABILITY\x10\x08\"\x97\x01\x0A\x1BCloudStorageBucketAttribute\x12.\x0A*CLOUD_STORAGE_BUCKET_ATTRIBUTE_UNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_BUCKETS\x10\x01\x12\x16\x0A\x12AUTOCLASS_DISABLED\x10\x02\x12\x15\x0A\x11AUTOCLASS_ENABLED\x10\x03\"\xF6\x01\x0A\x1CDiscoveryFileStoreConditions\x126\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12/\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12_\x0A\x18cloud_storage_conditions\x18\x03 \x01(\x0B26.google.privacy.dlp.v2.DiscoveryCloudStorageConditionsB\x03\xE0A\x01H\x00B\x0C\x0A\x0Aconditions\"\x92\x03\x0A\x19OtherCloudDiscoveryTarget\x12D\x0A\x10data_source_type\x18\x01 \x01(\x0B2%.google.privacy.dlp.v2.DataSourceTypeB\x03\xE0A\x02\x12E\x0A\x06filter\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.DiscoveryOtherCloudFilterB\x03\xE0A\x02\x12M\x0A\x0Aconditions\x18\x03 \x01(\x0B24.google.privacy.dlp.v2.DiscoveryOtherCloudConditionsB\x03\xE0A\x01\x12Y\x0A\x12generation_cadence\x18\x04 \x01(\x0B2;.google.privacy.dlp.v2.DiscoveryOtherCloudGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x05 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x86\x02\x0A\x19DiscoveryOtherCloudFilter\x12I\x0A\x0Acollection\x18\x01 \x01(\x0B23.google.privacy.dlp.v2.OtherCloudResourceCollectionH\x00\x12S\x0A\x0Fsingle_resource\x18\x02 \x01(\x0B28.google.privacy.dlp.v2.OtherCloudSingleResourceReferenceH\x00\x12?\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesB\x03\xE0A\x01H\x00B\x08\x0A\x06filter\"v\x0A\x1COtherCloudResourceCollection\x12K\x0A\x0Finclude_regexes\x18\x01 \x01(\x0B20.google.privacy.dlp.v2.OtherCloudResourceRegexesH\x00B\x09\x0A\x07pattern\"]\x0A\x19OtherCloudResourceRegexes\x12@\x0A\x08patterns\x18\x01 \x03(\x0B2..google.privacy.dlp.v2.OtherCloudResourceRegex\"y\x0A\x17OtherCloudResourceRegex\x12L\x0A\x16amazon_s3_bucket_regex\x18\x01 \x01(\x0B2*.google.privacy.dlp.v2.AmazonS3BucketRegexH\x00B\x10\x0A\x0Eresource_regex\"0\x0A\x0FAwsAccountRegex\x12\x1D\x0A\x10account_id_regex\x18\x01 \x01(\x09B\x03\xE0A\x01\"x\x0A\x13AmazonS3BucketRegex\x12A\x0A\x11aws_account_regex\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.AwsAccountRegex\x12\x1E\x0A\x11bucket_name_regex\x18\x02 \x01(\x09B\x03\xE0A\x01\"r\x0A!OtherCloudSingleResourceReference\x12A\x0A\x10amazon_s3_bucket\x18\x01 \x01(\x0B2%.google.privacy.dlp.v2.AmazonS3BucketH\x00B\x0A\x0A\x08resource\"%\x0A\x0AAwsAccount\x12\x17\x0A\x0Aaccount_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"b\x0A\x0EAmazonS3Bucket\x126\x0A\x0Baws_account\x18\x01 \x01(\x0B2!.google.privacy.dlp.v2.AwsAccount\x12\x18\x0A\x0Bbucket_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xB1\x01\x0A\x1DDiscoveryOtherCloudConditions\x12*\x0A\x07min_age\x18\x01 \x01(\x0B2\x19.google.protobuf.Duration\x12V\x0A\x1Bamazon_s3_bucket_conditions\x18\x02 \x01(\x0B2/.google.privacy.dlp.v2.AmazonS3BucketConditionsH\x00B\x0C\x0A\x0Aconditions\"\xD9\x03\x0A\x18AmazonS3BucketConditions\x12U\x0A\x0Cbucket_types\x18\x01 \x03(\x0E2:.google.privacy.dlp.v2.AmazonS3BucketConditions.BucketTypeB\x03\xE0A\x01\x12g\x0A\x16object_storage_classes\x18\x02 \x03(\x0E2B.google.privacy.dlp.v2.AmazonS3BucketConditions.ObjectStorageClassB\x03\xE0A\x01\"T\x0A\x0ABucketType\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x16\x0A\x12TYPE_ALL_SUPPORTED\x10\x01\x12\x18\x0A\x14TYPE_GENERAL_PURPOSE\x10\x02\"\xA6\x01\x0A\x12ObjectStorageClass\x12\x0F\x0A\x0BUNSPECIFIED\x10\x00\x12\x19\x0A\x15ALL_SUPPORTED_CLASSES\x10\x01\x12\x0C\x0A\x08STANDARD\x10\x02\x12\x1E\x0A\x1ASTANDARD_INFREQUENT_ACCESS\x10\x04\x12\x1D\x0A\x19GLACIER_INSTANT_RETRIEVAL\x10\x06\x12\x17\x0A\x13INTELLIGENT_TIERING\x10\x07\"\xE9\x01\x0A\$DiscoveryOtherCloudGenerationCadence\x12Q\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequencyB\x03\xE0A\x01\x12n\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadenceB\x03\xE0A\x01\"W\x0A\x19DiscoveryStartingLocation\x12\x19\x0A\x0Forganization_id\x18\x01 \x01(\x03H\x00\x12\x13\x0A\x09folder_id\x18\x02 \x01(\x03H\x00B\x0A\x0A\x08location\"\x87\x02\x0A#OtherCloudDiscoveryStartingLocation\x12o\x0A\x0Caws_location\x18\x01 \x01(\x0B2W.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation.AwsDiscoveryStartingLocationH\x00\x1Ac\x0A\x1CAwsDiscoveryStartingLocation\x12\x14\x0A\x0Aaccount_id\x18\x02 \x01(\x09H\x00\x12\$\x0A\x1Aall_asset_inventory_assets\x18\x03 \x01(\x08H\x00B\x07\x0A\x05scopeB\x0A\x0A\x08location\"\x13\x0A\x11AllOtherResources\"\xD3\x02\x0A\x1CVertexDatasetDiscoveryTarget\x12H\x0A\x06filter\x18\x01 \x01(\x0B23.google.privacy.dlp.v2.DiscoveryVertexDatasetFilterB\x03\xE0A\x02\x12K\x0A\x0Aconditions\x18\x02 \x01(\x0B27.google.privacy.dlp.v2.DiscoveryVertexDatasetConditions\x12\\\x0A\x12generation_cadence\x18\x03 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryVertexDatasetGenerationCadenceH\x00\x123\x0A\x08disabled\x18\x04 \x01(\x0B2\x1F.google.privacy.dlp.v2.DisabledH\x00B\x09\x0A\x07cadence\"\x8E\x02\x0A\x1CDiscoveryVertexDatasetFilter\x12D\x0A\x0Acollection\x18\x01 \x01(\x0B2..google.privacy.dlp.v2.VertexDatasetCollectionH\x00\x12b\x0A!vertex_dataset_resource_reference\x18\x02 \x01(\x0B25.google.privacy.dlp.v2.VertexDatasetResourceReferenceH\x00\x12:\x0A\x06others\x18d \x01(\x0B2(.google.privacy.dlp.v2.AllOtherResourcesH\x00B\x08\x0A\x06filter\"s\x0A\x17VertexDatasetCollection\x12M\x0A\x16vertex_dataset_regexes\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.VertexDatasetRegexesH\x00B\x09\x0A\x07pattern\"X\x0A\x14VertexDatasetRegexes\x12@\x0A\x08patterns\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.VertexDatasetRegexB\x03\xE0A\x02\".\x0A\x12VertexDatasetRegex\x12\x18\x0A\x10project_id_regex\x18\x01 \x01(\x09\"D\x0A\x1EVertexDatasetResourceReference\x12\"\x0A\x15dataset_resource_name\x18\x01 \x01(\x09B\x03\xE0A\x02\"\x81\x01\x0A DiscoveryVertexDatasetConditions\x121\x0A\x0Dcreated_after\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12*\x0A\x07min_age\x18\x02 \x01(\x0B2\x19.google.protobuf.Duration\"\xE2\x01\x0A'DiscoveryVertexDatasetGenerationCadence\x12L\x0A\x11refresh_frequency\x18\x01 \x01(\x0E21.google.privacy.dlp.v2.DataProfileUpdateFrequency\x12i\x0A!inspect_template_modified_cadence\x18\x02 \x01(\x0B2>.google.privacy.dlp.v2.DiscoveryInspectTemplateModifiedCadence\"\x89\x07\x0A\x06DlpJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12/\x0A\x04type\x18\x02 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x12:\x0A\x05state\x18\x03 \x01(\x0E2&.google.privacy.dlp.v2.DlpJob.JobStateB\x03\xE0A\x03\x12K\x0A\x0Crisk_details\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsH\x00\x12J\x0A\x0Finspect_details\x18\x05 \x01(\x0B2/.google.privacy.dlp.v2.InspectDataSourceDetailsH\x00\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dlast_modified\x18\x0F \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1D\x0A\x10job_trigger_name\x18\x0A \x01(\x09B\x03\xE0A\x03\x121\x0A\x06errors\x18\x0B \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x12A\x0A\x0Eaction_details\x18\x0C \x03(\x0B2\$.google.privacy.dlp.v2.ActionDetailsB\x03\xE0A\x03\"o\x0A\x08JobState\x12\x19\x0A\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x0B\x0A\x07RUNNING\x10\x02\x12\x08\x0A\x04DONE\x10\x03\x12\x0C\x0A\x08CANCELED\x10\x04\x12\x0A\x0A\x06FAILED\x10\x05\x12\x0A\x0A\x06ACTIVE\x10\x06:\x7F\xEAA|\x0A\x19dlp.googleapis.com/DlpJob\x12\$projects/{project}/dlpJobs/{dlp_job}\x129projects/{project}/locations/{location}/dlpJobs/{dlp_job}B\x09\x0A\x07details\"C\x0A\x10GetDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"\xD6\x01\x0A\x12ListDlpJobsRequest\x121\x0A\x06parent\x18\x04 \x01(\x09B!\xE0A\x02\xFAA\x1B\x12\x19dlp.googleapis.com/DlpJob\x12\x0E\x0A\x06filter\x18\x01 \x01(\x09\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12/\x0A\x04type\x18\x05 \x01(\x0E2!.google.privacy.dlp.v2.DlpJobType\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x07 \x01(\x09\"[\x0A\x13ListDlpJobsResponse\x12+\x0A\x04jobs\x18\x01 \x03(\x0B2\x1D.google.privacy.dlp.v2.DlpJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"F\x0A\x13CancelDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"F\x0A\x13FinishDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"F\x0A\x13DeleteDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\"\xD7\x01\x0A\x1FCreateDeidentifyTemplateRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/DeidentifyTemplate\x12K\x0A\x13deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplateB\x03\xE0A\x02\x12\x13\x0A\x0Btemplate_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xD7\x01\x0A\x1FUpdateDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\x12F\x0A\x13deidentify_template\x18\x02 \x01(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"[\x0A\x1CGetDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\"\xAD\x01\x0A\x1EListDeidentifyTemplatesRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/DeidentifyTemplate\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"\x83\x01\x0A\x1FListDeidentifyTemplatesResponse\x12G\x0A\x14deidentify_templates\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.DeidentifyTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1FDeleteDeidentifyTemplateRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/DeidentifyTemplate\"\xF4\x01\x0A\x1BLargeCustomDictionaryConfig\x12<\x0A\x0Boutput_path\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePath\x12L\x0A\x16cloud_storage_file_set\x18\x02 \x01(\x0B2*.google.privacy.dlp.v2.CloudStorageFileSetH\x00\x12?\x0A\x0Fbig_query_field\x18\x03 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryFieldH\x00B\x08\x0A\x06source\"8\x0A\x1ALargeCustomDictionaryStats\x12\x1A\x0A\x12approx_num_phrases\x18\x01 \x01(\x03\"\xA6\x02\x0A\x14StoredInfoTypeConfig\x12\x14\x0A\x0Cdisplay_name\x18\x01 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12U\x0A\x17large_custom_dictionary\x18\x03 \x01(\x0B22.google.privacy.dlp.v2.LargeCustomDictionaryConfigH\x00\x12F\x0A\x0Adictionary\x18\x04 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x05 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00B\x06\x0A\x04type\"s\x0A\x13StoredInfoTypeStats\x12T\x0A\x17large_custom_dictionary\x18\x01 \x01(\x0B21.google.privacy.dlp.v2.LargeCustomDictionaryStatsH\x00B\x06\x0A\x04type\"\xBD\x02\x0A\x15StoredInfoTypeVersion\x12;\x0A\x06config\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfig\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12>\x0A\x05state\x18\x03 \x01(\x0E2*.google.privacy.dlp.v2.StoredInfoTypeStateB\x03\xE0A\x03\x121\x0A\x06errors\x18\x04 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x12>\x0A\x05stats\x18\x05 \x01(\x0B2*.google.privacy.dlp.v2.StoredInfoTypeStatsB\x03\xE0A\x03\"\xF6\x03\x0A\x0EStoredInfoType\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12E\x0A\x0Fcurrent_version\x18\x02 \x01(\x0B2,.google.privacy.dlp.v2.StoredInfoTypeVersion\x12F\x0A\x10pending_versions\x18\x03 \x03(\x0B2,.google.privacy.dlp.v2.StoredInfoTypeVersion:\xC1\x02\xEAA\xBD\x02\x0A!dlp.googleapis.com/StoredInfoType\x12?organizations/{organization}/storedInfoTypes/{stored_info_type}\x125projects/{project}/storedInfoTypes/{stored_info_type}\x12Torganizations/{organization}/locations/{location}/storedInfoTypes/{stored_info_type}\x12Jprojects/{project}/locations/{location}/storedInfoTypes/{stored_info_type}\"\xCC\x01\x0A\x1BCreateStoredInfoTypeRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!dlp.googleapis.com/StoredInfoType\x12@\x0A\x06config\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfigB\x03\xE0A\x02\x12\x1B\x0A\x13stored_info_type_id\x18\x03 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x04 \x01(\x09\"\xC4\x01\x0A\x1BUpdateStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\x12;\x0A\x06config\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.StoredInfoTypeConfig\x12/\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMask\"S\x0A\x18GetStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\"\xA5\x01\x0A\x1AListStoredInfoTypesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!dlp.googleapis.com/StoredInfoType\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x13\x0A\x0Blocation_id\x18\x05 \x01(\x09\"x\x0A\x1BListStoredInfoTypesResponse\x12@\x0A\x11stored_info_types\x18\x01 \x03(\x0B2%.google.privacy.dlp.v2.StoredInfoType\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"V\x0A\x1BDeleteStoredInfoTypeRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!dlp.googleapis.com/StoredInfoType\"\x94\x01\x0A\x1EHybridInspectJobTriggerRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/JobTrigger\x12=\x0A\x0Bhybrid_item\x18\x03 \x01(\x0B2(.google.privacy.dlp.v2.HybridContentItem\"\x8C\x01\x0A\x1AHybridInspectDlpJobRequest\x12/\x0A\x04name\x18\x01 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19dlp.googleapis.com/DlpJob\x12=\x0A\x0Bhybrid_item\x18\x03 \x01(\x0B2(.google.privacy.dlp.v2.HybridContentItem\"\x8B\x01\x0A\x11HybridContentItem\x120\x0A\x04item\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.ContentItem\x12D\x0A\x0Ffinding_details\x18\x02 \x01(\x0B2+.google.privacy.dlp.v2.HybridFindingDetails\"\xB0\x02\x0A\x14HybridFindingDetails\x12;\x0A\x11container_details\x18\x01 \x01(\x0B2 .google.privacy.dlp.v2.Container\x12\x13\x0A\x0Bfile_offset\x18\x02 \x01(\x03\x12\x12\x0A\x0Arow_offset\x18\x03 \x01(\x03\x12:\x0A\x0Dtable_options\x18\x04 \x01(\x0B2#.google.privacy.dlp.v2.TableOptions\x12G\x0A\x06labels\x18\x05 \x03(\x0B27.google.privacy.dlp.v2.HybridFindingDetails.LabelsEntry\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\x17\x0A\x15HybridInspectResponse\"\xC3\x01\x0A\x14ImageContainmentType\x123\x0A\x08encloses\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.EnclosesH\x00\x12:\x0A\x0Cfully_inside\x18\x02 \x01(\x0B2\".google.privacy.dlp.v2.FullyInsideH\x00\x122\x0A\x08overlaps\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.OverlapH\x00B\x06\x0A\x04type\"\x09\x0A\x07Overlap\"\x0A\x0A\x08Encloses\"\x0D\x0A\x0BFullyInside\"\xA8\x01\x0A\x1EListProjectDataProfilesRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%dlp.googleapis.com/ProjectDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"\x84\x01\x0A\x1FListProjectDataProfilesResponse\x12H\x0A\x15project_data_profiles\x18\x01 \x03(\x0B2).google.privacy.dlp.v2.ProjectDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA4\x01\x0A\x1CListTableDataProfilesRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x12#dlp.googleapis.com/TableDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"~\x0A\x1DListTableDataProfilesResponse\x12D\x0A\x13table_data_profiles\x18\x01 \x03(\x0B2'.google.privacy.dlp.v2.TableDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA6\x01\x0A\x1DListColumnDataProfilesRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x12\$dlp.googleapis.com/ColumnDataProfile\x12\x12\x0A\x0Apage_token\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x10\x0A\x08order_by\x18\x04 \x01(\x09\x12\x0E\x0A\x06filter\x18\x05 \x01(\x09\"\x81\x01\x0A\x1EListColumnDataProfilesResponse\x12F\x0A\x14column_data_profiles\x18\x01 \x03(\x0B2(.google.privacy.dlp.v2.ColumnDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xCB\x01\x0A\x0DDataRiskLevel\x12F\x0A\x05score\x18\x01 \x01(\x0E27.google.privacy.dlp.v2.DataRiskLevel.DataRiskLevelScore\"r\x0A\x12DataRiskLevelScore\x12\x1A\x0A\x16RISK_SCORE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08RISK_LOW\x10\x0A\x12\x10\x0A\x0CRISK_UNKNOWN\x10\x0C\x12\x11\x0A\x0DRISK_MODERATE\x10\x14\x12\x0D\x0A\x09RISK_HIGH\x10\x1E\"\xDC\x04\x0A\x12ProjectDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12:\x0A\x16profile_last_generated\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12B\x0A\x11sensitivity_score\x18\x04 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x05 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12<\x0A\x0Eprofile_status\x18\x07 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12 \x0A\x18table_data_profile_count\x18\x09 \x01(\x03\x12%\x0A\x1Dfile_store_data_profile_count\x18\x0A \x01(\x03:\xDD\x01\xEAA\xD9\x01\x0A%dlp.googleapis.com/ProjectDataProfile\x12\\organizations/{organization}/locations/{location}/projectDataProfiles/{project_data_profile}\x12Rprojects/{project}/locations/{location}/projectDataProfiles/{project_data_profile}\"\xC9\x02\x0A\x19DataProfileConfigSnapshot\x12<\x0A\x0Einspect_config\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfig\x12I\x0A\x10data_profile_job\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.DataProfileJobConfigB\x02\x18\x01\x12@\x0A\x10discovery_config\x18\x04 \x01(\x0B2&.google.privacy.dlp.v2.DiscoveryConfig\x12\x1D\x0A\x15inspect_template_name\x18\x05 \x01(\x09\x12B\x0A\x1Einspect_template_modified_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.Timestamp\"\x93\x0E\x0A\x10TableDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12?\x0A\x10data_source_type\x18\$ \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\x12\x1C\x0A\x14project_data_profile\x18\x02 \x01(\x09\x12\x1A\x0A\x12dataset_project_id\x18\x18 \x01(\x09\x12\x18\x0A\x10dataset_location\x18\x1D \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x19 \x01(\x09\x12\x10\x0A\x08table_id\x18\x1A \x01(\x09\x12\x15\x0A\x0Dfull_resource\x18\x03 \x01(\x09\x12<\x0A\x0Eprofile_status\x18\x15 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12<\x0A\x05state\x18\x16 \x01(\x0E2-.google.privacy.dlp.v2.TableDataProfile.State\x12B\x0A\x11sensitivity_score\x18\x05 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x06 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12D\x0A\x14predicted_info_types\x18\x1B \x03(\x0B2&.google.privacy.dlp.v2.InfoTypeSummary\x12E\x0A\x10other_info_types\x18\x1C \x03(\x0B2+.google.privacy.dlp.v2.OtherInfoTypeSummary\x12I\x0A\x0Fconfig_snapshot\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.DataProfileConfigSnapshot\x126\x0A\x12last_modified_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\x123\x0A\x0Fexpiration_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x1C\x0A\x14scanned_column_count\x18\x0A \x01(\x03\x12\x1B\x0A\x13failed_column_count\x18\x0B \x01(\x03\x12\x18\x0A\x10table_size_bytes\x18\x0C \x01(\x03\x12\x11\x0A\x09row_count\x18\x0D \x01(\x03\x12B\x0A\x11encryption_status\x18\x0E \x01(\x0E2'.google.privacy.dlp.v2.EncryptionStatus\x12F\x0A\x13resource_visibility\x18\x0F \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12:\x0A\x16profile_last_generated\x18\x10 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12T\x0A\x0Fresource_labels\x18\x11 \x03(\x0B2;.google.privacy.dlp.v2.TableDataProfile.ResourceLabelsEntry\x12/\x0A\x0Bcreate_time\x18\x17 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12C\x0A\x15sample_findings_table\x18% \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12(\x0A\x04tags\x18' \x03(\x0B2\x1A.google.privacy.dlp.v2.Tag\x12A\x0A\x11related_resources\x18) \x03(\x0B2&.google.privacy.dlp.v2.RelatedResource\x12.\x0A\x07domains\x18/ \x03(\x0B2\x1D.google.privacy.dlp.v2.Domain\x1A5\x0A\x13ResourceLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02:\xD3\x01\xEAA\xCF\x01\x0A#dlp.googleapis.com/TableDataProfile\x12Xorganizations/{organization}/locations/{location}/tableDataProfiles/{table_data_profile}\x12Nprojects/{project}/locations/{location}/tableDataProfiles/{table_data_profile}\"b\x0A\x0DProfileStatus\x12\"\x0A\x06status\x18\x01 \x01(\x0B2\x12.google.rpc.Status\x12-\x0A\x09timestamp\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\"g\x0A\x0FInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12 \x0A\x14estimated_prevalence\x18\x02 \x01(\x05B\x02\x18\x01\"\x88\x01\x0A\x14OtherInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x12\x1C\x0A\x14estimated_prevalence\x18\x02 \x01(\x05\x12\x1E\x0A\x16excluded_from_analysis\x18\x03 \x01(\x08\"\xC9\x0D\x0A\x11ColumnDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12<\x0A\x0Eprofile_status\x18\x11 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12=\x0A\x05state\x18\x12 \x01(\x0E2..google.privacy.dlp.v2.ColumnDataProfile.State\x12:\x0A\x16profile_last_generated\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x1A\x0A\x12table_data_profile\x18\x04 \x01(\x09\x12\x1B\x0A\x13table_full_resource\x18\x05 \x01(\x09\x12\x1A\x0A\x12dataset_project_id\x18\x13 \x01(\x09\x12\x18\x0A\x10dataset_location\x18\x14 \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x15 \x01(\x09\x12\x10\x0A\x08table_id\x18\x16 \x01(\x09\x12\x0E\x0A\x06column\x18\x06 \x01(\x09\x12B\x0A\x11sensitivity_score\x18\x07 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x08 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12@\x0A\x10column_info_type\x18\x09 \x01(\x0B2&.google.privacy.dlp.v2.InfoTypeSummary\x12B\x0A\x0Dother_matches\x18\x0A \x03(\x0B2+.google.privacy.dlp.v2.OtherInfoTypeSummary\x12M\x0A\x19estimated_null_percentage\x18\x17 \x01(\x0E2*.google.privacy.dlp.v2.NullPercentageLevel\x12O\x0A\x1Aestimated_uniqueness_score\x18\x18 \x01(\x0E2+.google.privacy.dlp.v2.UniquenessScoreLevel\x12\x17\x0A\x0Ffree_text_score\x18\x0D \x01(\x01\x12L\x0A\x0Bcolumn_type\x18\x0E \x01(\x0E27.google.privacy.dlp.v2.ColumnDataProfile.ColumnDataType\x12P\x0A\x0Cpolicy_state\x18\x0F \x01(\x0E2:.google.privacy.dlp.v2.ColumnDataProfile.ColumnPolicyState\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02\"\xFF\x02\x0A\x0EColumnDataType\x12 \x0A\x1CCOLUMN_DATA_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ATYPE_INT64\x10\x01\x12\x0D\x0A\x09TYPE_BOOL\x10\x02\x12\x10\x0A\x0CTYPE_FLOAT64\x10\x03\x12\x0F\x0A\x0BTYPE_STRING\x10\x04\x12\x0E\x0A\x0ATYPE_BYTES\x10\x05\x12\x12\x0A\x0ETYPE_TIMESTAMP\x10\x06\x12\x0D\x0A\x09TYPE_DATE\x10\x07\x12\x0D\x0A\x09TYPE_TIME\x10\x08\x12\x11\x0A\x0DTYPE_DATETIME\x10\x09\x12\x12\x0A\x0ETYPE_GEOGRAPHY\x10\x0A\x12\x10\x0A\x0CTYPE_NUMERIC\x10\x0B\x12\x0F\x0A\x0BTYPE_RECORD\x10\x0C\x12\x13\x0A\x0FTYPE_BIGNUMERIC\x10\x0D\x12\x0D\x0A\x09TYPE_JSON\x10\x0E\x12\x11\x0A\x0DTYPE_INTERVAL\x10\x0F\x12\x13\x0A\x0FTYPE_RANGE_DATE\x10\x10\x12\x17\x0A\x13TYPE_RANGE_DATETIME\x10\x11\x12\x18\x0A\x14TYPE_RANGE_TIMESTAMP\x10\x12\"R\x0A\x11ColumnPolicyState\x12#\x0A\x1FCOLUMN_POLICY_STATE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14COLUMN_POLICY_TAGGED\x10\x01:\xD8\x01\xEAA\xD4\x01\x0A\$dlp.googleapis.com/ColumnDataProfile\x12Zorganizations/{organization}/locations/{location}/columnDataProfiles/{column_data_profile}\x12Pprojects/{project}/locations/{location}/columnDataProfiles/{column_data_profile}\"\xE8\x0E\x0A\x14FileStoreDataProfile\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12?\x0A\x10data_source_type\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.DataSourceType\x12\x1C\x0A\x14project_data_profile\x18\x03 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x04 \x01(\x09\x12\x1B\x0A\x13file_store_location\x18\x05 \x01(\x09\x12\x1E\x0A\x16data_storage_locations\x18\x13 \x03(\x09\x12\x15\x0A\x0Dlocation_type\x18\x14 \x01(\x09\x12\x17\x0A\x0Ffile_store_path\x18\x06 \x01(\x09\x12\x15\x0A\x0Dfull_resource\x18\x18 \x01(\x09\x12I\x0A\x0Fconfig_snapshot\x18\x07 \x01(\x0B20.google.privacy.dlp.v2.DataProfileConfigSnapshot\x12<\x0A\x0Eprofile_status\x18\x08 \x01(\x0B2\$.google.privacy.dlp.v2.ProfileStatus\x12@\x0A\x05state\x18\x09 \x01(\x0E21.google.privacy.dlp.v2.FileStoreDataProfile.State\x12:\x0A\x16profile_last_generated\x18\x0A \x01(\x0B2\x1A.google.protobuf.Timestamp\x12F\x0A\x13resource_visibility\x18\x0B \x01(\x0E2).google.privacy.dlp.v2.ResourceVisibility\x12B\x0A\x11sensitivity_score\x18\x0C \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x0D \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12/\x0A\x0Bcreate_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.Timestamp\x126\x0A\x12last_modified_time\x18\x0F \x01(\x0B2\x1A.google.protobuf.Timestamp\x12I\x0A\x16file_cluster_summaries\x18\x10 \x03(\x0B2).google.privacy.dlp.v2.FileClusterSummary\x12`\x0A\x13resource_attributes\x18\x11 \x03(\x0B2C.google.privacy.dlp.v2.FileStoreDataProfile.ResourceAttributesEntry\x12X\x0A\x0Fresource_labels\x18\x12 \x03(\x0B2?.google.privacy.dlp.v2.FileStoreDataProfile.ResourceLabelsEntry\x12W\x0A\x1Efile_store_info_type_summaries\x18\x15 \x03(\x0B2/.google.privacy.dlp.v2.FileStoreInfoTypeSummary\x12C\x0A\x15sample_findings_table\x18\x16 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12\x1B\x0A\x13file_store_is_empty\x18\x17 \x01(\x08\x12(\x0A\x04tags\x18\x19 \x03(\x0B2\x1A.google.privacy.dlp.v2.Tag\x12A\x0A\x11related_resources\x18\x1A \x03(\x0B2&.google.privacy.dlp.v2.RelatedResource\x12.\x0A\x07domains\x18\x1B \x03(\x0B2\x1D.google.privacy.dlp.v2.Domain\x1AW\x0A\x17ResourceAttributesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12+\x0A\x05value\x18\x02 \x01(\x0B2\x1C.google.privacy.dlp.v2.Value:\x028\x01\x1A5\x0A\x13ResourceLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x08\x0A\x04DONE\x10\x02:\xE9\x01\xEAA\xE5\x01\x0A'dlp.googleapis.com/FileStoreDataProfile\x12aorganizations/{organization}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}\x12Wprojects/{project}/locations/{location}/fileStoreDataProfiles/{file_store_data_profile}\"?\x0A\x03Tag\x12\x1C\x0A\x14namespaced_tag_value\x18\x01 \x01(\x09\x12\x0B\x0A\x03key\x18\x02 \x01(\x09\x12\x0D\x0A\x05value\x18\x03 \x01(\x09\"H\x0A\x0ATagFilters\x12:\x0A\x0Btag_filters\x18\x01 \x03(\x0B2 .google.privacy.dlp.v2.TagFilterB\x03\xE0A\x02\"S\x0A\x09TagFilter\x12\x1E\x0A\x14namespaced_tag_value\x18\x01 \x01(\x09H\x00\x12\x1C\x0A\x12namespaced_tag_key\x18\x02 \x01(\x09H\x00B\x08\x0A\x06format\"(\x0A\x0FRelatedResource\x12\x15\x0A\x0Dfull_resource\x18\x01 \x01(\x09\"N\x0A\x18FileStoreInfoTypeSummary\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\"+\x0A\x11FileExtensionInfo\x12\x16\x0A\x0Efile_extension\x18\x01 \x01(\x09\"\x8C\x04\x0A\x12FileClusterSummary\x12A\x0A\x11file_cluster_type\x18\x01 \x01(\x0B2&.google.privacy.dlp.v2.FileClusterType\x12W\x0A\x1Efile_store_info_type_summaries\x18\x02 \x03(\x0B2/.google.privacy.dlp.v2.FileStoreInfoTypeSummary\x12B\x0A\x11sensitivity_score\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x12=\x0A\x0Fdata_risk_level\x18\x04 \x01(\x0B2\$.google.privacy.dlp.v2.DataRiskLevel\x12,\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.Error\x12I\x0A\x17file_extensions_scanned\x18\x07 \x03(\x0B2(.google.privacy.dlp.v2.FileExtensionInfo\x12F\x0A\x14file_extensions_seen\x18\x08 \x03(\x0B2(.google.privacy.dlp.v2.FileExtensionInfo\x12\x16\x0A\x0Eno_files_exist\x18\x09 \x01(\x08\"[\x0A\x1CGetProjectDataProfileRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/ProjectDataProfile\"]\x0A\x1EGetFileStoreDataProfileRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%dlp.googleapis.com/ProjectDataProfile\"\xC0\x01\x0A ListFileStoreDataProfilesRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'dlp.googleapis.com/FileStoreDataProfile\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"\x8B\x01\x0A!ListFileStoreDataProfilesResponse\x12M\x0A\x18file_store_data_profiles\x18\x01 \x03(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A!DeleteFileStoreDataProfileRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'dlp.googleapis.com/FileStoreDataProfile\"W\x0A\x1AGetTableDataProfileRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#dlp.googleapis.com/TableDataProfile\"Y\x0A\x1BGetColumnDataProfileRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$dlp.googleapis.com/ColumnDataProfile\"\xEA\x05\x0A\x1ADataProfilePubSubCondition\x12X\x0A\x0Bexpressions\x18\x01 \x01(\x0B2C.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions\x1A\xE9\x01\x0A\x0FPubSubCondition\x12b\x0A\x12minimum_risk_score\x18\x01 \x01(\x0E2D.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucketH\x00\x12i\x0A\x19minimum_sensitivity_score\x18\x02 \x01(\x0E2D.google.privacy.dlp.v2.DataProfilePubSubCondition.ProfileScoreBucketH\x00B\x07\x0A\x05value\x1A\xAB\x02\x0A\x11PubSubExpressions\x12s\x0A\x10logical_operator\x18\x01 \x01(\x0E2Y.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator\x12U\x0A\x0Aconditions\x18\x02 \x03(\x0B2A.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition\"J\x0A\x15PubSubLogicalOperator\x12 \x0A\x1CLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x06\x0A\x02OR\x10\x01\x12\x07\x0A\x03AND\x10\x02\"X\x0A\x12ProfileScoreBucket\x12\$\x0A PROFILE_SCORE_BUCKET_UNSPECIFIED\x10\x00\x12\x08\x0A\x04HIGH\x10\x01\x12\x12\x0A\x0EMEDIUM_OR_HIGH\x10\x02\"\xE0\x01\x0A\x18DataProfilePubSubMessage\x128\x0A\x07profile\x18\x01 \x01(\x0B2'.google.privacy.dlp.v2.TableDataProfile\x12G\x0A\x12file_store_profile\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.FileStoreDataProfile\x12A\x0A\x05event\x18\x02 \x01(\x0E22.google.privacy.dlp.v2.DataProfileAction.EventType\"\x8C\x01\x0A\x17CreateConnectionRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12:\x0A\x0Aconnection\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.ConnectionB\x03\xE0A\x02\"K\x0A\x14GetConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\"\x95\x01\x0A\x16ListConnectionsRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x97\x01\x0A\x18SearchConnectionsRequest\x125\x0A\x06parent\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x12\x1Ddlp.googleapis.com/Connection\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"j\x0A\x17ListConnectionsResponse\x126\x0A\x0Bconnections\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.Connection\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x19SearchConnectionsResponse\x126\x0A\x0Bconnections\x18\x01 \x03(\x0B2!.google.privacy.dlp.v2.Connection\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xC0\x01\x0A\x17UpdateConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\x12:\x0A\x0Aconnection\x18\x02 \x01(\x0B2!.google.privacy.dlp.v2.ConnectionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"N\x0A\x17DeleteConnectionRequest\x123\x0A\x04name\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Ddlp.googleapis.com/Connection\"\x90\x03\x0A\x0AConnection\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12:\x0A\x05state\x18\x02 \x01(\x0E2&.google.privacy.dlp.v2.ConnectionStateB\x03\xE0A\x02\x121\x0A\x06errors\x18\x03 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x12>\x0A\x09cloud_sql\x18\x04 \x01(\x0B2).google.privacy.dlp.v2.CloudSqlPropertiesH\x00:\xB1\x01\xEAA\xAD\x01\x0A\x1Ddlp.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}\x12Jorganizations/{organization}/locations/{location}/connections/{connection}B\x0C\x0A\x0Aproperties\"[\x0A\x17SecretManagerCredential\x12\x15\x0A\x08username\x18\x01 \x01(\x09B\x03\xE0A\x02\x12)\x0A\x1Cpassword_secret_version_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x17\x0A\x15CloudSqlIamCredential\"\xB5\x03\x0A\x12CloudSqlProperties\x12\x1F\x0A\x0Fconnection_name\x18\x01 \x01(\x09B\x06\xE0A\x05\xE0A\x01\x12K\x0A\x11username_password\x18\x02 \x01(\x0B2..google.privacy.dlp.v2.SecretManagerCredentialH\x00\x12E\x0A\x0Dcloud_sql_iam\x18\x03 \x01(\x0B2,.google.privacy.dlp.v2.CloudSqlIamCredentialH\x00\x12\x1C\x0A\x0Fmax_connections\x18\x04 \x01(\x05B\x03\xE0A\x02\x12V\x0A\x0Fdatabase_engine\x18\x07 \x01(\x0E28.google.privacy.dlp.v2.CloudSqlProperties.DatabaseEngineB\x03\xE0A\x02\"f\x0A\x0EDatabaseEngine\x12\x1B\x0A\x17DATABASE_ENGINE_UNKNOWN\x10\x00\x12\x19\x0A\x15DATABASE_ENGINE_MYSQL\x10\x01\x12\x1C\x0A\x18DATABASE_ENGINE_POSTGRES\x10\x02B\x0C\x0A\x0Acredential\"Z\x0A\x1DDeleteTableDataProfileRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#dlp.googleapis.com/TableDataProfile\"%\x0A\x0EDataSourceType\x12\x13\x0A\x0Bdata_source\x18\x01 \x01(\x09\"\xF4\x02\x0A\x0FFileClusterType\x12A\x0A\x07cluster\x18\x01 \x01(\x0E2..google.privacy.dlp.v2.FileClusterType.ClusterH\x00\"\x88\x02\x0A\x07Cluster\x12\x17\x0A\x13CLUSTER_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FCLUSTER_UNKNOWN\x10\x01\x12\x10\x0A\x0CCLUSTER_TEXT\x10\x02\x12\x1B\x0A\x17CLUSTER_STRUCTURED_DATA\x10\x03\x12\x17\x0A\x13CLUSTER_SOURCE_CODE\x10\x04\x12\x19\x0A\x15CLUSTER_RICH_DOCUMENT\x10\x05\x12\x11\x0A\x0DCLUSTER_IMAGE\x10\x06\x12\x13\x0A\x0FCLUSTER_ARCHIVE\x10\x07\x12\x16\x0A\x12CLUSTER_MULTIMEDIA\x10\x08\x12\x16\x0A\x12CLUSTER_EXECUTABLE\x10\x09\x12\x14\x0A\x10CLUSTER_AI_MODEL\x10\x0AB\x13\x0A\x11file_cluster_type\"\xB6\x05\x0A\x12ProcessingLocation\x12`\x0A\x17image_fallback_location\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.ImageFallbackLocation\x12f\x0A\x1Adocument_fallback_location\x18\x02 \x01(\x0B2B.google.privacy.dlp.v2.ProcessingLocation.DocumentFallbackLocation\x1A\x17\x0A\x15MultiRegionProcessing\x1A\x12\x0A\x10GlobalProcessing\x1A\xD1\x01\x0A\x15ImageFallbackLocation\x12`\x0A\x17multi_region_processing\x18d \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing\x12V\x0A\x11global_processing\x18\xC8\x01 \x01(\x0B2:.google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing\x1A\xD4\x01\x0A\x18DocumentFallbackLocation\x12`\x0A\x17multi_region_processing\x18d \x01(\x0B2?.google.privacy.dlp.v2.ProcessingLocation.MultiRegionProcessing\x12V\x0A\x11global_processing\x18\xC8\x01 \x01(\x0B2:.google.privacy.dlp.v2.ProcessingLocation.GlobalProcessing\"K\x0A\x17SaveToGcsFindingsOutput\x120\x0A\x08findings\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.Finding\"\xC6\x02\x0A\x06Domain\x128\x0A\x08category\x18\x01 \x01(\x0E2&.google.privacy.dlp.v2.Domain.Category\x125\x0A\x07signals\x18\x02 \x03(\x0E2\$.google.privacy.dlp.v2.Domain.Signal\"6\x0A\x08Category\x12\x18\x0A\x14CATEGORY_UNSPECIFIED\x10\x00\x12\x06\x0A\x02AI\x10\x01\x12\x08\x0A\x04CODE\x10\x02\"\x92\x01\x0A\x06Signal\x12\x16\x0A\x12SIGNAL_UNSPECIFIED\x10\x00\x12\x09\x0A\x05MODEL\x10\x01\x12\x12\x0A\x0ETEXT_EMBEDDING\x10\x02\x12\x0D\x0A\x09EMBEDDING\x10\x07\x12\x11\x0A\x0DVERTEX_PLUGIN\x10\x03\x12\x11\x0A\x0DVECTOR_PLUGIN\x10\x04\x12\x0F\x0A\x0BSOURCE_CODE\x10\x05\x12\x0B\x0A\x07SERVICE\x10\x06\"\xB9\x01\x0A\x1ACreateContentPolicyRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x12 dlp.googleapis.com/ContentPolicy\x12A\x0A\x0Econtent_policy\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.ContentPolicyB\x03\xE0A\x02\x12\x1E\x0A\x11content_policy_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"Q\x0A\x17GetContentPolicyRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A dlp.googleapis.com/ContentPolicy\"\x87\x01\x0A\x1AListContentPoliciesRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x12 dlp.googleapis.com/ContentPolicy\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"v\x0A\x1BListContentPoliciesResponse\x12>\x0A\x10content_policies\x18\x01 \x03(\x0B2\$.google.privacy.dlp.v2.ContentPolicy\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xCD\x01\x0A\x1AUpdateContentPolicyRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A dlp.googleapis.com/ContentPolicy\x12A\x0A\x0Econtent_policy\x18\x02 \x01(\x0B2\$.google.privacy.dlp.v2.ContentPolicyB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"T\x0A\x1ADeleteContentPolicyRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A dlp.googleapis.com/ContentPolicy\"\x9A\x0E\x0A\x0DContentPolicy\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x01\x12A\x0A\x0Einspect_config\x18\x07 \x01(\x0B2\$.google.privacy.dlp.v2.InspectConfigB\x03\xE0A\x01\x12C\x0A\x05rules\x18\x03 \x03(\x0B2/.google.privacy.dlp.v2.ContentPolicy.PolicyRuleB\x03\xE0A\x02\x12U\x0A\x15unsupported_file_type\x18\x08 \x01(\x0B21.google.privacy.dlp.v2.ContentPolicy.PolicyActionB\x03\xE0A\x01\x12O\x0A\x0Finput_too_large\x18\x09 \x01(\x0B21.google.privacy.dlp.v2.ContentPolicy.PolicyActionB\x03\xE0A\x01\x12b\x0A\"failed_to_scan_supported_file_type\x18\x0A \x01(\x0B21.google.privacy.dlp.v2.ContentPolicy.PolicyActionB\x03\xE0A\x01\x12I\x0A\x0Edefault_action\x18\x0B \x01(\x0B21.google.privacy.dlp.v2.ContentPolicy.PolicyAction\x12P\x0A\x0Flogging_configs\x18\x05 \x03(\x0B22.google.privacy.dlp.v2.ContentPolicy.LoggingConfigB\x03\xE0A\x01\x121\x0A\x06errors\x18\x06 \x03(\x0B2\x1C.google.privacy.dlp.v2.ErrorB\x03\xE0A\x03\x1Ad\x0A\x0CPolicyAction\x12J\x0A\x0Ereturn_verdict\x18\x01 \x01(\x0E2+.google.privacy.dlp.v2.ContentPolicyVerdictB\x03\xE0A\x01H\x00B\x08\x0A\x06action\x1A\xD5\x04\x0A\x0APolicyRule\x12X\x0A\x0Aconditions\x18\x02 \x03(\x0B2?.google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyConditionB\x03\xE0A\x01\x12F\x0A\x06action\x18\x05 \x01(\x0B21.google.privacy.dlp.v2.ContentPolicy.PolicyActionB\x03\xE0A\x02\x1A\xA4\x03\x0A\x0FPolicyCondition\x12p\x0A\x13info_type_condition\x18\x01 \x01(\x0B2Q.google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeConditionH\x00\x1A\x91\x02\x0A\x11InfoTypeCondition\x12\x16\x0A\x09min_count\x18\x03 \x01(\x03B\x03\xE0A\x01\x12q\x0A\x0Ainfo_types\x18\x01 \x01(\x0B2[.google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition.InfoTypesH\x00\x12/\x0A\x0Dany_info_type\x18\x02 \x01(\x0B2\x16.google.protobuf.EmptyH\x00\x1A)\x0A\x09InfoTypes\x12\x1C\x0A\x0Finfo_type_names\x18\x01 \x03(\x09B\x03\xE0A\x02B\x15\x0A\x13info_type_conditionB\x0B\x0A\x09condition\x1A\xDB\x01\x0A\x0DLoggingConfig\x12a\x0A\x10log_to_big_query\x18\x01 \x01(\x0B2@.google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQueryB\x03\xE0A\x01H\x00\x1AX\x0A\x0DLogToBigQuery\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Adataset_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08table_id\x18\x03 \x01(\x09B\x03\xE0A\x02B\x0D\x0A\x0Bdestination:o\xEAAl\x0A dlp.googleapis.com/ContentPolicy\x12Hprojects/{project}/locations/{location}/contentPolicies/{content_policy}*T\x0A\x14ContentPolicyVerdict\x12&\x0A\"CONTENT_POLICY_VERDICT_UNSPECIFIED\x10\x00\x12\x09\x0A\x05ALLOW\x10\x01\x12\x09\x0A\x05BLOCK\x10\x02*\xA0\x01\x0A\x1ETransformationResultStatusType\x12\x1A\x0A\x16STATE_TYPE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11INVALID_TRANSFORM\x10\x01\x12\"\x0A\x1EBIGQUERY_MAX_ROW_SIZE_EXCEEDED\x10\x02\x12\x1A\x0A\x16METADATA_UNRETRIEVABLE\x10\x03\x12\x0B\x0A\x07SUCCESS\x10\x04*\x7F\x0A\x1BTransformationContainerType\x12\x1F\x0A\x1BTRANSFORM_UNKNOWN_CONTAINER\x10\x00\x12\x12\x0A\x0ETRANSFORM_BODY\x10\x01\x12\x16\x0A\x12TRANSFORM_METADATA\x10\x02\x12\x13\x0A\x0FTRANSFORM_TABLE\x10\x03*\xE0\x02\x0A\x12TransformationType\x12#\x0A\x1FTRANSFORMATION_TYPE_UNSPECIFIED\x10\x00\x12\x16\x0A\x12RECORD_SUPPRESSION\x10\x01\x12\x11\x0A\x0DREPLACE_VALUE\x10\x02\x12\x16\x0A\x12REPLACE_DICTIONARY\x10\x0F\x12\x0A\x0A\x06REDACT\x10\x03\x12\x12\x0A\x0ECHARACTER_MASK\x10\x04\x12\x1A\x0A\x16CRYPTO_REPLACE_FFX_FPE\x10\x05\x12\x18\x0A\x14FIXED_SIZE_BUCKETING\x10\x06\x12\x0D\x0A\x09BUCKETING\x10\x07\x12\x1A\x0A\x16REPLACE_WITH_INFO_TYPE\x10\x08\x12\x0D\x0A\x09TIME_PART\x10\x09\x12\x0F\x0A\x0BCRYPTO_HASH\x10\x0A\x12\x0E\x0A\x0ADATE_SHIFT\x10\x0C\x12\x1F\x0A\x1BCRYPTO_DETERMINISTIC_CONFIG\x10\x0D\x12\x10\x0A\x0CREDACT_IMAGE\x10\x0E*r\x0A\x11ProfileGeneration\x12\"\x0A\x1EPROFILE_GENERATION_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16PROFILE_GENERATION_NEW\x10\x01\x12\x1D\x0A\x19PROFILE_GENERATION_UPDATE\x10\x02*\x96\x01\x0A\x1BBigQueryTableTypeCollection\x12\$\x0A BIG_QUERY_COLLECTION_UNSPECIFIED\x10\x00\x12\"\x0A\x1EBIG_QUERY_COLLECTION_ALL_TYPES\x10\x01\x12-\x0A)BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES\x10\x02*\xA8\x01\x0A\x11BigQueryTableType\x12\$\x0A BIG_QUERY_TABLE_TYPE_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1ABIG_QUERY_TABLE_TYPE_TABLE\x10\x01\x12*\x0A&BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE\x10\x02\x12!\x0A\x1DBIG_QUERY_TABLE_TYPE_SNAPSHOT\x10\x03*\x94\x01\x0A\x1ADataProfileUpdateFrequency\x12 \x0A\x1CUPDATE_FREQUENCY_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16UPDATE_FREQUENCY_NEVER\x10\x01\x12\x1A\x0A\x16UPDATE_FREQUENCY_DAILY\x10\x02\x12\x1C\x0A\x18UPDATE_FREQUENCY_MONTHLY\x10\x04*]\x0A\x19BigQueryTableModification\x12\"\x0A\x1ETABLE_MODIFICATION_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18TABLE_MODIFIED_TIMESTAMP\x10\x01*u\x0A\x1ABigQuerySchemaModification\x12#\x0A\x1FSCHEMA_MODIFICATION_UNSPECIFIED\x10\x00\x12\x16\x0A\x12SCHEMA_NEW_COLUMNS\x10\x01\x12\x1A\x0A\x16SCHEMA_REMOVED_COLUMNS\x10\x02*\xBB\x01\x0A\x12RelationalOperator\x12#\x0A\x1FRELATIONAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08EQUAL_TO\x10\x01\x12\x10\x0A\x0CNOT_EQUAL_TO\x10\x02\x12\x10\x0A\x0CGREATER_THAN\x10\x03\x12\x0D\x0A\x09LESS_THAN\x10\x04\x12\x1A\x0A\x16GREATER_THAN_OR_EQUALS\x10\x05\x12\x17\x0A\x13LESS_THAN_OR_EQUALS\x10\x06\x12\x0A\x0A\x06EXISTS\x10\x07*\xAE\x01\x0A\x0CMatchingType\x12\x1D\x0A\x19MATCHING_TYPE_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18MATCHING_TYPE_FULL_MATCH\x10\x01\x12\x1F\x0A\x1BMATCHING_TYPE_PARTIAL_MATCH\x10\x02\x12\x1F\x0A\x1BMATCHING_TYPE_INVERSE_MATCH\x10\x03\x12\x1F\x0A\x1BMATCHING_TYPE_RULE_SPECIFIC\x10\x04*M\x0A\x0DContentOption\x12\x17\x0A\x13CONTENT_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CCONTENT_TEXT\x10\x01\x12\x11\x0A\x0DCONTENT_IMAGE\x10\x02*v\x0A\x0CMetadataType\x12\x1C\x0A\x18METADATATYPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10STORAGE_METADATA\x10\x02\x12\x14\x0A\x10CONTENT_METADATA\x10\x03\x12\x1C\x0A\x18CLIENT_PROVIDED_METADATA\x10\x04*P\x0A\x13InfoTypeSupportedBy\x12\x19\x0A\x15ENUM_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07INSPECT\x10\x01\x12\x11\x0A\x0DRISK_ANALYSIS\x10\x02*R\x0A\x0ADlpJobType\x12\x1C\x0A\x18DLP_JOB_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BINSPECT_JOB\x10\x01\x12\x15\x0A\x11RISK_ANALYSIS_JOB\x10\x02*n\x0A\x13StoredInfoTypeState\x12&\x0A\"STORED_INFO_TYPE_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x09\x0A\x05READY\x10\x02\x12\x0A\x0A\x06FAILED\x10\x03\x12\x0B\x0A\x07INVALID\x10\x04*\xA3\x01\x0A\x12ResourceVisibility\x12#\x0A\x1FRESOURCE_VISIBILITY_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1ARESOURCE_VISIBILITY_PUBLIC\x10\x0A\x12\$\x0A RESOURCE_VISIBILITY_INCONCLUSIVE\x10\x0F\x12\"\x0A\x1ERESOURCE_VISIBILITY_RESTRICTED\x10\x14*u\x0A\x10EncryptionStatus\x12!\x0A\x1DENCRYPTION_STATUS_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19ENCRYPTION_GOOGLE_MANAGED\x10\x01\x12\x1F\x0A\x1BENCRYPTION_CUSTOMER_MANAGED\x10\x02*\xA9\x01\x0A\x13NullPercentageLevel\x12%\x0A!NULL_PERCENTAGE_LEVEL_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18NULL_PERCENTAGE_VERY_LOW\x10\x01\x12\x17\x0A\x13NULL_PERCENTAGE_LOW\x10\x02\x12\x1A\x0A\x16NULL_PERCENTAGE_MEDIUM\x10\x03\x12\x18\x0A\x14NULL_PERCENTAGE_HIGH\x10\x04*\x90\x01\x0A\x14UniquenessScoreLevel\x12&\x0A\"UNIQUENESS_SCORE_LEVEL_UNSPECIFIED\x10\x00\x12\x18\x0A\x14UNIQUENESS_SCORE_LOW\x10\x01\x12\x1B\x0A\x17UNIQUENESS_SCORE_MEDIUM\x10\x02\x12\x19\x0A\x15UNIQUENESS_SCORE_HIGH\x10\x03*f\x0A\x0FConnectionState\x12 \x0A\x1CCONNECTION_STATE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13MISSING_CREDENTIALS\x10\x01\x12\x0D\x0A\x09AVAILABLE\x10\x02\x12\x09\x0A\x05ERROR\x10\x032\x97~\x0A\x0ADlpService\x12\xDB\x01\x0A\x0EInspectContent\x12,.google.privacy.dlp.v2.InspectContentRequest\x1A-.google.privacy.dlp.v2.InspectContentResponse\"l\x82\xD3\xE4\x93\x02f\"'/v2/{parent=projects/*}/content:inspect:\x01*Z8\"3/v2/{parent=projects/*/locations/*}/content:inspect:\x01*\x12\xCC\x01\x0A\x0BRedactImage\x12).google.privacy.dlp.v2.RedactImageRequest\x1A*.google.privacy.dlp.v2.RedactImageResponse\"f\x82\xD3\xE4\x93\x02`\"\$/v2/{parent=projects/*}/image:redact:\x01*Z5\"0/v2/{parent=projects/*/locations/*}/image:redact:\x01*\x12\xEA\x01\x0A\x11DeidentifyContent\x12/.google.privacy.dlp.v2.DeidentifyContentRequest\x1A0.google.privacy.dlp.v2.DeidentifyContentResponse\"r\x82\xD3\xE4\x93\x02l\"*/v2/{parent=projects/*}/content:deidentify:\x01*Z;\"6/v2/{parent=projects/*/locations/*}/content:deidentify:\x01*\x12\xEA\x01\x0A\x11ReidentifyContent\x12/.google.privacy.dlp.v2.ReidentifyContentRequest\x1A0.google.privacy.dlp.v2.ReidentifyContentResponse\"r\x82\xD3\xE4\x93\x02l\"*/v2/{parent=projects/*}/content:reidentify:\x01*Z;\"6/v2/{parent=projects/*/locations/*}/content:reidentify:\x01*\x12\x99\x02\x0A\x0DListInfoTypes\x12+.google.privacy.dlp.v2.ListInfoTypesRequest\x1A,.google.privacy.dlp.v2.ListInfoTypesResponse\"\xAC\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\x9C\x01\x12\x0D/v2/infoTypesZ\$\x12\"/v2/{parent=locations/*}/infoTypesZ/\x12-/v2/{parent=projects/*/locations/*}/infoTypesZ4\x122/v2/{parent=organizations/*/locations/*}/infoTypes\x12\xF4\x02\x0A\x15CreateInspectTemplate\x123.google.privacy.dlp.v2.CreateInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\xFD\x01\xDAA\x17parent,inspect_template\x82\xD3\xE4\x93\x02\xDC\x01\"4/v2/{parent=projects/*/locations/*}/inspectTemplates:\x01*Z>\"9/v2/{parent=organizations/*/locations/*}/inspectTemplates:\x01*Z-\"(/v2/{parent=projects/*}/inspectTemplates:\x01*Z2\"-/v2/{parent=organizations/*}/inspectTemplates:\x01*\x12\xFE\x02\x0A\x15UpdateInspectTemplate\x123.google.privacy.dlp.v2.UpdateInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\x87\x02\xDAA!name,inspect_template,update_mask\x82\xD3\xE4\x93\x02\xDC\x0124/v2/{name=projects/*/locations/*/inspectTemplates/*}:\x01*Z>29/v2/{name=organizations/*/locations/*/inspectTemplates/*}:\x01*Z-2(/v2/{name=projects/*/inspectTemplates/*}:\x01*Z22-/v2/{name=organizations/*/inspectTemplates/*}:\x01*\x12\xCF\x02\x0A\x12GetInspectTemplate\x120.google.privacy.dlp.v2.GetInspectTemplateRequest\x1A&.google.privacy.dlp.v2.InspectTemplate\"\xDE\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xD0\x01\x124/v2/{name=projects/*/locations/*/inspectTemplates/*}Z;\x129/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z*\x12(/v2/{name=projects/*/inspectTemplates/*}Z/\x12-/v2/{name=organizations/*/inspectTemplates/*}\x12\xE2\x02\x0A\x14ListInspectTemplates\x122.google.privacy.dlp.v2.ListInspectTemplatesRequest\x1A3.google.privacy.dlp.v2.ListInspectTemplatesResponse\"\xE0\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xD0\x01\x124/v2/{parent=projects/*/locations/*}/inspectTemplatesZ;\x129/v2/{parent=organizations/*/locations/*}/inspectTemplatesZ*\x12(/v2/{parent=projects/*}/inspectTemplatesZ/\x12-/v2/{parent=organizations/*}/inspectTemplates\x12\xC5\x02\x0A\x15DeleteInspectTemplate\x123.google.privacy.dlp.v2.DeleteInspectTemplateRequest\x1A\x16.google.protobuf.Empty\"\xDE\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xD0\x01*4/v2/{name=projects/*/locations/*/inspectTemplates/*}Z;*9/v2/{name=organizations/*/locations/*/inspectTemplates/*}Z**(/v2/{name=projects/*/inspectTemplates/*}Z/*-/v2/{name=organizations/*/inspectTemplates/*}\x12\x8C\x03\x0A\x18CreateDeidentifyTemplate\x126.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest\x1A).google.privacy.dlp.v2.DeidentifyTemplate\"\x8C\x02\xDAA\x1Aparent,deidentify_template\x82\xD3\xE4\x93\x02\xE8\x01\"0/v2/{parent=organizations/*}/deidentifyTemplates:\x01*ZA\"\x12\x12*\"9/v2/{parent=organizations/*/locations/*}/discoveryConfigs:\x01*\x12\x9A\x02\x0A\x15UpdateDiscoveryConfig\x123.google.privacy.dlp.v2.UpdateDiscoveryConfigRequest\x1A&.google.privacy.dlp.v2.DiscoveryConfig\"\xA3\x01\xDAA!name,discovery_config,update_mask\x82\xD3\xE4\x93\x02y24/v2/{name=projects/*/locations/*/discoveryConfigs/*}:\x01*Z>29/v2/{name=organizations/*/locations/*/discoveryConfigs/*}:\x01*\x12\xF1\x01\x0A\x12GetDiscoveryConfig\x120.google.privacy.dlp.v2.GetDiscoveryConfigRequest\x1A&.google.privacy.dlp.v2.DiscoveryConfig\"\x80\x01\xDAA\x04name\x82\xD3\xE4\x93\x02s\x124/v2/{name=projects/*/locations/*/discoveryConfigs/*}Z;\x129/v2/{name=organizations/*/locations/*/discoveryConfigs/*}\x12\x84\x02\x0A\x14ListDiscoveryConfigs\x122.google.privacy.dlp.v2.ListDiscoveryConfigsRequest\x1A3.google.privacy.dlp.v2.ListDiscoveryConfigsResponse\"\x82\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02s\x124/v2/{parent=projects/*/locations/*}/discoveryConfigsZ;\x129/v2/{parent=organizations/*/locations/*}/discoveryConfigs\x12\xE7\x01\x0A\x15DeleteDiscoveryConfig\x123.google.privacy.dlp.v2.DeleteDiscoveryConfigRequest\x1A\x16.google.protobuf.Empty\"\x80\x01\xDAA\x04name\x82\xD3\xE4\x93\x02s*4/v2/{name=projects/*/locations/*/discoveryConfigs/*}Z;*9/v2/{name=organizations/*/locations/*/discoveryConfigs/*}\x12\xDF\x01\x0A\x0CCreateDlpJob\x12*.google.privacy.dlp.v2.CreateDlpJobRequest\x1A\x1D.google.privacy.dlp.v2.DlpJob\"\x83\x01\xDAA\x12parent,inspect_job\xDAA\x0Fparent,risk_job\x82\xD3\xE4\x93\x02V\"\x1F/v2/{parent=projects/*}/dlpJobs:\x01*Z0\"+/v2/{parent=projects/*/locations/*}/dlpJobs:\x01*\x12\xFB\x01\x0A\x0BListDlpJobs\x12).google.privacy.dlp.v2.ListDlpJobsRequest\x1A*.google.privacy.dlp.v2.ListDlpJobsResponse\"\x94\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\x84\x01\x12\x1F/v2/{parent=projects/*}/dlpJobsZ-\x12+/v2/{parent=projects/*/locations/*}/dlpJobsZ2\x120/v2/{parent=organizations/*/locations/*}/dlpJobs\x12\xB2\x01\x0A\x09GetDlpJob\x12'.google.privacy.dlp.v2.GetDlpJobRequest\x1A\x1D.google.privacy.dlp.v2.DlpJob\"]\xDAA\x04name\x82\xD3\xE4\x93\x02P\x12\x1F/v2/{name=projects/*/dlpJobs/*}Z-\x12+/v2/{name=projects/*/locations/*/dlpJobs/*}\x12\xB1\x01\x0A\x0CDeleteDlpJob\x12*.google.privacy.dlp.v2.DeleteDlpJobRequest\x1A\x16.google.protobuf.Empty\"]\xDAA\x04name\x82\xD3\xE4\x93\x02P*\x1F/v2/{name=projects/*/dlpJobs/*}Z-*+/v2/{name=projects/*/locations/*/dlpJobs/*}\x12\xBE\x01\x0A\x0CCancelDlpJob\x12*.google.privacy.dlp.v2.CancelDlpJobRequest\x1A\x16.google.protobuf.Empty\"j\x82\xD3\xE4\x93\x02d\"&/v2/{name=projects/*/dlpJobs/*}:cancel:\x01*Z7\"2/v2/{name=projects/*/locations/*/dlpJobs/*}:cancel:\x01*\x12\xE3\x02\x0A\x14CreateStoredInfoType\x122.google.privacy.dlp.v2.CreateStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xEF\x01\xDAA\x0Dparent,config\x82\xD3\xE4\x93\x02\xD8\x01\",/v2/{parent=organizations/*}/storedInfoTypes:\x01*Z=\"8/v2/{parent=organizations/*/locations/*}/storedInfoTypes:\x01*Z,\"'/v2/{parent=projects/*}/storedInfoTypes:\x01*Z8\"3/v2/{parent=projects/*/locations/*}/storedInfoTypes:\x01*\x12\xED\x02\x0A\x14UpdateStoredInfoType\x122.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xF9\x01\xDAA\x17name,config,update_mask\x82\xD3\xE4\x93\x02\xD8\x012,/v2/{name=organizations/*/storedInfoTypes/*}:\x01*Z=28/v2/{name=organizations/*/locations/*/storedInfoTypes/*}:\x01*Z,2'/v2/{name=projects/*/storedInfoTypes/*}:\x01*Z823/v2/{name=projects/*/locations/*/storedInfoTypes/*}:\x01*\x12\xC8\x02\x0A\x11GetStoredInfoType\x12/.google.privacy.dlp.v2.GetStoredInfoTypeRequest\x1A%.google.privacy.dlp.v2.StoredInfoType\"\xDA\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCC\x01\x12,/v2/{name=organizations/*/storedInfoTypes/*}Z:\x128/v2/{name=organizations/*/locations/*/storedInfoTypes/*}Z)\x12'/v2/{name=projects/*/storedInfoTypes/*}Z5\x123/v2/{name=projects/*/locations/*/storedInfoTypes/*}\x12\xDB\x02\x0A\x13ListStoredInfoTypes\x121.google.privacy.dlp.v2.ListStoredInfoTypesRequest\x1A2.google.privacy.dlp.v2.ListStoredInfoTypesResponse\"\xDC\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02\xCC\x01\x12,/v2/{parent=organizations/*}/storedInfoTypesZ:\x128/v2/{parent=organizations/*/locations/*}/storedInfoTypesZ)\x12'/v2/{parent=projects/*}/storedInfoTypesZ5\x123/v2/{parent=projects/*/locations/*}/storedInfoTypes\x12\xBF\x02\x0A\x14DeleteStoredInfoType\x122.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest\x1A\x16.google.protobuf.Empty\"\xDA\x01\xDAA\x04name\x82\xD3\xE4\x93\x02\xCC\x01*,/v2/{name=organizations/*/storedInfoTypes/*}Z:*8/v2/{name=organizations/*/locations/*/storedInfoTypes/*}Z)*'/v2/{name=projects/*/storedInfoTypes/*}Z5*3/v2/{name=projects/*/locations/*/storedInfoTypes/*}\x12\x93\x02\x0A\x17ListProjectDataProfiles\x125.google.privacy.dlp.v2.ListProjectDataProfilesRequest\x1A6.google.privacy.dlp.v2.ListProjectDataProfilesResponse\"\x88\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02y\x12/v2/{parent=organizations/*/locations/*}/fileStoreDataProfilesZ;\x129/v2/{parent=projects/*/locations/*}/fileStoreDataProfiles\x12\x8A\x02\x0A\x17GetFileStoreDataProfile\x125.google.privacy.dlp.v2.GetFileStoreDataProfileRequest\x1A+.google.privacy.dlp.v2.FileStoreDataProfile\"\x8A\x01\xDAA\x04name\x82\xD3\xE4\x93\x02}\x12>/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}Z;\x129/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}\x12\xFB\x01\x0A\x1ADeleteFileStoreDataProfile\x128.google.privacy.dlp.v2.DeleteFileStoreDataProfileRequest\x1A\x16.google.protobuf.Empty\"\x8A\x01\xDAA\x04name\x82\xD3\xE4\x93\x02}*>/v2/{name=organizations/*/locations/*/fileStoreDataProfiles/*}Z;*9/v2/{name=projects/*/locations/*/fileStoreDataProfiles/*}\x12\xF6\x01\x0A\x13GetTableDataProfile\x121.google.privacy.dlp.v2.GetTableDataProfileRequest\x1A'.google.privacy.dlp.v2.TableDataProfile\"\x82\x01\xDAA\x04name\x82\xD3\xE4\x93\x02u\x12:/v2/{name=organizations/*/locations/*/tableDataProfiles/*}Z7\x125/v2/{name=projects/*/locations/*/tableDataProfiles/*}\x12\xFB\x01\x0A\x14GetColumnDataProfile\x122.google.privacy.dlp.v2.GetColumnDataProfileRequest\x1A(.google.privacy.dlp.v2.ColumnDataProfile\"\x84\x01\xDAA\x04name\x82\xD3\xE4\x93\x02w\x12;/v2/{name=organizations/*/locations/*/columnDataProfiles/*}Z8\x126/v2/{name=projects/*/locations/*/columnDataProfiles/*}\x12\xEB\x01\x0A\x16DeleteTableDataProfile\x124.google.privacy.dlp.v2.DeleteTableDataProfileRequest\x1A\x16.google.protobuf.Empty\"\x82\x01\xDAA\x04name\x82\xD3\xE4\x93\x02u*:/v2/{name=organizations/*/locations/*/tableDataProfiles/*}Z7*5/v2/{name=projects/*/locations/*/tableDataProfiles/*}\x12\xC3\x01\x0A\x13HybridInspectDlpJob\x121.google.privacy.dlp.v2.HybridInspectDlpJobRequest\x1A,.google.privacy.dlp.v2.HybridInspectResponse\"K\xDAA\x04name\x82\xD3\xE4\x93\x02>\"9/v2/{name=projects/*/locations/*/dlpJobs/*}:hybridInspect:\x01*\x12\x91\x01\x0A\x0CFinishDlpJob\x12*.google.privacy.dlp.v2.FinishDlpJobRequest\x1A\x16.google.protobuf.Empty\"=\x82\xD3\xE4\x93\x027\"2/v2/{name=projects/*/locations/*/dlpJobs/*}:finish:\x01*\x12\xF2\x01\x0A\x10CreateConnection\x12..google.privacy.dlp.v2.CreateConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"\x8A\x01\xDAA\x12parent, connection\x82\xD3\xE4\x93\x02o\"//v2/{parent=projects/*/locations/*}/connections:\x01*Z9\"4/v2/{parent=organizations/*/locations/*}/connections:\x01*\x12\xD7\x01\x0A\x0DGetConnection\x12+.google.privacy.dlp.v2.GetConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"v\xDAA\x04name\x82\xD3\xE4\x93\x02i\x12//v2/{name=projects/*/locations/*/connections/*}Z6\x124/v2/{name=organizations/*/locations/*/connections/*}\x12\xEA\x01\x0A\x0FListConnections\x12-.google.privacy.dlp.v2.ListConnectionsRequest\x1A..google.privacy.dlp.v2.ListConnectionsResponse\"x\xDAA\x06parent\x82\xD3\xE4\x93\x02i\x12//v2/{parent=projects/*/locations/*}/connectionsZ6\x124/v2/{parent=organizations/*/locations/*}/connections\x12\xFF\x01\x0A\x11SearchConnections\x12/.google.privacy.dlp.v2.SearchConnectionsRequest\x1A0.google.privacy.dlp.v2.SearchConnectionsResponse\"\x86\x01\xDAA\x06parent\x82\xD3\xE4\x93\x02w\x126/v2/{parent=projects/*/locations/*}/connections:searchZ=\x12;/v2/{parent=organizations/*/locations/*}/connections:search\x12\xD2\x01\x0A\x10DeleteConnection\x12..google.privacy.dlp.v2.DeleteConnectionRequest\x1A\x16.google.protobuf.Empty\"v\xDAA\x04name\x82\xD3\xE4\x93\x02i*//v2/{name=projects/*/locations/*/connections/*}Z6*4/v2/{name=organizations/*/locations/*/connections/*}\x12\xE3\x01\x0A\x10UpdateConnection\x12..google.privacy.dlp.v2.UpdateConnectionRequest\x1A!.google.privacy.dlp.v2.Connection\"|\xDAA\x04name\x82\xD3\xE4\x93\x02o2//v2/{name=projects/*/locations/*/connections/*}:\x01*Z924/v2/{name=organizations/*/locations/*/connections/*}:\x01*\x12\xC7\x01\x0A\x13CreateContentPolicy\x121.google.privacy.dlp.v2.CreateContentPolicyRequest\x1A\$.google.privacy.dlp.v2.ContentPolicy\"W\xDAA\x16parent, content_policy\x82\xD3\xE4\x93\x028\"3/v2/{parent=projects/*/locations/*}/contentPolicies:\x01*\x12\xD2\x01\x0A\x13UpdateContentPolicy\x121.google.privacy.dlp.v2.UpdateContentPolicyRequest\x1A\$.google.privacy.dlp.v2.ContentPolicy\"b\xDAA!name, content_policy, update_mask\x82\xD3\xE4\x93\x02823/v2/{name=projects/*/locations/*/contentPolicies/*}:\x01*\x12\xAC\x01\x0A\x10GetContentPolicy\x12..google.privacy.dlp.v2.GetContentPolicyRequest\x1A\$.google.privacy.dlp.v2.ContentPolicy\"B\xDAA\x04name\x82\xD3\xE4\x93\x025\x123/v2/{name=projects/*/locations/*/contentPolicies/*}\x12\xC2\x01\x0A\x13ListContentPolicies\x121.google.privacy.dlp.v2.ListContentPoliciesRequest\x1A2.google.privacy.dlp.v2.ListContentPoliciesResponse\"D\xDAA\x06parent\x82\xD3\xE4\x93\x025\x123/v2/{parent=projects/*/locations/*}/contentPolicies\x12\xA4\x01\x0A\x13DeleteContentPolicy\x121.google.privacy.dlp.v2.DeleteContentPolicyRequest\x1A\x16.google.protobuf.Empty\"B\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v2/{name=projects/*/locations/*/contentPolicies/*}\x1AF\xCAA\x12dlp.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xEB\x02\x0A\x19com.google.privacy.dlp.v2B\x08DlpProtoP\x01Z)cloud.google.com/go/dlp/apiv2/dlppb;dlppb\xAA\x02\x13Google.Cloud.Dlp.V2\xCA\x02\x13Google\\Cloud\\Dlp\\V2\xEA\x02\x16Google::Cloud::Dlp::V2\xEAAr\x0A\x1Ddlp.googleapis.com/DlpContent\x12\x1Dprojects/{project}/dlpContent\x122projects/{project}/locations/{location}/dlpContent\xEAA\\\x0A'dlp.googleapis.com/OrganizationLocation\x121organizations/{organization}/locations/{location}b\x06proto3" , true); static::$is_initialized = true; diff --git a/Dlp/metadata/V2/Storage.php b/Dlp/metadata/V2/Storage.php index 1c4a7581467b..6605a7d9208e 100644 --- a/Dlp/metadata/V2/Storage.php +++ b/Dlp/metadata/V2/Storage.php @@ -17,7 +17,7 @@ public static function initOnce() { \GPBMetadata\Google\Api\Resource::initOnce(); \GPBMetadata\Google\Protobuf\Timestamp::initOnce(); $pool->internalAddGeneratedFile( - "\x0A\xCC-\x0A#google/privacy/dlp/v2/storage.proto\x12\x15google.privacy.dlp.v2\x1A\x1Fgoogle/protobuf/timestamp.proto\"m\x0A\x08InfoType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0F\x0A\x07version\x18\x02 \x01(\x09\x12B\x0A\x11sensitivity_score\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\"\xFB\x01\x0A\x10SensitivityScore\x12L\x0A\x05score\x18\x01 \x01(\x0E2=.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel\"\x98\x01\x0A\x15SensitivityScoreLevel\x12!\x0A\x1DSENSITIVITY_SCORE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FSENSITIVITY_LOW\x10\x0A\x12\x17\x0A\x13SENSITIVITY_UNKNOWN\x10\x0C\x12\x18\x0A\x14SENSITIVITY_MODERATE\x10\x14\x12\x14\x0A\x10SENSITIVITY_HIGH\x10\x1E\"K\x0A\x0AStoredType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12/\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"\xBD\x0D\x0A\x0ECustomInfoType\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x125\x0A\x0Alikelihood\x18\x06 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12F\x0A\x0Adictionary\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12M\x0A\x0Esurrogate_type\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeH\x00\x128\x0A\x0Bstored_type\x18\x05 \x01(\x0B2!.google.privacy.dlp.v2.StoredTypeH\x00\x12i\x0A\x1Dmetadata_key_value_expression\x18\x0A \x01(\x0B2@.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpressionH\x00\x12L\x0A\x0Fdetection_rules\x18\x07 \x03(\x0B23.google.privacy.dlp.v2.CustomInfoType.DetectionRule\x12K\x0A\x0Eexclusion_type\x18\x08 \x01(\x0E23.google.privacy.dlp.v2.CustomInfoType.ExclusionType\x12B\x0A\x11sensitivity_score\x18\x09 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x1A\xC8\x01\x0A\x0ADictionary\x12N\x0A\x09word_list\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00\x12E\x0A\x12cloud_storage_path\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePathH\x00\x1A\x19\x0A\x08WordList\x12\x0D\x0A\x05words\x18\x01 \x03(\x09B\x08\x0A\x06source\x1A/\x0A\x05Regex\x12\x0F\x0A\x07pattern\x18\x01 \x01(\x09\x12\x15\x0A\x0Dgroup_indexes\x18\x02 \x03(\x05\x1A\x0F\x0A\x0DSurrogateType\x1AD\x0A\x1AMetadataKeyValueExpression\x12\x11\x0A\x09key_regex\x18\x01 \x01(\x09\x12\x13\x0A\x0Bvalue_regex\x18\x02 \x01(\x09\x1A\xBE\x04\x0A\x0DDetectionRule\x12W\x0A\x0Chotword_rule\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x1A8\x0A\x09Proximity\x12\x15\x0A\x0Dwindow_before\x18\x01 \x01(\x05\x12\x14\x0A\x0Cwindow_after\x18\x02 \x01(\x05\x1A\x82\x01\x0A\x14LikelihoodAdjustment\x12=\x0A\x10fixed_likelihood\x18\x01 \x01(\x0E2!.google.privacy.dlp.v2.LikelihoodH\x00\x12\x1D\x0A\x13relative_likelihood\x18\x02 \x01(\x05H\x00B\x0C\x0A\x0Aadjustment\x1A\x8C\x02\x0A\x0BHotwordRule\x12B\x0A\x0Dhotword_regex\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\x0A\x09proximity\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\x12g\x0A\x15likelihood_adjustment\x18\x03 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x06\x0A\x04type\"K\x0A\x0DExclusionType\x12\x1E\x0A\x1AEXCLUSION_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16EXCLUSION_TYPE_EXCLUDE\x10\x01B\x06\x0A\x04type\"\x17\x0A\x07FieldId\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\"7\x0A\x0BPartitionId\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12\x14\x0A\x0Cnamespace_id\x18\x04 \x01(\x09\"\x1E\x0A\x0EKindExpression\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\"\x81\x01\x0A\x10DatastoreOptions\x128\x0A\x0Cpartition_id\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.PartitionId\x123\x0A\x04kind\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.KindExpression\"]\x0A\x18CloudStorageRegexFileSet\x12\x13\x0A\x0Bbucket_name\x18\x01 \x01(\x09\x12\x15\x0A\x0Dinclude_regex\x18\x02 \x03(\x09\x12\x15\x0A\x0Dexclude_regex\x18\x03 \x03(\x09\"\xEC\x03\x0A\x13CloudStorageOptions\x12D\x0A\x08file_set\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.CloudStorageOptions.FileSet\x12\x1C\x0A\x14bytes_limit_per_file\x18\x04 \x01(\x03\x12\$\x0A\x1Cbytes_limit_per_file_percent\x18\x08 \x01(\x05\x123\x0A\x0Afile_types\x18\x05 \x03(\x0E2\x1F.google.privacy.dlp.v2.FileType\x12N\x0A\x0Dsample_method\x18\x06 \x01(\x0E27.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod\x12\x1B\x0A\x13files_limit_percent\x18\x07 \x01(\x05\x1A_\x0A\x07FileSet\x12\x0B\x0A\x03url\x18\x01 \x01(\x09\x12G\x0A\x0Eregex_file_set\x18\x02 \x01(\x0B2/.google.privacy.dlp.v2.CloudStorageRegexFileSet\"H\x0A\x0CSampleMethod\x12\x1D\x0A\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\x0A\x03TOP\x10\x01\x12\x10\x0A\x0CRANDOM_START\x10\x02\"\"\x0A\x13CloudStorageFileSet\x12\x0B\x0A\x03url\x18\x01 \x01(\x09\" \x0A\x10CloudStoragePath\x12\x0C\x0A\x04path\x18\x01 \x01(\x09\"\xC4\x03\x0A\x0FBigQueryOptions\x12=\x0A\x0Ftable_reference\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12:\x0A\x12identifying_fields\x18\x02 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Arows_limit\x18\x03 \x01(\x03\x12\x1A\x0A\x12rows_limit_percent\x18\x06 \x01(\x05\x12J\x0A\x0Dsample_method\x18\x04 \x01(\x0E23.google.privacy.dlp.v2.BigQueryOptions.SampleMethod\x127\x0A\x0Fexcluded_fields\x18\x05 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x127\x0A\x0Fincluded_fields\x18\x07 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"H\x0A\x0CSampleMethod\x12\x1D\x0A\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\x0A\x03TOP\x10\x01\x12\x10\x0A\x0CRANDOM_START\x10\x02\"\xDA\x04\x0A\x0DStorageConfig\x12D\x0A\x11datastore_options\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DatastoreOptionsH\x00\x12K\x0A\x15cloud_storage_options\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.CloudStorageOptionsH\x00\x12C\x0A\x11big_query_options\x18\x04 \x01(\x0B2&.google.privacy.dlp.v2.BigQueryOptionsH\x00\x12>\x0A\x0Ehybrid_options\x18\x09 \x01(\x0B2\$.google.privacy.dlp.v2.HybridOptionsH\x00\x12L\x0A\x0Ftimespan_config\x18\x06 \x01(\x0B23.google.privacy.dlp.v2.StorageConfig.TimespanConfig\x1A\xDA\x01\x0A\x0ETimespanConfig\x12.\x0A\x0Astart_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x127\x0A\x0Ftimestamp_field\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x121\x0A)enable_auto_population_of_timespan_config\x18\x04 \x01(\x08B\x06\x0A\x04type\"\xF6\x01\x0A\x0DHybridOptions\x12\x13\x0A\x0Bdescription\x18\x01 \x01(\x09\x12#\x0A\x1Brequired_finding_label_keys\x18\x02 \x03(\x09\x12@\x0A\x06labels\x18\x03 \x03(\x0B20.google.privacy.dlp.v2.HybridOptions.LabelsEntry\x12:\x0A\x0Dtable_options\x18\x04 \x01(\x0B2#.google.privacy.dlp.v2.TableOptions\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"`\x0A\x0BBigQueryKey\x12=\x0A\x0Ftable_reference\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12\x12\x0A\x0Arow_number\x18\x02 \x01(\x03\">\x0A\x0CDatastoreKey\x12.\x0A\x0Aentity_key\x18\x01 \x01(\x0B2\x1A.google.privacy.dlp.v2.Key\"\xBB\x01\x0A\x03Key\x128\x0A\x0Cpartition_id\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.PartitionId\x124\x0A\x04path\x18\x02 \x03(\x0B2&.google.privacy.dlp.v2.Key.PathElement\x1AD\x0A\x0BPathElement\x12\x0C\x0A\x04kind\x18\x01 \x01(\x09\x12\x0C\x0A\x02id\x18\x02 \x01(\x03H\x00\x12\x0E\x0A\x04name\x18\x03 \x01(\x09H\x00B\x09\x0A\x07id_type\"\xA1\x01\x0A\x09RecordKey\x12<\x0A\x0Ddatastore_key\x18\x02 \x01(\x0B2#.google.privacy.dlp.v2.DatastoreKeyH\x00\x12;\x0A\x0Dbig_query_key\x18\x03 \x01(\x0B2\".google.privacy.dlp.v2.BigQueryKeyH\x00\x12\x11\x0A\x09id_values\x18\x05 \x03(\x09B\x06\x0A\x04type\"I\x0A\x0DBigQueryTable\x12\x12\x0A\x0Aproject_id\x18\x01 \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x02 \x01(\x09\x12\x10\x0A\x08table_id\x18\x03 \x01(\x09\"J\x0A\x0ETableReference\x12\x12\x0A\x0Adataset_id\x18\x01 \x01(\x09\x12\x10\x0A\x08table_id\x18\x02 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x03 \x01(\x09\"s\x0A\x0DBigQueryField\x123\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12-\x0A\x05field\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"9\x0A\x08EntityId\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"J\x0A\x0CTableOptions\x12:\x0A\x12identifying_fields\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId*t\x0A\x0ALikelihood\x12\x1A\x0A\x16LIKELIHOOD_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DVERY_UNLIKELY\x10\x01\x12\x0C\x0A\x08UNLIKELY\x10\x02\x12\x0C\x0A\x08POSSIBLE\x10\x03\x12\x0A\x0A\x06LIKELY\x10\x04\x12\x0F\x0A\x0BVERY_LIKELY\x10\x05*\x9A\x01\x0A\x08FileType\x12\x19\x0A\x15FILE_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BBINARY_FILE\x10\x01\x12\x0D\x0A\x09TEXT_FILE\x10\x02\x12\x09\x0A\x05IMAGE\x10\x03\x12\x08\x0A\x04WORD\x10\x05\x12\x07\x0A\x03PDF\x10\x06\x12\x08\x0A\x04AVRO\x10\x07\x12\x07\x0A\x03CSV\x10\x08\x12\x07\x0A\x03TSV\x10\x09\x12\x0E\x0A\x0APOWERPOINT\x10\x0B\x12\x09\x0A\x05EXCEL\x10\x0CB\x99\x01\x0A\x19com.google.privacy.dlp.v2B\x0ADlpStorageP\x01Z)cloud.google.com/go/dlp/apiv2/dlppb;dlppb\xAA\x02\x13Google.Cloud.Dlp.V2\xCA\x02\x13Google\\Cloud\\Dlp\\V2\xEA\x02\x16Google::Cloud::Dlp::V2b\x06proto3" + "\x0A\xF81\x0A#google/privacy/dlp/v2/storage.proto\x12\x15google.privacy.dlp.v2\x1A\x1Fgoogle/protobuf/timestamp.proto\"m\x0A\x08InfoType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0F\x0A\x07version\x18\x02 \x01(\x09\x12B\x0A\x11sensitivity_score\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\"\xFB\x01\x0A\x10SensitivityScore\x12L\x0A\x05score\x18\x01 \x01(\x0E2=.google.privacy.dlp.v2.SensitivityScore.SensitivityScoreLevel\"\x98\x01\x0A\x15SensitivityScoreLevel\x12!\x0A\x1DSENSITIVITY_SCORE_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FSENSITIVITY_LOW\x10\x0A\x12\x17\x0A\x13SENSITIVITY_UNKNOWN\x10\x0C\x12\x18\x0A\x14SENSITIVITY_MODERATE\x10\x14\x12\x14\x0A\x10SENSITIVITY_HIGH\x10\x1E\"K\x0A\x0AStoredType\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12/\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"\xE9\x11\x0A\x0ECustomInfoType\x122\x0A\x09info_type\x18\x01 \x01(\x0B2\x1F.google.privacy.dlp.v2.InfoType\x125\x0A\x0Alikelihood\x18\x06 \x01(\x0E2!.google.privacy.dlp.v2.Likelihood\x12F\x0A\x0Adictionary\x18\x02 \x01(\x0B20.google.privacy.dlp.v2.CustomInfoType.DictionaryH\x00\x12<\x0A\x05regex\x18\x03 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.RegexH\x00\x12M\x0A\x0Esurrogate_type\x18\x04 \x01(\x0B23.google.privacy.dlp.v2.CustomInfoType.SurrogateTypeH\x00\x128\x0A\x0Bstored_type\x18\x05 \x01(\x0B2!.google.privacy.dlp.v2.StoredTypeH\x00\x12i\x0A\x1Dmetadata_key_value_expression\x18\x0A \x01(\x0B2@.google.privacy.dlp.v2.CustomInfoType.MetadataKeyValueExpressionH\x00\x12W\x0A\x14file_label_info_type\x18\x0C \x01(\x0B27.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoTypeH\x00\x12L\x0A\x0Fdetection_rules\x18\x07 \x03(\x0B23.google.privacy.dlp.v2.CustomInfoType.DetectionRule\x12K\x0A\x0Eexclusion_type\x18\x08 \x01(\x0E23.google.privacy.dlp.v2.CustomInfoType.ExclusionType\x12B\x0A\x11sensitivity_score\x18\x09 \x01(\x0B2'.google.privacy.dlp.v2.SensitivityScore\x1A\xC8\x01\x0A\x0ADictionary\x12N\x0A\x09word_list\x18\x01 \x01(\x0B29.google.privacy.dlp.v2.CustomInfoType.Dictionary.WordListH\x00\x12E\x0A\x12cloud_storage_path\x18\x03 \x01(\x0B2'.google.privacy.dlp.v2.CloudStoragePathH\x00\x1A\x19\x0A\x08WordList\x12\x0D\x0A\x05words\x18\x01 \x03(\x09B\x08\x0A\x06source\x1A/\x0A\x05Regex\x12\x0F\x0A\x07pattern\x18\x01 \x01(\x09\x12\x15\x0A\x0Dgroup_indexes\x18\x02 \x03(\x05\x1A\x0F\x0A\x0DSurrogateType\x1AD\x0A\x1AMetadataKeyValueExpression\x12\x11\x0A\x09key_regex\x18\x01 \x01(\x09\x12\x13\x0A\x0Bvalue_regex\x18\x02 \x01(\x09\x1A\xD0\x03\x0A\x11FileLabelInfoType\x12e\x0A\x11sensitivity_label\x18\x01 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabelH\x00\x12f\x0A\x12google_drive_label\x18\x02 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabelH\x00\x1A \x0A\x10SensitivityLabel\x12\x0C\x0A\x04guid\x18\x01 \x01(\x09\x1A\xC1\x01\x0A\x10GoogleDriveLabel\x12\x10\x0A\x08label_id\x18\x01 \x01(\x09\x12r\x0A\x15label_fields_to_match\x18\x02 \x03(\x0B2S.google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField\x1A'\x0A\x0ALabelField\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09B\x06\x0A\x04type\x1A\xBE\x04\x0A\x0DDetectionRule\x12W\x0A\x0Chotword_rule\x18\x01 \x01(\x0B2?.google.privacy.dlp.v2.CustomInfoType.DetectionRule.HotwordRuleH\x00\x1A8\x0A\x09Proximity\x12\x15\x0A\x0Dwindow_before\x18\x01 \x01(\x05\x12\x14\x0A\x0Cwindow_after\x18\x02 \x01(\x05\x1A\x82\x01\x0A\x14LikelihoodAdjustment\x12=\x0A\x10fixed_likelihood\x18\x01 \x01(\x0E2!.google.privacy.dlp.v2.LikelihoodH\x00\x12\x1D\x0A\x13relative_likelihood\x18\x02 \x01(\x05H\x00B\x0C\x0A\x0Aadjustment\x1A\x8C\x02\x0A\x0BHotwordRule\x12B\x0A\x0Dhotword_regex\x18\x01 \x01(\x0B2+.google.privacy.dlp.v2.CustomInfoType.Regex\x12P\x0A\x09proximity\x18\x02 \x01(\x0B2=.google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity\x12g\x0A\x15likelihood_adjustment\x18\x03 \x01(\x0B2H.google.privacy.dlp.v2.CustomInfoType.DetectionRule.LikelihoodAdjustmentB\x06\x0A\x04type\"K\x0A\x0DExclusionType\x12\x1E\x0A\x1AEXCLUSION_TYPE_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16EXCLUSION_TYPE_EXCLUDE\x10\x01B\x06\x0A\x04type\"\x17\x0A\x07FieldId\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\"7\x0A\x0BPartitionId\x12\x12\x0A\x0Aproject_id\x18\x02 \x01(\x09\x12\x14\x0A\x0Cnamespace_id\x18\x04 \x01(\x09\"\x1E\x0A\x0EKindExpression\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\"\x81\x01\x0A\x10DatastoreOptions\x128\x0A\x0Cpartition_id\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.PartitionId\x123\x0A\x04kind\x18\x02 \x01(\x0B2%.google.privacy.dlp.v2.KindExpression\"]\x0A\x18CloudStorageRegexFileSet\x12\x13\x0A\x0Bbucket_name\x18\x01 \x01(\x09\x12\x15\x0A\x0Dinclude_regex\x18\x02 \x03(\x09\x12\x15\x0A\x0Dexclude_regex\x18\x03 \x03(\x09\"\xEC\x03\x0A\x13CloudStorageOptions\x12D\x0A\x08file_set\x18\x01 \x01(\x0B22.google.privacy.dlp.v2.CloudStorageOptions.FileSet\x12\x1C\x0A\x14bytes_limit_per_file\x18\x04 \x01(\x03\x12\$\x0A\x1Cbytes_limit_per_file_percent\x18\x08 \x01(\x05\x123\x0A\x0Afile_types\x18\x05 \x03(\x0E2\x1F.google.privacy.dlp.v2.FileType\x12N\x0A\x0Dsample_method\x18\x06 \x01(\x0E27.google.privacy.dlp.v2.CloudStorageOptions.SampleMethod\x12\x1B\x0A\x13files_limit_percent\x18\x07 \x01(\x05\x1A_\x0A\x07FileSet\x12\x0B\x0A\x03url\x18\x01 \x01(\x09\x12G\x0A\x0Eregex_file_set\x18\x02 \x01(\x0B2/.google.privacy.dlp.v2.CloudStorageRegexFileSet\"H\x0A\x0CSampleMethod\x12\x1D\x0A\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\x0A\x03TOP\x10\x01\x12\x10\x0A\x0CRANDOM_START\x10\x02\"\"\x0A\x13CloudStorageFileSet\x12\x0B\x0A\x03url\x18\x01 \x01(\x09\" \x0A\x10CloudStoragePath\x12\x0C\x0A\x04path\x18\x01 \x01(\x09\"\xC4\x03\x0A\x0FBigQueryOptions\x12=\x0A\x0Ftable_reference\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12:\x0A\x12identifying_fields\x18\x02 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x12\x12\x0A\x0Arows_limit\x18\x03 \x01(\x03\x12\x1A\x0A\x12rows_limit_percent\x18\x06 \x01(\x05\x12J\x0A\x0Dsample_method\x18\x04 \x01(\x0E23.google.privacy.dlp.v2.BigQueryOptions.SampleMethod\x127\x0A\x0Fexcluded_fields\x18\x05 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x127\x0A\x0Fincluded_fields\x18\x07 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"H\x0A\x0CSampleMethod\x12\x1D\x0A\x19SAMPLE_METHOD_UNSPECIFIED\x10\x00\x12\x07\x0A\x03TOP\x10\x01\x12\x10\x0A\x0CRANDOM_START\x10\x02\"\xDA\x04\x0A\x0DStorageConfig\x12D\x0A\x11datastore_options\x18\x02 \x01(\x0B2'.google.privacy.dlp.v2.DatastoreOptionsH\x00\x12K\x0A\x15cloud_storage_options\x18\x03 \x01(\x0B2*.google.privacy.dlp.v2.CloudStorageOptionsH\x00\x12C\x0A\x11big_query_options\x18\x04 \x01(\x0B2&.google.privacy.dlp.v2.BigQueryOptionsH\x00\x12>\x0A\x0Ehybrid_options\x18\x09 \x01(\x0B2\$.google.privacy.dlp.v2.HybridOptionsH\x00\x12L\x0A\x0Ftimespan_config\x18\x06 \x01(\x0B23.google.privacy.dlp.v2.StorageConfig.TimespanConfig\x1A\xDA\x01\x0A\x0ETimespanConfig\x12.\x0A\x0Astart_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x127\x0A\x0Ftimestamp_field\x18\x03 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\x121\x0A)enable_auto_population_of_timespan_config\x18\x04 \x01(\x08B\x06\x0A\x04type\"\xF6\x01\x0A\x0DHybridOptions\x12\x13\x0A\x0Bdescription\x18\x01 \x01(\x09\x12#\x0A\x1Brequired_finding_label_keys\x18\x02 \x03(\x09\x12@\x0A\x06labels\x18\x03 \x03(\x0B20.google.privacy.dlp.v2.HybridOptions.LabelsEntry\x12:\x0A\x0Dtable_options\x18\x04 \x01(\x0B2#.google.privacy.dlp.v2.TableOptions\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"`\x0A\x0BBigQueryKey\x12=\x0A\x0Ftable_reference\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12\x12\x0A\x0Arow_number\x18\x02 \x01(\x03\">\x0A\x0CDatastoreKey\x12.\x0A\x0Aentity_key\x18\x01 \x01(\x0B2\x1A.google.privacy.dlp.v2.Key\"\xBB\x01\x0A\x03Key\x128\x0A\x0Cpartition_id\x18\x01 \x01(\x0B2\".google.privacy.dlp.v2.PartitionId\x124\x0A\x04path\x18\x02 \x03(\x0B2&.google.privacy.dlp.v2.Key.PathElement\x1AD\x0A\x0BPathElement\x12\x0C\x0A\x04kind\x18\x01 \x01(\x09\x12\x0C\x0A\x02id\x18\x02 \x01(\x03H\x00\x12\x0E\x0A\x04name\x18\x03 \x01(\x09H\x00B\x09\x0A\x07id_type\"\xA1\x01\x0A\x09RecordKey\x12<\x0A\x0Ddatastore_key\x18\x02 \x01(\x0B2#.google.privacy.dlp.v2.DatastoreKeyH\x00\x12;\x0A\x0Dbig_query_key\x18\x03 \x01(\x0B2\".google.privacy.dlp.v2.BigQueryKeyH\x00\x12\x11\x0A\x09id_values\x18\x05 \x03(\x09B\x06\x0A\x04type\"I\x0A\x0DBigQueryTable\x12\x12\x0A\x0Aproject_id\x18\x01 \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x02 \x01(\x09\x12\x10\x0A\x08table_id\x18\x03 \x01(\x09\"J\x0A\x0ETableReference\x12\x12\x0A\x0Adataset_id\x18\x01 \x01(\x09\x12\x10\x0A\x08table_id\x18\x02 \x01(\x09\x12\x12\x0A\x0Aproject_id\x18\x03 \x01(\x09\"s\x0A\x0DBigQueryField\x123\x0A\x05table\x18\x01 \x01(\x0B2\$.google.privacy.dlp.v2.BigQueryTable\x12-\x0A\x05field\x18\x02 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"9\x0A\x08EntityId\x12-\x0A\x05field\x18\x01 \x01(\x0B2\x1E.google.privacy.dlp.v2.FieldId\"J\x0A\x0CTableOptions\x12:\x0A\x12identifying_fields\x18\x01 \x03(\x0B2\x1E.google.privacy.dlp.v2.FieldId*t\x0A\x0ALikelihood\x12\x1A\x0A\x16LIKELIHOOD_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DVERY_UNLIKELY\x10\x01\x12\x0C\x0A\x08UNLIKELY\x10\x02\x12\x0C\x0A\x08POSSIBLE\x10\x03\x12\x0A\x0A\x06LIKELY\x10\x04\x12\x0F\x0A\x0BVERY_LIKELY\x10\x05*\x9A\x01\x0A\x08FileType\x12\x19\x0A\x15FILE_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BBINARY_FILE\x10\x01\x12\x0D\x0A\x09TEXT_FILE\x10\x02\x12\x09\x0A\x05IMAGE\x10\x03\x12\x08\x0A\x04WORD\x10\x05\x12\x07\x0A\x03PDF\x10\x06\x12\x08\x0A\x04AVRO\x10\x07\x12\x07\x0A\x03CSV\x10\x08\x12\x07\x0A\x03TSV\x10\x09\x12\x0E\x0A\x0APOWERPOINT\x10\x0B\x12\x09\x0A\x05EXCEL\x10\x0CB\x99\x01\x0A\x19com.google.privacy.dlp.v2B\x0ADlpStorageP\x01Z)cloud.google.com/go/dlp/apiv2/dlppb;dlppb\xAA\x02\x13Google.Cloud.Dlp.V2\xCA\x02\x13Google\\Cloud\\Dlp\\V2\xEA\x02\x16Google::Cloud::Dlp::V2b\x06proto3" , true); static::$is_initialized = true; diff --git a/Dlp/samples/V2/DlpServiceClient/cancel_dlp_job.php b/Dlp/samples/V2/DlpServiceClient/cancel_dlp_job.php index b4e0ab4756c3..e425c76322e3 100644 --- a/Dlp/samples/V2/DlpServiceClient/cancel_dlp_job.php +++ b/Dlp/samples/V2/DlpServiceClient/cancel_dlp_job.php @@ -32,9 +32,9 @@ * makes a best effort to cancel the DlpJob, but success is not * guaranteed. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * @param string $formattedName The name of the DlpJob resource to be cancelled. Please see diff --git a/Dlp/samples/V2/DlpServiceClient/create_content_policy.php b/Dlp/samples/V2/DlpServiceClient/create_content_policy.php new file mode 100644 index 000000000000..32d3fc54c431 --- /dev/null +++ b/Dlp/samples/V2/DlpServiceClient/create_content_policy.php @@ -0,0 +1,86 @@ +setAction($contentPolicyRulesAction); + $contentPolicyRules = [$policyRule,]; + $contentPolicy = (new ContentPolicy()) + ->setRules($contentPolicyRules); + $request = (new CreateContentPolicyRequest()) + ->setParent($formattedParent) + ->setContentPolicy($contentPolicy); + + // Call the API and handle any network failures. + try { + /** @var ContentPolicy $response */ + $response = $dlpServiceClient->createContentPolicy($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = DlpServiceClient::locationName('[PROJECT]', '[LOCATION]'); + + create_content_policy_sample($formattedParent); +} +// [END dlp_v2_generated_DlpService_CreateContentPolicy_sync] diff --git a/Dlp/samples/V2/DlpServiceClient/create_deidentify_template.php b/Dlp/samples/V2/DlpServiceClient/create_deidentify_template.php index 34fdbd981815..98d41045be8b 100644 --- a/Dlp/samples/V2/DlpServiceClient/create_deidentify_template.php +++ b/Dlp/samples/V2/DlpServiceClient/create_deidentify_template.php @@ -32,14 +32,14 @@ * Creates a DeidentifyTemplate for reusing frequently used configuration * for de-identifying content, images, and storage. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/create_dlp_job.php b/Dlp/samples/V2/DlpServiceClient/create_dlp_job.php index 480f83dd8861..13bfe9844848 100644 --- a/Dlp/samples/V2/DlpServiceClient/create_dlp_job.php +++ b/Dlp/samples/V2/DlpServiceClient/create_dlp_job.php @@ -31,9 +31,9 @@ /** * Creates a new job to inspect storage or calculate risk metrics. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the @@ -44,7 +44,7 @@ * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/create_inspect_template.php b/Dlp/samples/V2/DlpServiceClient/create_inspect_template.php index 32be6449ca25..984acab939df 100644 --- a/Dlp/samples/V2/DlpServiceClient/create_inspect_template.php +++ b/Dlp/samples/V2/DlpServiceClient/create_inspect_template.php @@ -32,14 +32,14 @@ * Creates an InspectTemplate for reusing frequently used configuration * for inspecting content, images, and storage. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/create_job_trigger.php b/Dlp/samples/V2/DlpServiceClient/create_job_trigger.php index 7dc3ae1e10c1..d45700be141c 100644 --- a/Dlp/samples/V2/DlpServiceClient/create_job_trigger.php +++ b/Dlp/samples/V2/DlpServiceClient/create_job_trigger.php @@ -33,14 +33,14 @@ * Creates a job trigger to run DLP actions such as scanning storage for * sensitive information on a set schedule. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/create_stored_info_type.php b/Dlp/samples/V2/DlpServiceClient/create_stored_info_type.php index 897584feb2c5..36815c9640fb 100644 --- a/Dlp/samples/V2/DlpServiceClient/create_stored_info_type.php +++ b/Dlp/samples/V2/DlpServiceClient/create_stored_info_type.php @@ -32,14 +32,14 @@ /** * Creates a pre-built stored infoType to be used for inspection. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/deidentify_content.php b/Dlp/samples/V2/DlpServiceClient/deidentify_content.php index 9f020e531ce0..724b54867328 100644 --- a/Dlp/samples/V2/DlpServiceClient/deidentify_content.php +++ b/Dlp/samples/V2/DlpServiceClient/deidentify_content.php @@ -32,7 +32,7 @@ * De-identifies potentially sensitive info from a ContentItem. * This method has limits on input size and output size. * See - * https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data + * https://docs.cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in this request, the diff --git a/Dlp/samples/V2/DlpServiceClient/delete_content_policy.php b/Dlp/samples/V2/DlpServiceClient/delete_content_policy.php new file mode 100644 index 000000000000..add1398f6329 --- /dev/null +++ b/Dlp/samples/V2/DlpServiceClient/delete_content_policy.php @@ -0,0 +1,70 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + $dlpServiceClient->deleteContentPolicy($request); + printf('Call completed successfully.' . PHP_EOL); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DlpServiceClient::contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + + delete_content_policy_sample($formattedName); +} +// [END dlp_v2_generated_DlpService_DeleteContentPolicy_sync] diff --git a/Dlp/samples/V2/DlpServiceClient/delete_deidentify_template.php b/Dlp/samples/V2/DlpServiceClient/delete_deidentify_template.php index ba5c4c105568..f60506165f2e 100644 --- a/Dlp/samples/V2/DlpServiceClient/delete_deidentify_template.php +++ b/Dlp/samples/V2/DlpServiceClient/delete_deidentify_template.php @@ -30,7 +30,7 @@ /** * Deletes a DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * @param string $formattedName Resource name of the organization and deidentify template to be diff --git a/Dlp/samples/V2/DlpServiceClient/delete_dlp_job.php b/Dlp/samples/V2/DlpServiceClient/delete_dlp_job.php index 7bda89404e16..20b165ba6514 100644 --- a/Dlp/samples/V2/DlpServiceClient/delete_dlp_job.php +++ b/Dlp/samples/V2/DlpServiceClient/delete_dlp_job.php @@ -32,9 +32,9 @@ * no longer interested in the DlpJob result. The job will be canceled if * possible. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * @param string $formattedName The name of the DlpJob resource to be deleted. Please see diff --git a/Dlp/samples/V2/DlpServiceClient/delete_inspect_template.php b/Dlp/samples/V2/DlpServiceClient/delete_inspect_template.php index 897541a163cd..ea985e3b25b8 100644 --- a/Dlp/samples/V2/DlpServiceClient/delete_inspect_template.php +++ b/Dlp/samples/V2/DlpServiceClient/delete_inspect_template.php @@ -30,7 +30,7 @@ /** * Deletes an InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * @param string $formattedName Resource name of the organization and inspectTemplate to be diff --git a/Dlp/samples/V2/DlpServiceClient/delete_job_trigger.php b/Dlp/samples/V2/DlpServiceClient/delete_job_trigger.php index 1c6e6c52af78..4310b8bd5ad9 100644 --- a/Dlp/samples/V2/DlpServiceClient/delete_job_trigger.php +++ b/Dlp/samples/V2/DlpServiceClient/delete_job_trigger.php @@ -30,7 +30,7 @@ /** * Deletes a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * @param string $formattedName Resource name of the project and the triggeredJob, for example diff --git a/Dlp/samples/V2/DlpServiceClient/delete_stored_info_type.php b/Dlp/samples/V2/DlpServiceClient/delete_stored_info_type.php index a6696379f996..e4b8c813808a 100644 --- a/Dlp/samples/V2/DlpServiceClient/delete_stored_info_type.php +++ b/Dlp/samples/V2/DlpServiceClient/delete_stored_info_type.php @@ -30,7 +30,7 @@ /** * Deletes a stored infoType. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * @param string $formattedName Resource name of the organization and storedInfoType to be diff --git a/Dlp/samples/V2/DlpServiceClient/get_content_policy.php b/Dlp/samples/V2/DlpServiceClient/get_content_policy.php new file mode 100644 index 000000000000..0de6e6af1b31 --- /dev/null +++ b/Dlp/samples/V2/DlpServiceClient/get_content_policy.php @@ -0,0 +1,72 @@ +setName($formattedName); + + // Call the API and handle any network failures. + try { + /** @var ContentPolicy $response */ + $response = $dlpServiceClient->getContentPolicy($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DlpServiceClient::contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + + get_content_policy_sample($formattedName); +} +// [END dlp_v2_generated_DlpService_GetContentPolicy_sync] diff --git a/Dlp/samples/V2/DlpServiceClient/get_deidentify_template.php b/Dlp/samples/V2/DlpServiceClient/get_deidentify_template.php index 35ec1dbb6936..e953dd27e9c6 100644 --- a/Dlp/samples/V2/DlpServiceClient/get_deidentify_template.php +++ b/Dlp/samples/V2/DlpServiceClient/get_deidentify_template.php @@ -31,7 +31,7 @@ /** * Gets a DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * @param string $formattedName Resource name of the organization and deidentify template to be diff --git a/Dlp/samples/V2/DlpServiceClient/get_dlp_job.php b/Dlp/samples/V2/DlpServiceClient/get_dlp_job.php index fb2c0e3416f1..804ad4afe61a 100644 --- a/Dlp/samples/V2/DlpServiceClient/get_dlp_job.php +++ b/Dlp/samples/V2/DlpServiceClient/get_dlp_job.php @@ -31,9 +31,9 @@ /** * Gets the latest state of a long-running DlpJob. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * @param string $formattedName The name of the DlpJob resource. Please see diff --git a/Dlp/samples/V2/DlpServiceClient/get_inspect_template.php b/Dlp/samples/V2/DlpServiceClient/get_inspect_template.php index 70e4a926a3b6..e5da99543077 100644 --- a/Dlp/samples/V2/DlpServiceClient/get_inspect_template.php +++ b/Dlp/samples/V2/DlpServiceClient/get_inspect_template.php @@ -31,7 +31,7 @@ /** * Gets an InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * @param string $formattedName Resource name of the organization and inspectTemplate to be read, diff --git a/Dlp/samples/V2/DlpServiceClient/get_job_trigger.php b/Dlp/samples/V2/DlpServiceClient/get_job_trigger.php index 8d71af6485f4..f3008013d686 100644 --- a/Dlp/samples/V2/DlpServiceClient/get_job_trigger.php +++ b/Dlp/samples/V2/DlpServiceClient/get_job_trigger.php @@ -31,7 +31,7 @@ /** * Gets a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * @param string $formattedName Resource name of the project and the triggeredJob, for example diff --git a/Dlp/samples/V2/DlpServiceClient/get_stored_info_type.php b/Dlp/samples/V2/DlpServiceClient/get_stored_info_type.php index edff9f5a9574..88b94dd8e376 100644 --- a/Dlp/samples/V2/DlpServiceClient/get_stored_info_type.php +++ b/Dlp/samples/V2/DlpServiceClient/get_stored_info_type.php @@ -31,7 +31,7 @@ /** * Gets a stored infoType. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * @param string $formattedName Resource name of the organization and storedInfoType to be read, diff --git a/Dlp/samples/V2/DlpServiceClient/inspect_content.php b/Dlp/samples/V2/DlpServiceClient/inspect_content.php index 44eb5442ccef..aae15c8c2b8f 100644 --- a/Dlp/samples/V2/DlpServiceClient/inspect_content.php +++ b/Dlp/samples/V2/DlpServiceClient/inspect_content.php @@ -37,9 +37,9 @@ * be all types, but may change over time as detectors are updated. * * For how to guides, see - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-images + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-images * and - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-text, * * This sample has been automatically generated and should be regarded as a code * template only. It will require modifications to work: diff --git a/Dlp/samples/V2/DlpServiceClient/list_content_policies.php b/Dlp/samples/V2/DlpServiceClient/list_content_policies.php new file mode 100644 index 000000000000..a5242e1d5b7c --- /dev/null +++ b/Dlp/samples/V2/DlpServiceClient/list_content_policies.php @@ -0,0 +1,77 @@ +setParent($formattedParent); + + // Call the API and handle any network failures. + try { + /** @var PagedListResponse $response */ + $response = $dlpServiceClient->listContentPolicies($request); + + /** @var ContentPolicy $element */ + foreach ($response as $element) { + printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); + } + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedParent = DlpServiceClient::locationName('[PROJECT]', '[LOCATION]'); + + list_content_policies_sample($formattedParent); +} +// [END dlp_v2_generated_DlpService_ListContentPolicies_sync] diff --git a/Dlp/samples/V2/DlpServiceClient/list_deidentify_templates.php b/Dlp/samples/V2/DlpServiceClient/list_deidentify_templates.php index f1042cb1e5d3..2908ad85e058 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_deidentify_templates.php +++ b/Dlp/samples/V2/DlpServiceClient/list_deidentify_templates.php @@ -32,14 +32,14 @@ /** * Lists DeidentifyTemplates. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/list_dlp_jobs.php b/Dlp/samples/V2/DlpServiceClient/list_dlp_jobs.php index 6163f463bb0b..c55be29d1570 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_dlp_jobs.php +++ b/Dlp/samples/V2/DlpServiceClient/list_dlp_jobs.php @@ -32,16 +32,16 @@ /** * Lists DlpJobs that match the specified filter in the request. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/list_info_types.php b/Dlp/samples/V2/DlpServiceClient/list_info_types.php index b5a1bf3692fa..cb15133da78e 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_info_types.php +++ b/Dlp/samples/V2/DlpServiceClient/list_info_types.php @@ -31,7 +31,7 @@ /** * Returns a list of the sensitive information types that the DLP API * supports. See - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * to learn more. * * This sample has been automatically generated and should be regarded as a code diff --git a/Dlp/samples/V2/DlpServiceClient/list_inspect_templates.php b/Dlp/samples/V2/DlpServiceClient/list_inspect_templates.php index ea9088d76840..eb3c29b7aeee 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_inspect_templates.php +++ b/Dlp/samples/V2/DlpServiceClient/list_inspect_templates.php @@ -32,14 +32,14 @@ /** * Lists InspectTemplates. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/list_job_triggers.php b/Dlp/samples/V2/DlpServiceClient/list_job_triggers.php index 5e09d6d4172d..380a8848e267 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_job_triggers.php +++ b/Dlp/samples/V2/DlpServiceClient/list_job_triggers.php @@ -32,14 +32,14 @@ /** * Lists job triggers. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/list_stored_info_types.php b/Dlp/samples/V2/DlpServiceClient/list_stored_info_types.php index a1dcdc739bff..b1d1e92b0e21 100644 --- a/Dlp/samples/V2/DlpServiceClient/list_stored_info_types.php +++ b/Dlp/samples/V2/DlpServiceClient/list_stored_info_types.php @@ -32,14 +32,14 @@ /** * Lists stored infoTypes. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/redact_image.php b/Dlp/samples/V2/DlpServiceClient/redact_image.php index e5477a5b8481..d5ae136c4227 100644 --- a/Dlp/samples/V2/DlpServiceClient/redact_image.php +++ b/Dlp/samples/V2/DlpServiceClient/redact_image.php @@ -32,7 +32,7 @@ * Redacts potentially sensitive info from an image. * This method has limits on input size, processing time, and output size. * See - * https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images + * https://docs.cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in this request, the diff --git a/Dlp/samples/V2/DlpServiceClient/reidentify_content.php b/Dlp/samples/V2/DlpServiceClient/reidentify_content.php index b1b0dd39080f..a2a74f5102b8 100644 --- a/Dlp/samples/V2/DlpServiceClient/reidentify_content.php +++ b/Dlp/samples/V2/DlpServiceClient/reidentify_content.php @@ -31,14 +31,14 @@ /** * Re-identifies content that has been de-identified. * See - * https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example + * https://docs.cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example * to learn more. * * @param string $formattedParent Parent resource name. * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` diff --git a/Dlp/samples/V2/DlpServiceClient/update_content_policy.php b/Dlp/samples/V2/DlpServiceClient/update_content_policy.php new file mode 100644 index 000000000000..40625d52a3a6 --- /dev/null +++ b/Dlp/samples/V2/DlpServiceClient/update_content_policy.php @@ -0,0 +1,81 @@ +setAction($contentPolicyRulesAction); + $contentPolicyRules = [$policyRule,]; + $contentPolicy = (new ContentPolicy()) + ->setRules($contentPolicyRules); + $request = (new UpdateContentPolicyRequest()) + ->setName($formattedName) + ->setContentPolicy($contentPolicy); + + // Call the API and handle any network failures. + try { + /** @var ContentPolicy $response */ + $response = $dlpServiceClient->updateContentPolicy($request); + printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); + } catch (ApiException $ex) { + printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); + } +} + +/** + * Helper to execute the sample. + * + * This sample has been automatically generated and should be regarded as a code + * template only. It will require modifications to work: + * - It may require correct/in-range values for request initialization. + * - It may require specifying regional endpoints when creating the service client, + * please see the apiEndpoint client configuration option for more details. + */ +function callSample(): void +{ + $formattedName = DlpServiceClient::contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + + update_content_policy_sample($formattedName); +} +// [END dlp_v2_generated_DlpService_UpdateContentPolicy_sync] diff --git a/Dlp/samples/V2/DlpServiceClient/update_deidentify_template.php b/Dlp/samples/V2/DlpServiceClient/update_deidentify_template.php index d3c0c964c1d1..c71c2cda424f 100644 --- a/Dlp/samples/V2/DlpServiceClient/update_deidentify_template.php +++ b/Dlp/samples/V2/DlpServiceClient/update_deidentify_template.php @@ -31,7 +31,7 @@ /** * Updates the DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * @param string $formattedName Resource name of organization and deidentify template to be diff --git a/Dlp/samples/V2/DlpServiceClient/update_inspect_template.php b/Dlp/samples/V2/DlpServiceClient/update_inspect_template.php index cfa9d39b8c68..29c9375db870 100644 --- a/Dlp/samples/V2/DlpServiceClient/update_inspect_template.php +++ b/Dlp/samples/V2/DlpServiceClient/update_inspect_template.php @@ -31,7 +31,7 @@ /** * Updates the InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * @param string $formattedName Resource name of organization and inspectTemplate to be updated, diff --git a/Dlp/samples/V2/DlpServiceClient/update_job_trigger.php b/Dlp/samples/V2/DlpServiceClient/update_job_trigger.php index 72b50d8e172e..d071e6fed6bd 100644 --- a/Dlp/samples/V2/DlpServiceClient/update_job_trigger.php +++ b/Dlp/samples/V2/DlpServiceClient/update_job_trigger.php @@ -31,7 +31,7 @@ /** * Updates a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * @param string $formattedName Resource name of the project and the triggeredJob, for example diff --git a/Dlp/samples/V2/DlpServiceClient/update_stored_info_type.php b/Dlp/samples/V2/DlpServiceClient/update_stored_info_type.php index 67fd12963839..378a0a5e958c 100644 --- a/Dlp/samples/V2/DlpServiceClient/update_stored_info_type.php +++ b/Dlp/samples/V2/DlpServiceClient/update_stored_info_type.php @@ -32,7 +32,7 @@ * Updates the stored infoType by creating a new version. The existing version * will continue to be used until the new version is ready. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * @param string $formattedName Resource name of organization and storedInfoType to be updated, diff --git a/Dlp/src/V2/Action.php b/Dlp/src/V2/Action.php index cf63a0d472fd..a2738c18c6b4 100644 --- a/Dlp/src/V2/Action.php +++ b/Dlp/src/V2/Action.php @@ -10,7 +10,8 @@ /** * A task to execute on the completion of a job. - * See https://cloud.google.com/sensitive-data-protection/docs/concepts-actions + * See + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-actions * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.Action @@ -42,7 +43,7 @@ class Action extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\Action\JobNotificationEmails $job_notification_emails * Sends an email when the job completes. The email goes to IAM project * owners and technical [Essential - * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). + * Contacts](https://docs.cloud.google.com/resource-manager/docs/managing-notification-contacts). * @type \Google\Cloud\Dlp\V2\Action\PublishToStackdriver $publish_to_stackdriver * Enable Stackdriver metric dlp.googleapis.com/finding_count. * } @@ -254,7 +255,7 @@ public function setDeidentify($var) /** * Sends an email when the job completes. The email goes to IAM project * owners and technical [Essential - * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). + * Contacts](https://docs.cloud.google.com/resource-manager/docs/managing-notification-contacts). * * Generated from protobuf field .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; * @return \Google\Cloud\Dlp\V2\Action\JobNotificationEmails|null @@ -272,7 +273,7 @@ public function hasJobNotificationEmails() /** * Sends an email when the job completes. The email goes to IAM project * owners and technical [Essential - * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). + * Contacts](https://docs.cloud.google.com/resource-manager/docs/managing-notification-contacts). * * Generated from protobuf field .google.privacy.dlp.v2.Action.JobNotificationEmails job_notification_emails = 8; * @param \Google\Cloud\Dlp\V2\Action\JobNotificationEmails $var diff --git a/Dlp/src/V2/Action/JobNotificationEmails.php b/Dlp/src/V2/Action/JobNotificationEmails.php index 721a816a485f..376ee22f76e3 100644 --- a/Dlp/src/V2/Action/JobNotificationEmails.php +++ b/Dlp/src/V2/Action/JobNotificationEmails.php @@ -11,7 +11,7 @@ /** * Sends an email when the job completes. The email goes to IAM project owners * and technical [Essential - * Contacts](https://cloud.google.com/resource-manager/docs/managing-notification-contacts). + * Contacts](https://docs.cloud.google.com/resource-manager/docs/managing-notification-contacts). * * Generated from protobuf message google.privacy.dlp.v2.Action.JobNotificationEmails */ diff --git a/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php b/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php index 5d1d0659239a..dff061397752 100644 --- a/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php +++ b/Dlp/src/V2/Action/PublishFindingsToDataplexCatalog.php @@ -12,7 +12,7 @@ * Publish findings of a DlpJob to Dataplex Universal Catalog as a * `sensitive-data-protection-job-result` aspect. For more information, * see [Send inspection results to Dataplex Universal Catalog as - * aspects](https://cloud.google.com/sensitive-data-protection/docs/add-aspects-inspection-job). + * aspects](https://docs.cloud.google.com/sensitive-data-protection/docs/add-aspects-inspection-job). * Aspects are stored in Dataplex Universal Catalog storage and are * governed by service-specific policies for Dataplex Universal Catalog. For * more information, see [Service Specific diff --git a/Dlp/src/V2/Action/PublishToPubSub.php b/Dlp/src/V2/Action/PublishToPubSub.php index 27416c4022a2..f8b677910a1e 100644 --- a/Dlp/src/V2/Action/PublishToPubSub.php +++ b/Dlp/src/V2/Action/PublishToPubSub.php @@ -12,7 +12,7 @@ * Publish a message into a given Pub/Sub topic when DlpJob has completed. The * message contains a single field, `DlpJobName`, which is equal to the * finished job's - * [`DlpJob.name`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs#DlpJob). + * [`DlpJob.name`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/projects.dlpJobs#DlpJob). * Compatible with: Inspect, Risk * * Generated from protobuf message google.privacy.dlp.v2.Action.PublishToPubSub diff --git a/Dlp/src/V2/AdjustByImageFindings.php b/Dlp/src/V2/AdjustByImageFindings.php index 887dd6ba17b0..5c9c2df088a8 100644 --- a/Dlp/src/V2/AdjustByImageFindings.php +++ b/Dlp/src/V2/AdjustByImageFindings.php @@ -18,7 +18,7 @@ class AdjustByImageFindings extends \Google\Protobuf\Internal\Message { /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the adjustment rule. Sensitive Data Protection * adjusts the likelihood of an image finding if its bounding box has the * specified spatial relationship (defined by `image_containment_type`) with a @@ -61,7 +61,7 @@ class AdjustByImageFindings extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the adjustment rule. Sensitive Data Protection * adjusts the likelihood of an image finding if its bounding box has the * specified spatial relationship (defined by `image_containment_type`) with a @@ -92,7 +92,7 @@ public function __construct($data = NULL) { /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the adjustment rule. Sensitive Data Protection * adjusts the likelihood of an image finding if its bounding box has the * specified spatial relationship (defined by `image_containment_type`) with a @@ -117,7 +117,7 @@ public function getInfoTypes() /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the adjustment rule. Sensitive Data Protection * adjusts the likelihood of an image finding if its bounding box has the * specified spatial relationship (defined by `image_containment_type`) with a diff --git a/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php b/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php index 065a2e0277c0..4e6eec8dcaf1 100644 --- a/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php +++ b/Dlp/src/V2/AnalyzeDataSourceRiskDetails.php @@ -46,17 +46,17 @@ class AnalyzeDataSourceRiskDetails extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\BigQueryTable $requested_source_table * Input dataset to compute metrics over. * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult $numerical_stats_result - * Numerical stats result + * Output only. Numerical stats result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult $categorical_stats_result - * Categorical stats result + * Output only. Categorical stats result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult $k_anonymity_result - * K-anonymity result + * Output only. K-anonymity result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult $l_diversity_result - * L-divesity result + * Output only. L-divesity result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult $k_map_estimation_result - * K-map result + * Output only. K-map result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult $delta_presence_estimation_result - * Delta-presence result + * Output only. Delta-presence result * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\RequestedRiskAnalysisOptions $requested_options * The configuration used for this job. * } @@ -139,9 +139,9 @@ public function setRequestedSourceTable($var) } /** - * Numerical stats result + * Output only. Numerical stats result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult|null */ public function getNumericalStatsResult() @@ -155,9 +155,9 @@ public function hasNumericalStatsResult() } /** - * Numerical stats result + * Output only. Numerical stats result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.NumericalStatsResult numerical_stats_result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\NumericalStatsResult $var * @return $this */ @@ -170,9 +170,9 @@ public function setNumericalStatsResult($var) } /** - * Categorical stats result + * Output only. Categorical stats result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult|null */ public function getCategoricalStatsResult() @@ -186,9 +186,9 @@ public function hasCategoricalStatsResult() } /** - * Categorical stats result + * Output only. Categorical stats result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.CategoricalStatsResult categorical_stats_result = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\CategoricalStatsResult $var * @return $this */ @@ -201,9 +201,9 @@ public function setCategoricalStatsResult($var) } /** - * K-anonymity result + * Output only. K-anonymity result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult|null */ public function getKAnonymityResult() @@ -217,9 +217,9 @@ public function hasKAnonymityResult() } /** - * K-anonymity result + * Output only. K-anonymity result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KAnonymityResult k_anonymity_result = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KAnonymityResult $var * @return $this */ @@ -232,9 +232,9 @@ public function setKAnonymityResult($var) } /** - * L-divesity result + * Output only. L-divesity result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult|null */ public function getLDiversityResult() @@ -248,9 +248,9 @@ public function hasLDiversityResult() } /** - * L-divesity result + * Output only. L-divesity result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.LDiversityResult l_diversity_result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\LDiversityResult $var * @return $this */ @@ -263,9 +263,9 @@ public function setLDiversityResult($var) } /** - * K-map result + * Output only. K-map result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult|null */ public function getKMapEstimationResult() @@ -279,9 +279,9 @@ public function hasKMapEstimationResult() } /** - * K-map result + * Output only. K-map result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.KMapEstimationResult k_map_estimation_result = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\KMapEstimationResult $var * @return $this */ @@ -294,9 +294,9 @@ public function setKMapEstimationResult($var) } /** - * Delta-presence result + * Output only. Delta-presence result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult|null */ public function getDeltaPresenceEstimationResult() @@ -310,9 +310,9 @@ public function hasDeltaPresenceEstimationResult() } /** - * Delta-presence result + * Output only. Delta-presence result * - * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9; + * Generated from protobuf field .google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails.DeltaPresenceEstimationResult delta_presence_estimation_result = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails\DeltaPresenceEstimationResult $var * @return $this */ diff --git a/Dlp/src/V2/BigQueryOptions.php b/Dlp/src/V2/BigQueryOptions.php index 68c3dc5a2d72..13635db5fcd3 100644 --- a/Dlp/src/V2/BigQueryOptions.php +++ b/Dlp/src/V2/BigQueryOptions.php @@ -47,7 +47,7 @@ class BigQueryOptions extends \Google\Protobuf\Internal\Message * rows_limit_percent can be specified. Cannot be used in conjunction with * TimespanConfig. * Caution: A [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) * is causing the `rowsLimitPercent` field to behave unexpectedly. We * recommend using `rowsLimit` instead. * @@ -106,7 +106,7 @@ class BigQueryOptions extends \Google\Protobuf\Internal\Message * rows_limit_percent can be specified. Cannot be used in conjunction with * TimespanConfig. * Caution: A [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) * is causing the `rowsLimitPercent` field to behave unexpectedly. We * recommend using `rowsLimit` instead. * @type int $sample_method @@ -238,7 +238,7 @@ public function setRowsLimit($var) * rows_limit_percent can be specified. Cannot be used in conjunction with * TimespanConfig. * Caution: A [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) * is causing the `rowsLimitPercent` field to behave unexpectedly. We * recommend using `rowsLimit` instead. * @@ -257,7 +257,7 @@ public function getRowsLimitPercent() * rows_limit_percent can be specified. Cannot be used in conjunction with * TimespanConfig. * Caution: A [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-sampling) * is causing the `rowsLimitPercent` field to behave unexpectedly. We * recommend using `rowsLimit` instead. * diff --git a/Dlp/src/V2/BoundingBox.php b/Dlp/src/V2/BoundingBox.php index 2446fc075771..87a30d09c33c 100644 --- a/Dlp/src/V2/BoundingBox.php +++ b/Dlp/src/V2/BoundingBox.php @@ -9,7 +9,8 @@ use Google\Protobuf\RepeatedField; /** - * Bounding box encompassing detected text within an image. + * Bounding box encompassing detected text within an image. Coordinates are in + * pixels and strictly within the image or frame bounds. * * Generated from protobuf message google.privacy.dlp.v2.BoundingBox */ diff --git a/Dlp/src/V2/BucketingConfig.php b/Dlp/src/V2/BucketingConfig.php index d90802f0d85b..eef45bd5d556 100644 --- a/Dlp/src/V2/BucketingConfig.php +++ b/Dlp/src/V2/BucketingConfig.php @@ -17,8 +17,8 @@ * will first attempt converting the type of the data to be transformed to match * the type of the bound before comparing. * See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to - * learn more. + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-bucketing + * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.BucketingConfig */ diff --git a/Dlp/src/V2/ByteContentItem/BytesType.php b/Dlp/src/V2/ByteContentItem/BytesType.php index 859e1ca88f98..ab6bd1cb6cf5 100644 --- a/Dlp/src/V2/ByteContentItem/BytesType.php +++ b/Dlp/src/V2/ByteContentItem/BytesType.php @@ -9,7 +9,7 @@ /** * The type of data being sent for inspection. To learn more, see * [Supported file - * types](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types). + * types](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types). * Only the first frame of each multiframe image is inspected. Metadata and * other frames aren't inspected. * diff --git a/Dlp/src/V2/Client/DlpServiceClient.php b/Dlp/src/V2/Client/DlpServiceClient.php index 8d7f99d5cdf9..2124dc37c85b 100644 --- a/Dlp/src/V2/Client/DlpServiceClient.php +++ b/Dlp/src/V2/Client/DlpServiceClient.php @@ -38,7 +38,9 @@ use Google\Cloud\Dlp\V2\CancelDlpJobRequest; use Google\Cloud\Dlp\V2\ColumnDataProfile; use Google\Cloud\Dlp\V2\Connection; +use Google\Cloud\Dlp\V2\ContentPolicy; use Google\Cloud\Dlp\V2\CreateConnectionRequest; +use Google\Cloud\Dlp\V2\CreateContentPolicyRequest; use Google\Cloud\Dlp\V2\CreateDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\CreateDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\CreateDlpJobRequest; @@ -49,6 +51,7 @@ use Google\Cloud\Dlp\V2\DeidentifyContentResponse; use Google\Cloud\Dlp\V2\DeidentifyTemplate; use Google\Cloud\Dlp\V2\DeleteConnectionRequest; +use Google\Cloud\Dlp\V2\DeleteContentPolicyRequest; use Google\Cloud\Dlp\V2\DeleteDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\DeleteDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\DeleteDlpJobRequest; @@ -63,6 +66,7 @@ use Google\Cloud\Dlp\V2\FinishDlpJobRequest; use Google\Cloud\Dlp\V2\GetColumnDataProfileRequest; use Google\Cloud\Dlp\V2\GetConnectionRequest; +use Google\Cloud\Dlp\V2\GetContentPolicyRequest; use Google\Cloud\Dlp\V2\GetDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\GetDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\GetDlpJobRequest; @@ -81,6 +85,7 @@ use Google\Cloud\Dlp\V2\JobTrigger; use Google\Cloud\Dlp\V2\ListColumnDataProfilesRequest; use Google\Cloud\Dlp\V2\ListConnectionsRequest; +use Google\Cloud\Dlp\V2\ListContentPoliciesRequest; use Google\Cloud\Dlp\V2\ListDeidentifyTemplatesRequest; use Google\Cloud\Dlp\V2\ListDiscoveryConfigsRequest; use Google\Cloud\Dlp\V2\ListDlpJobsRequest; @@ -101,6 +106,7 @@ use Google\Cloud\Dlp\V2\StoredInfoType; use Google\Cloud\Dlp\V2\TableDataProfile; use Google\Cloud\Dlp\V2\UpdateConnectionRequest; +use Google\Cloud\Dlp\V2\UpdateContentPolicyRequest; use Google\Cloud\Dlp\V2\UpdateDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\UpdateDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\UpdateInspectTemplateRequest; @@ -114,7 +120,7 @@ * inspection, classification, and de-identification platform that works * on text, images, and Google Cloud storage repositories. * To learn more about concepts and find how-to guides see - * https://cloud.google.com/sensitive-data-protection/docs/. + * https://docs.cloud.google.com/sensitive-data-protection/docs/. * * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. @@ -127,6 +133,7 @@ * @method PromiseInterface activateJobTriggerAsync(ActivateJobTriggerRequest $request, array $optionalArgs = []) * @method PromiseInterface cancelDlpJobAsync(CancelDlpJobRequest $request, array $optionalArgs = []) * @method PromiseInterface createConnectionAsync(CreateConnectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface createContentPolicyAsync(CreateContentPolicyRequest $request, array $optionalArgs = []) * @method PromiseInterface createDeidentifyTemplateAsync(CreateDeidentifyTemplateRequest $request, array $optionalArgs = []) * @method PromiseInterface createDiscoveryConfigAsync(CreateDiscoveryConfigRequest $request, array $optionalArgs = []) * @method PromiseInterface createDlpJobAsync(CreateDlpJobRequest $request, array $optionalArgs = []) @@ -135,6 +142,7 @@ * @method PromiseInterface createStoredInfoTypeAsync(CreateStoredInfoTypeRequest $request, array $optionalArgs = []) * @method PromiseInterface deidentifyContentAsync(DeidentifyContentRequest $request, array $optionalArgs = []) * @method PromiseInterface deleteConnectionAsync(DeleteConnectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteContentPolicyAsync(DeleteContentPolicyRequest $request, array $optionalArgs = []) * @method PromiseInterface deleteDeidentifyTemplateAsync(DeleteDeidentifyTemplateRequest $request, array $optionalArgs = []) * @method PromiseInterface deleteDiscoveryConfigAsync(DeleteDiscoveryConfigRequest $request, array $optionalArgs = []) * @method PromiseInterface deleteDlpJobAsync(DeleteDlpJobRequest $request, array $optionalArgs = []) @@ -146,6 +154,7 @@ * @method PromiseInterface finishDlpJobAsync(FinishDlpJobRequest $request, array $optionalArgs = []) * @method PromiseInterface getColumnDataProfileAsync(GetColumnDataProfileRequest $request, array $optionalArgs = []) * @method PromiseInterface getConnectionAsync(GetConnectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface getContentPolicyAsync(GetContentPolicyRequest $request, array $optionalArgs = []) * @method PromiseInterface getDeidentifyTemplateAsync(GetDeidentifyTemplateRequest $request, array $optionalArgs = []) * @method PromiseInterface getDiscoveryConfigAsync(GetDiscoveryConfigRequest $request, array $optionalArgs = []) * @method PromiseInterface getDlpJobAsync(GetDlpJobRequest $request, array $optionalArgs = []) @@ -160,6 +169,7 @@ * @method PromiseInterface inspectContentAsync(InspectContentRequest $request, array $optionalArgs = []) * @method PromiseInterface listColumnDataProfilesAsync(ListColumnDataProfilesRequest $request, array $optionalArgs = []) * @method PromiseInterface listConnectionsAsync(ListConnectionsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listContentPoliciesAsync(ListContentPoliciesRequest $request, array $optionalArgs = []) * @method PromiseInterface listDeidentifyTemplatesAsync(ListDeidentifyTemplatesRequest $request, array $optionalArgs = []) * @method PromiseInterface listDiscoveryConfigsAsync(ListDiscoveryConfigsRequest $request, array $optionalArgs = []) * @method PromiseInterface listDlpJobsAsync(ListDlpJobsRequest $request, array $optionalArgs = []) @@ -174,6 +184,7 @@ * @method PromiseInterface reidentifyContentAsync(ReidentifyContentRequest $request, array $optionalArgs = []) * @method PromiseInterface searchConnectionsAsync(SearchConnectionsRequest $request, array $optionalArgs = []) * @method PromiseInterface updateConnectionAsync(UpdateConnectionRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateContentPolicyAsync(UpdateContentPolicyRequest $request, array $optionalArgs = []) * @method PromiseInterface updateDeidentifyTemplateAsync(UpdateDeidentifyTemplateRequest $request, array $optionalArgs = []) * @method PromiseInterface updateDiscoveryConfigAsync(UpdateDiscoveryConfigRequest $request, array $optionalArgs = []) * @method PromiseInterface updateInspectTemplateAsync(UpdateInspectTemplateRequest $request, array $optionalArgs = []) @@ -271,6 +282,25 @@ public static function connectionName(string $project, string $location, string ]); } + /** + * Formats a string containing the fully-qualified path to represent a + * content_policy resource. + * + * @param string $project + * @param string $location + * @param string $contentPolicy + * + * @return string The formatted content_policy resource. + */ + public static function contentPolicyName(string $project, string $location, string $contentPolicy): string + { + return self::getPathTemplate('contentPolicy')->render([ + 'project' => $project, + 'location' => $location, + 'content_policy' => $contentPolicy, + ]); + } + /** * Formats a string containing the fully-qualified path to represent a * deidentify_template resource. @@ -1034,6 +1064,7 @@ public static function tableDataProfileName( * Template: Pattern * - columnDataProfile: organizations/{organization}/locations/{location}/columnDataProfiles/{column_data_profile} * - connection: projects/{project}/locations/{location}/connections/{connection} + * - contentPolicy: projects/{project}/locations/{location}/contentPolicies/{content_policy} * - deidentifyTemplate: organizations/{organization}/deidentifyTemplates/{deidentify_template} * - discoveryConfig: projects/{project}/locations/{location}/discoveryConfigs/{discovery_config} * - dlpJob: projects/{project}/dlpJobs/{dlp_job} @@ -1209,9 +1240,9 @@ public function activateJobTrigger(ActivateJobTriggerRequest $request, array $ca * makes a best effort to cancel the DlpJob, but success is not * guaranteed. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * The async variant is {@see DlpServiceClient::cancelDlpJobAsync()} . @@ -1261,11 +1292,37 @@ public function createConnection(CreateConnectionRequest $request, array $callOp return $this->startApiCall('CreateConnection', $request, $callOptions)->wait(); } + /** + * Create a ContentPolicy. + * + * The async variant is {@see DlpServiceClient::createContentPolicyAsync()} . + * + * @example samples/V2/DlpServiceClient/create_content_policy.php + * + * @param CreateContentPolicyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return ContentPolicy + * + * @throws ApiException Thrown if the API call fails. + */ + public function createContentPolicy(CreateContentPolicyRequest $request, array $callOptions = []): ContentPolicy + { + return $this->startApiCall('CreateContentPolicy', $request, $callOptions)->wait(); + } + /** * Creates a DeidentifyTemplate for reusing frequently used configuration * for de-identifying content, images, and storage. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * The async variant is {@see DlpServiceClient::createDeidentifyTemplateAsync()} . @@ -1324,9 +1381,9 @@ public function createDiscoveryConfig( /** * Creates a new job to inspect storage or calculate risk metrics. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the @@ -1360,7 +1417,7 @@ public function createDlpJob(CreateDlpJobRequest $request, array $callOptions = * Creates an InspectTemplate for reusing frequently used configuration * for inspecting content, images, and storage. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * The async variant is {@see DlpServiceClient::createInspectTemplateAsync()} . @@ -1392,7 +1449,7 @@ public function createInspectTemplate( * Creates a job trigger to run DLP actions such as scanning storage for * sensitive information on a set schedule. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * The async variant is {@see DlpServiceClient::createJobTriggerAsync()} . @@ -1421,7 +1478,7 @@ public function createJobTrigger(CreateJobTriggerRequest $request, array $callOp /** * Creates a pre-built stored infoType to be used for inspection. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * The async variant is {@see DlpServiceClient::createStoredInfoTypeAsync()} . @@ -1451,7 +1508,7 @@ public function createStoredInfoType(CreateStoredInfoTypeRequest $request, array * De-identifies potentially sensitive info from a ContentItem. * This method has limits on input size and output size. * See - * https://cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data + * https://docs.cloud.google.com/sensitive-data-protection/docs/deidentify-sensitive-data * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in this request, the @@ -1507,10 +1564,34 @@ public function deleteConnection(DeleteConnectionRequest $request, array $callOp $this->startApiCall('DeleteConnection', $request, $callOptions)->wait(); } + /** + * Delete a ContentPolicy. + * + * The async variant is {@see DlpServiceClient::deleteContentPolicyAsync()} . + * + * @example samples/V2/DlpServiceClient/delete_content_policy.php + * + * @param DeleteContentPolicyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @throws ApiException Thrown if the API call fails. + */ + public function deleteContentPolicy(DeleteContentPolicyRequest $request, array $callOptions = []): void + { + $this->startApiCall('DeleteContentPolicy', $request, $callOptions)->wait(); + } + /** * Deletes a DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * The async variant is {@see DlpServiceClient::deleteDeidentifyTemplateAsync()} . @@ -1563,9 +1644,9 @@ public function deleteDiscoveryConfig(DeleteDiscoveryConfigRequest $request, arr * no longer interested in the DlpJob result. The job will be canceled if * possible. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * The async variant is {@see DlpServiceClient::deleteDlpJobAsync()} . @@ -1620,7 +1701,7 @@ public function deleteFileStoreDataProfile( /** * Deletes an InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * The async variant is {@see DlpServiceClient::deleteInspectTemplateAsync()} . @@ -1647,7 +1728,7 @@ public function deleteInspectTemplate(DeleteInspectTemplateRequest $request, arr /** * Deletes a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * The async variant is {@see DlpServiceClient::deleteJobTriggerAsync()} . @@ -1674,7 +1755,7 @@ public function deleteJobTrigger(DeleteJobTriggerRequest $request, array $callOp /** * Deletes a stored infoType. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * The async variant is {@see DlpServiceClient::deleteStoredInfoTypeAsync()} . @@ -1802,10 +1883,36 @@ public function getConnection(GetConnectionRequest $request, array $callOptions return $this->startApiCall('GetConnection', $request, $callOptions)->wait(); } + /** + * Get a ContentPolicy. + * + * The async variant is {@see DlpServiceClient::getContentPolicyAsync()} . + * + * @example samples/V2/DlpServiceClient/get_content_policy.php + * + * @param GetContentPolicyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return ContentPolicy + * + * @throws ApiException Thrown if the API call fails. + */ + public function getContentPolicy(GetContentPolicyRequest $request, array $callOptions = []): ContentPolicy + { + return $this->startApiCall('GetContentPolicy', $request, $callOptions)->wait(); + } + /** * Gets a DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * The async variant is {@see DlpServiceClient::getDeidentifyTemplateAsync()} . @@ -1862,9 +1969,9 @@ public function getDiscoveryConfig(GetDiscoveryConfigRequest $request, array $ca /** * Gets the latest state of a long-running DlpJob. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * The async variant is {@see DlpServiceClient::getDlpJobAsync()} . @@ -1921,7 +2028,7 @@ public function getFileStoreDataProfile( /** * Gets an InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * The async variant is {@see DlpServiceClient::getInspectTemplateAsync()} . @@ -1950,7 +2057,7 @@ public function getInspectTemplate(GetInspectTemplateRequest $request, array $ca /** * Gets a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * The async variant is {@see DlpServiceClient::getJobTriggerAsync()} . @@ -2007,7 +2114,7 @@ public function getProjectDataProfile( /** * Gets a stored infoType. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * The async variant is {@see DlpServiceClient::getStoredInfoTypeAsync()} . @@ -2128,9 +2235,9 @@ public function hybridInspectJobTrigger( * be all types, but may change over time as detectors are updated. * * For how to guides, see - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-images + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-images * and - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-text, + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-text, * * The async variant is {@see DlpServiceClient::inspectContentAsync()} . * @@ -2210,10 +2317,36 @@ public function listConnections(ListConnectionsRequest $request, array $callOpti return $this->startApiCall('ListConnections', $request, $callOptions); } + /** + * Lists ContentPolicies in a parent. + * + * The async variant is {@see DlpServiceClient::listContentPoliciesAsync()} . + * + * @example samples/V2/DlpServiceClient/list_content_policies.php + * + * @param ListContentPoliciesRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return PagedListResponse + * + * @throws ApiException Thrown if the API call fails. + */ + public function listContentPolicies(ListContentPoliciesRequest $request, array $callOptions = []): PagedListResponse + { + return $this->startApiCall('ListContentPolicies', $request, $callOptions); + } + /** * Lists DeidentifyTemplates. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * The async variant is {@see DlpServiceClient::listDeidentifyTemplatesAsync()} . @@ -2272,9 +2405,9 @@ public function listDiscoveryConfigs( /** * Lists DlpJobs that match the specified filter in the request. * See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-storage + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-storage * and - * https://cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/compute-risk-analysis * to learn more. * * The async variant is {@see DlpServiceClient::listDlpJobsAsync()} . @@ -2331,7 +2464,7 @@ public function listFileStoreDataProfiles( /** * Returns a list of the sensitive information types that the DLP API * supports. See - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * to learn more. * * The async variant is {@see DlpServiceClient::listInfoTypesAsync()} . @@ -2360,7 +2493,7 @@ public function listInfoTypes(ListInfoTypesRequest $request, array $callOptions /** * Lists InspectTemplates. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * The async variant is {@see DlpServiceClient::listInspectTemplatesAsync()} . @@ -2391,7 +2524,7 @@ public function listInspectTemplates( /** * Lists job triggers. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * The async variant is {@see DlpServiceClient::listJobTriggersAsync()} . @@ -2448,7 +2581,7 @@ public function listProjectDataProfiles( /** * Lists stored infoTypes. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * The async variant is {@see DlpServiceClient::listStoredInfoTypesAsync()} . @@ -2506,7 +2639,7 @@ public function listTableDataProfiles( * Redacts potentially sensitive info from an image. * This method has limits on input size, processing time, and output size. * See - * https://cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images + * https://docs.cloud.google.com/sensitive-data-protection/docs/redacting-sensitive-data-images * to learn more. * * When no InfoTypes or CustomInfoTypes are specified in this request, the @@ -2542,7 +2675,7 @@ public function redactImage(RedactImageRequest $request, array $callOptions = [] /** * Re-identifies content that has been de-identified. * See - * https://cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example + * https://docs.cloud.google.com/sensitive-data-protection/docs/pseudonymization#re-identification_in_free_text_code_example * to learn more. * * The async variant is {@see DlpServiceClient::reidentifyContentAsync()} . @@ -2622,10 +2755,36 @@ public function updateConnection(UpdateConnectionRequest $request, array $callOp return $this->startApiCall('UpdateConnection', $request, $callOptions)->wait(); } + /** + * Update a ContentPolicy. + * + * The async variant is {@see DlpServiceClient::updateContentPolicyAsync()} . + * + * @example samples/V2/DlpServiceClient/update_content_policy.php + * + * @param UpdateContentPolicyRequest $request A request to house fields associated with the call. + * @param array $callOptions { + * Optional. + * + * @type RetrySettings|array $retrySettings + * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an + * associative array of retry settings parameters. See the documentation on + * {@see RetrySettings} for example usage. + * } + * + * @return ContentPolicy + * + * @throws ApiException Thrown if the API call fails. + */ + public function updateContentPolicy(UpdateContentPolicyRequest $request, array $callOptions = []): ContentPolicy + { + return $this->startApiCall('UpdateContentPolicy', $request, $callOptions)->wait(); + } + /** * Updates the DeidentifyTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates-deid + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates-deid * to learn more. * * The async variant is {@see DlpServiceClient::updateDeidentifyTemplateAsync()} . @@ -2684,7 +2843,7 @@ public function updateDiscoveryConfig( /** * Updates the InspectTemplate. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-templates + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-templates * to learn more. * * The async variant is {@see DlpServiceClient::updateInspectTemplateAsync()} . @@ -2715,7 +2874,7 @@ public function updateInspectTemplate( /** * Updates a job trigger. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-job-triggers * to learn more. * * The async variant is {@see DlpServiceClient::updateJobTriggerAsync()} . @@ -2745,7 +2904,7 @@ public function updateJobTrigger(UpdateJobTriggerRequest $request, array $callOp * Updates the stored infoType by creating a new version. The existing version * will continue to be used until the new version is ready. * See - * https://cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-stored-infotypes * to learn more. * * The async variant is {@see DlpServiceClient::updateStoredInfoTypeAsync()} . diff --git a/Dlp/src/V2/CloudSqlIamCredential.php b/Dlp/src/V2/CloudSqlIamCredential.php index d648d88db6d5..36434a83436b 100644 --- a/Dlp/src/V2/CloudSqlIamCredential.php +++ b/Dlp/src/V2/CloudSqlIamCredential.php @@ -11,8 +11,8 @@ /** * Use IAM authentication to connect. This requires the Cloud SQL IAM feature * to be enabled on the instance, which is not the default for Cloud SQL. - * See https://cloud.google.com/sql/docs/postgres/authentication and - * https://cloud.google.com/sql/docs/mysql/authentication. + * See https://docs.cloud.google.com/sql/docs/postgres/authentication and + * https://docs.cloud.google.com/sql/docs/mysql/authentication. * * Generated from protobuf message google.privacy.dlp.v2.CloudSqlIamCredential */ diff --git a/Dlp/src/V2/CloudStorageOptions.php b/Dlp/src/V2/CloudStorageOptions.php index c6d8ee1231d8..10c52b26a6d8 100644 --- a/Dlp/src/V2/CloudStorageOptions.php +++ b/Dlp/src/V2/CloudStorageOptions.php @@ -29,7 +29,7 @@ class CloudStorageOptions extends \Google\Protobuf\Internal\Message * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int64 bytes_limit_per_file = 4; */ @@ -42,7 +42,7 @@ class CloudStorageOptions extends \Google\Protobuf\Internal\Message * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int32 bytes_limit_per_file_percent = 8; */ @@ -89,7 +89,7 @@ class CloudStorageOptions extends \Google\Protobuf\Internal\Message * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * @type int $bytes_limit_per_file_percent * Max percentage of bytes to scan from a file. The rest are omitted. The * number of bytes scanned is rounded down. Must be between 0 and 100, @@ -98,7 +98,7 @@ class CloudStorageOptions extends \Google\Protobuf\Internal\Message * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * @type int[] $file_types * List of file type groups to include in the scan. * If empty, all files are scanned and available data format processors @@ -163,7 +163,7 @@ public function setFileSet($var) * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int64 bytes_limit_per_file = 4; * @return int|string @@ -180,7 +180,7 @@ public function getBytesLimitPerFile() * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int64 bytes_limit_per_file = 4; * @param int|string $var @@ -202,7 +202,7 @@ public function setBytesLimitPerFile($var) * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int32 bytes_limit_per_file_percent = 8; * @return int @@ -220,7 +220,7 @@ public function getBytesLimitPerFilePercent() * This field can't be set if de-identification is requested. For certain file * types, setting this field has no effect. For more information, see [Limits * on bytes scanned per - * file](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). + * file](https://docs.cloud.google.com/sensitive-data-protection/docs/supported-file-types#max-byte-size-per-file). * * Generated from protobuf field int32 bytes_limit_per_file_percent = 8; * @param int $var diff --git a/Dlp/src/V2/ColumnDataProfile.php b/Dlp/src/V2/ColumnDataProfile.php index c5cb44960571..0b4fbbc4ec12 100644 --- a/Dlp/src/V2/ColumnDataProfile.php +++ b/Dlp/src/V2/ColumnDataProfile.php @@ -60,7 +60,7 @@ class ColumnDataProfile extends \Google\Protobuf\Internal\Message protected $dataset_project_id = ''; /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; @@ -167,7 +167,7 @@ class ColumnDataProfile extends \Google\Protobuf\Internal\Message * The Google Cloud project ID that owns the profiled resource. * @type string $dataset_location * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * BigQuery locations. * @type string $dataset_id * The BigQuery dataset ID, if the resource profiled is a BigQuery table. @@ -411,7 +411,7 @@ public function setDatasetProjectId($var) /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; @@ -424,7 +424,7 @@ public function getDatasetLocation() /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * BigQuery locations. * * Generated from protobuf field string dataset_location = 20; diff --git a/Dlp/src/V2/ContentItem.php b/Dlp/src/V2/ContentItem.php index d0c6b498540c..0246a48c53d3 100644 --- a/Dlp/src/V2/ContentItem.php +++ b/Dlp/src/V2/ContentItem.php @@ -33,7 +33,7 @@ class ContentItem extends \Google\Protobuf\Internal\Message * String data to inspect or redact. * @type \Google\Cloud\Dlp\V2\Table $table * Structured content for inspection. See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table * to learn more. * @type \Google\Cloud\Dlp\V2\ByteContentItem $byte_item * Content data to inspect or redact. Replaces `type` and `data`. @@ -85,7 +85,7 @@ public function setValue($var) /** * Structured content for inspection. See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table * to learn more. * * Generated from protobuf field .google.privacy.dlp.v2.Table table = 4; @@ -103,7 +103,7 @@ public function hasTable() /** * Structured content for inspection. See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table * to learn more. * * Generated from protobuf field .google.privacy.dlp.v2.Table table = 4; diff --git a/Dlp/src/V2/ContentMetadata.php b/Dlp/src/V2/ContentMetadata.php index ad2df65e254e..cddb501007aa 100644 --- a/Dlp/src/V2/ContentMetadata.php +++ b/Dlp/src/V2/ContentMetadata.php @@ -21,6 +21,12 @@ class ContentMetadata extends \Google\Protobuf\Internal\Message * Generated from protobuf field repeated .google.privacy.dlp.v2.KeyValueMetadataProperty properties = 2; */ private $properties; + /** + * Optional. The file labels associated with the content. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel file_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $file_labels; /** * Constructor. @@ -30,6 +36,8 @@ class ContentMetadata extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\KeyValueMetadataProperty[] $properties * User provided key-value pairs of content metadata. + * @type \Google\Cloud\Dlp\V2\FileLabel[] $file_labels + * Optional. The file labels associated with the content. * } */ public function __construct($data = NULL) { @@ -63,5 +71,31 @@ public function setProperties($var) return $this; } + /** + * Optional. The file labels associated with the content. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel file_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileLabel> + */ + public function getFileLabels() + { + return $this->file_labels; + } + + /** + * Optional. The file labels associated with the content. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel file_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\FileLabel[] $var + * @return $this + */ + public function setFileLabels($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\FileLabel::class); + $this->file_labels = $arr; + + return $this; + } + } diff --git a/Dlp/src/V2/ContentPolicy.php b/Dlp/src/V2/ContentPolicy.php new file mode 100644 index 000000000000..f2467823b27c --- /dev/null +++ b/Dlp/src/V2/ContentPolicy.php @@ -0,0 +1,543 @@ +google.privacy.dlp.v2.ContentPolicy + */ +class ContentPolicy extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Resource name of the policy. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $name = ''; + /** + * Output only. The creation timestamp of a contentPolicy; output-only field. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. The last update timestamp of a contentPolicy; output-only + * field. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Optional. Display name (max 63 chars) + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = ''; + /** + * Optional. InspectConfig to use to produce findings. + * + * Generated from protobuf field .google.privacy.dlp.v2.InspectConfig inspect_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $inspect_config = null; + /** + * Required. Policies to apply, based on the findings returned by inspection. + * The first rule to match applies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + private $rules; + /** + * Optional. Action to take if the content is an unsupported file type. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction unsupported_file_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $unsupported_file_type = null; + /** + * Optional. Action to take if the content is a supported file type but is too + * large to be scanned. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction input_too_large = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $input_too_large = null; + /** + * Optional. Action to take if the content is a supported file type and size + * but fails to be scanned, for example because the file is encrypted or + * corrupted. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction failed_to_scan_supported_file_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $failed_to_scan_supported_file_type = null; + /** + * Action to take if the content is scanned and no rules match. + * Defaults to returning an ALLOW verdict if not set. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction default_action = 11; + */ + protected $default_action = null; + /** + * Optional. Log the actions taken by the content policy to external systems. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.LoggingConfig logging_configs = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $logging_configs; + /** + * Output only. A stream of errors encountered when the policy was applied. + * Output only field. Will return the last 100 errors. Whenever the policy is + * modified this list will be cleared. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $errors; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Output only. Resource name of the policy. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. The creation timestamp of a contentPolicy; output-only field. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. The last update timestamp of a contentPolicy; output-only + * field. + * @type string $display_name + * Optional. Display name (max 63 chars) + * @type \Google\Cloud\Dlp\V2\InspectConfig $inspect_config + * Optional. InspectConfig to use to produce findings. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule[] $rules + * Required. Policies to apply, based on the findings returned by inspection. + * The first rule to match applies. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $unsupported_file_type + * Optional. Action to take if the content is an unsupported file type. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $input_too_large + * Optional. Action to take if the content is a supported file type but is too + * large to be scanned. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $failed_to_scan_supported_file_type + * Optional. Action to take if the content is a supported file type and size + * but fails to be scanned, for example because the file is encrypted or + * corrupted. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $default_action + * Action to take if the content is scanned and no rules match. + * Defaults to returning an ALLOW verdict if not set. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig[] $logging_configs + * Optional. Log the actions taken by the content policy to external systems. + * @type \Google\Cloud\Dlp\V2\Error[] $errors + * Output only. A stream of errors encountered when the policy was applied. + * Output only field. Will return the last 100 errors. Whenever the policy is + * modified this list will be cleared. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Resource name of the policy. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Resource name of the policy. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Output only. The creation timestamp of a contentPolicy; output-only field. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getCreateTime() + { + return $this->create_time; + } + + public function hasCreateTime() + { + return isset($this->create_time); + } + + public function clearCreateTime() + { + unset($this->create_time); + } + + /** + * Output only. The creation timestamp of a contentPolicy; output-only field. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setCreateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->create_time = $var; + + return $this; + } + + /** + * Output only. The last update timestamp of a contentPolicy; output-only + * field. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getUpdateTime() + { + return $this->update_time; + } + + public function hasUpdateTime() + { + return isset($this->update_time); + } + + public function clearUpdateTime() + { + unset($this->update_time); + } + + /** + * Output only. The last update timestamp of a contentPolicy; output-only + * field. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->update_time = $var; + + return $this; + } + + /** + * Optional. Display name (max 63 chars) + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. Display name (max 63 chars) + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Optional. InspectConfig to use to produce findings. + * + * Generated from protobuf field .google.privacy.dlp.v2.InspectConfig inspect_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\Dlp\V2\InspectConfig|null + */ + public function getInspectConfig() + { + return $this->inspect_config; + } + + public function hasInspectConfig() + { + return isset($this->inspect_config); + } + + public function clearInspectConfig() + { + unset($this->inspect_config); + } + + /** + * Optional. InspectConfig to use to produce findings. + * + * Generated from protobuf field .google.privacy.dlp.v2.InspectConfig inspect_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\InspectConfig $var + * @return $this + */ + public function setInspectConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\InspectConfig::class); + $this->inspect_config = $var; + + return $this; + } + + /** + * Required. Policies to apply, based on the findings returned by inspection. + * The first rule to match applies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule> + */ + public function getRules() + { + return $this->rules; + } + + /** + * Required. Policies to apply, based on the findings returned by inspection. + * The first rule to match applies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule rules = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule[] $var + * @return $this + */ + public function setRules($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule::class); + $this->rules = $arr; + + return $this; + } + + /** + * Optional. Action to take if the content is an unsupported file type. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction unsupported_file_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction|null + */ + public function getUnsupportedFileType() + { + return $this->unsupported_file_type; + } + + public function hasUnsupportedFileType() + { + return isset($this->unsupported_file_type); + } + + public function clearUnsupportedFileType() + { + unset($this->unsupported_file_type); + } + + /** + * Optional. Action to take if the content is an unsupported file type. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction unsupported_file_type = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $var + * @return $this + */ + public function setUnsupportedFileType($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction::class); + $this->unsupported_file_type = $var; + + return $this; + } + + /** + * Optional. Action to take if the content is a supported file type but is too + * large to be scanned. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction input_too_large = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction|null + */ + public function getInputTooLarge() + { + return $this->input_too_large; + } + + public function hasInputTooLarge() + { + return isset($this->input_too_large); + } + + public function clearInputTooLarge() + { + unset($this->input_too_large); + } + + /** + * Optional. Action to take if the content is a supported file type but is too + * large to be scanned. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction input_too_large = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $var + * @return $this + */ + public function setInputTooLarge($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction::class); + $this->input_too_large = $var; + + return $this; + } + + /** + * Optional. Action to take if the content is a supported file type and size + * but fails to be scanned, for example because the file is encrypted or + * corrupted. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction failed_to_scan_supported_file_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction|null + */ + public function getFailedToScanSupportedFileType() + { + return $this->failed_to_scan_supported_file_type; + } + + public function hasFailedToScanSupportedFileType() + { + return isset($this->failed_to_scan_supported_file_type); + } + + public function clearFailedToScanSupportedFileType() + { + unset($this->failed_to_scan_supported_file_type); + } + + /** + * Optional. Action to take if the content is a supported file type and size + * but fails to be scanned, for example because the file is encrypted or + * corrupted. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction failed_to_scan_supported_file_type = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $var + * @return $this + */ + public function setFailedToScanSupportedFileType($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction::class); + $this->failed_to_scan_supported_file_type = $var; + + return $this; + } + + /** + * Action to take if the content is scanned and no rules match. + * Defaults to returning an ALLOW verdict if not set. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction default_action = 11; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction|null + */ + public function getDefaultAction() + { + return $this->default_action; + } + + public function hasDefaultAction() + { + return isset($this->default_action); + } + + public function clearDefaultAction() + { + unset($this->default_action); + } + + /** + * Action to take if the content is scanned and no rules match. + * Defaults to returning an ALLOW verdict if not set. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction default_action = 11; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $var + * @return $this + */ + public function setDefaultAction($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction::class); + $this->default_action = $var; + + return $this; + } + + /** + * Optional. Log the actions taken by the content policy to external systems. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.LoggingConfig logging_configs = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig> + */ + public function getLoggingConfigs() + { + return $this->logging_configs; + } + + /** + * Optional. Log the actions taken by the content policy to external systems. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.LoggingConfig logging_configs = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig[] $var + * @return $this + */ + public function setLoggingConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig::class); + $this->logging_configs = $arr; + + return $this; + } + + /** + * Output only. A stream of errors encountered when the policy was applied. + * Output only field. Will return the last 100 errors. Whenever the policy is + * modified this list will be cleared. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> + */ + public function getErrors() + { + return $this->errors; + } + + /** + * Output only. A stream of errors encountered when the policy was applied. + * Output only field. Will return the last 100 errors. Whenever the policy is + * modified this list will be cleared. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\Dlp\V2\Error[] $var + * @return $this + */ + public function setErrors($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\Error::class); + $this->errors = $arr; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/LoggingConfig.php b/Dlp/src/V2/ContentPolicy/LoggingConfig.php new file mode 100644 index 000000000000..4cce1f186cd1 --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/LoggingConfig.php @@ -0,0 +1,75 @@ +google.privacy.dlp.v2.ContentPolicy.LoggingConfig + */ +class LoggingConfig extends \Google\Protobuf\Internal\Message +{ + protected $destination; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig\LogToBigQuery $log_to_big_query + * Optional. Log the actions taken to a BigQuery table. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Log the actions taken to a BigQuery table. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig\LogToBigQuery|null + */ + public function getLogToBigQuery() + { + return $this->readOneof(1); + } + + public function hasLogToBigQuery() + { + return $this->hasOneof(1); + } + + /** + * Optional. Log the actions taken to a BigQuery table. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery log_to_big_query = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig\LogToBigQuery $var + * @return $this + */ + public function setLogToBigQuery($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\LoggingConfig\LogToBigQuery::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * @return string + */ + public function getDestination() + { + return $this->whichOneof("destination"); + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/LoggingConfig/LogToBigQuery.php b/Dlp/src/V2/ContentPolicy/LoggingConfig/LogToBigQuery.php new file mode 100644 index 000000000000..b6bd935fcbbb --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/LoggingConfig/LogToBigQuery.php @@ -0,0 +1,143 @@ +google.privacy.dlp.v2.ContentPolicy.LoggingConfig.LogToBigQuery + */ +class LogToBigQuery extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The ID of the project containing the BigQuery table to write + * to. + * + * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $project_id = ''; + /** + * Required. The ID of the dataset containing the BigQuery table to write + * to. + * + * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $dataset_id = ''; + /** + * Required. The ID of the BigQuery table to write to. + * + * Generated from protobuf field string table_id = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $table_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $project_id + * Required. The ID of the project containing the BigQuery table to write + * to. + * @type string $dataset_id + * Required. The ID of the dataset containing the BigQuery table to write + * to. + * @type string $table_id + * Required. The ID of the BigQuery table to write to. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. The ID of the project containing the BigQuery table to write + * to. + * + * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getProjectId() + { + return $this->project_id; + } + + /** + * Required. The ID of the project containing the BigQuery table to write + * to. + * + * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setProjectId($var) + { + GPBUtil::checkString($var, True); + $this->project_id = $var; + + return $this; + } + + /** + * Required. The ID of the dataset containing the BigQuery table to write + * to. + * + * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDatasetId() + { + return $this->dataset_id; + } + + /** + * Required. The ID of the dataset containing the BigQuery table to write + * to. + * + * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDatasetId($var) + { + GPBUtil::checkString($var, True); + $this->dataset_id = $var; + + return $this; + } + + /** + * Required. The ID of the BigQuery table to write to. + * + * Generated from protobuf field string table_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTableId() + { + return $this->table_id; + } + + /** + * Required. The ID of the BigQuery table to write to. + * + * Generated from protobuf field string table_id = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTableId($var) + { + GPBUtil::checkString($var, True); + $this->table_id = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/PolicyAction.php b/Dlp/src/V2/ContentPolicy/PolicyAction.php new file mode 100644 index 000000000000..c945f0d48c32 --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/PolicyAction.php @@ -0,0 +1,75 @@ +google.privacy.dlp.v2.ContentPolicy.PolicyAction + */ +class PolicyAction extends \Google\Protobuf\Internal\Message +{ + protected $action; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $return_verdict + * Optional. If set, the verdict will be returned to the user. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Optional. If set, the verdict will be returned to the user. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicyVerdict return_verdict = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getReturnVerdict() + { + return $this->readOneof(1); + } + + public function hasReturnVerdict() + { + return $this->hasOneof(1); + } + + /** + * Optional. If set, the verdict will be returned to the user. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicyVerdict return_verdict = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setReturnVerdict($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\ContentPolicyVerdict::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * @return string + */ + public function getAction() + { + return $this->whichOneof("action"); + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/PolicyRule.php b/Dlp/src/V2/ContentPolicy/PolicyRule.php new file mode 100644 index 000000000000..8da0c67321a3 --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/PolicyRule.php @@ -0,0 +1,120 @@ +google.privacy.dlp.v2.ContentPolicy.PolicyRule + */ +class PolicyRule extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Conditions that must match for this rule to apply. + * All conditions must match (`AND`). For `OR` conditions, use multiple + * rules. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition conditions = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $conditions; + /** + * Required. Action to take if this rule applies. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction action = 5 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $action = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition[] $conditions + * Optional. Conditions that must match for this rule to apply. + * All conditions must match (`AND`). For `OR` conditions, use multiple + * rules. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $action + * Required. Action to take if this rule applies. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Conditions that must match for this rule to apply. + * All conditions must match (`AND`). For `OR` conditions, use multiple + * rules. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition conditions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition> + */ + public function getConditions() + { + return $this->conditions; + } + + /** + * Optional. Conditions that must match for this rule to apply. + * All conditions must match (`AND`). For `OR` conditions, use multiple + * rules. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition conditions = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition[] $var + * @return $this + */ + public function setConditions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition::class); + $this->conditions = $arr; + + return $this; + } + + /** + * Required. Action to take if this rule applies. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction action = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction|null + */ + public function getAction() + { + return $this->action; + } + + public function hasAction() + { + return isset($this->action); + } + + public function clearAction() + { + unset($this->action); + } + + /** + * Required. Action to take if this rule applies. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyAction action = 5 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction $var + * @return $this + */ + public function setAction($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyAction::class); + $this->action = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition.php b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition.php new file mode 100644 index 000000000000..99e82c57ecaf --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition.php @@ -0,0 +1,75 @@ +google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition + */ +class PolicyCondition extends \Google\Protobuf\Internal\Message +{ + protected $condition; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition $info_type_condition + * A condition based on info types. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * A condition based on info types. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition info_type_condition = 1; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition|null + */ + public function getInfoTypeCondition() + { + return $this->readOneof(1); + } + + public function hasInfoTypeCondition() + { + return $this->hasOneof(1); + } + + /** + * A condition based on info types. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition info_type_condition = 1; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition $var + * @return $this + */ + public function setInfoTypeCondition($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * @return string + */ + public function getCondition() + { + return $this->whichOneof("condition"); + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition.php b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition.php new file mode 100644 index 000000000000..12a40987233d --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition.php @@ -0,0 +1,150 @@ +google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition + */ +class InfoTypeCondition extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The minimum total number of findings of all matching info + * types required for this condition to evaluate to true. Defaults to 1 + * if unset. + * + * Generated from protobuf field int64 min_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $min_count = 0; + protected $info_type_condition; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int|string $min_count + * Optional. The minimum total number of findings of all matching info + * types required for this condition to evaluate to true. Defaults to 1 + * if unset. + * @type \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition\InfoTypes $info_types + * match any of these info types. + * @type \Google\Protobuf\GPBEmpty $any_info_type + * match any info types. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The minimum total number of findings of all matching info + * types required for this condition to evaluate to true. Defaults to 1 + * if unset. + * + * Generated from protobuf field int64 min_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getMinCount() + { + return $this->min_count; + } + + /** + * Optional. The minimum total number of findings of all matching info + * types required for this condition to evaluate to true. Defaults to 1 + * if unset. + * + * Generated from protobuf field int64 min_count = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setMinCount($var) + { + GPBUtil::checkInt64($var); + $this->min_count = $var; + + return $this; + } + + /** + * match any of these info types. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition.InfoTypes info_types = 1; + * @return \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition\InfoTypes|null + */ + public function getInfoTypes() + { + return $this->readOneof(1); + } + + public function hasInfoTypes() + { + return $this->hasOneof(1); + } + + /** + * match any of these info types. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition.InfoTypes info_types = 1; + * @param \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition\InfoTypes $var + * @return $this + */ + public function setInfoTypes($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy\PolicyRule\PolicyCondition\InfoTypeCondition\InfoTypes::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * match any info types. + * + * Generated from protobuf field .google.protobuf.Empty any_info_type = 2; + * @return \Google\Protobuf\GPBEmpty|null + */ + public function getAnyInfoType() + { + return $this->readOneof(2); + } + + public function hasAnyInfoType() + { + return $this->hasOneof(2); + } + + /** + * match any info types. + * + * Generated from protobuf field .google.protobuf.Empty any_info_type = 2; + * @param \Google\Protobuf\GPBEmpty $var + * @return $this + */ + public function setAnyInfoType($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\GPBEmpty::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getInfoTypeCondition() + { + return $this->whichOneof("info_type_condition"); + } + +} + diff --git a/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition/InfoTypes.php b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition/InfoTypes.php new file mode 100644 index 000000000000..1841f8bcb8fc --- /dev/null +++ b/Dlp/src/V2/ContentPolicy/PolicyRule/PolicyCondition/InfoTypeCondition/InfoTypes.php @@ -0,0 +1,67 @@ +google.privacy.dlp.v2.ContentPolicy.PolicyRule.PolicyCondition.InfoTypeCondition.InfoTypes + */ +class InfoTypes extends \Google\Protobuf\Internal\Message +{ + /** + * Required. A list of info types to match. + * + * Generated from protobuf field repeated string info_type_names = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $info_type_names; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $info_type_names + * Required. A list of info types to match. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. A list of info types to match. + * + * Generated from protobuf field repeated string info_type_names = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField + */ + public function getInfoTypeNames() + { + return $this->info_type_names; + } + + /** + * Required. A list of info types to match. + * + * Generated from protobuf field repeated string info_type_names = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $var + * @return $this + */ + public function setInfoTypeNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->info_type_names = $arr; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ContentPolicyVerdict.php b/Dlp/src/V2/ContentPolicyVerdict.php new file mode 100644 index 000000000000..2602db4f90e4 --- /dev/null +++ b/Dlp/src/V2/ContentPolicyVerdict.php @@ -0,0 +1,64 @@ +google.privacy.dlp.v2.ContentPolicyVerdict + */ +class ContentPolicyVerdict +{ + /** + * Not used. + * + * Generated from protobuf enum CONTENT_POLICY_VERDICT_UNSPECIFIED = 0; + */ + const CONTENT_POLICY_VERDICT_UNSPECIFIED = 0; + /** + * The policy allows the provided content to be used. + * + * Generated from protobuf enum ALLOW = 1; + */ + const ALLOW = 1; + /** + * The policy prevents the provided content from being used. This should + * result in a blocked file upload, exclusion from training dataset, or + * other similar block action. (specific action will depend on the caller). + * + * Generated from protobuf enum BLOCK = 2; + */ + const BLOCK = 2; + + private static $valueToName = [ + self::CONTENT_POLICY_VERDICT_UNSPECIFIED => 'CONTENT_POLICY_VERDICT_UNSPECIFIED', + self::ALLOW => 'ALLOW', + self::BLOCK => 'BLOCK', + ]; + + public static function name($value) + { + if (!isset(self::$valueToName[$value])) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no name defined for value %s', __CLASS__, $value)); + } + return self::$valueToName[$value]; + } + + + public static function value($name) + { + $const = __CLASS__ . '::' . strtoupper($name); + if (!defined($const)) { + throw new UnexpectedValueException(sprintf( + 'Enum %s has no value defined for name %s', __CLASS__, $name)); + } + return constant($const); + } +} + diff --git a/Dlp/src/V2/CreateContentPolicyRequest.php b/Dlp/src/V2/CreateContentPolicyRequest.php new file mode 100644 index 000000000000..58c9ba2a5f14 --- /dev/null +++ b/Dlp/src/V2/CreateContentPolicyRequest.php @@ -0,0 +1,203 @@ +google.privacy.dlp.v2.CreateContentPolicyRequest + */ +class CreateContentPolicyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Parent resource name. + * The format of this value varies depending on the scope of the request + * (project): + * + Projects scope: + * `projects/{project_id}/locations/{location_id}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The content_policy resource. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $content_policy = null; + /** + * Optional. The content policy ID can contain uppercase and lowercase + * letters, numbers, and hyphens; that is, it must match the regular + * expression: + * `[a-zA-Z\d-_]+`. + * The maximum length is 100 characters. If empty, the system will generate + * a random id. + * + * Generated from protobuf field string content_policy_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $content_policy_id = ''; + + /** + * @param string $parent Required. Parent resource name. + * + * The format of this value varies depending on the scope of the request + * (project): + * + * + Projects scope: + * `projects/{project_id}/locations/{location_id}` + * Please see {@see DlpServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\Dlp\V2\ContentPolicy $contentPolicy Required. The content_policy resource. + * + * @return \Google\Cloud\Dlp\V2\CreateContentPolicyRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\Dlp\V2\ContentPolicy $contentPolicy): self + { + return (new self()) + ->setParent($parent) + ->setContentPolicy($contentPolicy); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Parent resource name. + * The format of this value varies depending on the scope of the request + * (project): + * + Projects scope: + * `projects/{project_id}/locations/{location_id}` + * @type \Google\Cloud\Dlp\V2\ContentPolicy $content_policy + * Required. The content_policy resource. + * @type string $content_policy_id + * Optional. The content policy ID can contain uppercase and lowercase + * letters, numbers, and hyphens; that is, it must match the regular + * expression: + * `[a-zA-Z\d-_]+`. + * The maximum length is 100 characters. If empty, the system will generate + * a random id. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. Parent resource name. + * The format of this value varies depending on the scope of the request + * (project): + * + Projects scope: + * `projects/{project_id}/locations/{location_id}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Parent resource name. + * The format of this value varies depending on the scope of the request + * (project): + * + Projects scope: + * `projects/{project_id}/locations/{location_id}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Required. The content_policy resource. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy|null + */ + public function getContentPolicy() + { + return $this->content_policy; + } + + public function hasContentPolicy() + { + return isset($this->content_policy); + } + + public function clearContentPolicy() + { + unset($this->content_policy); + } + + /** + * Required. The content_policy resource. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy $var + * @return $this + */ + public function setContentPolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy::class); + $this->content_policy = $var; + + return $this; + } + + /** + * Optional. The content policy ID can contain uppercase and lowercase + * letters, numbers, and hyphens; that is, it must match the regular + * expression: + * `[a-zA-Z\d-_]+`. + * The maximum length is 100 characters. If empty, the system will generate + * a random id. + * + * Generated from protobuf field string content_policy_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getContentPolicyId() + { + return $this->content_policy_id; + } + + /** + * Optional. The content policy ID can contain uppercase and lowercase + * letters, numbers, and hyphens; that is, it must match the regular + * expression: + * `[a-zA-Z\d-_]+`. + * The maximum length is 100 characters. If empty, the system will generate + * a random id. + * + * Generated from protobuf field string content_policy_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setContentPolicyId($var) + { + GPBUtil::checkString($var, True); + $this->content_policy_id = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/CreateDeidentifyTemplateRequest.php b/Dlp/src/V2/CreateDeidentifyTemplateRequest.php index d1818024b004..523e0204e252 100644 --- a/Dlp/src/V2/CreateDeidentifyTemplateRequest.php +++ b/Dlp/src/V2/CreateDeidentifyTemplateRequest.php @@ -19,7 +19,7 @@ class CreateDeidentifyTemplateRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -63,7 +63,7 @@ class CreateDeidentifyTemplateRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -103,7 +103,7 @@ public static function build(string $parent, \Google\Cloud\Dlp\V2\DeidentifyTemp * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -136,7 +136,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -162,7 +162,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/CreateDlpJobRequest.php b/Dlp/src/V2/CreateDlpJobRequest.php index 4213921e762a..b08a19a266c6 100644 --- a/Dlp/src/V2/CreateDlpJobRequest.php +++ b/Dlp/src/V2/CreateDlpJobRequest.php @@ -21,7 +21,7 @@ class CreateDlpJobRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -56,7 +56,7 @@ class CreateDlpJobRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -87,7 +87,7 @@ public static function build(string $parent, \Google\Cloud\Dlp\V2\InspectJobConf * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -124,7 +124,7 @@ public static function buildFromParentRiskJob(string $parent, \Google\Cloud\Dlp\ * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -156,7 +156,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -178,7 +178,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/CreateInspectTemplateRequest.php b/Dlp/src/V2/CreateInspectTemplateRequest.php index e14fdfdd9a87..e539158f0fb5 100644 --- a/Dlp/src/V2/CreateInspectTemplateRequest.php +++ b/Dlp/src/V2/CreateInspectTemplateRequest.php @@ -19,7 +19,7 @@ class CreateInspectTemplateRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -63,7 +63,7 @@ class CreateInspectTemplateRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -103,7 +103,7 @@ public static function build(string $parent, \Google\Cloud\Dlp\V2\InspectTemplat * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -136,7 +136,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -162,7 +162,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/CreateJobTriggerRequest.php b/Dlp/src/V2/CreateJobTriggerRequest.php index fd79719e7dfd..36e6457a4abd 100644 --- a/Dlp/src/V2/CreateJobTriggerRequest.php +++ b/Dlp/src/V2/CreateJobTriggerRequest.php @@ -19,7 +19,7 @@ class CreateJobTriggerRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -59,7 +59,7 @@ class CreateJobTriggerRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -95,7 +95,7 @@ public static function build(string $parent, \Google\Cloud\Dlp\V2\JobTrigger $jo * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -124,7 +124,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -146,7 +146,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/CreateStoredInfoTypeRequest.php b/Dlp/src/V2/CreateStoredInfoTypeRequest.php index c8c4308219c4..4652790e7800 100644 --- a/Dlp/src/V2/CreateStoredInfoTypeRequest.php +++ b/Dlp/src/V2/CreateStoredInfoTypeRequest.php @@ -19,7 +19,7 @@ class CreateStoredInfoTypeRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -63,7 +63,7 @@ class CreateStoredInfoTypeRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -103,7 +103,7 @@ public static function build(string $parent, \Google\Cloud\Dlp\V2\StoredInfoType * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -136,7 +136,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -162,7 +162,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/CryptoHashConfig.php b/Dlp/src/V2/CryptoHashConfig.php index c410f70295ce..9baa66a63988 100644 --- a/Dlp/src/V2/CryptoHashConfig.php +++ b/Dlp/src/V2/CryptoHashConfig.php @@ -15,7 +15,8 @@ * Outputs a base64 encoded representation of the hashed output * (for example, L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=). * Currently, only string and integer values can be hashed. - * See https://cloud.google.com/sensitive-data-protection/docs/pseudonymization + * See + * https://docs.cloud.google.com/sensitive-data-protection/docs/pseudonymization * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.CryptoHashConfig diff --git a/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php b/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php index 7f2f74ab2ec4..66a544f66b3b 100644 --- a/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php +++ b/Dlp/src/V2/CryptoReplaceFfxFpeConfig.php @@ -17,8 +17,8 @@ * will be replaced with the same surrogate. Identifiers must be at least two * characters long. In the case that the identifier is the empty string, it will * be skipped. See - * https://cloud.google.com/sensitive-data-protection/docs/pseudonymization to - * learn more. + * https://docs.cloud.google.com/sensitive-data-protection/docs/pseudonymization + * to learn more. * Note: We recommend using CryptoDeterministicConfig for all use cases which * do not require preserving the input alphabet space and size, plus warrant * referential integrity. FPE incurs significant latency costs. @@ -63,7 +63,7 @@ class CryptoReplaceFfxFpeConfig extends \Google\Protobuf\Internal\Message * will be: 'MY_TOKEN_INFO_TYPE(3):abc' * This annotation identifies the surrogate when inspecting content using the * custom infoType - * [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). + * [`SurrogateType`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). * This facilitates reversal of the surrogate when it occurs in free text. * In order for inspection to work properly, the name of this infoType must * not occur naturally anywhere in your data; otherwise, inspection may @@ -129,7 +129,7 @@ class CryptoReplaceFfxFpeConfig extends \Google\Protobuf\Internal\Message * will be: 'MY_TOKEN_INFO_TYPE(3):abc' * This annotation identifies the surrogate when inspecting content using the * custom infoType - * [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). + * [`SurrogateType`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). * This facilitates reversal of the surrogate when it occurs in free text. * In order for inspection to work properly, the name of this infoType must * not occur naturally anywhere in your data; otherwise, inspection may @@ -366,7 +366,7 @@ public function setRadix($var) * will be: 'MY_TOKEN_INFO_TYPE(3):abc' * This annotation identifies the surrogate when inspecting content using the * custom infoType - * [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). + * [`SurrogateType`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). * This facilitates reversal of the surrogate when it occurs in free text. * In order for inspection to work properly, the name of this infoType must * not occur naturally anywhere in your data; otherwise, inspection may @@ -408,7 +408,7 @@ public function clearSurrogateInfoType() * will be: 'MY_TOKEN_INFO_TYPE(3):abc' * This annotation identifies the surrogate when inspecting content using the * custom infoType - * [`SurrogateType`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). + * [`SurrogateType`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/InspectConfig#surrogatetype). * This facilitates reversal of the surrogate when it occurs in free text. * In order for inspection to work properly, the name of this infoType must * not occur naturally anywhere in your data; otherwise, inspection may diff --git a/Dlp/src/V2/CustomInfoType.php b/Dlp/src/V2/CustomInfoType.php index ad621b6f6a35..9f3a4c174d93 100644 --- a/Dlp/src/V2/CustomInfoType.php +++ b/Dlp/src/V2/CustomInfoType.php @@ -91,6 +91,8 @@ class CustomInfoType extends \Google\Protobuf\Internal\Message * Loads an existing `StoredInfoType` resource. * @type \Google\Cloud\Dlp\V2\CustomInfoType\MetadataKeyValueExpression $metadata_key_value_expression * Key-value pair to detect in the metadata. + * @type \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType $file_label_info_type + * File label to detect. * @type \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule[] $detection_rules * Set of detection rules to apply to all findings of this CustomInfoType. * Rules are applied in the order that they are specified. Only supported @@ -345,6 +347,37 @@ public function setMetadataKeyValueExpression($var) return $this; } + /** + * File label to detect. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType file_label_info_type = 12; + * @return \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType|null + */ + public function getFileLabelInfoType() + { + return $this->readOneof(12); + } + + public function hasFileLabelInfoType() + { + return $this->hasOneof(12); + } + + /** + * File label to detect. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType file_label_info_type = 12; + * @param \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType $var + * @return $this + */ + public function setFileLabelInfoType($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType::class); + $this->writeOneof(12, $var); + + return $this; + } + /** * Set of detection rules to apply to all findings of this CustomInfoType. * Rules are applied in the order that they are specified. Only supported diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php b/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php index 0bb673156ee8..0a6510c9a52e 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule/HotwordRule.php @@ -34,7 +34,7 @@ class HotwordRule extends \Google\Protobuf\Internal\Message * For tabular data, if you want to modify the likelihood of an entire * column of findngs, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; */ @@ -66,7 +66,7 @@ class HotwordRule extends \Google\Protobuf\Internal\Message * For tabular data, if you want to modify the likelihood of an entire * column of findngs, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * @type \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule\LikelihoodAdjustment $likelihood_adjustment * Likelihood adjustment to apply to all matching findings. * } @@ -124,7 +124,7 @@ public function setHotwordRegex($var) * For tabular data, if you want to modify the likelihood of an entire * column of findngs, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; * @return \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule\Proximity|null @@ -156,7 +156,7 @@ public function clearProximity() * For tabular data, if you want to modify the likelihood of an entire * column of findngs, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.DetectionRule.Proximity proximity = 2; * @param \Google\Cloud\Dlp\V2\CustomInfoType\DetectionRule\Proximity $var diff --git a/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php b/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php index a2d5a74e9b97..f4e664529a49 100644 --- a/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php +++ b/Dlp/src/V2/CustomInfoType/DetectionRule/Proximity.php @@ -21,7 +21,7 @@ class Proximity extends \Google\Protobuf\Internal\Message * if you want to modify the likelihood of an entire column of findngs, * set this to 1. For more information, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field int32 window_before = 1; */ @@ -44,7 +44,7 @@ class Proximity extends \Google\Protobuf\Internal\Message * if you want to modify the likelihood of an entire column of findngs, * set this to 1. For more information, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * @type int $window_after * Number of characters after the finding to consider. * } @@ -59,7 +59,7 @@ public function __construct($data = NULL) { * if you want to modify the likelihood of an entire column of findngs, * set this to 1. For more information, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field int32 window_before = 1; * @return int @@ -74,7 +74,7 @@ public function getWindowBefore() * if you want to modify the likelihood of an entire column of findngs, * set this to 1. For more information, see * [Hotword example: Set the match likelihood of a table column] - * (https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes-likelihood#match-column-values). * * Generated from protobuf field int32 window_before = 1; * @param int $var diff --git a/Dlp/src/V2/CustomInfoType/Dictionary.php b/Dlp/src/V2/CustomInfoType/Dictionary.php index 693ddd78145b..a89b9f95a926 100644 --- a/Dlp/src/V2/CustomInfoType/Dictionary.php +++ b/Dlp/src/V2/CustomInfoType/Dictionary.php @@ -26,9 +26,9 @@ * Dictionary words containing a large number of characters that are not * letters or digits may result in unexpected findings because such characters * are treated as whitespace. The - * [limits](https://cloud.google.com/sensitive-data-protection/limits) page - * contains details about the size limits of dictionaries. For dictionaries - * that do not fit within these constraints, consider using + * [limits](https://docs.cloud.google.com/sensitive-data-protection/limits) + * page contains details about the size limits of dictionaries. For + * dictionaries that do not fit within these constraints, consider using * `LargeCustomDictionaryConfig` in the `StoredInfoType` API. * * Generated from protobuf message google.privacy.dlp.v2.CustomInfoType.Dictionary diff --git a/Dlp/src/V2/CustomInfoType/FileLabelInfoType.php b/Dlp/src/V2/CustomInfoType/FileLabelInfoType.php new file mode 100644 index 000000000000..f565c6274286 --- /dev/null +++ b/Dlp/src/V2/CustomInfoType/FileLabelInfoType.php @@ -0,0 +1,108 @@ +google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType + */ +class FileLabelInfoType extends \Google\Protobuf\Internal\Message +{ + protected $type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\SensitivityLabel $sensitivity_label + * Sensitivity labels published by Microsoft. + * @type \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel $google_drive_label + * Google Drive labels published by Google. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Storage::initOnce(); + parent::__construct($data); + } + + /** + * Sensitivity labels published by Microsoft. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel sensitivity_label = 1; + * @return \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\SensitivityLabel|null + */ + public function getSensitivityLabel() + { + return $this->readOneof(1); + } + + public function hasSensitivityLabel() + { + return $this->hasOneof(1); + } + + /** + * Sensitivity labels published by Microsoft. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel sensitivity_label = 1; + * @param \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\SensitivityLabel $var + * @return $this + */ + public function setSensitivityLabel($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\SensitivityLabel::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Google Drive labels published by Google. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel google_drive_label = 2; + * @return \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel|null + */ + public function getGoogleDriveLabel() + { + return $this->readOneof(2); + } + + public function hasGoogleDriveLabel() + { + return $this->hasOneof(2); + } + + /** + * Google Drive labels published by Google. + * + * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel google_drive_label = 2; + * @param \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel $var + * @return $this + */ + public function setGoogleDriveLabel($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getType() + { + return $this->whichOneof("type"); + } + +} + diff --git a/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel.php b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel.php new file mode 100644 index 000000000000..97e784e09cb0 --- /dev/null +++ b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel.php @@ -0,0 +1,109 @@ +google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel + */ +class GoogleDriveLabel extends \Google\Protobuf\Internal\Message +{ + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + */ + protected $label_id = ''; + /** + * The field values of the Google Drive label to match. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2; + */ + private $label_fields_to_match; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $label_id + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * @type \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel\LabelField[] $label_fields_to_match + * The field values of the Google Drive label to match. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Storage::initOnce(); + parent::__construct($data); + } + + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + * @return string + */ + public function getLabelId() + { + return $this->label_id; + } + + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + * @param string $var + * @return $this + */ + public function setLabelId($var) + { + GPBUtil::checkString($var, True); + $this->label_id = $var; + + return $this; + } + + /** + * The field values of the Google Drive label to match. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2; + * @return RepeatedField<\Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel\LabelField> + */ + public function getLabelFieldsToMatch() + { + return $this->label_fields_to_match; + } + + /** + * The field values of the Google Drive label to match. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField label_fields_to_match = 2; + * @param \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel\LabelField[] $var + * @return $this + */ + public function setLabelFieldsToMatch($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\CustomInfoType\FileLabelInfoType\GoogleDriveLabel\LabelField::class); + $this->label_fields_to_match = $arr; + + return $this; + } + +} + diff --git a/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel/LabelField.php b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel/LabelField.php new file mode 100644 index 000000000000..1f8ab469fa36 --- /dev/null +++ b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/GoogleDriveLabel/LabelField.php @@ -0,0 +1,101 @@ +google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.GoogleDriveLabel.LabelField + */ +class LabelField extends \Google\Protobuf\Internal\Message +{ + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + */ + protected $id = ''; + /** + * The value of the Label Field to match. + * + * Generated from protobuf field string value = 2; + */ + protected $value = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $id + * The identifier of the Label Field. + * @type string $value + * The value of the Label Field to match. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Storage::initOnce(); + parent::__construct($data); + } + + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + * @return string + */ + public function getId() + { + return $this->id; + } + + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + * @param string $var + * @return $this + */ + public function setId($var) + { + GPBUtil::checkString($var, True); + $this->id = $var; + + return $this; + } + + /** + * The value of the Label Field to match. + * + * Generated from protobuf field string value = 2; + * @return string + */ + public function getValue() + { + return $this->value; + } + + /** + * The value of the Label Field to match. + * + * Generated from protobuf field string value = 2; + * @param string $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkString($var, True); + $this->value = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/CustomInfoType/FileLabelInfoType/SensitivityLabel.php b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/SensitivityLabel.php new file mode 100644 index 000000000000..bca12185aee0 --- /dev/null +++ b/Dlp/src/V2/CustomInfoType/FileLabelInfoType/SensitivityLabel.php @@ -0,0 +1,67 @@ +google.privacy.dlp.v2.CustomInfoType.FileLabelInfoType.SensitivityLabel + */ +class SensitivityLabel extends \Google\Protobuf\Internal\Message +{ + /** + * The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1; + */ + protected $guid = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $guid + * The GUID of the sensitivity label. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Storage::initOnce(); + parent::__construct($data); + } + + /** + * The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1; + * @return string + */ + public function getGuid() + { + return $this->guid; + } + + /** + * The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1; + * @param string $var + * @return $this + */ + public function setGuid($var) + { + GPBUtil::checkString($var, True); + $this->guid = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/CustomInfoType/SurrogateType.php b/Dlp/src/V2/CustomInfoType/SurrogateType.php index 1fbfd3da5b32..3973df90314a 100644 --- a/Dlp/src/V2/CustomInfoType/SurrogateType.php +++ b/Dlp/src/V2/CustomInfoType/SurrogateType.php @@ -11,7 +11,7 @@ /** * Message for detecting output from deidentification transformations * such as - * [`CryptoReplaceFfxFpeConfig`](https://cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). + * [`CryptoReplaceFfxFpeConfig`](https://docs.cloud.google.com/sensitive-data-protection/docs/reference/rest/v2/organizations.deidentifyTemplates#cryptoreplaceffxfpeconfig). * These types of transformations are * those that perform pseudonymization, thereby producing a "surrogate" as * output. This should be used in conjunction with a field on the diff --git a/Dlp/src/V2/DataProfileAction.php b/Dlp/src/V2/DataProfileAction.php index d4bf0dbaf212..68347487a9bf 100644 --- a/Dlp/src/V2/DataProfileAction.php +++ b/Dlp/src/V2/DataProfileAction.php @@ -31,7 +31,7 @@ class DataProfileAction extends \Google\Protobuf\Internal\Message * Publishes generated data profiles to Google Security Operations. * For more information, see [Use Sensitive Data Protection data in * context-aware - * analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). + * analytics](https://docs.cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). * @type \Google\Cloud\Dlp\V2\DataProfileAction\PublishToSecurityCommandCenter $publish_to_scc * Publishes findings to Security Command Center for each data profile. * @type \Google\Cloud\Dlp\V2\DataProfileAction\TagResources $tag_resources @@ -112,7 +112,7 @@ public function setPubSubNotification($var) * Publishes generated data profiles to Google Security Operations. * For more information, see [Use Sensitive Data Protection data in * context-aware - * analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). + * analytics](https://docs.cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). * * Generated from protobuf field .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3; * @return \Google\Cloud\Dlp\V2\DataProfileAction\PublishToChronicle|null @@ -131,7 +131,7 @@ public function hasPublishToChronicle() * Publishes generated data profiles to Google Security Operations. * For more information, see [Use Sensitive Data Protection data in * context-aware - * analytics](https://cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). + * analytics](https://docs.cloud.google.com/chronicle/docs/detection/usecase-dlp-high-risk-user-download). * * Generated from protobuf field .google.privacy.dlp.v2.DataProfileAction.PublishToChronicle publish_to_chronicle = 3; * @param \Google\Cloud\Dlp\V2\DataProfileAction\PublishToChronicle $var diff --git a/Dlp/src/V2/DataProfileAction/Export.php b/Dlp/src/V2/DataProfileAction/Export.php index 0c0251bda75e..7080f63d99b3 100644 --- a/Dlp/src/V2/DataProfileAction/Export.php +++ b/Dlp/src/V2/DataProfileAction/Export.php @@ -26,9 +26,9 @@ class Export extends \Google\Protobuf\Internal\Message * generated and the dataset and table are created, the discovery scan * configuration will be updated with the dataset and table names. * * See [Analyze data profiles stored in - * BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). + * BigQuery](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). * * See [Sample queries for your BigQuery - * table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). + * table](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). * * Data is inserted using [streaming * insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) * and so data may be in the buffer for a period of time after the @@ -39,7 +39,7 @@ class Export extends \Google\Protobuf\Internal\Message * notification. * * The best practice is to use the same table for an entire organization * so that you can take advantage of the [provided Data Studio - * reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). + * reports](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). * If you use VPC Service Controls to define security perimeters, then * you must use a separate table for each boundary. * @@ -75,9 +75,9 @@ class Export extends \Google\Protobuf\Internal\Message * generated and the dataset and table are created, the discovery scan * configuration will be updated with the dataset and table names. * * See [Analyze data profiles stored in - * BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). + * BigQuery](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). * * See [Sample queries for your BigQuery - * table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). + * table](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). * * Data is inserted using [streaming * insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) * and so data may be in the buffer for a period of time after the @@ -88,7 +88,7 @@ class Export extends \Google\Protobuf\Internal\Message * notification. * * The best practice is to use the same table for an entire organization * so that you can take advantage of the [provided Data Studio - * reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). + * reports](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). * If you use VPC Service Controls to define security perimeters, then * you must use a separate table for each boundary. * @type \Google\Cloud\Dlp\V2\BigQueryTable $sample_findings_table @@ -116,9 +116,9 @@ public function __construct($data = NULL) { * generated and the dataset and table are created, the discovery scan * configuration will be updated with the dataset and table names. * * See [Analyze data profiles stored in - * BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). + * BigQuery](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). * * See [Sample queries for your BigQuery - * table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). + * table](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). * * Data is inserted using [streaming * insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) * and so data may be in the buffer for a period of time after the @@ -129,7 +129,7 @@ public function __construct($data = NULL) { * notification. * * The best practice is to use the same table for an entire organization * so that you can take advantage of the [provided Data Studio - * reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). + * reports](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). * If you use VPC Service Controls to define security perimeters, then * you must use a separate table for each boundary. * @@ -161,9 +161,9 @@ public function clearProfileTable() * generated and the dataset and table are created, the discovery scan * configuration will be updated with the dataset and table names. * * See [Analyze data profiles stored in - * BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). + * BigQuery](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). * * See [Sample queries for your BigQuery - * table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). + * table](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). * * Data is inserted using [streaming * insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) * and so data may be in the buffer for a period of time after the @@ -174,7 +174,7 @@ public function clearProfileTable() * notification. * * The best practice is to use the same table for an entire organization * so that you can take advantage of the [provided Data Studio - * reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). + * reports](https://docs.cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). * If you use VPC Service Controls to define security perimeters, then * you must use a separate table for each boundary. * diff --git a/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php b/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php index 011f5f0f676f..ae16b220ce1f 100644 --- a/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php +++ b/Dlp/src/V2/DataProfileAction/PublishToDataplexCatalog.php @@ -11,7 +11,8 @@ /** * Create Dataplex Universal Catalog aspects for profiled resources with the * aspect type Sensitive Data Protection Profile. To learn more about aspects, - * see https://cloud.google.com/sensitive-data-protection/docs/add-aspects. + * see + * https://docs.cloud.google.com/sensitive-data-protection/docs/add-aspects. * * Generated from protobuf message google.privacy.dlp.v2.DataProfileAction.PublishToDataplexCatalog */ diff --git a/Dlp/src/V2/DataProfileAction/TagResources.php b/Dlp/src/V2/DataProfileAction/TagResources.php index 9c6c3633d382..592d81c4b0a3 100644 --- a/Dlp/src/V2/DataProfileAction/TagResources.php +++ b/Dlp/src/V2/DataProfileAction/TagResources.php @@ -10,10 +10,10 @@ /** * If set, attaches the [tags] - * (https://cloud.google.com/resource-manager/docs/tags/tags-overview) + * (https://docs.cloud.google.com/resource-manager/docs/tags/tags-overview) * provided to profiled resources. Tags support [access - * control](https://cloud.google.com/iam/docs/tags-access-control). You can - * conditionally grant or deny access to a resource based on whether the + * control](https://docs.cloud.google.com/iam/docs/tags-access-control). You + * can conditionally grant or deny access to a resource based on whether the * resource has a specific tag. * * Generated from protobuf message google.privacy.dlp.v2.DataProfileAction.TagResources @@ -40,11 +40,11 @@ class TagResources extends \Google\Protobuf\Internal\Message /** * Whether applying a tag to a resource should lower the risk of the profile * for that resource. For example, in conjunction with an [IAM deny - * policy](https://cloud.google.com/iam/docs/deny-overview), you can deny - * all principals a permission if a tag value is present, mitigating the - * risk of the resource. This also lowers the data risk of resources at the - * lower levels of the resource hierarchy. For example, reducing the data - * risk of a table data profile also reduces the data risk of the + * policy](https://docs.cloud.google.com/iam/docs/deny-overview), you can + * deny all principals a permission if a tag value is present, mitigating + * the risk of the resource. This also lowers the data risk of resources at + * the lower levels of the resource hierarchy. For example, reducing the + * data risk of a table data profile also reduces the data risk of the * constituent column data profiles. * * Generated from protobuf field bool lower_data_risk_to_low = 3; @@ -69,11 +69,11 @@ class TagResources extends \Google\Protobuf\Internal\Message * @type bool $lower_data_risk_to_low * Whether applying a tag to a resource should lower the risk of the profile * for that resource. For example, in conjunction with an [IAM deny - * policy](https://cloud.google.com/iam/docs/deny-overview), you can deny - * all principals a permission if a tag value is present, mitigating the - * risk of the resource. This also lowers the data risk of resources at the - * lower levels of the resource hierarchy. For example, reducing the data - * risk of a table data profile also reduces the data risk of the + * policy](https://docs.cloud.google.com/iam/docs/deny-overview), you can + * deny all principals a permission if a tag value is present, mitigating + * the risk of the resource. This also lowers the data risk of resources at + * the lower levels of the resource hierarchy. For example, reducing the + * data risk of a table data profile also reduces the data risk of the * constituent column data profiles. * } */ @@ -147,11 +147,11 @@ public function setProfileGenerationsToTag($var) /** * Whether applying a tag to a resource should lower the risk of the profile * for that resource. For example, in conjunction with an [IAM deny - * policy](https://cloud.google.com/iam/docs/deny-overview), you can deny - * all principals a permission if a tag value is present, mitigating the - * risk of the resource. This also lowers the data risk of resources at the - * lower levels of the resource hierarchy. For example, reducing the data - * risk of a table data profile also reduces the data risk of the + * policy](https://docs.cloud.google.com/iam/docs/deny-overview), you can + * deny all principals a permission if a tag value is present, mitigating + * the risk of the resource. This also lowers the data risk of resources at + * the lower levels of the resource hierarchy. For example, reducing the + * data risk of a table data profile also reduces the data risk of the * constituent column data profiles. * * Generated from protobuf field bool lower_data_risk_to_low = 3; @@ -165,11 +165,11 @@ public function getLowerDataRiskToLow() /** * Whether applying a tag to a resource should lower the risk of the profile * for that resource. For example, in conjunction with an [IAM deny - * policy](https://cloud.google.com/iam/docs/deny-overview), you can deny - * all principals a permission if a tag value is present, mitigating the - * risk of the resource. This also lowers the data risk of resources at the - * lower levels of the resource hierarchy. For example, reducing the data - * risk of a table data profile also reduces the data risk of the + * policy](https://docs.cloud.google.com/iam/docs/deny-overview), you can + * deny all principals a permission if a tag value is present, mitigating + * the risk of the resource. This also lowers the data risk of resources at + * the lower levels of the resource hierarchy. For example, reducing the + * data risk of a table data profile also reduces the data risk of the * constituent column data profiles. * * Generated from protobuf field bool lower_data_risk_to_low = 3; diff --git a/Dlp/src/V2/DataProfileFinding.php b/Dlp/src/V2/DataProfileFinding.php index 6f7a99076514..a9cd7ac69632 100644 --- a/Dlp/src/V2/DataProfileFinding.php +++ b/Dlp/src/V2/DataProfileFinding.php @@ -26,7 +26,7 @@ class DataProfileFinding extends \Google\Protobuf\Internal\Message protected $quote = ''; /** * The [type of - * content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) + * content](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference) * that might have been found. * * Generated from protobuf field .google.privacy.dlp.v2.InfoType infotype = 2; @@ -96,7 +96,7 @@ class DataProfileFinding extends \Google\Protobuf\Internal\Message * 4096 bytes in length, the quote may be omitted. * @type \Google\Cloud\Dlp\V2\InfoType $infotype * The [type of - * content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) + * content](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference) * that might have been found. * @type \Google\Cloud\Dlp\V2\QuoteInfo $quote_info * Contains data parsed from quotes. Currently supported infoTypes: DATE, @@ -156,7 +156,7 @@ public function setQuote($var) /** * The [type of - * content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) + * content](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference) * that might have been found. * * Generated from protobuf field .google.privacy.dlp.v2.InfoType infotype = 2; @@ -179,7 +179,7 @@ public function clearInfotype() /** * The [type of - * content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) + * content](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference) * that might have been found. * * Generated from protobuf field .google.privacy.dlp.v2.InfoType infotype = 2; diff --git a/Dlp/src/V2/DataProfileJobConfig.php b/Dlp/src/V2/DataProfileJobConfig.php index 1a3ae20f7743..43f1083653d4 100644 --- a/Dlp/src/V2/DataProfileJobConfig.php +++ b/Dlp/src/V2/DataProfileJobConfig.php @@ -14,7 +14,7 @@ * or project. * The generated data profiles are retained according to the * [data retention policy] - * (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#retention). * * Generated from protobuf message google.privacy.dlp.v2.DataProfileJobConfig */ @@ -53,7 +53,7 @@ class DataProfileJobConfig extends \Google\Protobuf\Internal\Message * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 7; */ @@ -92,7 +92,7 @@ class DataProfileJobConfig extends \Google\Protobuf\Internal\Message * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * @type \Google\Cloud\Dlp\V2\DataProfileAction[] $data_profile_actions * Actions to execute at the completion of the job. * } @@ -217,7 +217,7 @@ public function setOtherCloudStartingLocation($var) * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 7; * @return RepeatedField @@ -240,7 +240,7 @@ public function getInspectTemplates() * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 7; * @param string[] $var diff --git a/Dlp/src/V2/DateShiftConfig.php b/Dlp/src/V2/DateShiftConfig.php index 188c45c4069d..74bbf720d923 100644 --- a/Dlp/src/V2/DateShiftConfig.php +++ b/Dlp/src/V2/DateShiftConfig.php @@ -11,7 +11,7 @@ /** * Shifts dates by random number of days, with option to be consistent for the * same context. See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-date-shifting + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-date-shifting * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.DateShiftConfig diff --git a/Dlp/src/V2/DeidentifyContentRequest.php b/Dlp/src/V2/DeidentifyContentRequest.php index 89fa92f66c1c..472feb456f3b 100644 --- a/Dlp/src/V2/DeidentifyContentRequest.php +++ b/Dlp/src/V2/DeidentifyContentRequest.php @@ -19,7 +19,7 @@ class DeidentifyContentRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -97,7 +97,7 @@ class DeidentifyContentRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -147,7 +147,7 @@ public function __construct($data = NULL) { * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -169,7 +169,7 @@ public function getParent() * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/DeidentifyTemplate.php b/Dlp/src/V2/DeidentifyTemplate.php index 627ae3405038..e81a51f78c65 100644 --- a/Dlp/src/V2/DeidentifyTemplate.php +++ b/Dlp/src/V2/DeidentifyTemplate.php @@ -11,8 +11,8 @@ /** * DeidentifyTemplates contains instructions on how to de-identify content. * See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to - * learn more. + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-templates + * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.DeidentifyTemplate */ diff --git a/Dlp/src/V2/DeleteContentPolicyRequest.php b/Dlp/src/V2/DeleteContentPolicyRequest.php new file mode 100644 index 000000000000..c459e6c3c244 --- /dev/null +++ b/Dlp/src/V2/DeleteContentPolicyRequest.php @@ -0,0 +1,86 @@ +google.privacy.dlp.v2.DeleteContentPolicyRequest + */ +class DeleteContentPolicyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the ContentPolicy to be deleted, in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name of the ContentPolicy to be deleted, in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. Please see + * {@see DlpServiceClient::contentPolicyName()} for help formatting this field. + * + * @return \Google\Cloud\Dlp\V2\DeleteContentPolicyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name of the ContentPolicy to be deleted, in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the ContentPolicy to be deleted, in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Resource name of the ContentPolicy to be deleted, in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php index b964ca9ca8be..8703feef286a 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php +++ b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageBucketAttribute.php @@ -26,7 +26,8 @@ class CloudStorageBucketAttribute */ const ALL_SUPPORTED_BUCKETS = 1; /** - * Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) + * Buckets with + * [Autoclass](https://docs.cloud.google.com/storage/docs/autoclass) * disabled. Only one of * AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. * @@ -34,7 +35,8 @@ class CloudStorageBucketAttribute */ const AUTOCLASS_DISABLED = 2; /** - * Buckets with [Autoclass](https://cloud.google.com/storage/docs/autoclass) + * Buckets with + * [Autoclass](https://docs.cloud.google.com/storage/docs/autoclass) * enabled. Only one of * AUTOCLASS_DISABLED or AUTOCLASS_ENABLED should be set. Scanning * Autoclass-enabled buckets can affect object storage classes. diff --git a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php index b973469865b4..da6e52576868 100644 --- a/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php +++ b/Dlp/src/V2/DiscoveryCloudStorageConditions/CloudStorageObjectAttribute.php @@ -8,8 +8,8 @@ /** * The attribute of an object. See - * https://cloud.google.com/storage/docs/storage-classes for more information - * on storage classes. + * https://docs.cloud.google.com/storage/docs/storage-classes for more + * information on storage classes. * * Protobuf type google.privacy.dlp.v2.DiscoveryCloudStorageConditions.CloudStorageObjectAttribute */ diff --git a/Dlp/src/V2/DiscoveryConfig.php b/Dlp/src/V2/DiscoveryConfig.php index 9d25f99eba2f..20acb04b8351 100644 --- a/Dlp/src/V2/DiscoveryConfig.php +++ b/Dlp/src/V2/DiscoveryConfig.php @@ -14,18 +14,18 @@ * or project. * The generated data profiles are retained according to the * [data retention policy] - * (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#retention). * * Generated from protobuf message google.privacy.dlp.v2.DiscoveryConfig */ class DiscoveryConfig extends \Google\Protobuf\Internal\Message { /** - * Unique resource name for the DiscoveryConfig, assigned by the service when - * the DiscoveryConfig is created, for example + * Output only. Unique resource name for the DiscoveryConfig, assigned by the + * service when the DiscoveryConfig is created, for example * `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $name = ''; /** @@ -59,7 +59,7 @@ class DiscoveryConfig extends \Google\Protobuf\Internal\Message * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 3; */ @@ -125,8 +125,8 @@ class DiscoveryConfig extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Unique resource name for the DiscoveryConfig, assigned by the service when - * the DiscoveryConfig is created, for example + * Output only. Unique resource name for the DiscoveryConfig, assigned by the + * service when the DiscoveryConfig is created, for example * `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. * @type string $display_name * Display name (max 100 chars) @@ -147,7 +147,7 @@ class DiscoveryConfig extends \Google\Protobuf\Internal\Message * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * @type \Google\Cloud\Dlp\V2\DataProfileAction[] $actions * Actions to execute at the completion of scanning. * @type \Google\Cloud\Dlp\V2\DiscoveryTarget[] $targets @@ -177,11 +177,11 @@ public function __construct($data = NULL) { } /** - * Unique resource name for the DiscoveryConfig, assigned by the service when - * the DiscoveryConfig is created, for example + * Output only. Unique resource name for the DiscoveryConfig, assigned by the + * service when the DiscoveryConfig is created, for example * `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -190,11 +190,11 @@ public function getName() } /** - * Unique resource name for the DiscoveryConfig, assigned by the service when - * the DiscoveryConfig is created, for example + * Output only. Unique resource name for the DiscoveryConfig, assigned by the + * service when the DiscoveryConfig is created, for example * `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -317,7 +317,7 @@ public function setOtherCloudStartingLocation($var) * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 3; * @return RepeatedField @@ -340,7 +340,7 @@ public function getInspectTemplates() * template is provided for a region with data, that region's data will not be * scanned. * For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. + * https://docs.cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency. * * Generated from protobuf field repeated string inspect_templates = 3; * @param string[] $var diff --git a/Dlp/src/V2/DlpJob.php b/Dlp/src/V2/DlpJob.php index 94b9b9ad6653..c7d46f2a2060 100644 --- a/Dlp/src/V2/DlpJob.php +++ b/Dlp/src/V2/DlpJob.php @@ -16,9 +16,9 @@ class DlpJob extends \Google\Protobuf\Internal\Message { /** - * The server-assigned name. + * Output only. The server-assigned name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $name = ''; /** @@ -28,52 +28,52 @@ class DlpJob extends \Google\Protobuf\Internal\Message */ protected $type = 0; /** - * State of a job. + * Output only. State of a job. * - * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $state = 0; /** - * Time when the job was created. + * Output only. Time when the job was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $create_time = null; /** - * Time when the job started. + * Output only. Time when the job started. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $start_time = null; /** - * Time when the job finished. + * Output only. Time when the job finished. * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; + * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $end_time = null; /** - * Time when the job was last modified by the system. + * Output only. Time when the job was last modified by the system. * - * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15; + * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $last_modified = null; /** - * If created by a job trigger, the resource name of the trigger that - * instantiated the job. + * Output only. If created by a job trigger, the resource name of the trigger + * that instantiated the job. * - * Generated from protobuf field string job_trigger_name = 10; + * Generated from protobuf field string job_trigger_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $job_trigger_name = ''; /** - * A stream of errors encountered running the job. + * Output only. A stream of errors encountered running the job. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $errors; /** - * Events that should occur after the job has completed. + * Output only. Events that should occur after the job has completed. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12; + * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $action_details; protected $details; @@ -85,30 +85,30 @@ class DlpJob extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * The server-assigned name. + * Output only. The server-assigned name. * @type int $type * The type of job. * @type int $state - * State of a job. + * Output only. State of a job. * @type \Google\Cloud\Dlp\V2\AnalyzeDataSourceRiskDetails $risk_details * Results from analyzing risk of a data source. * @type \Google\Cloud\Dlp\V2\InspectDataSourceDetails $inspect_details * Results from inspecting a data source. * @type \Google\Protobuf\Timestamp $create_time - * Time when the job was created. + * Output only. Time when the job was created. * @type \Google\Protobuf\Timestamp $start_time - * Time when the job started. + * Output only. Time when the job started. * @type \Google\Protobuf\Timestamp $end_time - * Time when the job finished. + * Output only. Time when the job finished. * @type \Google\Protobuf\Timestamp $last_modified - * Time when the job was last modified by the system. + * Output only. Time when the job was last modified by the system. * @type string $job_trigger_name - * If created by a job trigger, the resource name of the trigger that - * instantiated the job. + * Output only. If created by a job trigger, the resource name of the trigger + * that instantiated the job. * @type \Google\Cloud\Dlp\V2\Error[] $errors - * A stream of errors encountered running the job. + * Output only. A stream of errors encountered running the job. * @type \Google\Cloud\Dlp\V2\ActionDetails[] $action_details - * Events that should occur after the job has completed. + * Output only. Events that should occur after the job has completed. * } */ public function __construct($data = NULL) { @@ -117,9 +117,9 @@ public function __construct($data = NULL) { } /** - * The server-assigned name. + * Output only. The server-assigned name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -128,9 +128,9 @@ public function getName() } /** - * The server-assigned name. + * Output only. The server-assigned name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -169,9 +169,9 @@ public function setType($var) } /** - * State of a job. + * Output only. State of a job. * - * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getState() @@ -180,9 +180,9 @@ public function getState() } /** - * State of a job. + * Output only. State of a job. * - * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.DlpJob.JobState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -257,9 +257,9 @@ public function setInspectDetails($var) } /** - * Time when the job was created. + * Output only. Time when the job was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null */ public function getCreateTime() @@ -278,9 +278,9 @@ public function clearCreateTime() } /** - * Time when the job was created. + * Output only. Time when the job was created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -293,9 +293,9 @@ public function setCreateTime($var) } /** - * Time when the job started. + * Output only. Time when the job started. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null */ public function getStartTime() @@ -314,9 +314,9 @@ public function clearStartTime() } /** - * Time when the job started. + * Output only. Time when the job started. * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; + * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -329,9 +329,9 @@ public function setStartTime($var) } /** - * Time when the job finished. + * Output only. Time when the job finished. * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; + * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null */ public function getEndTime() @@ -350,9 +350,9 @@ public function clearEndTime() } /** - * Time when the job finished. + * Output only. Time when the job finished. * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; + * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -365,9 +365,9 @@ public function setEndTime($var) } /** - * Time when the job was last modified by the system. + * Output only. Time when the job was last modified by the system. * - * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15; + * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null */ public function getLastModified() @@ -386,9 +386,9 @@ public function clearLastModified() } /** - * Time when the job was last modified by the system. + * Output only. Time when the job was last modified by the system. * - * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15; + * Generated from protobuf field .google.protobuf.Timestamp last_modified = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -401,10 +401,10 @@ public function setLastModified($var) } /** - * If created by a job trigger, the resource name of the trigger that - * instantiated the job. + * Output only. If created by a job trigger, the resource name of the trigger + * that instantiated the job. * - * Generated from protobuf field string job_trigger_name = 10; + * Generated from protobuf field string job_trigger_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getJobTriggerName() @@ -413,10 +413,10 @@ public function getJobTriggerName() } /** - * If created by a job trigger, the resource name of the trigger that - * instantiated the job. + * Output only. If created by a job trigger, the resource name of the trigger + * that instantiated the job. * - * Generated from protobuf field string job_trigger_name = 10; + * Generated from protobuf field string job_trigger_name = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ @@ -429,9 +429,9 @@ public function setJobTriggerName($var) } /** - * A stream of errors encountered running the job. + * Output only. A stream of errors encountered running the job. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() @@ -440,9 +440,9 @@ public function getErrors() } /** - * A stream of errors encountered running the job. + * Output only. A stream of errors encountered running the job. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ @@ -455,9 +455,9 @@ public function setErrors($var) } /** - * Events that should occur after the job has completed. + * Output only. Events that should occur after the job has completed. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12; + * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return RepeatedField<\Google\Cloud\Dlp\V2\ActionDetails> */ public function getActionDetails() @@ -466,9 +466,9 @@ public function getActionDetails() } /** - * Events that should occur after the job has completed. + * Output only. Events that should occur after the job has completed. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12; + * Generated from protobuf field repeated .google.privacy.dlp.v2.ActionDetails action_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\ActionDetails[] $var * @return $this */ diff --git a/Dlp/src/V2/Domain/Signal.php b/Dlp/src/V2/Domain/Signal.php index f4f8981eac3e..b585e991882b 100644 --- a/Dlp/src/V2/Domain/Signal.php +++ b/Dlp/src/V2/Domain/Signal.php @@ -42,7 +42,7 @@ class Signal const EMBEDDING = 7; /** * The [Cloud SQL Vertex - * AI](https://cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) + * AI](https://docs.cloud.google.com/sql/docs/postgres/integrate-cloud-sql-with-vertex-ai) * plugin is installed on the database. * * Generated from protobuf enum VERTEX_PLUGIN = 3; @@ -50,7 +50,7 @@ class Signal const VERTEX_PLUGIN = 3; /** * Support for [Cloud SQL vector - * embeddings](https://cloud.google.com/sql/docs/mysql/enable-vector-search) + * embeddings](https://docs.cloud.google.com/sql/docs/mysql/enable-vector-search) * is enabled on the database. * * Generated from protobuf enum VECTOR_PLUGIN = 4; diff --git a/Dlp/src/V2/ExcludeByImageFindings.php b/Dlp/src/V2/ExcludeByImageFindings.php index 12562beaa474..5fa06cb42777 100644 --- a/Dlp/src/V2/ExcludeByImageFindings.php +++ b/Dlp/src/V2/ExcludeByImageFindings.php @@ -20,7 +20,7 @@ class ExcludeByImageFindings extends \Google\Protobuf\Internal\Message { /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the exclusion rule. A finding is excluded if * its bounding box has the specified spatial relationship (defined by * `image_containment_type`) with a finding of an infoType in this list. @@ -50,7 +50,7 @@ class ExcludeByImageFindings extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the exclusion rule. A finding is excluded if * its bounding box has the specified spatial relationship (defined by * `image_containment_type`) with a finding of an infoType in this list. @@ -72,7 +72,7 @@ public function __construct($data = NULL) { /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the exclusion rule. A finding is excluded if * its bounding box has the specified spatial relationship (defined by * `image_containment_type`) with a finding of an infoType in this list. @@ -93,7 +93,7 @@ public function getInfoTypes() /** * A list of image-supported infoTypes—excluding [document - * infoTypes](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#documents)—to * be used as context for the exclusion rule. A finding is excluded if * its bounding box has the specified spatial relationship (defined by * `image_containment_type`) with a finding of an infoType in this list. diff --git a/Dlp/src/V2/FileLabel.php b/Dlp/src/V2/FileLabel.php new file mode 100644 index 000000000000..053fd21fb8e3 --- /dev/null +++ b/Dlp/src/V2/FileLabel.php @@ -0,0 +1,108 @@ +google.privacy.dlp.v2.FileLabel + */ +class FileLabel extends \Google\Protobuf\Internal\Message +{ + protected $type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\FileLabel\SensitivityLabelMetadata $sensitivity_label + * Sensitivity labels published by Microsoft. + * @type \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata $google_drive_label + * Google Drive labels published by Google. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Sensitivity labels published by Microsoft. + * + * Generated from protobuf field .google.privacy.dlp.v2.FileLabel.SensitivityLabelMetadata sensitivity_label = 1; + * @return \Google\Cloud\Dlp\V2\FileLabel\SensitivityLabelMetadata|null + */ + public function getSensitivityLabel() + { + return $this->readOneof(1); + } + + public function hasSensitivityLabel() + { + return $this->hasOneof(1); + } + + /** + * Sensitivity labels published by Microsoft. + * + * Generated from protobuf field .google.privacy.dlp.v2.FileLabel.SensitivityLabelMetadata sensitivity_label = 1; + * @param \Google\Cloud\Dlp\V2\FileLabel\SensitivityLabelMetadata $var + * @return $this + */ + public function setSensitivityLabel($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\FileLabel\SensitivityLabelMetadata::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Google Drive labels published by Google. + * + * Generated from protobuf field .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata google_drive_label = 2; + * @return \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata|null + */ + public function getGoogleDriveLabel() + { + return $this->readOneof(2); + } + + public function hasGoogleDriveLabel() + { + return $this->hasOneof(2); + } + + /** + * Google Drive labels published by Google. + * + * Generated from protobuf field .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata google_drive_label = 2; + * @param \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata $var + * @return $this + */ + public function setGoogleDriveLabel($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getType() + { + return $this->whichOneof("type"); + } + +} + diff --git a/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata.php b/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata.php new file mode 100644 index 000000000000..adf76b69bb6d --- /dev/null +++ b/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata.php @@ -0,0 +1,109 @@ +google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata + */ +class GoogleDriveLabelMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + */ + protected $label_id = ''; + /** + * The field values of the Google Drive label + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2; + */ + private $label_fields; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $label_id + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * @type \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata\LabelFieldMetadata[] $label_fields + * The field values of the Google Drive label + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + * @return string + */ + public function getLabelId() + { + return $this->label_id; + } + + /** + * The [label + * ID](https://developers.google.com/workspace/drive/labels/guides/overview) + * of the Google Drive label. + * + * Generated from protobuf field string label_id = 1; + * @param string $var + * @return $this + */ + public function setLabelId($var) + { + GPBUtil::checkString($var, True); + $this->label_id = $var; + + return $this; + } + + /** + * The field values of the Google Drive label + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2; + * @return RepeatedField<\Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata\LabelFieldMetadata> + */ + public function getLabelFields() + { + return $this->label_fields; + } + + /** + * The field values of the Google Drive label + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata label_fields = 2; + * @param \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata\LabelFieldMetadata[] $var + * @return $this + */ + public function setLabelFields($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\FileLabel\GoogleDriveLabelMetadata\LabelFieldMetadata::class); + $this->label_fields = $arr; + + return $this; + } + +} + diff --git a/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata/LabelFieldMetadata.php b/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata/LabelFieldMetadata.php new file mode 100644 index 000000000000..0a8190fce4ac --- /dev/null +++ b/Dlp/src/V2/FileLabel/GoogleDriveLabelMetadata/LabelFieldMetadata.php @@ -0,0 +1,111 @@ +google.privacy.dlp.v2.FileLabel.GoogleDriveLabelMetadata.LabelFieldMetadata + */ +class LabelFieldMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + */ + protected $id = ''; + /** + * The value of the Label Field. + * + * Generated from protobuf field .google.privacy.dlp.v2.Value value = 2; + */ + protected $value = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $id + * The identifier of the Label Field. + * @type \Google\Cloud\Dlp\V2\Value $value + * The value of the Label Field. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + * @return string + */ + public function getId() + { + return $this->id; + } + + /** + * The identifier of the Label Field. + * + * Generated from protobuf field string id = 1; + * @param string $var + * @return $this + */ + public function setId($var) + { + GPBUtil::checkString($var, True); + $this->id = $var; + + return $this; + } + + /** + * The value of the Label Field. + * + * Generated from protobuf field .google.privacy.dlp.v2.Value value = 2; + * @return \Google\Cloud\Dlp\V2\Value|null + */ + public function getValue() + { + return $this->value; + } + + public function hasValue() + { + return isset($this->value); + } + + public function clearValue() + { + unset($this->value); + } + + /** + * The value of the Label Field. + * + * Generated from protobuf field .google.privacy.dlp.v2.Value value = 2; + * @param \Google\Cloud\Dlp\V2\Value $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Value::class); + $this->value = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/FileLabel/SensitivityLabelMetadata.php b/Dlp/src/V2/FileLabel/SensitivityLabelMetadata.php new file mode 100644 index 000000000000..d1ae3be9e530 --- /dev/null +++ b/Dlp/src/V2/FileLabel/SensitivityLabelMetadata.php @@ -0,0 +1,67 @@ +google.privacy.dlp.v2.FileLabel.SensitivityLabelMetadata + */ +class SensitivityLabelMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $guid = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $guid + * Required. The GUID of the sensitivity label. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getGuid() + { + return $this->guid; + } + + /** + * Required. The GUID of the sensitivity label. + * + * Generated from protobuf field string guid = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setGuid($var) + { + GPBUtil::checkString($var, True); + $this->guid = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/FileStoreCollection.php b/Dlp/src/V2/FileStoreCollection.php index 85ac83d96d2f..808890150e61 100644 --- a/Dlp/src/V2/FileStoreCollection.php +++ b/Dlp/src/V2/FileStoreCollection.php @@ -23,7 +23,7 @@ class FileStoreCollection extends \Google\Protobuf\Internal\Message * For a resource to match the tag filters, the resource must have all of the * provided tags attached. Tags refer to Resource Manager tags bound to the * resource or its ancestors. For more information, see [Manage - * schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). + * schedules](https://docs.cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). * * Generated from protobuf field .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -47,7 +47,7 @@ class FileStoreCollection extends \Google\Protobuf\Internal\Message * For a resource to match the tag filters, the resource must have all of the * provided tags attached. Tags refer to Resource Manager tags bound to the * resource or its ancestors. For more information, see [Manage - * schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). + * schedules](https://docs.cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). * } */ public function __construct($data = NULL) { @@ -96,7 +96,7 @@ public function setIncludeRegexes($var) * For a resource to match the tag filters, the resource must have all of the * provided tags attached. Tags refer to Resource Manager tags bound to the * resource or its ancestors. For more information, see [Manage - * schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). + * schedules](https://docs.cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). * * Generated from protobuf field .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return \Google\Cloud\Dlp\V2\TagFilters|null @@ -124,7 +124,7 @@ public function clearIncludeTags() * For a resource to match the tag filters, the resource must have all of the * provided tags attached. Tags refer to Resource Manager tags bound to the * resource or its ancestors. For more information, see [Manage - * schedules](https://cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). + * schedules](https://docs.cloud.google.com/sensitive-data-protection/docs/profile-project-cloud-storage#manage-schedules). * * Generated from protobuf field .google.privacy.dlp.v2.TagFilters include_tags = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param \Google\Cloud\Dlp\V2\TagFilters $var diff --git a/Dlp/src/V2/FileStoreDataProfile.php b/Dlp/src/V2/FileStoreDataProfile.php index a6d6fde184db..648287dad72f 100644 --- a/Dlp/src/V2/FileStoreDataProfile.php +++ b/Dlp/src/V2/FileStoreDataProfile.php @@ -45,7 +45,7 @@ class FileStoreDataProfile extends \Google\Protobuf\Internal\Message /** * The location of the file store. * * Cloud Storage: - * https://cloud.google.com/storage/docs/locations#available-locations + * https://docs.cloud.google.com/storage/docs/locations#available-locations * * Amazon S3: * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints * @@ -223,7 +223,7 @@ class FileStoreDataProfile extends \Google\Protobuf\Internal\Message * @type string $file_store_location * The location of the file store. * * Cloud Storage: - * https://cloud.google.com/storage/docs/locations#available-locations + * https://docs.cloud.google.com/storage/docs/locations#available-locations * * Amazon S3: * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints * @type string[] $data_storage_locations @@ -416,7 +416,7 @@ public function setProjectId($var) /** * The location of the file store. * * Cloud Storage: - * https://cloud.google.com/storage/docs/locations#available-locations + * https://docs.cloud.google.com/storage/docs/locations#available-locations * * Amazon S3: * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints * @@ -431,7 +431,7 @@ public function getFileStoreLocation() /** * The location of the file store. * * Cloud Storage: - * https://cloud.google.com/storage/docs/locations#available-locations + * https://docs.cloud.google.com/storage/docs/locations#available-locations * * Amazon S3: * https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints * diff --git a/Dlp/src/V2/FixedSizeBucketingConfig.php b/Dlp/src/V2/FixedSizeBucketingConfig.php index 3b89b6708103..dac08f5fcca1 100644 --- a/Dlp/src/V2/FixedSizeBucketingConfig.php +++ b/Dlp/src/V2/FixedSizeBucketingConfig.php @@ -21,8 +21,8 @@ * being transformed, we will first attempt converting the type of the data to * be transformed to match the type of the bound before comparing. * See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-bucketing to - * learn more. + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-bucketing + * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.FixedSizeBucketingConfig */ diff --git a/Dlp/src/V2/GetContentPolicyRequest.php b/Dlp/src/V2/GetContentPolicyRequest.php new file mode 100644 index 000000000000..f29863768781 --- /dev/null +++ b/Dlp/src/V2/GetContentPolicyRequest.php @@ -0,0 +1,86 @@ +google.privacy.dlp.v2.GetContentPolicyRequest + */ +class GetContentPolicyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + + /** + * @param string $name Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. Please see + * {@see DlpServiceClient::contentPolicyName()} for help formatting this field. + * + * @return \Google\Cloud\Dlp\V2\GetContentPolicyRequest + * + * @experimental + */ + public static function build(string $name): self + { + return (new self()) + ->setName($name); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/InfoType.php b/Dlp/src/V2/InfoType.php index eae50fcd3a2d..8b34bd8667ef 100644 --- a/Dlp/src/V2/InfoType.php +++ b/Dlp/src/V2/InfoType.php @@ -19,7 +19,7 @@ class InfoType extends \Google\Protobuf\Internal\Message * Name of the information type. Either a name of your choosing when * creating a CustomInfoType, or one of the names listed * at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * when specifying a built-in type. When sending Cloud DLP results to Data * Catalog, infoType names should conform to the pattern * `[A-Za-z0-9$_-]{1,64}`. @@ -51,7 +51,7 @@ class InfoType extends \Google\Protobuf\Internal\Message * Name of the information type. Either a name of your choosing when * creating a CustomInfoType, or one of the names listed * at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * when specifying a built-in type. When sending Cloud DLP results to Data * Catalog, infoType names should conform to the pattern * `[A-Za-z0-9$_-]{1,64}`. @@ -71,7 +71,7 @@ public function __construct($data = NULL) { * Name of the information type. Either a name of your choosing when * creating a CustomInfoType, or one of the names listed * at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * when specifying a built-in type. When sending Cloud DLP results to Data * Catalog, infoType names should conform to the pattern * `[A-Za-z0-9$_-]{1,64}`. @@ -88,7 +88,7 @@ public function getName() * Name of the information type. Either a name of your choosing when * creating a CustomInfoType, or one of the names listed * at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference * when specifying a built-in type. When sending Cloud DLP results to Data * Catalog, infoType names should conform to the pattern * `[A-Za-z0-9$_-]{1,64}`. diff --git a/Dlp/src/V2/InspectConfig.php b/Dlp/src/V2/InspectConfig.php index 7be20a09f418..817b9655a24c 100644 --- a/Dlp/src/V2/InspectConfig.php +++ b/Dlp/src/V2/InspectConfig.php @@ -20,7 +20,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message /** * Restricts what info_types to look for. The values must correspond to * InfoType values returned by ListInfoTypes or listed at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference. * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose a default list of detectors to run, which * may change over time. @@ -37,7 +37,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * In general, the highest likelihood setting yields the fewest findings in * results and the lowest chance of a false positive. For more information, * see [Match - * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). + * likelihood](https://docs.cloud.google.com/sensitive-data-protection/docs/likelihood). * * Generated from protobuf field .google.privacy.dlp.v2.Likelihood min_likelihood = 2; */ @@ -87,7 +87,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message protected $exclude_info_types = false; /** * CustomInfoTypes provided by the user. See - * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes * to learn more. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; @@ -118,7 +118,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\InfoType[] $info_types * Restricts what info_types to look for. The values must correspond to * InfoType values returned by ListInfoTypes or listed at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference. * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose a default list of detectors to run, which * may change over time. @@ -131,7 +131,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * In general, the highest likelihood setting yields the fewest findings in * results and the lowest chance of a false positive. For more information, * see [Match - * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). + * likelihood](https://docs.cloud.google.com/sensitive-data-protection/docs/likelihood). * @type \Google\Cloud\Dlp\V2\InspectConfig\InfoTypeLikelihood[] $min_likelihood_per_info_type * Minimum likelihood per infotype. For each infotype, a user can specify a * minimum likelihood. The system only returns a finding if its likelihood is @@ -161,7 +161,7 @@ class InspectConfig extends \Google\Protobuf\Internal\Message * This is not used for data profiling. * @type \Google\Cloud\Dlp\V2\CustomInfoType[] $custom_info_types * CustomInfoTypes provided by the user. See - * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes * to learn more. * @type int[] $content_options * Deprecated and unused. @@ -180,7 +180,7 @@ public function __construct($data = NULL) { /** * Restricts what info_types to look for. The values must correspond to * InfoType values returned by ListInfoTypes or listed at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference. * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose a default list of detectors to run, which * may change over time. @@ -199,7 +199,7 @@ public function getInfoTypes() /** * Restricts what info_types to look for. The values must correspond to * InfoType values returned by ListInfoTypes or listed at - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference. + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference. * When no InfoTypes or CustomInfoTypes are specified in a request, the * system may automatically choose a default list of detectors to run, which * may change over time. @@ -225,7 +225,7 @@ public function setInfoTypes($var) * In general, the highest likelihood setting yields the fewest findings in * results and the lowest chance of a false positive. For more information, * see [Match - * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). + * likelihood](https://docs.cloud.google.com/sensitive-data-protection/docs/likelihood). * * Generated from protobuf field .google.privacy.dlp.v2.Likelihood min_likelihood = 2; * @return int @@ -241,7 +241,7 @@ public function getMinLikelihood() * In general, the highest likelihood setting yields the fewest findings in * results and the lowest chance of a false positive. For more information, * see [Match - * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). + * likelihood](https://docs.cloud.google.com/sensitive-data-protection/docs/likelihood). * * Generated from protobuf field .google.privacy.dlp.v2.Likelihood min_likelihood = 2; * @param int $var @@ -409,7 +409,7 @@ public function setExcludeInfoTypes($var) /** * CustomInfoTypes provided by the user. See - * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes * to learn more. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; @@ -422,7 +422,7 @@ public function getCustomInfoTypes() /** * CustomInfoTypes provided by the user. See - * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes * to learn more. * * Generated from protobuf field repeated .google.privacy.dlp.v2.CustomInfoType custom_info_types = 6; diff --git a/Dlp/src/V2/InspectContentRequest.php b/Dlp/src/V2/InspectContentRequest.php index 01aef2fd1287..dc8838cfab4d 100644 --- a/Dlp/src/V2/InspectContentRequest.php +++ b/Dlp/src/V2/InspectContentRequest.php @@ -19,7 +19,7 @@ class InspectContentRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -72,7 +72,7 @@ class InspectContentRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -105,7 +105,7 @@ public function __construct($data = NULL) { * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -127,7 +127,7 @@ public function getParent() * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/InspectDataSourceDetails.php b/Dlp/src/V2/InspectDataSourceDetails.php index 3584411c48ec..7838f50381d1 100644 --- a/Dlp/src/V2/InspectDataSourceDetails.php +++ b/Dlp/src/V2/InspectDataSourceDetails.php @@ -22,9 +22,9 @@ class InspectDataSourceDetails extends \Google\Protobuf\Internal\Message */ protected $requested_options = null; /** - * A summary of the outcome of this inspection job. + * Output only. A summary of the outcome of this inspection job. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $result = null; @@ -37,7 +37,7 @@ class InspectDataSourceDetails extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\InspectDataSourceDetails\RequestedOptions $requested_options * The configuration used for this job. * @type \Google\Cloud\Dlp\V2\InspectDataSourceDetails\Result $result - * A summary of the outcome of this inspection job. + * Output only. A summary of the outcome of this inspection job. * } */ public function __construct($data = NULL) { @@ -82,9 +82,9 @@ public function setRequestedOptions($var) } /** - * A summary of the outcome of this inspection job. + * Output only. A summary of the outcome of this inspection job. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\InspectDataSourceDetails\Result|null */ public function getResult() @@ -103,9 +103,9 @@ public function clearResult() } /** - * A summary of the outcome of this inspection job. + * Output only. A summary of the outcome of this inspection job. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3; + * Generated from protobuf field .google.privacy.dlp.v2.InspectDataSourceDetails.Result result = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\InspectDataSourceDetails\Result $var * @return $this */ diff --git a/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php b/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php index 5c42f0049879..3b776762c401 100644 --- a/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php +++ b/Dlp/src/V2/InspectDataSourceDetails/RequestedOptions.php @@ -16,10 +16,10 @@ class RequestedOptions extends \Google\Protobuf\Internal\Message { /** - * If run with an InspectTemplate, a snapshot of its state at the time of - * this run. + * Output only. If run with an InspectTemplate, a snapshot of its state at + * the time of this run. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $snapshot_inspect_template = null; /** @@ -36,8 +36,8 @@ class RequestedOptions extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type \Google\Cloud\Dlp\V2\InspectTemplate $snapshot_inspect_template - * If run with an InspectTemplate, a snapshot of its state at the time of - * this run. + * Output only. If run with an InspectTemplate, a snapshot of its state at + * the time of this run. * @type \Google\Cloud\Dlp\V2\InspectJobConfig $job_config * Inspect config. * } @@ -48,10 +48,10 @@ public function __construct($data = NULL) { } /** - * If run with an InspectTemplate, a snapshot of its state at the time of - * this run. + * Output only. If run with an InspectTemplate, a snapshot of its state at + * the time of this run. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\InspectTemplate|null */ public function getSnapshotInspectTemplate() @@ -70,10 +70,10 @@ public function clearSnapshotInspectTemplate() } /** - * If run with an InspectTemplate, a snapshot of its state at the time of - * this run. + * Output only. If run with an InspectTemplate, a snapshot of its state at + * the time of this run. * - * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1; + * Generated from protobuf field .google.privacy.dlp.v2.InspectTemplate snapshot_inspect_template = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\InspectTemplate $var * @return $this */ diff --git a/Dlp/src/V2/InspectTemplate.php b/Dlp/src/V2/InspectTemplate.php index 0abb529e309c..239cce3abfb2 100644 --- a/Dlp/src/V2/InspectTemplate.php +++ b/Dlp/src/V2/InspectTemplate.php @@ -12,8 +12,8 @@ * The inspectTemplate contains a configuration (set of types of sensitive data * to be detected) to be used anywhere you otherwise would normally specify * InspectConfig. See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-templates to - * learn more. + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-templates + * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.InspectTemplate */ @@ -58,6 +58,15 @@ class InspectTemplate extends \Google\Protobuf\Internal\Message * Generated from protobuf field .google.privacy.dlp.v2.InspectConfig inspect_config = 6; */ protected $inspect_config = null; + /** + * Optional. Enables the use of [limited-availability built-in + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) + * in inspect_config. These infoTypes are supported only in specific regions + * and can cause scanning errors if used elsewhere. + * + * Generated from protobuf field bool allow_limited_availability_info_types = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $allow_limited_availability_info_types = false; /** * Constructor. @@ -80,6 +89,11 @@ class InspectTemplate extends \Google\Protobuf\Internal\Message * Output only. The last update timestamp of an inspectTemplate. * @type \Google\Cloud\Dlp\V2\InspectConfig $inspect_config * The core content of the template. Configuration of the scanning process. + * @type bool $allow_limited_availability_info_types + * Optional. Enables the use of [limited-availability built-in + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) + * in inspect_config. These infoTypes are supported only in specific regions + * and can cause scanning errors if used elsewhere. * } */ public function __construct($data = NULL) { @@ -279,5 +293,37 @@ public function setInspectConfig($var) return $this; } + /** + * Optional. Enables the use of [limited-availability built-in + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) + * in inspect_config. These infoTypes are supported only in specific regions + * and can cause scanning errors if used elsewhere. + * + * Generated from protobuf field bool allow_limited_availability_info_types = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAllowLimitedAvailabilityInfoTypes() + { + return $this->allow_limited_availability_info_types; + } + + /** + * Optional. Enables the use of [limited-availability built-in + * infoTypes](https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#limited-availability-infotypes) + * in inspect_config. These infoTypes are supported only in specific regions + * and can cause scanning errors if used elsewhere. + * + * Generated from protobuf field bool allow_limited_availability_info_types = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAllowLimitedAvailabilityInfoTypes($var) + { + GPBUtil::checkBool($var); + $this->allow_limited_availability_info_types = $var; + + return $this; + } + } diff --git a/Dlp/src/V2/JobTrigger.php b/Dlp/src/V2/JobTrigger.php index de723336c34c..7c625cbe34a2 100644 --- a/Dlp/src/V2/JobTrigger.php +++ b/Dlp/src/V2/JobTrigger.php @@ -11,7 +11,7 @@ /** * Contains a configuration to make API calls on a repeating basis. * See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.JobTrigger @@ -19,11 +19,11 @@ class JobTrigger extends \Google\Protobuf\Internal\Message { /** - * Unique resource name for the triggeredJob, assigned by the service when the - * triggeredJob is created, for example + * Output only. Unique resource name for the triggeredJob, assigned by the + * service when the triggeredJob is created, for example * `projects/dlp-test-project/jobTriggers/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $name = ''; /** @@ -88,8 +88,8 @@ class JobTrigger extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Unique resource name for the triggeredJob, assigned by the service when the - * triggeredJob is created, for example + * Output only. Unique resource name for the triggeredJob, assigned by the + * service when the triggeredJob is created, for example * `projects/dlp-test-project/jobTriggers/53234423`. * @type string $display_name * Display name (max 100 chars) @@ -122,11 +122,11 @@ public function __construct($data = NULL) { } /** - * Unique resource name for the triggeredJob, assigned by the service when the - * triggeredJob is created, for example + * Output only. Unique resource name for the triggeredJob, assigned by the + * service when the triggeredJob is created, for example * `projects/dlp-test-project/jobTriggers/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -135,11 +135,11 @@ public function getName() } /** - * Unique resource name for the triggeredJob, assigned by the service when the - * triggeredJob is created, for example + * Output only. Unique resource name for the triggeredJob, assigned by the + * service when the triggeredJob is created, for example * `projects/dlp-test-project/jobTriggers/53234423`. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ diff --git a/Dlp/src/V2/KmsWrappedCryptoKey.php b/Dlp/src/V2/KmsWrappedCryptoKey.php index c4c3a214c8fa..7feeeefebdf9 100644 --- a/Dlp/src/V2/KmsWrappedCryptoKey.php +++ b/Dlp/src/V2/KmsWrappedCryptoKey.php @@ -15,7 +15,7 @@ * to perform a crypto transformation using a KMS-wrapped crypto key: * dlp.kms.encrypt * For more information, see [Creating a wrapped key] - * (https://cloud.google.com/sensitive-data-protection/docs/create-wrapped-key). + * (https://docs.cloud.google.com/sensitive-data-protection/docs/create-wrapped-key). * Note: When you use Cloud KMS for cryptographic operations, * [charges apply](https://cloud.google.com/kms/pricing). * diff --git a/Dlp/src/V2/LargeCustomDictionaryConfig.php b/Dlp/src/V2/LargeCustomDictionaryConfig.php index 879cca85822d..f7333e093b4c 100644 --- a/Dlp/src/V2/LargeCustomDictionaryConfig.php +++ b/Dlp/src/V2/LargeCustomDictionaryConfig.php @@ -11,10 +11,10 @@ /** * Configuration for a custom dictionary created from a data source of any size * up to the maximum size defined in the - * [limits](https://cloud.google.com/sensitive-data-protection/limits) page. The - * artifacts of dictionary creation are stored in the specified Cloud Storage - * location. Consider using `CustomInfoType.Dictionary` for smaller dictionaries - * that satisfy the size requirements. + * [limits](https://docs.cloud.google.com/sensitive-data-protection/limits) + * page. The artifacts of dictionary creation are stored in the specified Cloud + * Storage location. Consider using `CustomInfoType.Dictionary` for smaller + * dictionaries that satisfy the size requirements. * * Generated from protobuf message google.privacy.dlp.v2.LargeCustomDictionaryConfig */ diff --git a/Dlp/src/V2/Likelihood.php b/Dlp/src/V2/Likelihood.php index 9f064b078f50..d082118fadae 100644 --- a/Dlp/src/V2/Likelihood.php +++ b/Dlp/src/V2/Likelihood.php @@ -18,7 +18,7 @@ * of being a false positive. * For more information about each likelihood level * and how likelihood works, see [Match - * likelihood](https://cloud.google.com/sensitive-data-protection/docs/likelihood). + * likelihood](https://docs.cloud.google.com/sensitive-data-protection/docs/likelihood). * * Protobuf type google.privacy.dlp.v2.Likelihood */ diff --git a/Dlp/src/V2/ListContentPoliciesRequest.php b/Dlp/src/V2/ListContentPoliciesRequest.php new file mode 100644 index 000000000000..f4c7a8e4aca6 --- /dev/null +++ b/Dlp/src/V2/ListContentPoliciesRequest.php @@ -0,0 +1,158 @@ +google.privacy.dlp.v2.ListContentPoliciesRequest + */ +class ListContentPoliciesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name of the project, + * for example, `projects/project-id/locations/asia`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. Number of results per page, max 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_size = 0; + /** + * Optional. Page token from a previous page to return the next set of + * results. If set, all other request fields must match the original request. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $page_token = ''; + + /** + * @param string $parent Required. Resource name of the project, + * for example, `projects/project-id/locations/asia`. Please see + * {@see DlpServiceClient::locationName()} for help formatting this field. + * + * @return \Google\Cloud\Dlp\V2\ListContentPoliciesRequest + * + * @experimental + */ + public static function build(string $parent): self + { + return (new self()) + ->setParent($parent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. Resource name of the project, + * for example, `projects/project-id/locations/asia`. + * @type int $page_size + * Optional. Number of results per page, max 1000. + * @type string $page_token + * Optional. Page token from a previous page to return the next set of + * results. If set, all other request fields must match the original request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name of the project, + * for example, `projects/project-id/locations/asia`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getParent() + { + return $this->parent; + } + + /** + * Required. Resource name of the project, + * for example, `projects/project-id/locations/asia`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setParent($var) + { + GPBUtil::checkString($var, True); + $this->parent = $var; + + return $this; + } + + /** + * Optional. Number of results per page, max 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPageSize() + { + return $this->page_size; + } + + /** + * Optional. Number of results per page, max 1000. + * + * Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPageSize($var) + { + GPBUtil::checkInt32($var); + $this->page_size = $var; + + return $this; + } + + /** + * Optional. Page token from a previous page to return the next set of + * results. If set, all other request fields must match the original request. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getPageToken() + { + return $this->page_token; + } + + /** + * Optional. Page token from a previous page to return the next set of + * results. If set, all other request fields must match the original request. + * + * Generated from protobuf field string page_token = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setPageToken($var) + { + GPBUtil::checkString($var, True); + $this->page_token = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ListContentPoliciesResponse.php b/Dlp/src/V2/ListContentPoliciesResponse.php new file mode 100644 index 000000000000..12ed466601b6 --- /dev/null +++ b/Dlp/src/V2/ListContentPoliciesResponse.php @@ -0,0 +1,105 @@ +google.privacy.dlp.v2.ListContentPoliciesResponse + */ +class ListContentPoliciesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * List of content policies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy content_policies = 1; + */ + private $content_policies; + /** + * Token to retrieve the next page of results. An empty value means there are + * no more results. + * + * Generated from protobuf field string next_page_token = 2; + */ + protected $next_page_token = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\Dlp\V2\ContentPolicy[] $content_policies + * List of content policies. + * @type string $next_page_token + * Token to retrieve the next page of results. An empty value means there are + * no more results. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * List of content policies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy content_policies = 1; + * @return RepeatedField<\Google\Cloud\Dlp\V2\ContentPolicy> + */ + public function getContentPolicies() + { + return $this->content_policies; + } + + /** + * List of content policies. + * + * Generated from protobuf field repeated .google.privacy.dlp.v2.ContentPolicy content_policies = 1; + * @param \Google\Cloud\Dlp\V2\ContentPolicy[] $var + * @return $this + */ + public function setContentPolicies($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\ContentPolicy::class); + $this->content_policies = $arr; + + return $this; + } + + /** + * Token to retrieve the next page of results. An empty value means there are + * no more results. + * + * Generated from protobuf field string next_page_token = 2; + * @return string + */ + public function getNextPageToken() + { + return $this->next_page_token; + } + + /** + * Token to retrieve the next page of results. An empty value means there are + * no more results. + * + * Generated from protobuf field string next_page_token = 2; + * @param string $var + * @return $this + */ + public function setNextPageToken($var) + { + GPBUtil::checkString($var, True); + $this->next_page_token = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/ListDeidentifyTemplatesRequest.php b/Dlp/src/V2/ListDeidentifyTemplatesRequest.php index 1aa04e29cd88..22698c51ca0f 100644 --- a/Dlp/src/V2/ListDeidentifyTemplatesRequest.php +++ b/Dlp/src/V2/ListDeidentifyTemplatesRequest.php @@ -19,7 +19,7 @@ class ListDeidentifyTemplatesRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -77,7 +77,7 @@ class ListDeidentifyTemplatesRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -115,7 +115,7 @@ public static function build(string $parent): self * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -158,7 +158,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -184,7 +184,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ListDlpJobsRequest.php b/Dlp/src/V2/ListDlpJobsRequest.php index 8c7680e036ee..82b655dda769 100644 --- a/Dlp/src/V2/ListDlpJobsRequest.php +++ b/Dlp/src/V2/ListDlpJobsRequest.php @@ -19,7 +19,7 @@ class ListDlpJobsRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -106,7 +106,7 @@ class ListDlpJobsRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -140,7 +140,7 @@ public static function build(string $parent): self * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -204,7 +204,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -226,7 +226,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ListInspectTemplatesRequest.php b/Dlp/src/V2/ListInspectTemplatesRequest.php index 564f71a69674..35265afaa706 100644 --- a/Dlp/src/V2/ListInspectTemplatesRequest.php +++ b/Dlp/src/V2/ListInspectTemplatesRequest.php @@ -19,7 +19,7 @@ class ListInspectTemplatesRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -77,7 +77,7 @@ class ListInspectTemplatesRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -115,7 +115,7 @@ public static function build(string $parent): self * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -158,7 +158,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -184,7 +184,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ListJobTriggersRequest.php b/Dlp/src/V2/ListJobTriggersRequest.php index 6992b36bba7a..9d214da4199e 100644 --- a/Dlp/src/V2/ListJobTriggersRequest.php +++ b/Dlp/src/V2/ListJobTriggersRequest.php @@ -19,7 +19,7 @@ class ListJobTriggersRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -106,7 +106,7 @@ class ListJobTriggersRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -140,7 +140,7 @@ public static function build(string $parent): self * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -204,7 +204,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -226,7 +226,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ListStoredInfoTypesRequest.php b/Dlp/src/V2/ListStoredInfoTypesRequest.php index a3980c1c2404..16f7c65ff69a 100644 --- a/Dlp/src/V2/ListStoredInfoTypesRequest.php +++ b/Dlp/src/V2/ListStoredInfoTypesRequest.php @@ -19,7 +19,7 @@ class ListStoredInfoTypesRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -74,7 +74,7 @@ class ListStoredInfoTypesRequest extends \Google\Protobuf\Internal\Message * * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` @@ -108,7 +108,7 @@ public static function build(string $parent): self * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -148,7 +148,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -170,7 +170,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on the scope of the request * (project or organization) and whether you have [specified a processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/OtherCloudDiscoveryTarget.php b/Dlp/src/V2/OtherCloudDiscoveryTarget.php index 8e82622922b5..8b24eada4998 100644 --- a/Dlp/src/V2/OtherCloudDiscoveryTarget.php +++ b/Dlp/src/V2/OtherCloudDiscoveryTarget.php @@ -11,7 +11,7 @@ /** * Target used to match against for discovery of resources from other clouds. * An [AWS connector in Security Command Center - * (Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws) + * (Enterprise](https://docs.cloud.google.com/security-command-center/docs/connect-scc-to-aws) * is required to use this feature. * * Generated from protobuf message google.privacy.dlp.v2.OtherCloudDiscoveryTarget diff --git a/Dlp/src/V2/RedactImageRequest.php b/Dlp/src/V2/RedactImageRequest.php index f4e5eab91866..01f7fd23af62 100644 --- a/Dlp/src/V2/RedactImageRequest.php +++ b/Dlp/src/V2/RedactImageRequest.php @@ -20,7 +20,7 @@ class RedactImageRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -98,7 +98,7 @@ class RedactImageRequest extends \Google\Protobuf\Internal\Message * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -144,7 +144,7 @@ public function __construct($data = NULL) { * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -166,7 +166,7 @@ public function getParent() * Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ReidentifyContentRequest.php b/Dlp/src/V2/ReidentifyContentRequest.php index 25ba1bf00915..3d26c68b3ab0 100644 --- a/Dlp/src/V2/ReidentifyContentRequest.php +++ b/Dlp/src/V2/ReidentifyContentRequest.php @@ -19,7 +19,7 @@ class ReidentifyContentRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -97,7 +97,7 @@ class ReidentifyContentRequest extends \Google\Protobuf\Internal\Message * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -147,7 +147,7 @@ public function __construct($data = NULL) { * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): @@ -169,7 +169,7 @@ public function getParent() * Required. Parent resource name. * The format of this value varies depending on whether you have [specified a * processing - * location](https://cloud.google.com/sensitive-data-protection/docs/specifying-location): + * location](https://docs.cloud.google.com/sensitive-data-protection/docs/specifying-location): * + Projects scope, location specified: * `projects/{project_id}/locations/{location_id}` * + Projects scope, no location specified (defaults to global): diff --git a/Dlp/src/V2/ReplaceDictionaryConfig.php b/Dlp/src/V2/ReplaceDictionaryConfig.php index c5e13ffc80c0..8b7b2156f0d6 100644 --- a/Dlp/src/V2/ReplaceDictionaryConfig.php +++ b/Dlp/src/V2/ReplaceDictionaryConfig.php @@ -25,8 +25,8 @@ class ReplaceDictionaryConfig extends \Google\Protobuf\Internal\Message * * @type \Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList $word_list * A list of words to select from for random replacement. The - * [limits](https://cloud.google.com/sensitive-data-protection/limits) page - * contains details about the size limits of dictionaries. + * [limits](https://docs.cloud.google.com/sensitive-data-protection/limits) + * page contains details about the size limits of dictionaries. * } */ public function __construct($data = NULL) { @@ -36,8 +36,8 @@ public function __construct($data = NULL) { /** * A list of words to select from for random replacement. The - * [limits](https://cloud.google.com/sensitive-data-protection/limits) page - * contains details about the size limits of dictionaries. + * [limits](https://docs.cloud.google.com/sensitive-data-protection/limits) + * page contains details about the size limits of dictionaries. * * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; * @return \Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList|null @@ -54,8 +54,8 @@ public function hasWordList() /** * A list of words to select from for random replacement. The - * [limits](https://cloud.google.com/sensitive-data-protection/limits) page - * contains details about the size limits of dictionaries. + * [limits](https://docs.cloud.google.com/sensitive-data-protection/limits) + * page contains details about the size limits of dictionaries. * * Generated from protobuf field .google.privacy.dlp.v2.CustomInfoType.Dictionary.WordList word_list = 1; * @param \Google\Cloud\Dlp\V2\CustomInfoType\Dictionary\WordList $var diff --git a/Dlp/src/V2/RiskAnalysisJobConfig.php b/Dlp/src/V2/RiskAnalysisJobConfig.php index 4746a18d6e76..ed3f724b1c4d 100644 --- a/Dlp/src/V2/RiskAnalysisJobConfig.php +++ b/Dlp/src/V2/RiskAnalysisJobConfig.php @@ -10,7 +10,7 @@ /** * Configuration for a risk analysis job. See - * https://cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis + * https://docs.cloud.google.com/sensitive-data-protection/docs/concepts-risk-analysis * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.RiskAnalysisJobConfig diff --git a/Dlp/src/V2/SecretsDiscoveryTarget.php b/Dlp/src/V2/SecretsDiscoveryTarget.php index a0b04b9cb5be..e4e9d17b32ae 100644 --- a/Dlp/src/V2/SecretsDiscoveryTarget.php +++ b/Dlp/src/V2/SecretsDiscoveryTarget.php @@ -15,7 +15,7 @@ * No inspect template should be included in the discovery config for a * security benchmarks scan. Instead, the built-in list of secrets and * credentials infoTypes will be used (see - * https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). + * https://docs.cloud.google.com/sensitive-data-protection/docs/infotypes-reference#credentials_and_secrets). * Credentials and secrets discovered will be reported as vulnerabilities to * Security Command Center. * diff --git a/Dlp/src/V2/StorageConfig/TimespanConfig.php b/Dlp/src/V2/StorageConfig/TimespanConfig.php index f7ad5dbec8e8..7889966a38b3 100644 --- a/Dlp/src/V2/StorageConfig/TimespanConfig.php +++ b/Dlp/src/V2/StorageConfig/TimespanConfig.php @@ -42,7 +42,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, * `TIMESTAMP`, and `DATETIME`. * If your BigQuery table is [partitioned at ingestion - * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), + * time](https://docs.cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), * you can use any of the following pseudo-columns as your timestamp field. * When used with Cloud DLP, these pseudo-column names are case sensitive. * - `_PARTITIONTIME` @@ -55,7 +55,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * Valid data types of the provided timestamp property are: `TIMESTAMP`. * See the * [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) * related to this operation. * * Generated from protobuf field .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -73,7 +73,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * buffer rows are not read during inspection and reading up to the current * timestamp will result in skipped rows. * See the [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) * related to this operation. * * Generated from protobuf field bool enable_auto_population_of_timespan_config = 4; @@ -104,7 +104,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, * `TIMESTAMP`, and `DATETIME`. * If your BigQuery table is [partitioned at ingestion - * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), + * time](https://docs.cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), * you can use any of the following pseudo-columns as your timestamp field. * When used with Cloud DLP, these pseudo-column names are case sensitive. * - `_PARTITIONTIME` @@ -117,7 +117,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * Valid data types of the provided timestamp property are: `TIMESTAMP`. * See the * [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) * related to this operation. * @type bool $enable_auto_population_of_timespan_config * When the job is started by a JobTrigger we will automatically figure out @@ -131,7 +131,7 @@ class TimespanConfig extends \Google\Protobuf\Internal\Message * buffer rows are not read during inspection and reading up to the current * timestamp will result in skipped rows. * See the [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) * related to this operation. * } */ @@ -228,7 +228,7 @@ public function setEndTime($var) * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, * `TIMESTAMP`, and `DATETIME`. * If your BigQuery table is [partitioned at ingestion - * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), + * time](https://docs.cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), * you can use any of the following pseudo-columns as your timestamp field. * When used with Cloud DLP, these pseudo-column names are case sensitive. * - `_PARTITIONTIME` @@ -241,7 +241,7 @@ public function setEndTime($var) * Valid data types of the provided timestamp property are: `TIMESTAMP`. * See the * [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) * related to this operation. * * Generated from protobuf field .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -274,7 +274,7 @@ public function clearTimestampField() * Valid data types of the provided BigQuery column are: `INTEGER`, `DATE`, * `TIMESTAMP`, and `DATETIME`. * If your BigQuery table is [partitioned at ingestion - * time](https://cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), + * time](https://docs.cloud.google.com/bigquery/docs/partitioned-tables#ingestion_time), * you can use any of the following pseudo-columns as your timestamp field. * When used with Cloud DLP, these pseudo-column names are case sensitive. * - `_PARTITIONTIME` @@ -287,7 +287,7 @@ public function clearTimestampField() * Valid data types of the provided timestamp property are: `TIMESTAMP`. * See the * [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#bq-timespan) * related to this operation. * * Generated from protobuf field .google.privacy.dlp.v2.FieldId timestamp_field = 3; @@ -314,7 +314,7 @@ public function setTimestampField($var) * buffer rows are not read during inspection and reading up to the current * timestamp will result in skipped rows. * See the [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) * related to this operation. * * Generated from protobuf field bool enable_auto_population_of_timespan_config = 4; @@ -337,7 +337,7 @@ public function getEnableAutoPopulationOfTimespanConfig() * buffer rows are not read during inspection and reading up to the current * timestamp will result in skipped rows. * See the [known - * issue](https://cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) + * issue](https://docs.cloud.google.com/sensitive-data-protection/docs/known-issues#recently-streamed-data) * related to this operation. * * Generated from protobuf field bool enable_auto_population_of_timespan_config = 4; diff --git a/Dlp/src/V2/StoredInfoType.php b/Dlp/src/V2/StoredInfoType.php index 345ce57dc641..74c7b4acad27 100644 --- a/Dlp/src/V2/StoredInfoType.php +++ b/Dlp/src/V2/StoredInfoType.php @@ -17,9 +17,9 @@ class StoredInfoType extends \Google\Protobuf\Internal\Message { /** - * Resource name. + * Output only. Resource name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $name = ''; /** @@ -43,7 +43,7 @@ class StoredInfoType extends \Google\Protobuf\Internal\Message * Optional. Data for populating the Message object. * * @type string $name - * Resource name. + * Output only. Resource name. * @type \Google\Cloud\Dlp\V2\StoredInfoTypeVersion $current_version * Current version of the stored info type. * @type \Google\Cloud\Dlp\V2\StoredInfoTypeVersion[] $pending_versions @@ -57,9 +57,9 @@ public function __construct($data = NULL) { } /** - * Resource name. + * Output only. Resource name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return string */ public function getName() @@ -68,9 +68,9 @@ public function getName() } /** - * Resource name. + * Output only. Resource name. * - * Generated from protobuf field string name = 1; + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param string $var * @return $this */ diff --git a/Dlp/src/V2/StoredInfoTypeConfig.php b/Dlp/src/V2/StoredInfoTypeConfig.php index 8a0b7ce62852..086d760d9463 100644 --- a/Dlp/src/V2/StoredInfoTypeConfig.php +++ b/Dlp/src/V2/StoredInfoTypeConfig.php @@ -11,7 +11,7 @@ /** * Configuration for stored infoTypes. All fields and subfield are provided * by the user. For more information, see - * https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes. + * https://docs.cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes. * * Generated from protobuf message google.privacy.dlp.v2.StoredInfoTypeConfig */ diff --git a/Dlp/src/V2/StoredInfoTypeVersion.php b/Dlp/src/V2/StoredInfoTypeVersion.php index 16ab591e8a43..f4b45962af1a 100644 --- a/Dlp/src/V2/StoredInfoTypeVersion.php +++ b/Dlp/src/V2/StoredInfoTypeVersion.php @@ -23,24 +23,24 @@ class StoredInfoTypeVersion extends \Google\Protobuf\Internal\Message */ protected $config = null; /** - * Create timestamp of the version. Read-only, determined by the system - * when the version is created. + * Output only. Create timestamp of the version. Read-only, determined by the + * system when the version is created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $create_time = null; /** - * Stored info type version state. Read-only, updated by the system - * during dictionary creation. + * Output only. Stored info type version state. Read-only, updated by the + * system during dictionary creation. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $state = 0; /** - * Errors that occurred when creating this storedInfoType version, or - * anomalies detected in the storedInfoType data that render it unusable. Only - * the five most recent errors will be displayed, with the most recent error - * appearing first. + * Output only. Errors that occurred when creating this storedInfoType + * version, or anomalies detected in the storedInfoType data that render it + * unusable. Only the five most recent errors will be displayed, with the most + * recent error appearing first. * For example, some of the data for stored custom dictionaries is put in * the user's Cloud Storage bucket, and if this data is modified or * deleted by the user or another system, the dictionary becomes invalid. @@ -49,13 +49,13 @@ class StoredInfoTypeVersion extends \Google\Protobuf\Internal\Message * storedInfoType to continue using it, reusing the same `config` if it was * not the source of the error. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private $errors; /** - * Statistics about this storedInfoType version. + * Output only. Statistics about this storedInfoType version. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ protected $stats = null; @@ -68,16 +68,16 @@ class StoredInfoTypeVersion extends \Google\Protobuf\Internal\Message * @type \Google\Cloud\Dlp\V2\StoredInfoTypeConfig $config * StoredInfoType configuration. * @type \Google\Protobuf\Timestamp $create_time - * Create timestamp of the version. Read-only, determined by the system - * when the version is created. + * Output only. Create timestamp of the version. Read-only, determined by the + * system when the version is created. * @type int $state - * Stored info type version state. Read-only, updated by the system - * during dictionary creation. + * Output only. Stored info type version state. Read-only, updated by the + * system during dictionary creation. * @type \Google\Cloud\Dlp\V2\Error[] $errors - * Errors that occurred when creating this storedInfoType version, or - * anomalies detected in the storedInfoType data that render it unusable. Only - * the five most recent errors will be displayed, with the most recent error - * appearing first. + * Output only. Errors that occurred when creating this storedInfoType + * version, or anomalies detected in the storedInfoType data that render it + * unusable. Only the five most recent errors will be displayed, with the most + * recent error appearing first. * For example, some of the data for stored custom dictionaries is put in * the user's Cloud Storage bucket, and if this data is modified or * deleted by the user or another system, the dictionary becomes invalid. @@ -86,7 +86,7 @@ class StoredInfoTypeVersion extends \Google\Protobuf\Internal\Message * storedInfoType to continue using it, reusing the same `config` if it was * not the source of the error. * @type \Google\Cloud\Dlp\V2\StoredInfoTypeStats $stats - * Statistics about this storedInfoType version. + * Output only. Statistics about this storedInfoType version. * } */ public function __construct($data = NULL) { @@ -131,10 +131,10 @@ public function setConfig($var) } /** - * Create timestamp of the version. Read-only, determined by the system - * when the version is created. + * Output only. Create timestamp of the version. Read-only, determined by the + * system when the version is created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Protobuf\Timestamp|null */ public function getCreateTime() @@ -153,10 +153,10 @@ public function clearCreateTime() } /** - * Create timestamp of the version. Read-only, determined by the system - * when the version is created. + * Output only. Create timestamp of the version. Read-only, determined by the + * system when the version is created. * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2; + * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Protobuf\Timestamp $var * @return $this */ @@ -169,10 +169,10 @@ public function setCreateTime($var) } /** - * Stored info type version state. Read-only, updated by the system - * during dictionary creation. + * Output only. Stored info type version state. Read-only, updated by the + * system during dictionary creation. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return int */ public function getState() @@ -181,10 +181,10 @@ public function getState() } /** - * Stored info type version state. Read-only, updated by the system - * during dictionary creation. + * Output only. Stored info type version state. Read-only, updated by the + * system during dictionary creation. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param int $var * @return $this */ @@ -197,10 +197,10 @@ public function setState($var) } /** - * Errors that occurred when creating this storedInfoType version, or - * anomalies detected in the storedInfoType data that render it unusable. Only - * the five most recent errors will be displayed, with the most recent error - * appearing first. + * Output only. Errors that occurred when creating this storedInfoType + * version, or anomalies detected in the storedInfoType data that render it + * unusable. Only the five most recent errors will be displayed, with the most + * recent error appearing first. * For example, some of the data for stored custom dictionaries is put in * the user's Cloud Storage bucket, and if this data is modified or * deleted by the user or another system, the dictionary becomes invalid. @@ -209,7 +209,7 @@ public function setState($var) * storedInfoType to continue using it, reusing the same `config` if it was * not the source of the error. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return RepeatedField<\Google\Cloud\Dlp\V2\Error> */ public function getErrors() @@ -218,10 +218,10 @@ public function getErrors() } /** - * Errors that occurred when creating this storedInfoType version, or - * anomalies detected in the storedInfoType data that render it unusable. Only - * the five most recent errors will be displayed, with the most recent error - * appearing first. + * Output only. Errors that occurred when creating this storedInfoType + * version, or anomalies detected in the storedInfoType data that render it + * unusable. Only the five most recent errors will be displayed, with the most + * recent error appearing first. * For example, some of the data for stored custom dictionaries is put in * the user's Cloud Storage bucket, and if this data is modified or * deleted by the user or another system, the dictionary becomes invalid. @@ -230,7 +230,7 @@ public function getErrors() * storedInfoType to continue using it, reusing the same `config` if it was * not the source of the error. * - * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4; + * Generated from protobuf field repeated .google.privacy.dlp.v2.Error errors = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\Error[] $var * @return $this */ @@ -243,9 +243,9 @@ public function setErrors($var) } /** - * Statistics about this storedInfoType version. + * Output only. Statistics about this storedInfoType version. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return \Google\Cloud\Dlp\V2\StoredInfoTypeStats|null */ public function getStats() @@ -264,9 +264,9 @@ public function clearStats() } /** - * Statistics about this storedInfoType version. + * Output only. Statistics about this storedInfoType version. * - * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5; + * Generated from protobuf field .google.privacy.dlp.v2.StoredInfoTypeStats stats = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param \Google\Cloud\Dlp\V2\StoredInfoTypeStats $var * @return $this */ diff --git a/Dlp/src/V2/Table.php b/Dlp/src/V2/Table.php index 5e614f34e5a5..449d561872e9 100644 --- a/Dlp/src/V2/Table.php +++ b/Dlp/src/V2/Table.php @@ -10,7 +10,7 @@ /** * Structured content to inspect. Up to 50,000 `Value`s per request allowed. See - * https://cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table + * https://docs.cloud.google.com/sensitive-data-protection/docs/inspecting-structured-text#inspecting_a_table * to learn more. * * Generated from protobuf message google.privacy.dlp.v2.Table diff --git a/Dlp/src/V2/TableDataProfile.php b/Dlp/src/V2/TableDataProfile.php index 80ee291fcd14..b0d812ba980a 100644 --- a/Dlp/src/V2/TableDataProfile.php +++ b/Dlp/src/V2/TableDataProfile.php @@ -41,7 +41,7 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message protected $dataset_project_id = ''; /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * locations. * * Generated from protobuf field string dataset_location = 29; @@ -221,7 +221,7 @@ class TableDataProfile extends \Google\Protobuf\Internal\Message * The Google Cloud project ID that owns the resource. * @type string $dataset_location * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * locations. * @type string $dataset_id * If the resource is BigQuery, the dataset ID. @@ -403,7 +403,7 @@ public function setDatasetProjectId($var) /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * locations. * * Generated from protobuf field string dataset_location = 29; @@ -416,7 +416,7 @@ public function getDatasetLocation() /** * If supported, the location where the dataset's data is stored. - * See https://cloud.google.com/bigquery/docs/locations for supported + * See https://docs.cloud.google.com/bigquery/docs/locations for supported * locations. * * Generated from protobuf field string dataset_location = 29; diff --git a/Dlp/src/V2/UpdateContentPolicyRequest.php b/Dlp/src/V2/UpdateContentPolicyRequest.php new file mode 100644 index 000000000000..b6c53b9541b2 --- /dev/null +++ b/Dlp/src/V2/UpdateContentPolicyRequest.php @@ -0,0 +1,178 @@ +google.privacy.dlp.v2.UpdateContentPolicyRequest + */ +class UpdateContentPolicyRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Required. The content_policy with new values for the relevant fields. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $content_policy = null; + /** + * Optional. Mask to control which fields get updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $update_mask = null; + + /** + * @param string $name Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. Please see + * {@see DlpServiceClient::contentPolicyName()} for help formatting this field. + * @param \Google\Cloud\Dlp\V2\ContentPolicy $contentPolicy Required. The content_policy with new values for the relevant fields. + * @param \Google\Protobuf\FieldMask $updateMask Optional. Mask to control which fields get updated. + * + * @return \Google\Cloud\Dlp\V2\UpdateContentPolicyRequest + * + * @experimental + */ + public static function build(string $name, \Google\Cloud\Dlp\V2\ContentPolicy $contentPolicy, \Google\Protobuf\FieldMask $updateMask): self + { + return (new self()) + ->setName($name) + ->setContentPolicy($contentPolicy) + ->setUpdateMask($updateMask); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * @type \Google\Cloud\Dlp\V2\ContentPolicy $content_policy + * Required. The content_policy with new values for the relevant fields. + * @type \Google\Protobuf\FieldMask $update_mask + * Optional. Mask to control which fields get updated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Privacy\Dlp\V2\Dlp::initOnce(); + parent::__construct($data); + } + + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Required. Resource name in the format: + * `projects/{project}/locations/{location}/contentPolicies/{content_policy}`. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Required. The content_policy with new values for the relevant fields. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\Dlp\V2\ContentPolicy|null + */ + public function getContentPolicy() + { + return $this->content_policy; + } + + public function hasContentPolicy() + { + return isset($this->content_policy); + } + + public function clearContentPolicy() + { + unset($this->content_policy); + } + + /** + * Required. The content_policy with new values for the relevant fields. + * + * Generated from protobuf field .google.privacy.dlp.v2.ContentPolicy content_policy = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\Dlp\V2\ContentPolicy $var + * @return $this + */ + public function setContentPolicy($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ContentPolicy::class); + $this->content_policy = $var; + + return $this; + } + + /** + * Optional. Mask to control which fields get updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\FieldMask|null + */ + public function getUpdateMask() + { + return $this->update_mask; + } + + public function hasUpdateMask() + { + return isset($this->update_mask); + } + + public function clearUpdateMask() + { + unset($this->update_mask); + } + + /** + * Optional. Mask to control which fields get updated. + * + * Generated from protobuf field .google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\FieldMask $var + * @return $this + */ + public function setUpdateMask($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); + $this->update_mask = $var; + + return $this; + } + +} + diff --git a/Dlp/src/V2/gapic_metadata.json b/Dlp/src/V2/gapic_metadata.json index a9e3ccc94f60..3d138936419f 100644 --- a/Dlp/src/V2/gapic_metadata.json +++ b/Dlp/src/V2/gapic_metadata.json @@ -25,6 +25,11 @@ "createConnection" ] }, + "CreateContentPolicy": { + "methods": [ + "createContentPolicy" + ] + }, "CreateDeidentifyTemplate": { "methods": [ "createDeidentifyTemplate" @@ -65,6 +70,11 @@ "deleteConnection" ] }, + "DeleteContentPolicy": { + "methods": [ + "deleteContentPolicy" + ] + }, "DeleteDeidentifyTemplate": { "methods": [ "deleteDeidentifyTemplate" @@ -120,6 +130,11 @@ "getConnection" ] }, + "GetContentPolicy": { + "methods": [ + "getContentPolicy" + ] + }, "GetDeidentifyTemplate": { "methods": [ "getDeidentifyTemplate" @@ -190,6 +205,11 @@ "listConnections" ] }, + "ListContentPolicies": { + "methods": [ + "listContentPolicies" + ] + }, "ListDeidentifyTemplates": { "methods": [ "listDeidentifyTemplates" @@ -260,6 +280,11 @@ "updateConnection" ] }, + "UpdateContentPolicy": { + "methods": [ + "updateContentPolicy" + ] + }, "UpdateDeidentifyTemplate": { "methods": [ "updateDeidentifyTemplate" diff --git a/Dlp/src/V2/resources/dlp_service_client_config.json b/Dlp/src/V2/resources/dlp_service_client_config.json index 5850bca2a2e0..ad60d4b0d617 100644 --- a/Dlp/src/V2/resources/dlp_service_client_config.json +++ b/Dlp/src/V2/resources/dlp_service_client_config.json @@ -54,6 +54,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "CreateContentPolicy": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "CreateDeidentifyTemplate": { "timeout_millis": 300000, "retry_codes_name": "no_retry_1_codes", @@ -94,6 +99,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "DeleteContentPolicy": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "DeleteDeidentifyTemplate": { "timeout_millis": 300000, "retry_codes_name": "retry_policy_1_codes", @@ -149,6 +159,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "GetContentPolicy": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "GetDeidentifyTemplate": { "timeout_millis": 300000, "retry_codes_name": "retry_policy_1_codes", @@ -219,6 +234,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "ListContentPolicies": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "ListDeidentifyTemplates": { "timeout_millis": 300000, "retry_codes_name": "retry_policy_1_codes", @@ -289,6 +309,11 @@ "retry_codes_name": "no_retry_codes", "retry_params_name": "no_retry_params" }, + "UpdateContentPolicy": { + "timeout_millis": 60000, + "retry_codes_name": "no_retry_codes", + "retry_params_name": "no_retry_params" + }, "UpdateDeidentifyTemplate": { "timeout_millis": 300000, "retry_codes_name": "no_retry_1_codes", diff --git a/Dlp/src/V2/resources/dlp_service_descriptor_config.php b/Dlp/src/V2/resources/dlp_service_descriptor_config.php index e6bd4d0e9aaa..bc5cebdd5b07 100644 --- a/Dlp/src/V2/resources/dlp_service_descriptor_config.php +++ b/Dlp/src/V2/resources/dlp_service_descriptor_config.php @@ -59,6 +59,18 @@ ], ], ], + 'CreateContentPolicy' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Cloud\Dlp\V2\ContentPolicy', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], 'CreateDeidentifyTemplate' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Cloud\Dlp\V2\DeidentifyTemplate', @@ -155,6 +167,18 @@ ], ], ], + 'DeleteContentPolicy' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Protobuf\GPBEmpty', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], 'DeleteDeidentifyTemplate' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Protobuf\GPBEmpty', @@ -287,6 +311,18 @@ ], ], ], + 'GetContentPolicy' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Cloud\Dlp\V2\ContentPolicy', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], 'GetDeidentifyTemplate' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Cloud\Dlp\V2\DeidentifyTemplate', @@ -471,6 +507,26 @@ ], ], ], + 'ListContentPolicies' => [ + 'pageStreaming' => [ + 'requestPageTokenGetMethod' => 'getPageToken', + 'requestPageTokenSetMethod' => 'setPageToken', + 'requestPageSizeGetMethod' => 'getPageSize', + 'requestPageSizeSetMethod' => 'setPageSize', + 'responsePageTokenGetMethod' => 'getNextPageToken', + 'resourcesGetMethod' => 'getContentPolicies', + ], + 'callType' => \Google\ApiCore\Call::PAGINATED_CALL, + 'responseType' => 'Google\Cloud\Dlp\V2\ListContentPoliciesResponse', + 'headerParams' => [ + [ + 'keyName' => 'parent', + 'fieldAccessors' => [ + 'getParent', + ], + ], + ], + ], 'ListDeidentifyTemplates' => [ 'pageStreaming' => [ 'requestPageTokenGetMethod' => 'getPageToken', @@ -719,6 +775,18 @@ ], ], ], + 'UpdateContentPolicy' => [ + 'callType' => \Google\ApiCore\Call::UNARY_CALL, + 'responseType' => 'Google\Cloud\Dlp\V2\ContentPolicy', + 'headerParams' => [ + [ + 'keyName' => 'name', + 'fieldAccessors' => [ + 'getName', + ], + ], + ], + ], 'UpdateDeidentifyTemplate' => [ 'callType' => \Google\ApiCore\Call::UNARY_CALL, 'responseType' => 'Google\Cloud\Dlp\V2\DeidentifyTemplate', @@ -782,6 +850,7 @@ 'templateMap' => [ 'columnDataProfile' => 'organizations/{organization}/locations/{location}/columnDataProfiles/{column_data_profile}', 'connection' => 'projects/{project}/locations/{location}/connections/{connection}', + 'contentPolicy' => 'projects/{project}/locations/{location}/contentPolicies/{content_policy}', 'deidentifyTemplate' => 'organizations/{organization}/deidentifyTemplates/{deidentify_template}', 'discoveryConfig' => 'projects/{project}/locations/{location}/discoveryConfigs/{discovery_config}', 'dlpJob' => 'projects/{project}/dlpJobs/{dlp_job}', diff --git a/Dlp/src/V2/resources/dlp_service_rest_client_config.php b/Dlp/src/V2/resources/dlp_service_rest_client_config.php index a6c9f342ae35..4e8b926e067d 100644 --- a/Dlp/src/V2/resources/dlp_service_rest_client_config.php +++ b/Dlp/src/V2/resources/dlp_service_rest_client_config.php @@ -80,6 +80,18 @@ ], ], ], + 'CreateContentPolicy' => [ + 'method' => 'post', + 'uriTemplate' => '/v2/{parent=projects/*/locations/*}/contentPolicies', + 'body' => '*', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], 'CreateDeidentifyTemplate' => [ 'method' => 'post', 'uriTemplate' => '/v2/{parent=organizations/*}/deidentifyTemplates', @@ -265,6 +277,17 @@ ], ], ], + 'DeleteContentPolicy' => [ + 'method' => 'delete', + 'uriTemplate' => '/v2/{name=projects/*/locations/*/contentPolicies/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], 'DeleteDeidentifyTemplate' => [ 'method' => 'delete', 'uriTemplate' => '/v2/{name=organizations/*/deidentifyTemplates/*}', @@ -475,6 +498,17 @@ ], ], ], + 'GetContentPolicy' => [ + 'method' => 'get', + 'uriTemplate' => '/v2/{name=projects/*/locations/*/contentPolicies/*}', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], 'GetDeidentifyTemplate' => [ 'method' => 'get', 'uriTemplate' => '/v2/{name=organizations/*/deidentifyTemplates/*}', @@ -733,6 +767,17 @@ ], ], ], + 'ListContentPolicies' => [ + 'method' => 'get', + 'uriTemplate' => '/v2/{parent=projects/*/locations/*}/contentPolicies', + 'placeholders' => [ + 'parent' => [ + 'getters' => [ + 'getParent', + ], + ], + ], + ], 'ListDeidentifyTemplates' => [ 'method' => 'get', 'uriTemplate' => '/v2/{parent=organizations/*}/deidentifyTemplates', @@ -1017,6 +1062,18 @@ ], ], ], + 'UpdateContentPolicy' => [ + 'method' => 'patch', + 'uriTemplate' => '/v2/{name=projects/*/locations/*/contentPolicies/*}', + 'body' => '*', + 'placeholders' => [ + 'name' => [ + 'getters' => [ + 'getName', + ], + ], + ], + ], 'UpdateDeidentifyTemplate' => [ 'method' => 'patch', 'uriTemplate' => '/v2/{name=organizations/*/deidentifyTemplates/*}', diff --git a/Dlp/tests/Unit/V2/Client/DlpServiceClientTest.php b/Dlp/tests/Unit/V2/Client/DlpServiceClientTest.php index e342a967194b..d51f2b3892a2 100644 --- a/Dlp/tests/Unit/V2/Client/DlpServiceClientTest.php +++ b/Dlp/tests/Unit/V2/Client/DlpServiceClientTest.php @@ -32,7 +32,9 @@ use Google\Cloud\Dlp\V2\ColumnDataProfile; use Google\Cloud\Dlp\V2\Connection; use Google\Cloud\Dlp\V2\ConnectionState; +use Google\Cloud\Dlp\V2\ContentPolicy; use Google\Cloud\Dlp\V2\CreateConnectionRequest; +use Google\Cloud\Dlp\V2\CreateContentPolicyRequest; use Google\Cloud\Dlp\V2\CreateDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\CreateDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\CreateDlpJobRequest; @@ -43,6 +45,7 @@ use Google\Cloud\Dlp\V2\DeidentifyContentResponse; use Google\Cloud\Dlp\V2\DeidentifyTemplate; use Google\Cloud\Dlp\V2\DeleteConnectionRequest; +use Google\Cloud\Dlp\V2\DeleteContentPolicyRequest; use Google\Cloud\Dlp\V2\DeleteDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\DeleteDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\DeleteDlpJobRequest; @@ -58,6 +61,7 @@ use Google\Cloud\Dlp\V2\FinishDlpJobRequest; use Google\Cloud\Dlp\V2\GetColumnDataProfileRequest; use Google\Cloud\Dlp\V2\GetConnectionRequest; +use Google\Cloud\Dlp\V2\GetContentPolicyRequest; use Google\Cloud\Dlp\V2\GetDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\GetDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\GetDlpJobRequest; @@ -78,6 +82,8 @@ use Google\Cloud\Dlp\V2\ListColumnDataProfilesResponse; use Google\Cloud\Dlp\V2\ListConnectionsRequest; use Google\Cloud\Dlp\V2\ListConnectionsResponse; +use Google\Cloud\Dlp\V2\ListContentPoliciesRequest; +use Google\Cloud\Dlp\V2\ListContentPoliciesResponse; use Google\Cloud\Dlp\V2\ListDeidentifyTemplatesRequest; use Google\Cloud\Dlp\V2\ListDeidentifyTemplatesResponse; use Google\Cloud\Dlp\V2\ListDiscoveryConfigsRequest; @@ -109,6 +115,7 @@ use Google\Cloud\Dlp\V2\StoredInfoTypeConfig; use Google\Cloud\Dlp\V2\TableDataProfile; use Google\Cloud\Dlp\V2\UpdateConnectionRequest; +use Google\Cloud\Dlp\V2\UpdateContentPolicyRequest; use Google\Cloud\Dlp\V2\UpdateDeidentifyTemplateRequest; use Google\Cloud\Dlp\V2\UpdateDiscoveryConfigRequest; use Google\Cloud\Dlp\V2\UpdateInspectTemplateRequest; @@ -350,6 +357,81 @@ public function createConnectionExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function createContentPolicyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name = 'name3373707'; + $displayName = 'displayName1615086568'; + $expectedResponse = new ContentPolicy(); + $expectedResponse->setName($name); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $contentPolicy = new ContentPolicy(); + $contentPolicyRules = []; + $contentPolicy->setRules($contentPolicyRules); + $request = (new CreateContentPolicyRequest())->setParent($formattedParent)->setContentPolicy($contentPolicy); + $response = $gapicClient->createContentPolicy($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.privacy.dlp.v2.DlpService/CreateContentPolicy', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $actualValue = $actualRequestObject->getContentPolicy(); + $this->assertProtobufEquals($contentPolicy, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function createContentPolicyExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $contentPolicy = new ContentPolicy(); + $contentPolicyRules = []; + $contentPolicy->setRules($contentPolicyRules); + $request = (new CreateContentPolicyRequest())->setParent($formattedParent)->setContentPolicy($contentPolicy); + try { + $gapicClient->createContentPolicy($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function createDeidentifyTemplateTest() { @@ -585,10 +667,12 @@ public function createInspectTemplateTest() $name = 'name3373707'; $displayName = 'displayName1615086568'; $description = 'description-1724546052'; + $allowLimitedAvailabilityInfoTypes = false; $expectedResponse = new InspectTemplate(); $expectedResponse->setName($name); $expectedResponse->setDisplayName($displayName); $expectedResponse->setDescription($description); + $expectedResponse->setAllowLimitedAvailabilityInfoTypes($allowLimitedAvailabilityInfoTypes); $transport->addResponse($expectedResponse); // Mock request $formattedParent = $gapicClient->organizationLocationName('[ORGANIZATION]', '[LOCATION]'); @@ -915,6 +999,68 @@ public function deleteConnectionExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function deleteContentPolicyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $expectedResponse = new GPBEmpty(); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $request = (new DeleteContentPolicyRequest())->setName($formattedName); + $gapicClient->deleteContentPolicy($request); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.privacy.dlp.v2.DlpService/DeleteContentPolicy', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function deleteContentPolicyExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $request = (new DeleteContentPolicyRequest())->setName($formattedName); + try { + $gapicClient->deleteContentPolicy($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function deleteDeidentifyTemplateTest() { @@ -1627,6 +1773,73 @@ public function getConnectionExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function getContentPolicyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $expectedResponse = new ContentPolicy(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $request = (new GetContentPolicyRequest())->setName($formattedName); + $response = $gapicClient->getContentPolicy($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.privacy.dlp.v2.DlpService/GetContentPolicy', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function getContentPolicyExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $request = (new GetContentPolicyRequest())->setName($formattedName); + try { + $gapicClient->getContentPolicy($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function getDeidentifyTemplateTest() { @@ -1921,10 +2134,12 @@ public function getInspectTemplateTest() $name2 = 'name2-1052831874'; $displayName = 'displayName1615086568'; $description = 'description-1724546052'; + $allowLimitedAvailabilityInfoTypes = false; $expectedResponse = new InspectTemplate(); $expectedResponse->setName($name2); $expectedResponse->setDisplayName($displayName); $expectedResponse->setDescription($description); + $expectedResponse->setAllowLimitedAvailabilityInfoTypes($allowLimitedAvailabilityInfoTypes); $transport->addResponse($expectedResponse); // Mock request $formattedName = $gapicClient->inspectTemplateName('[ORGANIZATION]', '[INSPECT_TEMPLATE]'); @@ -2593,6 +2808,77 @@ public function listConnectionsExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function listContentPoliciesTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $nextPageToken = ''; + $contentPoliciesElement = new ContentPolicy(); + $contentPolicies = [$contentPoliciesElement]; + $expectedResponse = new ListContentPoliciesResponse(); + $expectedResponse->setNextPageToken($nextPageToken); + $expectedResponse->setContentPolicies($contentPolicies); + $transport->addResponse($expectedResponse); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $request = (new ListContentPoliciesRequest())->setParent($formattedParent); + $response = $gapicClient->listContentPolicies($request); + $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject()); + $resources = iterator_to_array($response->iterateAllElements()); + $this->assertSame(1, count($resources)); + $this->assertEquals($expectedResponse->getContentPolicies()[0], $resources[0]); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.privacy.dlp.v2.DlpService/ListContentPolicies', $actualFuncCall); + $actualValue = $actualRequestObject->getParent(); + $this->assertProtobufEquals($formattedParent, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function listContentPoliciesExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]'); + $request = (new ListContentPoliciesRequest())->setParent($formattedParent); + try { + $gapicClient->listContentPolicies($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function listDeidentifyTemplatesTest() { @@ -3557,6 +3843,81 @@ public function updateConnectionExceptionTest() $this->assertTrue($transport->isExhausted()); } + /** @test */ + public function updateContentPolicyTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + // Mock response + $name2 = 'name2-1052831874'; + $displayName = 'displayName1615086568'; + $expectedResponse = new ContentPolicy(); + $expectedResponse->setName($name2); + $expectedResponse->setDisplayName($displayName); + $transport->addResponse($expectedResponse); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $contentPolicy = new ContentPolicy(); + $contentPolicyRules = []; + $contentPolicy->setRules($contentPolicyRules); + $request = (new UpdateContentPolicyRequest())->setName($formattedName)->setContentPolicy($contentPolicy); + $response = $gapicClient->updateContentPolicy($request); + $this->assertEquals($expectedResponse, $response); + $actualRequests = $transport->popReceivedCalls(); + $this->assertSame(1, count($actualRequests)); + $actualFuncCall = $actualRequests[0]->getFuncCall(); + $actualRequestObject = $actualRequests[0]->getRequestObject(); + $this->assertSame('/google.privacy.dlp.v2.DlpService/UpdateContentPolicy', $actualFuncCall); + $actualValue = $actualRequestObject->getName(); + $this->assertProtobufEquals($formattedName, $actualValue); + $actualValue = $actualRequestObject->getContentPolicy(); + $this->assertProtobufEquals($contentPolicy, $actualValue); + $this->assertTrue($transport->isExhausted()); + } + + /** @test */ + public function updateContentPolicyExceptionTest() + { + $transport = $this->createTransport(); + $gapicClient = $this->createClient([ + 'transport' => $transport, + ]); + $this->assertTrue($transport->isExhausted()); + $status = new stdClass(); + $status->code = Code::DATA_LOSS; + $status->details = 'internal error'; + $expectedExceptionMessage = json_encode( + [ + 'message' => 'internal error', + 'code' => Code::DATA_LOSS, + 'status' => 'DATA_LOSS', + 'details' => [], + ], + JSON_PRETTY_PRINT + ); + $transport->addResponse(null, $status); + // Mock request + $formattedName = $gapicClient->contentPolicyName('[PROJECT]', '[LOCATION]', '[CONTENT_POLICY]'); + $contentPolicy = new ContentPolicy(); + $contentPolicyRules = []; + $contentPolicy->setRules($contentPolicyRules); + $request = (new UpdateContentPolicyRequest())->setName($formattedName)->setContentPolicy($contentPolicy); + try { + $gapicClient->updateContentPolicy($request); + // If the $gapicClient method call did not throw, fail the test + $this->fail('Expected an ApiException, but no exception was thrown.'); + } catch (ApiException $ex) { + $this->assertEquals($status->code, $ex->getCode()); + $this->assertEquals($expectedExceptionMessage, $ex->getMessage()); + } + // Call popReceivedCalls to ensure the stub is exhausted + $transport->popReceivedCalls(); + $this->assertTrue($transport->isExhausted()); + } + /** @test */ public function updateDeidentifyTemplateTest() { @@ -3713,10 +4074,12 @@ public function updateInspectTemplateTest() $name2 = 'name2-1052831874'; $displayName = 'displayName1615086568'; $description = 'description-1724546052'; + $allowLimitedAvailabilityInfoTypes = false; $expectedResponse = new InspectTemplate(); $expectedResponse->setName($name2); $expectedResponse->setDisplayName($displayName); $expectedResponse->setDescription($description); + $expectedResponse->setAllowLimitedAvailabilityInfoTypes($allowLimitedAvailabilityInfoTypes); $transport->addResponse($expectedResponse); // Mock request $formattedName = $gapicClient->inspectTemplateName('[ORGANIZATION]', '[INSPECT_TEMPLATE]');