v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1380629577.7 KB
projects

Create a QaScorecard.

post/v1/{+parent}/qaScorecards

Path parameters

parentstring required

Required. The parent resource of the QaScorecard.

Query parameters

qaScorecardIdstring

Optional. A unique ID for the new QaScorecard. This ID will become the final component of the QaScorecard's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z0-9-]{4,64}$. Valid characters are a-z-.

Request body

updateTimestring google-datetime

Output only. The most recent time at which the scorecard was updated.

source'QA_SCORECARD_SOURCE_UNSPECIFIED' | 'QA_SCORECARD_SOURCE_CUSTOMER_DEFINED' | 'QA_SCORECARD_SOURCE_DISCOVERY_ENGINE'

Output only. The source of the scorecard.

namestring

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

createTimestring google-datetime

Output only. The time at which this scorecard was created.

displayNamestring

The user-specified display name of the scorecard.

isDefaultboolean

Whether the scorecard is the default one for the project. A default scorecard cannot be deleted and will always appear first in scorecard selector.

descriptionstring

A text description explaining the intent of the scorecard.

Response

Successful response