Closes an issue.
HTTP request
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the issue to close. The format is projects/{project_number}/locations/{locationId}/repositories/{repositoryId}/issues/{issue_id}. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "etag": string } |
Fields | |
---|---|
etag |
Optional. The current etag of the issue. If the etag is provided and does not match the current etag of the issue, closing will be blocked and an ABORTED error will be returned. |
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
securesourcemanager.issues.close
For more information, see the IAM documentation.