Reference documentation and code samples for the Google Cloud Design Center V1 Client class ScoreCard.
Score card associated with the report.
Generated from protobuf message google.cloud.designcenter.v1.ScoreCard
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ report_score |
int
Required. Calculated score of the report. |
↳ max_score |
int
Required. Maximum score of the report. For example, for a score of 75/100, report_score is 75 and max_score is 100. |
↳ min_score_required |
int
Optional. Minimum score required to pass assessment. |
↳ average_score |
int
Optional. Average score for similar reports. |
getReportScore
Required. Calculated score of the report.
| Returns | |
|---|---|
| Type | Description |
int |
|
setReportScore
Required. Calculated score of the report.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaxScore
Required. Maximum score of the report.
For example, for a score of 75/100, report_score is 75 and max_score is 100.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaxScore
Required. Maximum score of the report.
For example, for a score of 75/100, report_score is 75 and max_score is 100.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMinScoreRequired
Optional. Minimum score required to pass assessment.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMinScoreRequired
Optional. Minimum score required to pass assessment.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAverageScore
Optional. Average score for similar reports.
| Returns | |
|---|---|
| Type | Description |
int |
|
setAverageScore
Optional. Average score for similar reports.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|