Google Cloud Discovery Engine V1 Client - Class AlertEnrollment (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class AlertEnrollment.

The alert enrollment status.

Generated from protobuf message google.cloud.discoveryengine.v1.AlertPolicyConfig.AlertEnrollment

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ AlertPolicyConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ alert_id string

Immutable. The id of an alert.

↳ enroll_state int

Required. The enrollment status of a customer.

getAlertId

Immutable. The id of an alert.

Returns
Type Description
string

setAlertId

Immutable. The id of an alert.

Parameter
Name Description
var string
Returns
Type Description
$this

getEnrollState

Required. The enrollment status of a customer.

Returns
Type Description
int Enum of type EnrollStates.

setEnrollState

Required. The enrollment status of a customer.

Parameter
Name Description
var int

Enum of type EnrollStates.

Returns
Type Description
$this