# \GcpTriggerApi
All URIs are relative to */api*
[**create_gcp_trigger**](GcpTriggerApi.md#create_gcp_trigger) | **POST** /w/{workspace}/gcp_triggers/create | create gcp trigger
[**delete_gcp_subscription**](GcpTriggerApi.md#delete_gcp_subscription) | **DELETE** /w/{workspace}/gcp_triggers/subscriptions/delete/{path} | delete gcp trigger
[**delete_gcp_trigger**](GcpTriggerApi.md#delete_gcp_trigger) | **DELETE** /w/{workspace}/gcp_triggers/delete/{path} | delete gcp trigger
[**exists_gcp_trigger**](GcpTriggerApi.md#exists_gcp_trigger) | **GET** /w/{workspace}/gcp_triggers/exists/{path} | does gcp trigger exists
[**get_gcp_trigger**](GcpTriggerApi.md#get_gcp_trigger) | **GET** /w/{workspace}/gcp_triggers/get/{path} | get gcp trigger
[**list_all_t_google_topic_subscriptions**](GcpTriggerApi.md#list_all_t_google_topic_subscriptions) | **POST** /w/{workspace}/gcp_triggers/subscriptions/list/{path} | list all subscription of a give topic from google cloud service
[**list_gcp_triggers**](GcpTriggerApi.md#list_gcp_triggers) | **GET** /w/{workspace}/gcp_triggers/list | list gcp triggers
[**list_google_topics**](GcpTriggerApi.md#list_google_topics) | **GET** /w/{workspace}/gcp_triggers/topics/list/{path} | list all topics of google cloud service
[**set_gcp_trigger_mode**](GcpTriggerApi.md#set_gcp_trigger_mode) | **POST** /w/{workspace}/gcp_triggers/setmode/{path} | set enabled gcp trigger
[**test_gcp_connection**](GcpTriggerApi.md#test_gcp_connection) | **POST** /w/{workspace}/gcp_triggers/test | test gcp connection
[**update_gcp_trigger**](GcpTriggerApi.md#update_gcp_trigger) | **POST** /w/{workspace}/gcp_triggers/update/{path} | update gcp trigger
## create_gcp_trigger
> String create_gcp_trigger(workspace, gcp_trigger_data)
create gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**gcp_trigger_data** | [**GcpTriggerData**](GcpTriggerData.md) | new gcp trigger | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_gcp_subscription
> String delete_gcp_subscription(workspace, path, delete_gcp_subscription)
delete gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**delete_gcp_subscription** | [**DeleteGcpSubscription**](DeleteGcpSubscription.md) | args to delete subscription from google cloud | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## delete_gcp_trigger
> String delete_gcp_trigger(workspace, path)
delete gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## exists_gcp_trigger
> bool exists_gcp_trigger(workspace, path)
does gcp trigger exists
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**bool**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## get_gcp_trigger
> models::GcpTrigger get_gcp_trigger(workspace, path)
get gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
[**models::GcpTrigger**](GcpTrigger.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_all_t_google_topic_subscriptions
> Vec<String> list_all_t_google_topic_subscriptions(workspace, path, get_all_topic_subscription)
list all subscription of a give topic from google cloud service
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**get_all_topic_subscription** | [**GetAllTopicSubscription**](GetAllTopicSubscription.md) | args to get subscription's topic from google cloud | [required] |
### Return type
**Vec<String>**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_gcp_triggers
> Vec<models::GcpTrigger> list_gcp_triggers(workspace, page, per_page, path, is_flow, path_start, label)
list gcp triggers
### Parameters
**workspace** | **String** | | [required] |
**page** | Option<**i32**> | which page to return (start at 1, default 1) | |
**per_page** | Option<**i32**> | number of items to return for a given page (default 30, max 100) | |
**path** | Option<**String**> | filter by path | |
**is_flow** | Option<**bool**> | | |
**path_start** | Option<**String**> | | |
**label** | Option<**String**> | Filter by label | |
### Return type
[**Vec<models::GcpTrigger>**](GcpTrigger.md)
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## list_google_topics
> Vec<String> list_google_topics(workspace, path)
list all topics of google cloud service
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
### Return type
**Vec<String>**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## set_gcp_trigger_mode
> String set_gcp_trigger_mode(workspace, path, set_http_trigger_mode_request)
set enabled gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**set_http_trigger_mode_request** | [**SetHttpTriggerModeRequest**](SetHttpTriggerModeRequest.md) | updated gcp trigger enable | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## test_gcp_connection
> String test_gcp_connection(workspace, test_kafka_connection_request)
test gcp connection
### Parameters
**workspace** | **String** | | [required] |
**test_kafka_connection_request** | [**TestKafkaConnectionRequest**](TestKafkaConnectionRequest.md) | test gcp connection | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
## update_gcp_trigger
> String update_gcp_trigger(workspace, path, gcp_trigger_data)
update gcp trigger
### Parameters
**workspace** | **String** | | [required] |
**path** | **String** | | [required] |
**gcp_trigger_data** | [**GcpTriggerData**](GcpTriggerData.md) | updated trigger | [required] |
### Return type
**String**
### Authorization
[cookieAuth](../README.md#cookieAuth), [bearerAuth](../README.md#bearerAuth)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: text/plain
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)