Google Cloud Contact Center Insights V1 Client - Class CreateAnalysisRequest (2.2.1)

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

The request to create an analysis.

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

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.

↳ analysis Analysis

Required. The analysis to create.

getParent

Required. The parent resource of the analysis.

Returns
Type Description
string

setParent

Required. The parent resource of the analysis.

Parameter
Name Description
var string
Returns
Type Description
$this

getAnalysis

Required. The analysis to create.

Returns
Type Description
Analysis|null

hasAnalysis

clearAnalysis

setAnalysis

Required. The analysis to create.

Parameter
Name Description
var Analysis
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource of the analysis. Please see ContactCenterInsightsClient::conversationName() for help formatting this field.

analysis Analysis

Required. The analysis to create.

Returns
Type Description
CreateAnalysisRequest