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

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

The request to create a analysis rule.

analysis_rule_id will be generated by the server.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

↳ analysis_rule AnalysisRule

Required. The analysis rule resource to create.

getParent

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

Returns
Type Description
string

setParent

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

Parameter
Name Description
var string
Returns
Type Description
$this

getAnalysisRule

Required. The analysis rule resource to create.

Returns
Type Description
AnalysisRule|null

hasAnalysisRule

clearAnalysisRule

setAnalysisRule

Required. The analysis rule resource to create.

Parameter
Name Description
var AnalysisRule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID> Please see ContactCenterInsightsClient::locationName() for help formatting this field.

analysisRule AnalysisRule

Required. The analysis rule resource to create.

Returns
Type Description
CreateAnalysisRuleRequest