1- // Copyright 2022 Google LLC
1+ // Copyright 2023 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@ import "google/api/field_behavior.proto";
2222import "google/api/resource.proto" ;
2323import "google/cloud/security/privateca/v1/resources.proto" ;
2424import "google/longrunning/operations.proto" ;
25+ import "google/protobuf/empty.proto" ;
2526import "google/protobuf/field_mask.proto" ;
2627import "google/protobuf/timestamp.proto" ;
2728
@@ -720,6 +721,12 @@ message DisableCertificateAuthorityRequest {
720721 // The request ID must be a valid UUID with the exception that zero UUID is
721722 // not supported (00000000-0000-0000-0000-000000000000).
722723 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 ];
723730}
724731
725732// Request message for
@@ -903,6 +910,12 @@ message DeleteCertificateAuthorityRequest {
903910 // soon as possible without a 30-day grace period where undeletion would have
904911 // been allowed. If you proceed, there will be no way to recover this CA.
905912 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 ];
906919}
907920
908921// Request message for
@@ -1025,6 +1038,12 @@ message DeleteCaPoolRequest {
10251038 // The request ID must be a valid UUID with the exception that zero UUID is
10261039 // not supported (00000000-0000-0000-0000-000000000000).
10271040 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 ];
10281047}
10291048
10301049// Request message for
0 commit comments