on_secret_list Event
Fires once for each secret when listing secrets.
Syntax
class GoogleSecretsSecretListEventParams(object): @property def name() -> str: ... @property def version_id() -> str: ... @property def state() -> str: ... @property def creation_date() -> str: ... @property def destruction_date() -> str: ... # In class GoogleSecrets: @property def on_secret_list() -> Callable[[GoogleSecretsSecretListEventParams], None]: ... @on_secret_list.setter def on_secret_list(event_hook: Callable[[GoogleSecretsSecretListEventParams], None]) -> None: ...
Remarks
This event fires once for each secret or secret version returned when get_secret_info, list_secrets, get_version_info, or list_versions is called. Note that for secrets, only the Name and CreationDate parameters will be populated.
Name reflects the name of the secret.
VersionId reflects the Id of the secret version.
State reflects the state of the secret version.
CreationDate reflects the creation date of the secret or secret version, formatted as an RFC 3339 UTC timestamp.
DestructionDate reflects the destruction date of the secret version, formatted as an RFC 3339 UTC timestamp, or empty if the secret version has not been destroyed.