ApproveIssue approves the issue. The access is based on approval flow. Permissions required: None
{
"approval": {
"approvalTemplates": [
{
"flow": {
"steps": [
{
"type": "TYPE_UNSPECIFIED",
"nodes": [
{
"type": "TYPE_UNSPECIFIED",
"role": "<string>"
}
]
}
]
},
"title": "<string>",
"description": "<string>"
}
],
"approvers": [
{
"status": "STATUS_UNSPECIFIED",
"principalId": 123
}
],
"approvalFindingDone": true,
"approvalFindingError": "<string>",
"riskLevel": "RISK_LEVEL_UNSPECIFIED"
},
"grantRequest": {
"role": "<string>",
"user": "<string>",
"condition": {
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
},
"expiration": "<string>"
},
"labels": [
"<string>"
]
}
OK
The response is of type object
.
Was this page helpful?
{
"approval": {
"approvalTemplates": [
{
"flow": {
"steps": [
{
"type": "TYPE_UNSPECIFIED",
"nodes": [
{
"type": "TYPE_UNSPECIFIED",
"role": "<string>"
}
]
}
]
},
"title": "<string>",
"description": "<string>"
}
],
"approvers": [
{
"status": "STATUS_UNSPECIFIED",
"principalId": 123
}
],
"approvalFindingDone": true,
"approvalFindingError": "<string>",
"riskLevel": "RISK_LEVEL_UNSPECIFIED"
},
"grantRequest": {
"role": "<string>",
"user": "<string>",
"condition": {
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
},
"expiration": "<string>"
},
"labels": [
"<string>"
]
}
ApproveIssue approves the issue. The access is based on approval flow. Permissions required: None
{
"approval": {
"approvalTemplates": [
{
"flow": {
"steps": [
{
"type": "TYPE_UNSPECIFIED",
"nodes": [
{
"type": "TYPE_UNSPECIFIED",
"role": "<string>"
}
]
}
]
},
"title": "<string>",
"description": "<string>"
}
],
"approvers": [
{
"status": "STATUS_UNSPECIFIED",
"principalId": 123
}
],
"approvalFindingDone": true,
"approvalFindingError": "<string>",
"riskLevel": "RISK_LEVEL_UNSPECIFIED"
},
"grantRequest": {
"role": "<string>",
"user": "<string>",
"condition": {
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
},
"expiration": "<string>"
},
"labels": [
"<string>"
]
}
OK
The response is of type object
.
Was this page helpful?
{
"approval": {
"approvalTemplates": [
{
"flow": {
"steps": [
{
"type": "TYPE_UNSPECIFIED",
"nodes": [
{
"type": "TYPE_UNSPECIFIED",
"role": "<string>"
}
]
}
]
},
"title": "<string>",
"description": "<string>"
}
],
"approvers": [
{
"status": "STATUS_UNSPECIFIED",
"principalId": 123
}
],
"approvalFindingDone": true,
"approvalFindingError": "<string>",
"riskLevel": "RISK_LEVEL_UNSPECIFIED"
},
"grantRequest": {
"role": "<string>",
"user": "<string>",
"condition": {
"id": "<string>",
"constExpr": {
"nullValue": "NULL_VALUE",
"boolValue": true,
"int64Value": "<string>",
"uint64Value": "<string>",
"doubleValue": 123,
"stringValue": "<string>",
"bytesValue": "<string>",
"durationValue": "<string>",
"timestampValue": "2023-11-07T05:31:56Z"
},
"identExpr": {
"name": "<string>"
},
"selectExpr": {
"operand": {},
"field": "<string>",
"testOnly": true
},
"callExpr": {
"target": {},
"function": "<string>",
"args": [
{}
]
},
"listExpr": {
"elements": [
{}
],
"optionalIndices": [
123
]
},
"structExpr": {
"messageName": "<string>",
"entries": [
{
"id": "<string>",
"fieldKey": "<string>",
"mapKey": {},
"value": {},
"optionalEntry": true
}
]
},
"comprehensionExpr": {
"iterVar": "<string>",
"iterRange": {},
"accuVar": "<string>",
"accuInit": {},
"loopCondition": {},
"loopStep": {},
"result": {}
}
},
"expiration": "<string>"
},
"labels": [
"<string>"
]
}