Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions google/cloud/security/privateca_v1/types/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,11 +657,19 @@ class DeleteCertificateAuthorityRequest(proto.Message):
deleted even if the CA has active certs. Active
certs include both unrevoked and unexpired
certs.
skip_grace_period (bool):
Optional. If this flag is set, the
Certificate Authority will be deleted as soon as
possible without a 30-day grace period where
undeletion would have been allowed. If you
proceed, there will be no way to recover this
CA.
"""

name = proto.Field(proto.STRING, number=1,)
request_id = proto.Field(proto.STRING, number=2,)
ignore_active_certificates = proto.Field(proto.BOOL, number=4,)
skip_grace_period = proto.Field(proto.BOOL, number=5,)


class UpdateCertificateAuthorityRequest(proto.Message):
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixup_privateca_v1_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class privatecaCallTransformer(cst.CSTTransformer):
'create_certificate_authority': ('parent', 'certificate_authority_id', 'certificate_authority', 'request_id', ),
'create_certificate_template': ('parent', 'certificate_template_id', 'certificate_template', 'request_id', ),
'delete_ca_pool': ('name', 'request_id', ),
'delete_certificate_authority': ('name', 'request_id', 'ignore_active_certificates', ),
'delete_certificate_authority': ('name', 'request_id', 'ignore_active_certificates', 'skip_grace_period', ),
'delete_certificate_template': ('name', 'request_id', ),
'disable_certificate_authority': ('name', 'request_id', ),
'enable_certificate_authority': ('name', 'request_id', ),
Expand Down