A record representing a suspension.
JSON representation |
---|
{ "name": string, "eventExecutionInfoId": string, "taskId": string, "state": enum ( |
Fields | |
---|---|
name |
Resource name for suspensions suspension/{suspensionId} |
event |
Required. ID of the associated execution. |
task |
Required. Task id of the associated SuspensionTask. |
state |
Required. State of this suspension, indicating what action a resolver has taken. |
audit |
Metadata pertaining to the resolution of this suspension. |
create |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
last |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
integration |
Required. The name of the originating integration. |
approval |
Controls the notifications and approval permissions for this suspension. |
ResolutionState
Enum representing the user action, if any, taken on a suspension.
Enums | |
---|---|
RESOLUTION_STATE_UNSPECIFIED |
Unset state. |
PENDING |
The suspension has not yet been resolved. |
REJECTED |
The resolver has rejected the suspension. |
LIFTED |
The resolver has lifted the suspension. |
Audit
Contains when and by whom the suspension was resolved.
JSON representation |
---|
{ "resolveTime": string, "resolver": string } |
Fields | |
---|---|
resolve |
Time at which this suspension was resolved. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
resolver |
Email address of the person who resolved this suspension. |
ApprovalConfig
Configurations for approving the Suspension.
JSON representation |
---|
{
"customMessage": string,
"emailAddresses": [
string
],
"expiration": {
object ( |
Fields | |
---|---|
custom |
Information to provide for recipients. |
email |
Email addresses to send approval request to. |
expiration |
Indicates the next steps when no external actions happen on the suspension. |
ApprovalExpiration
Expiration configs for the approval request.
JSON representation |
---|
{ "remindTime": string, "expireTime": string, "liftWhenExpired": boolean } |
Fields | |
---|---|
remind |
Time after the previous suspension action reminder, if any, is sent using the selected notification option, for a suspension which is still PENDING_UNSPECIFIED. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
expire |
Output only. Time after which the suspension expires, if no action taken. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lift |
Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior. |