Skip to main content
PATCH
/
v1
/
projects
/
{project}
/
issues
/
{issue}
{
  "approval": {
    "approvalTemplate": {
      "id": "<string>",
      "flow": {
        "roles": [
          "<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>",
        "iterVar2": "<string>",
        "iterRange": {},
        "accuVar": "<string>",
        "accuInit": {},
        "loopCondition": {},
        "loopStep": {},
        "result": {}
      }
    },
    "expiration": "<string>"
  },
  "labels": [
    "<string>"
  ]
}

Path Parameters

project
string
required

The project id.

issue
string
required

The issue id.

Query Parameters

updateMask
string<field-mask>

The list of fields to update.

allowMissing
boolean

If set to true, and the issue is not found, a new issue will be created. In this situation, update_mask is ignored.

Body

application/json

Issue is the metadata for issues that track database operations and access requests.

approval
object

Approval information for the issue workflow. IssuePayloadApproval records the approval template used and approval history for an issue.

grantRequest
object

Access grant request details if this is a grant request issue. GrantRequest contains details for requesting database access permissions.

labels
string[]

Labels attached to categorize and filter the issue.

Response

OK

Issue is the metadata for issues that track database operations and access requests.

approval
object

Approval information for the issue workflow. IssuePayloadApproval records the approval template used and approval history for an issue.

grantRequest
object

Access grant request details if this is a grant request issue. GrantRequest contains details for requesting database access permissions.

labels
string[]

Labels attached to categorize and filter the issue.