Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a support event subscription for an organization.
Soft deletes a support event subscription.
Gets a support event subscription.
list(parent, filter=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)
Lists support event subscriptions.
Retrieves the next page of results.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a support event subscription.
undelete(name, body=None, x__xgafv=None)
Undeletes a support event subscription.
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a support event subscription for an organization.
Args:
parent: string, Required. The parent resource name where the support event subscription will be created. Format: organizations/{organization_id} (required)
body: object, The request body.
The object takes the form of:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
delete(name, x__xgafv=None)
Soft deletes a support event subscription.
Args:
name: string, Required. The name of the support event subscription to delete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
get(name, x__xgafv=None)
Gets a support event subscription.
Args:
name: string, Required. The name of the support event subscription to retrieve. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
list(parent, filter=None, pageSize=None, pageToken=None, showDeleted=None, x__xgafv=None)
Lists support event subscriptions.
Args:
parent: string, Required. The fully qualified name of the Cloud resource to list support event subscriptions under. Format: organizations/{organization_id} (required)
filter: string, Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state Examples: - `pub_sub_topic="projects/example-project/topics/example-topic"` - `state=WORKING` - `pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING`
pageSize: integer, Optional. The maximum number of support event subscriptions to return.
pageToken: string, Optional. A token identifying the page of results to return. If unspecified, the first page is retrieved. When paginating, all other parameters provided to `ListSupportEventSubscriptions` must match the call that provided the page token.
showDeleted: boolean, Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not returned.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for ListSupportEventSubscriptions.
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
"supportEventSubscriptions": [ # The support event subscriptions.
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
},
],
}
list_next()
Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call 'execute()' on to request the next
page. Returns None if there are no more items in the collection.
patch(name, body=None, updateMask=None, x__xgafv=None)
Updates a support event subscription.
Args:
name: string, Identifier. The resource name of the support event subscription. (required)
body: object, The request body.
The object takes the form of:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
updateMask: string, Optional. The list of fields to update. The only supported value is pub_sub_topic.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}
undelete(name, body=None, x__xgafv=None)
Undeletes a support event subscription.
Args:
name: string, Required. The name of the support event subscription to undelete. Format: organizations/{organization_id}/supportEventSubscriptions/{subscription_id} (required)
body: object, The request body.
The object takes the form of:
{ # Request message for UndeleteSupportEventSubscription.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # A support event subscription.
"createTime": "A String", # Output only. The time at which the subscription was created.
"deleteTime": "A String", # Output only. The time at which the subscription was deleted.
"failureReason": "A String", # Output only. Reason why subscription is failing. State of subscription must be FAILING in order for this to have a value.
"name": "A String", # Identifier. The resource name of the support event subscription.
"pubSubTopic": "A String", # Required. The name of the Pub/Sub topic to publish notifications to. Format: projects/{project}/topics/{topic}
"purgeTime": "A String", # Output only. The time at which the subscription will be purged.
"state": "A String", # Output only. The state of the subscription.
"updateTime": "A String", # Output only. The time at which the subscription was last updated.
}