curl --request GET \
--url https://api.example.com/v1/reviewConfigs/{reviewConfig}{
"name": "<string>",
"title": "<string>",
"enabled": true,
"rules": [
{
"type": "TYPE_UNSPECIFIED",
"level": "LEVEL_UNSPECIFIED",
"namingPayload": {
"maxLength": 123,
"format": "<string>"
},
"numberPayload": {
"number": 123
},
"stringArrayPayload": {
"list": [
"<string>"
]
},
"commentConventionPayload": {
"required": true,
"maxLength": 123
},
"stringPayload": {
"value": "<string>"
},
"namingCasePayload": {
"upper": true
},
"engine": "ENGINE_UNSPECIFIED"
}
],
"resources": [
"<string>"
]
}Retrieves a SQL review configuration by name. Permissions required: bb.reviewConfigs.get
curl --request GET \
--url https://api.example.com/v1/reviewConfigs/{reviewConfig}{
"name": "<string>",
"title": "<string>",
"enabled": true,
"rules": [
{
"type": "TYPE_UNSPECIFIED",
"level": "LEVEL_UNSPECIFIED",
"namingPayload": {
"maxLength": 123,
"format": "<string>"
},
"numberPayload": {
"number": 123
},
"stringArrayPayload": {
"list": [
"<string>"
]
},
"commentConventionPayload": {
"required": true,
"maxLength": 123
},
"stringPayload": {
"value": "<string>"
},
"namingCasePayload": {
"upper": true
},
"engine": "ENGINE_UNSPECIFIED"
}
],
"resources": [
"<string>"
]
}The reviewConfig id.
OK
The name of the SQL review config. Format: reviewConfigs/{reviewConfig}
The title of the review configuration.
Whether the review configuration is enabled.
The SQL review rules to enforce.
Show child attributes
Resources using the config. Format: {resource}/{resource id}, e.g., environments/test.
Was this page helpful?