Reference documentation and code samples for the Google Cloud Secure Source Manager V1 Client class IssueComment.
IssueComment represents a comment on an issue.
Generated from protobuf message google.cloud.securesourcemanager.v1.IssueComment
Namespace
Google \ Cloud \ SecureSourceManager \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringIdentifier. Unique identifier for an issue comment. The comment id is generated by the server. Format:  | 
| ↳ body | stringRequired. The comment body. | 
| ↳ create_time | Google\Protobuf\TimestampOutput only. Creation timestamp. | 
| ↳ update_time | Google\Protobuf\TimestampOutput only. Last updated timestamp. | 
getName
Identifier. Unique identifier for an issue comment. The comment id is
generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}
| Returns | |
|---|---|
| Type | Description | 
| string | |
setName
Identifier. Unique identifier for an issue comment. The comment id is
generated by the server. Format:
projects/{project}/locations/{location}/repositories/{repository}/issues/{issue}/issueComments/{comment_id}
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getBody
Required. The comment body.
| Returns | |
|---|---|
| Type | Description | 
| string | |
setBody
Required. The comment body.
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getCreateTime
Output only. Creation timestamp.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Timestamp|null | |
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation timestamp.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getUpdateTime
Output only. Last updated timestamp.
| Returns | |
|---|---|
| Type | Description | 
| Google\Protobuf\Timestamp|null | |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Last updated timestamp.
| Parameter | |
|---|---|
| Name | Description | 
| var | Google\Protobuf\Timestamp | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |