Close httplib2 connections.
Gets details of a single event type.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists Event Types in a given Connector Version.
Retrieves the next page of results.
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Gets details of a single event type.
Args:
name: string, Required. Resource name of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*/eventtypes/*` Only global location is supported for EventType resource. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # EventType includes fields.
"createTime": "A String", # Output only. Created time.
"enrichedEventPayloadSchema": "A String", # Output only. Schema of the event payload after enriched. Will be null if read before send is not supported.
"entityType": "A String", # Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature.
"eventPayloadSchema": "A String", # Output only. Schema of webhook event payload.
"eventTypeId": "A String", # Output only. Event type id. Example: `ticket.created`.
"idPath": "A String", # Output only. Id path denotes the path of id in webhook payload.
"name": "A String", # Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype} Only global location is supported for Connector resource.
"updateTime": "A String", # Output only. Updated time.
}
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
Lists Event Types in a given Connector Version.
Args:
parent: string, Required. Parent resource of the connectors, of the form: `projects/*/locations/*/providers/*/connectors/*/versions/*` Only global location is supported for EventType resource. (required)
pageSize: integer, Page size.
pageToken: string, Page token.
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 Connectors.ListEventTypes.
"eventTypes": [ # A list of connector versions.
{ # EventType includes fields.
"createTime": "A String", # Output only. Created time.
"enrichedEventPayloadSchema": "A String", # Output only. Schema of the event payload after enriched. Will be null if read before send is not supported.
"entityType": "A String", # Output only. Runtime entity type name. Will be null if entity type map is not available. Used for read before send feature.
"eventPayloadSchema": "A String", # Output only. Schema of webhook event payload.
"eventTypeId": "A String", # Output only. Event type id. Example: `ticket.created`.
"idPath": "A String", # Output only. Id path denotes the path of id in webhook payload.
"name": "A String", # Output only. Resource name of the eventtype. Format: projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version}/eventtypes/{eventtype} Only global location is supported for Connector resource.
"updateTime": "A String", # Output only. Updated time.
},
],
"nextPageToken": "A String", # Next page token.
}
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.