A record representing a suspension.
JSON representation |
---|
{ "name": string, "eventExecutionInfoId": string, "taskId": string, "state": enum ( |
Fields | |
---|---|
name |
Resource name for suspensions suspension/{suspensionId} |
eventExecutionInfoId |
Required. ID of the associated execution. |
taskId |
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. |
createTime |
Output only. Auto-generated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastModifyTime |
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. |
approvalConfig |
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 | |
---|---|
resolveTime |
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 | |
---|---|
customMessage |
Information to provide for recipients. |
emailAddresses[] |
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 | |
---|---|
remindTime |
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: |
expireTime |
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: |
liftWhenExpired |
Whether the suspension will be REJECTED or LIFTED upon expiration. REJECTED is the default behavior. |