Integration#
- class nominal.core.Integration(rid, name, description, created_at, details)#
Bases:
HasRid,RefreshableGrpcMixin[Integration]Reusable notification destination.
Retrieve one with
NominalClient.get_integrationor create one with a client creation method.Example
Create a destination using a client configured for the desired workspace:
from nominal.core import NominalClient client = NominalClient.from_profile("default") integration = client.create_webhook_integration( "Test alerts", "https://example.com/alerts" ) integration.update(description="Checklist notifications")
- created_at: IntegralNanosecondsUTC#
- details: IntegrationDetails#
Provider settings. Reading this field makes no request;
refreshreplaces its contents.Example
from nominal.core import OpsgenieIntegrationDetails if isinstance(integration.details, OpsgenieIntegrationDetails): print(integration.details.region)
- delete()#
Delete this notification integration.
Deleted integrations cannot be restored through this API. The local snapshot remains unchanged.
- update(*, name=None, description=None)#
Update the name or description in place.