Reference documentation and code samples for the Google Cloud Support V2 Client class Comment.
A comment associated with a support case.
Case comments are the primary way for Google Support to communicate with a user who has opened a case. When a user responds to Google Support, the user's responses also appear as comments.
Generated from protobuf message google.cloud.support.v2.Comment
Namespace
Google \ Cloud \ Support \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Identifier. The resource name of the comment.
↳ create_time
↳ creator
↳ body
string
The full comment body. Maximum of 12800 characters.
↳ plain_text_body
string
Output only. DEPRECATED. DO NOT USE. A duplicate of the body
field. This field is only present for legacy reasons.
getName
Output only. Identifier. The resource name of the comment.
string
setName
Output only. Identifier. The resource name of the comment.
var
string
$this
getCreateTime
Output only. The time when the comment was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the comment was created.
$this
getCreator
Output only. The user or Google Support agent who created the comment.
hasCreator
clearCreator
setCreator
Output only. The user or Google Support agent who created the comment.
$this
getBody
The full comment body.
Maximum of 12800 characters.
string
setBody
The full comment body.
Maximum of 12800 characters.
var
string
$this
getPlainTextBody
Output only. DEPRECATED. DO NOT USE.
A duplicate of the body
field.
This field is only present for legacy reasons.
string
setPlainTextBody
Output only. DEPRECATED. DO NOT USE.
A duplicate of the body
field.
This field is only present for legacy reasons.
var
string
$this