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(hide_readonly_properties: bool = False) Dict[str, Any] ΒΆ
Returns the dictionary representation of the model using alias.
- to_dict_without_readonly_properties() Dict[str, Any] ΒΆ
Return the dictionary representation of the model without readonly properties.
- to_json() str ΒΆ
Returns the JSON representation of the model using alias.
- to_str() str ΒΆ
Returns the string representation of the model using alias.