Google Cloud Contact Center Insights V1 Client - Class CreateAnalysisRequest (1.8.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
NameDescription
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
TypeDescription
string

setParent

Required. The parent resource of the analysis.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnalysis

Required. The analysis to create.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\Analysis|null

hasAnalysis

clearAnalysis

setAnalysis

Required. The analysis to create.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\Analysis
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\ContactCenterInsights\V1\CreateAnalysisRequest