# GcpTrigger
## Properties
**gcp_resource_path** | **String** | Path to the GCP resource containing service account credentials for authentication. |
**topic_id** | **String** | Google Cloud Pub/Sub topic ID to subscribe to. |
**subscription_id** | **String** | Google Cloud Pub/Sub subscription ID. |
**server_id** | Option<**String**> | ID of the server currently handling this trigger (internal use). | [optional]
**delivery_type** | [**models::DeliveryType**](DeliveryType.md) | |
**delivery_config** | Option<[**models::PushConfig**](PushConfig.md)> | | [optional]
**subscription_mode** | [**models::SubscriptionMode**](SubscriptionMode.md) | |
**last_server_ping** | Option<**String**> | Timestamp of last server heartbeat (internal use). | [optional]
**error** | Option<**String**> | Last error message if the trigger failed. | [optional]
**error_handler_path** | Option<**String**> | Path to a script or flow to run when the triggered job fails. | [optional]
**error_handler_args** | Option<[**std::collections::HashMap<String, serde_json::Value>**](serde_json::Value.md)> | The arguments to pass to the script or flow | [optional]
**retry** | Option<[**models::Retry**](Retry.md)> | | [optional]
**path** | **String** | The unique path identifier for this trigger |
**script_path** | **String** | Path to the script or flow to execute when triggered |
**permissioned_as** | **String** | The user or group this trigger runs as (permissioned_as) |
**extra_perms** | **std::collections::HashMap<String, bool>** | Additional permissions for this trigger |
**workspace_id** | **String** | The workspace this trigger belongs to |
**edited_by** | **String** | Username of the last person who edited this trigger |
**edited_at** | **String** | Timestamp of the last edit |
**is_flow** | **bool** | True if script_path points to a flow, false if it points to a script |
**mode** | [**models::TriggerMode**](TriggerMode.md) | |
**labels** | Option<**Vec<String>**> | | [optional][default to []]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)