Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AlertPolicyConfig.
The connector level alert config.
Generated from protobuf message google.cloud.discoveryengine.v1.AlertPolicyConfig
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ alert_policy_name |
string
Immutable. The fully qualified resource name of the AlertPolicy. |
↳ alert_enrollments |
array<AlertPolicyConfig\AlertEnrollment>
Optional. The enrollment states of each alert. |
getAlertPolicyName
Immutable. The fully qualified resource name of the AlertPolicy.
| Returns | |
|---|---|
| Type | Description |
string |
|
setAlertPolicyName
Immutable. The fully qualified resource name of the AlertPolicy.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAlertEnrollments
Optional. The enrollment states of each alert.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<AlertPolicyConfig\AlertEnrollment> |
|
setAlertEnrollments
Optional. The enrollment states of each alert.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AlertPolicyConfig\AlertEnrollment>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|