Cloud Functions Triggers Service, REST: Trigger.list
Retrieves the list of triggers in the specified folder.
HTTP request
GET https://serverless-triggers.api.cloud.yandex.net/triggers/v1/triggers
Query parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to list triggers in. To get a folder ID use a list request. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than Default value: 100. |
pageToken | Page token. To get the next page of results, set |
filter | A filter expression that filters triggers listed in the response. The expression must specify:
|
Response
HTTP Code: 200 - OK
{
"triggers": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"rule": {
// `triggers[].rule` includes only one of the fields `timer`, `messageQueue`, `iotMessage`, `iotBrokerMessage`, `objectStorage`, `containerRegistry`, `cloudLogs`, `logging`, `billingBudget`, `dataStream`, `mail`
"timer": {
"cronExpression": "string",
"payload": "string",
// `triggers[].rule.timer` includes only one of the fields `invokeFunction`, `invokeFunctionWithRetry`, `invokeContainerWithRetry`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string"
},
"invokeFunctionWithRetry": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainerWithRetry": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.timer`
},
"messageQueue": {
"queueId": "string",
"serviceAccountId": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
"visibilityTimeout": "string",
// `triggers[].rule.messageQueue` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string"
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string"
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.messageQueue`
},
"iotMessage": {
"registryId": "string",
"deviceId": "string",
"mqttTopic": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.iotMessage` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.iotMessage`
},
"iotBrokerMessage": {
"brokerId": "string",
"mqttTopic": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.iotBrokerMessage` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.iotBrokerMessage`
},
"objectStorage": {
"eventType": [
"string"
],
"bucketId": "string",
"prefix": "string",
"suffix": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.objectStorage` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.objectStorage`
},
"containerRegistry": {
"eventType": [
"string"
],
"registryId": "string",
"imageName": "string",
"tag": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.containerRegistry` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.containerRegistry`
},
"cloudLogs": {
"logGroupId": [
"string"
],
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.cloudLogs` includes only one of the fields `invokeFunction`, `invokeContainer`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
// end of the list of possible fields`triggers[].rule.cloudLogs`
},
"logging": {
"logGroupId": "string",
"resourceType": [
"string"
],
"resourceId": [
"string"
],
"streamName": [
"string"
],
"levels": [
"string"
],
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.logging` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.logging`
},
"billingBudget": {
"billingAccountId": "string",
"budgetId": "string",
// `triggers[].rule.billingBudget` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.billingBudget`
},
"dataStream": {
"endpoint": "string",
"database": "string",
"stream": "string",
"serviceAccountId": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
// `triggers[].rule.dataStream` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.dataStream`
},
"mail": {
"email": "string",
"batchSettings": {
"size": "string",
"cutoff": "string"
},
"attachmentsBucket": {
"bucketId": "string",
"serviceAccountId": "string"
},
// `triggers[].rule.mail` includes only one of the fields `invokeFunction`, `invokeContainer`, `gatewayWebsocketBroadcast`
"invokeFunction": {
"functionId": "string",
"functionTag": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"invokeContainer": {
"containerId": "string",
"path": "string",
"serviceAccountId": "string",
"retrySettings": {
"retryAttempts": "string",
"interval": "string"
},
"deadLetterQueue": {
"queueId": "string",
"serviceAccountId": "string"
}
},
"gatewayWebsocketBroadcast": {
"gatewayId": "string",
"path": "string",
"serviceAccountId": "string"
},
// end of the list of possible fields`triggers[].rule.mail`
},
// end of the list of possible fields`triggers[].rule`
},
"status": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
triggers[] | object List of triggers in the specified folder. |
triggers[]. id |
string ID of the trigger. Generated at creation time. |
triggers[]. folderId |
string Required. ID of the folder that the trigger belongs to. The maximum string length in characters is 50. |
triggers[]. createdAt |
string (date-time) Creation timestamp for the trigger. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
triggers[]. name |
string Name of the trigger. The string length in characters must be 3-63. |
triggers[]. description |
string Description of the trigger. The string length in characters must be 0-256. |
triggers[]. labels |
object Trigger labels as |
triggers[]. rule |
object Required. Rule for trigger activation (always consistent with the trigger type). Description of a rule for trigger activation. |
triggers[]. rule. timer |
object Rule for a timed trigger. triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. timer. cronExpression |
string Required. Description of a schedule as a cron expression. The maximum string length in characters is 100. |
triggers[]. rule. timer. payload |
string Payload to be passed to function. The maximum string length in characters is 4096. |
triggers[]. rule. timer. invokeFunction |
object Instructions for invoking a function once. triggers[].rule.timer includes only one of the fields invokeFunction , invokeFunctionWithRetry , invokeContainerWithRetry , gatewayWebsocketBroadcast |
triggers[]. rule. timer. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. timer. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. timer. invokeFunction. serviceAccountId |
string ID of the service account that should be used to invoke the function. |
triggers[]. rule. timer. invokeFunctionWithRetry |
object Instructions for invoking a function with retry. triggers[].rule.timer includes only one of the fields invokeFunction , invokeFunctionWithRetry , invokeContainerWithRetry , gatewayWebsocketBroadcast |
triggers[]. rule. timer. invokeFunctionWithRetry. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. timer. invokeFunctionWithRetry. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. timer. invokeFunctionWithRetry. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. timer. invokeFunctionWithRetry. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. timer. invokeFunctionWithRetry. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. timer. invokeFunctionWithRetry. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. timer. invokeFunctionWithRetry. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. timer. invokeFunctionWithRetry. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. timer. invokeFunctionWithRetry. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. timer. invokeContainerWithRetry |
object Instructions for invoking a container with retry. triggers[].rule.timer includes only one of the fields invokeFunction , invokeFunctionWithRetry , invokeContainerWithRetry , gatewayWebsocketBroadcast |
triggers[]. rule. timer. invokeContainerWithRetry. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. timer. invokeContainerWithRetry. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. timer. invokeContainerWithRetry. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. timer. invokeContainerWithRetry. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. timer. invokeContainerWithRetry. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. timer. invokeContainerWithRetry. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. timer. invokeContainerWithRetry. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. timer. invokeContainerWithRetry. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. timer. invokeContainerWithRetry. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. timer. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.timer includes only one of the fields invokeFunction , invokeFunctionWithRetry , invokeContainerWithRetry , gatewayWebsocketBroadcast |
triggers[]. rule. timer. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. timer. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. timer. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. messageQueue |
object Rule for a message queue trigger. triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. messageQueue. queueId |
string Required. ID of the message queue in Message Queue. |
triggers[]. rule. messageQueue. serviceAccountId |
string Required. ID of the service account which has read access to the message queue. The maximum string length in characters is 50. |
triggers[]. rule. messageQueue. batchSettings |
object Required. Batch settings for processing messages in the queue. |
triggers[]. rule. messageQueue. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. messageQueue. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. messageQueue. visibilityTimeout |
string Queue visibility timeout override. The maximum value is 43200 seconds. |
triggers[]. rule. messageQueue. invokeFunction |
object Instructions for invoking a function once. triggers[].rule.messageQueue includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. messageQueue. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. messageQueue. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. messageQueue. invokeFunction. serviceAccountId |
string ID of the service account that should be used to invoke the function. |
triggers[]. rule. messageQueue. invokeContainer |
object Instructions for invoking a container once. triggers[].rule.messageQueue includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. messageQueue. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. messageQueue. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. messageQueue. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. messageQueue. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.messageQueue includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. messageQueue. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. messageQueue. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. messageQueue. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. iotMessage |
object Rule for a IoT Core trigger. triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. iotMessage. registryId |
string Required. ID of the IoT Core registry. |
triggers[]. rule. iotMessage. deviceId |
string ID of the IoT Core device in the registry. |
triggers[]. rule. iotMessage. mqttTopic |
string MQTT topic whose messages activate the trigger. |
triggers[]. rule. iotMessage. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. iotMessage. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. iotMessage. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. iotMessage. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.iotMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotMessage. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. iotMessage. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. iotMessage. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. iotMessage. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. iotMessage. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. iotMessage. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. iotMessage. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. iotMessage. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. iotMessage. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. iotMessage. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.iotMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotMessage. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. iotMessage. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. iotMessage. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. iotMessage. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. iotMessage. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. iotMessage. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. iotMessage. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. iotMessage. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. iotMessage. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. iotMessage. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.iotMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotMessage. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. iotMessage. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. iotMessage. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail Rule for activating a IoT Core Broker trigger. |
triggers[]. rule. iotBrokerMessage. brokerId |
string Required. ID of the IoT Core broker. |
triggers[]. rule. iotBrokerMessage. mqttTopic |
string MQTT topic whose messages activate the trigger. |
triggers[]. rule. iotBrokerMessage. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. iotBrokerMessage. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. iotBrokerMessage. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. iotBrokerMessage. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.iotBrokerMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotBrokerMessage. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. iotBrokerMessage. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. iotBrokerMessage. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. iotBrokerMessage. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. iotBrokerMessage. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. iotBrokerMessage. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. iotBrokerMessage. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. iotBrokerMessage. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.iotBrokerMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotBrokerMessage. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. iotBrokerMessage. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. iotBrokerMessage. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. iotBrokerMessage. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. iotBrokerMessage. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. iotBrokerMessage. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. iotBrokerMessage. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. iotBrokerMessage. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.iotBrokerMessage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. iotBrokerMessage. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. iotBrokerMessage. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. iotBrokerMessage. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. objectStorage |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. objectStorage. eventType[] |
string Required. Type (name) of events, at least one value is required. Must contain at least one element. |
triggers[]. rule. objectStorage. bucketId |
string ID of the bucket. |
triggers[]. rule. objectStorage. prefix |
string Prefix of the object key. Filter, optional. |
triggers[]. rule. objectStorage. suffix |
string Suffix of the object key. Filter, optional. |
triggers[]. rule. objectStorage. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. objectStorage. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. objectStorage. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. objectStorage. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.objectStorage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. objectStorage. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. objectStorage. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. objectStorage. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. objectStorage. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. objectStorage. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. objectStorage. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. objectStorage. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. objectStorage. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. objectStorage. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. objectStorage. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.objectStorage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. objectStorage. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. objectStorage. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. objectStorage. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. objectStorage. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. objectStorage. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. objectStorage. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. objectStorage. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. objectStorage. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. objectStorage. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. objectStorage. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.objectStorage includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. objectStorage. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. objectStorage. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. objectStorage. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. containerRegistry. eventType[] |
string Required. Type (name) of events, at least one value is required. Must contain at least one element. |
triggers[]. rule. containerRegistry. registryId |
string ID of the registry. |
triggers[]. rule. containerRegistry. imageName |
string Docker-image name. Filter, optional. |
triggers[]. rule. containerRegistry. tag |
string Docker-image tag. Filter, optional. |
triggers[]. rule. containerRegistry. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. containerRegistry. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. containerRegistry. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. containerRegistry. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.containerRegistry includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. containerRegistry. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. containerRegistry. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. containerRegistry. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. containerRegistry. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. containerRegistry. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. containerRegistry. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. containerRegistry. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. containerRegistry. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.containerRegistry includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. containerRegistry. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. containerRegistry. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. containerRegistry. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. containerRegistry. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. containerRegistry. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. containerRegistry. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. containerRegistry. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. containerRegistry. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.containerRegistry includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. containerRegistry. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. containerRegistry. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. containerRegistry. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. cloudLogs |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. cloudLogs. logGroupId[] |
string Log group identifiers, at least one value is required. |
triggers[]. rule. cloudLogs. batchSettings |
object Required. Batch settings for processing log events. |
triggers[]. rule. cloudLogs. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the log group reaches Acceptable values are 0 to 100, inclusive. |
triggers[]. rule. cloudLogs. batchSettings. cutoff |
string Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the log group reaches Acceptable values are 1 seconds to 60 seconds, inclusive. |
triggers[]. rule. cloudLogs. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.cloudLogs includes only one of the fields invokeFunction , invokeContainer |
triggers[]. rule. cloudLogs. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. cloudLogs. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. cloudLogs. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. cloudLogs. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. cloudLogs. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. cloudLogs. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. cloudLogs. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. cloudLogs. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. cloudLogs. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. cloudLogs. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.cloudLogs includes only one of the fields invokeFunction , invokeContainer |
triggers[]. rule. cloudLogs. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. cloudLogs. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. cloudLogs. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. cloudLogs. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. cloudLogs. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. cloudLogs. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. cloudLogs. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. cloudLogs. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. cloudLogs. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. logging |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. logging. logGroupId |
string Log events filter settings. The maximum string length in characters is 50. |
triggers[]. rule. logging. resourceType[] |
string The maximum number of elements is 100. Each value must match the regular expression |
triggers[]. rule. logging. resourceId[] |
string The maximum number of elements is 100. Each value must match the regular expression |
triggers[]. rule. logging. streamName[] |
string The maximum number of elements is 100. Each value must match the regular expression |
triggers[]. rule. logging. levels[] |
string The maximum number of elements is 10.
|
triggers[]. rule. logging. batchSettings |
object Required. Batch settings for processing log events. |
triggers[]. rule. logging. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the associated function when the number of log events reaches this value, or the Acceptable values are 1 to 1000, inclusive. |
triggers[]. rule. logging. batchSettings. cutoff |
string Maximum wait time. Trigger will send the batch of messages the time since the last batch exceeds the Acceptable values are 1 seconds to 60 seconds, inclusive. |
triggers[]. rule. logging. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.logging includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. logging. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. logging. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. logging. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. logging. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. logging. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. logging. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. logging. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. logging. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. logging. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. logging. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.logging includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. logging. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. logging. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. logging. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. logging. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. logging. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. logging. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. logging. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. logging. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. logging. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. logging. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.logging includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. logging. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. logging. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. logging. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. billingBudget |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. billingBudget. billingAccountId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. budgetId |
string The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.billingBudget includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. billingBudget. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. billingBudget. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. billingBudget. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. billingBudget. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. billingBudget. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. billingBudget. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. billingBudget. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. billingBudget. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.billingBudget includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. billingBudget. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. billingBudget. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. billingBudget. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. billingBudget. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. billingBudget. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. billingBudget. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. billingBudget. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. billingBudget. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.billingBudget includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. billingBudget. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. billingBudget. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. billingBudget. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. dataStream |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. dataStream. endpoint |
string Data stream endpoint. |
triggers[]. rule. dataStream. database |
string Data stream database. |
triggers[]. rule. dataStream. stream |
string Stream name. |
triggers[]. rule. dataStream. serviceAccountId |
string ID of the service account which has permission to read data stream. |
triggers[]. rule. dataStream. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. dataStream. batchSettings. size |
string (int64) Batch size in bytes. Trigger will send the batch of messages to the associated function when size of log events reaches this value, or the Acceptable values are 1 to 65536, inclusive. |
triggers[]. rule. dataStream. batchSettings. cutoff |
string Maximum wait time. Trigger will send the batch of messages the time since the last batch exceeds the Acceptable values are 1 seconds to 60 seconds, inclusive. |
triggers[]. rule. dataStream. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.dataStream includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. dataStream. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. dataStream. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. dataStream. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. dataStream. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. dataStream. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. dataStream. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. dataStream. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. dataStream. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. dataStream. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. dataStream. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.dataStream includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. dataStream. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. dataStream. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. dataStream. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. dataStream. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. dataStream. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. dataStream. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. dataStream. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. dataStream. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. dataStream. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. dataStream. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.dataStream includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. dataStream. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. dataStream. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. dataStream. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. rule. |
object triggers[].rule includes only one of the fields timer , messageQueue , iotMessage , iotBrokerMessage , objectStorage , containerRegistry , cloudLogs , logging , billingBudget , dataStream , mail |
triggers[]. rule. mail. |
string Address to receive emails for trigger activation. Field is ignored for write requests and populated on trigger creation. |
triggers[]. rule. mail. batchSettings |
object Batch settings for processing events. |
triggers[]. rule. mail. batchSettings. size |
string (int64) Batch size. Trigger will send the batch of messages to the function when the number of messages in the queue reaches Acceptable values are 0 to 1000, inclusive. |
triggers[]. rule. mail. batchSettings. cutoff |
string Required. Maximum wait time. Trigger will send the batch of messages to the function when the number of messages in the queue reaches |
triggers[]. rule. mail. attachmentsBucket |
object Bucket settings for saving attachments. |
triggers[]. rule. mail. attachmentsBucket. bucketId |
string Bucket for saving. The string length in characters must be 3-63. Value must match the regular expression |
triggers[]. rule. mail. attachmentsBucket. serviceAccountId |
string Required. SA which has write permission on storage. The maximum string length in characters is 50. |
triggers[]. rule. mail. invokeFunction |
object Instructions for invoking a function with retries as needed. triggers[].rule.mail includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. mail. invokeFunction. functionId |
string Required. ID of the function to invoke. The maximum string length in characters is 50. |
triggers[]. rule. mail. invokeFunction. functionTag |
string Version tag of the function to execute. |
triggers[]. rule. mail. invokeFunction. serviceAccountId |
string ID of the service account which has permission to invoke the function. |
triggers[]. rule. mail. invokeFunction. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. mail. invokeFunction. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. mail. invokeFunction. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. mail. invokeFunction. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. mail. invokeFunction. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. mail. invokeFunction. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. mail. invokeContainer |
object Instructions for invoking a container with retries as needed. triggers[].rule.mail includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. mail. invokeContainer. containerId |
string Required. ID of the container to invoke. The maximum string length in characters is 50. |
triggers[]. rule. mail. invokeContainer. path |
string Endpoint HTTP path to invoke. |
triggers[]. rule. mail. invokeContainer. serviceAccountId |
string ID of the service account which has permission to invoke the container. |
triggers[]. rule. mail. invokeContainer. retrySettings |
object Retry policy. If the field is not specified, or the value is empty, no retries will be attempted. Settings for retrying to invoke a function. |
triggers[]. rule. mail. invokeContainer. retrySettings. retryAttempts |
string (int64) Maximum number of retries (extra invokes) before the action is considered failed. Acceptable values are 1 to 5, inclusive. |
triggers[]. rule. mail. invokeContainer. retrySettings. interval |
string Required. Time in seconds to wait between individual retries. Acceptable values are 10 seconds to 60 seconds, inclusive. |
triggers[]. rule. mail. invokeContainer. deadLetterQueue |
object DLQ policy (no value means discarding a message). |
triggers[]. rule. mail. invokeContainer. deadLetterQueue. queueId |
string ID of the queue. |
triggers[]. rule. mail. invokeContainer. deadLetterQueue. serviceAccountId |
string Required. Service account which has write permission on the queue. The maximum string length in characters is 50. |
triggers[]. rule. mail. gatewayWebsocketBroadcast |
object Instructions for broadcasting to API gateway websocket once. triggers[].rule.mail includes only one of the fields invokeFunction , invokeContainer , gatewayWebsocketBroadcast |
triggers[]. rule. mail. gatewayWebsocketBroadcast. gatewayId |
string Required. The maximum string length in characters is 50. |
triggers[]. rule. mail. gatewayWebsocketBroadcast. path |
string Required. |
triggers[]. rule. mail. gatewayWebsocketBroadcast. serviceAccountId |
string Required. sa which has permission for writing to websockets The maximum string length in characters is 50. |
triggers[]. status |
string Trigger status. |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize, use Each subsequent page will have its own |