Google Cloud Support V2 Client - Class CreateCommentRequest (1.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Support V2 Client class CreateCommentRequest.
The request message for the CreateComment endpoint.
Generated from protobuf message google.cloud.support.v2.CreateCommentRequest
Namespace
Google \ Cloud \ Support \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The name of the case to which the comment should be added. |
↳ comment |
Comment
Required. The comment to be added. |
getParent
Required. The name of the case to which the comment should be added.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The name of the case to which the comment should be added.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComment
Required. The comment to be added.
| Returns | |
|---|---|
| Type | Description |
Comment|null |
|
hasComment
clearComment
setComment
Required. The comment to be added.
| Parameter | |
|---|---|
| Name | Description |
var |
Comment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The name of the case to which the comment should be added. Please see CommentServiceClient::caseName() for help formatting this field. |
comment |
Comment
Required. The comment to be added. |
| Returns | |
|---|---|
| Type | Description |
CreateCommentRequest |
|