Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class CloseIssueRequest.
The request to close an issue.
Generated from protobuf message google.cloud.securesourcemanager.v1.CloseIssueRequest
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the issue to close. The format is |
↳ etag |
string
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. |
getName
Required. Name of the issue to close.
The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}
.
Returns | |
---|---|
Type | Description |
string |
setName
Required. Name of the issue to close.
The format is
projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}
.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEtag
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.
Returns | |
---|---|
Type | Description |
string |
setEtag
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. Name of the issue to close.
The format is
|
Returns | |
---|---|
Type | Description |
CloseIssueRequest |