Skip to content

Commit 6c2ecea

Browse files
Google APIscopybara-github
authored andcommitted
feat: Add skip_grace_period flag to DeleteCertificateAuthority API
PiperOrigin-RevId: 433526535
1 parent e0b4fcf commit 6c2ecea

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

google/cloud/security/privateca/v1/resources.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.cloud.security.privateca.v1;
1818

19-
import "google/api/annotations.proto";
2019
import "google/api/field_behavior.proto";
2120
import "google/api/resource.proto";
2221
import "google/protobuf/duration.proto";

google/cloud/security/privateca/v1/service.proto

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import "google/api/field_behavior.proto";
2222
import "google/api/resource.proto";
2323
import "google/cloud/security/privateca/v1/resources.proto";
2424
import "google/longrunning/operations.proto";
25-
import "google/protobuf/duration.proto";
2625
import "google/protobuf/field_mask.proto";
2726
import "google/protobuf/timestamp.proto";
2827

@@ -796,6 +795,11 @@ message DeleteCertificateAuthorityRequest {
796795
// Optional. This field allows the CA to be deleted even if the CA has
797796
// active certs. Active certs include both unrevoked and unexpired certs.
798797
bool ignore_active_certificates = 4 [(google.api.field_behavior) = OPTIONAL];
798+
799+
// Optional. If this flag is set, the Certificate Authority will be deleted as soon as
800+
// possible without a 30-day grace period where undeletion would have been
801+
// allowed. If you proceed, there will be no way to recover this CA.
802+
bool skip_grace_period = 5 [(google.api.field_behavior) = OPTIONAL];
799803
}
800804

801805
// Request message for

0 commit comments

Comments
 (0)