Skip to content

Commit 478799c

Browse files
Google APIscopybara-github
authored andcommitted
feat!: Make enable_floor_setting_enforcement field optional
fix: fix typo in csam_filter_filter_result in SanitizationResult output feat: Add SDP info types in SdpDeidentify results docs: A comment for field `inspect_template` in message `.google.cloud.modelarmor.v1.SdpAdvancedConfig` is changed docs: A comment for field `deidentify_template` in message `.google.cloud.modelarmor.v1.SdpAdvancedConfig` is changed PiperOrigin-RevId: 730701858
1 parent 6bc8e91 commit 478799c

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

google/cloud/modelarmor/v1/service.proto

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ message FloorSetting {
317317
FilterConfig filter_config = 4 [(google.api.field_behavior) = REQUIRED];
318318

319319
// Optional. Floor Settings enforcement status.
320-
bool enable_floor_setting_enforcement = 5
320+
optional bool enable_floor_setting_enforcement = 5
321321
[(google.api.field_behavior) = OPTIONAL];
322322
}
323323

@@ -624,10 +624,9 @@ message SdpAdvancedConfig {
624624
// If only inspect template is provided (de-identify template not provided),
625625
// then Sensitive Data Protection InspectContent action is performed during
626626
// Sanitization. All Sensitive Data Protection findings identified during
627-
// inspection will be returned as SdpFinding in SdpInsepctionResult e.g.
628-
// `organizations/{organization}/inspectTemplates/{inspect_template}`,
629-
// `projects/{project}/inspectTemplates/{inspect_template}`
630-
// `organizations/{organization}/locations/{location}/inspectTemplates/{inspect_template}`
627+
// inspection will be returned as SdpFinding in SdpInsepctionResult.
628+
//
629+
// e.g.
631630
// `projects/{project}/locations/{location}/inspectTemplates/{inspect_template}`
632631
string inspect_template = 1 [(google.api.field_behavior) = OPTIONAL];
633632

@@ -641,9 +640,6 @@ message SdpAdvancedConfig {
641640
// in inspect template.
642641
//
643642
// e.g.
644-
// `organizations/{organization}/deidentifyTemplates/{deidentify_template}`,
645-
// `projects/{project}/deidentifyTemplates/{deidentify_template}`
646-
// `organizations/{organization}/locations/{location}/deidentifyTemplates/{deidentify_template}`
647643
// `projects/{project}/locations/{location}/deidentifyTemplates/{deidentify_template}`
648644
string deidentify_template = 2 [(google.api.field_behavior) = OPTIONAL];
649645
}
@@ -753,7 +749,7 @@ message FilterResult {
753749
MaliciousUriFilterResult malicious_uri_filter_result = 4;
754750

755751
// CSAM filter results.
756-
CsamFilterResult csam_filter_filter_result = 5;
752+
CsamFilterResult csam_filter_result = 5;
757753

758754
// Virus scan results.
759755
VirusScanFilterResult virus_scan_filter_result = 6;
@@ -893,6 +889,9 @@ message SdpDeidentifyResult {
893889

894890
// Total size in bytes that were transformed during deidentification.
895891
int64 transformed_bytes = 5;
892+
893+
// List of Sensitive Data Protection info-types that were de-identified.
894+
repeated string info_types = 6;
896895
}
897896

898897
// Finding corresponding to Sensitive Data Protection filter.

0 commit comments

Comments
 (0)