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

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 Google\Cloud\ContactCenterInsights\V1\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
Google\Cloud\ContactCenterInsights\V1\Analysis|null

hasAnalysis

clearAnalysis

setAnalysis

Required. The analysis to create.

Parameter
Name Description
var Google\Cloud\ContactCenterInsights\V1\Analysis
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

analysis Google\Cloud\ContactCenterInsights\V1\Analysis

Required. The analysis to create.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\CreateAnalysisRequest