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

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

A revision of a QaScorecard.

Modifying published scorecard fields would invalidate existing scorecard results — the questions may have changed, or the score weighting will make existing scores impossible to understand. So changes must create a new revision, rather than modifying the existing resource.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. The name of the scorecard revision. Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}

↳ snapshot QaScorecard

The snapshot of the scorecard at the time of this revision's creation.

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp that the revision was created.

↳ alternate_ids array

Output only. Alternative IDs for this revision of the scorecard, e.g., latest.

↳ state int

Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.

getName

Identifier. The name of the scorecard revision.

Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}

Returns
Type Description
string

setName

Identifier. The name of the scorecard revision.

Format: projects/{project}/locations/{location}/qaScorecards/{qa_scorecard}/revisions/{revision}

Parameter
Name Description
var string
Returns
Type Description
$this

getSnapshot

The snapshot of the scorecard at the time of this revision's creation.

Returns
Type Description
QaScorecard|null

hasSnapshot

clearSnapshot

setSnapshot

The snapshot of the scorecard at the time of this revision's creation.

Parameter
Name Description
var QaScorecard
Returns
Type Description
$this

getCreateTime

Output only. The timestamp that the revision was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp that the revision was created.

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

getAlternateIds

Output only. Alternative IDs for this revision of the scorecard, e.g., latest.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAlternateIds

Output only. Alternative IDs for this revision of the scorecard, e.g., latest.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getState

Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.

Returns
Type Description
int

setState

Output only. State of the scorecard revision, indicating whether it's ready to be used in analysis.

Parameter
Name Description
var int
Returns
Type Description
$this