1
- // Copyright 2022 Google LLC
1
+ // Copyright 2023 Google LLC
2
2
//
3
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
4
// you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@ import "google/api/field_behavior.proto";
22
22
import "google/api/resource.proto" ;
23
23
import "google/cloud/security/privateca/v1/resources.proto" ;
24
24
import "google/longrunning/operations.proto" ;
25
+ import "google/protobuf/empty.proto" ;
25
26
import "google/protobuf/field_mask.proto" ;
26
27
import "google/protobuf/timestamp.proto" ;
27
28
@@ -720,6 +721,12 @@ message DisableCertificateAuthorityRequest {
720
721
// The request ID must be a valid UUID with the exception that zero UUID is
721
722
// not supported (00000000-0000-0000-0000-000000000000).
722
723
string request_id = 2 [(google.api.field_behavior ) = OPTIONAL ];
724
+
725
+ // Optional. This field allows this CA to be disabled even if it's being
726
+ // depended on by another resource. However, doing so may result in unintended
727
+ // and unrecoverable effects on any dependent resource(s) since the CA will
728
+ // no longer be able to issue certificates.
729
+ bool ignore_dependent_resources = 3 [(google.api.field_behavior ) = OPTIONAL ];
723
730
}
724
731
725
732
// Request message for
@@ -903,6 +910,12 @@ message DeleteCertificateAuthorityRequest {
903
910
// soon as possible without a 30-day grace period where undeletion would have
904
911
// been allowed. If you proceed, there will be no way to recover this CA.
905
912
bool skip_grace_period = 5 [(google.api.field_behavior ) = OPTIONAL ];
913
+
914
+ // Optional. This field allows this ca to be deleted even if it's being
915
+ // depended on by another resource. However, doing so may result in unintended
916
+ // and unrecoverable effects on any dependent resource(s) since the CA will
917
+ // no longer be able to issue certificates.
918
+ bool ignore_dependent_resources = 6 [(google.api.field_behavior ) = OPTIONAL ];
906
919
}
907
920
908
921
// Request message for
@@ -1025,6 +1038,12 @@ message DeleteCaPoolRequest {
1025
1038
// The request ID must be a valid UUID with the exception that zero UUID is
1026
1039
// not supported (00000000-0000-0000-0000-000000000000).
1027
1040
string request_id = 2 [(google.api.field_behavior ) = OPTIONAL ];
1041
+
1042
+ // Optional. This field allows this pool to be deleted even if it's being
1043
+ // depended on by another resource. However, doing so may result in unintended
1044
+ // and unrecoverable effects on any dependent resource(s) since the pool will
1045
+ // no longer be able to issue certificates.
1046
+ bool ignore_dependent_resources = 4 [(google.api.field_behavior ) = OPTIONAL ];
1028
1047
}
1029
1048
1030
1049
// Request message for
0 commit comments