Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class EventDeliveryConfig.
message storing the config for event delivery
Generated from protobuf message google.cloud.visionai.v1.ApplicationConfigs.EventDeliveryConfig
Namespace
Google \ Cloud \ VisionAI \ V1 \ ApplicationConfigsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ channel |
string
The delivery channel for the event notification, only pub/sub topic is supported now. Example channel: [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic] |
↳ minimal_delivery_interval |
Google\Protobuf\Duration
The expected delivery interval for the same event. The same event won't be notified multiple times during this internal event that it is happening multiple times during the period of time.The same event is identified by <event_id, app_platform_metadata>. |
getChannel
The delivery channel for the event notification, only pub/sub topic is supported now.
Example channel: [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
| Returns | |
|---|---|
| Type | Description |
string |
|
setChannel
The delivery channel for the event notification, only pub/sub topic is supported now.
Example channel: [//pubsub.googleapis.com/projects/visionai-testing-stable/topics/test-topic]
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinimalDeliveryInterval
The expected delivery interval for the same event. The same event won't be notified multiple times during this internal event that it is happening multiple times during the period of time.The same event is identified by <event_id, app_platform_metadata>.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasMinimalDeliveryInterval
clearMinimalDeliveryInterval
setMinimalDeliveryInterval
The expected delivery interval for the same event. The same event won't be notified multiple times during this internal event that it is happening multiple times during the period of time.The same event is identified by <event_id, app_platform_metadata>.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|