Resource: SupportEventSubscription
A support event subscription.
| JSON representation |
|---|
{ "name": string, "pubSubTopic": string, "state": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the support event subscription. |
pubSubTopic |
Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic} |
state |
Output only. The state of the subscription. |
failureReason |
Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value. |
createTime |
Output only. The time at which the subscription was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The time at which the subscription was last updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
deleteTime |
Output only. The time at which the subscription was deleted. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
purgeTime |
Output only. The time at which the subscription will be purged. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
State
The state of the subscription.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state. |
WORKING |
Subscription is active and working. |
FAILING |
Subscription is failing. Notifications cannot be published for some reason. |
DELETED |
Subscription has been deleted and is pending purge. Notifications are not sent for deleted subscriptions. Deleted subscriptions are purged after their purgeTime has passed. |
FailureReason
The reason why the subscription is failing.
| Enums | |
|---|---|
FAILURE_REASON_UNSPECIFIED |
Unspecified failure reason. |
PERMISSION_DENIED |
The service account (i.e. cloud-support-apievents@system.gserviceaccount.com) lacks the permission to publish to the customer's Pub/Sub topic. |
TOPIC_NOT_FOUND |
The specified Pub/Sub topic does not exist. |
OTHER |
Message failed to publish due to a system-side error. |
Methods |
|
|---|---|
|
Creates a support event subscription for an organization. |
|
Soft deletes a support event subscription. |
|
Gets a support event subscription. |
|
Lists support event subscriptions. |
|
Updates a support event subscription. |
|
Undeletes a support event subscription. |