Google Cloud Secure Source Manager V1 Client - Class CreateIssueCommentRequest (1.5.0)

Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class CreateIssueCommentRequest.

The request to create an issue comment.

Generated from protobuf message google.cloud.securesourcemanager.v1.CreateIssueCommentRequest

Namespace

Google \ Cloud \ SecureSourceManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The issue in which to create the issue comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}

↳ issue_comment IssueComment

Required. The issue comment to create.

getParent

Required. The issue in which to create the issue comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}

Returns
Type Description
string

setParent

Required. The issue in which to create the issue comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getIssueComment

Required. The issue comment to create.

Returns
Type Description
IssueComment|null

hasIssueComment

clearIssueComment

setIssueComment

Required. The issue comment to create.

Parameter
Name Description
var IssueComment
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The issue in which to create the issue comment. Format: projects/{project_number}/locations/{location_id}/repositories/{repository_id}/issues/{issue_id} Please see SecureSourceManagerClient::issueName() for help formatting this field.

issueComment IssueComment

Required. The issue comment to create.

Returns
Type Description
CreateIssueCommentRequest