Google Cloud Contact Center Insights V1 Client - Class UpdateAnalysisRuleRequest (2.2.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class UpdateAnalysisRuleRequest.

The request to update a analysis rule.

Generated from protobuf message google.cloud.contactcenterinsights.v1.UpdateAnalysisRuleRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ analysis_rule AnalysisRule

Required. The new analysis rule.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.

getAnalysisRule

Required. The new analysis rule.

Returns
Type Description
AnalysisRule|null

hasAnalysisRule

clearAnalysisRule

setAnalysisRule

Required. The new analysis rule.

Parameter
Name Description
var AnalysisRule
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to be updated.

If the update_mask is not provided, the update will be applied to all fields.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to be updated.

If the update_mask is not provided, the update will be applied to all fields.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
analysisRule AnalysisRule

Required. The new analysis rule.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to be updated. If the update_mask is not provided, the update will be applied to all fields.

Returns
Type Description
UpdateAnalysisRuleRequest