snowflake.core.notification_integration.NotificationQueueGcpPubsubInbound¶

class snowflake.core.notification_integration.NotificationQueueGcpPubsubInbound(*, gcp_pubsub_subscription_name: Annotated[str, Strict(strict=True)] | None = None, gcp_pubsub_service_account: Annotated[str, Strict(strict=True)] | None = None)¶

Bases: NotificationHook

A model object representing the NotificationQueueGcpPubsubInbound resource.

Constructs an object of type NotificationQueueGcpPubsubInbound with the provided properties.

Parameters:
  • gcp_pubsub_subscription_name (str, optional) – Pub/Sub topic subscription ID used to allow Snowflake access to event messages.

  • gcp_pubsub_service_account (str, optional) – Google Cloud Platform (GCP) service account created for your account.

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

Methods

classmethod from_dict(obj: dict) → NotificationQueueGcpPubsubInbound¶

Create an instance of NotificationQueueGcpPubsubInbound from a dict.

classmethod from_json(json_str: str) → NotificationQueueGcpPubsubInbound¶

Create an instance of NotificationQueueGcpPubsubInbound from a JSON string.

to_dict()¶

Returns the dictionary representation of the model using alias.

to_json() → str¶

Returns the JSON representation of the model using alias.

to_str() → str¶

Returns the string representation of the model using alias.