Reference documentation and code samples for the Google Cloud Support V2beta Client class FeedItem.
A feed item associated with a support case.
Generated from protobuf message google.cloud.support.v2beta.FeedItem
Namespace
Google \ Cloud \ Support \ V2betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ comment |
Comment
Output only. A comment added to the case. |
↳ attachment |
Attachment
Output only. An attachment attached to the case. |
↳ email_message |
EmailMessage
Output only. An email message received in reply to the case. |
↳ deleted_attachment |
Attachment
Output only. A deleted attachment that used to be associated with the support case. |
↳ event_time |
Google\Protobuf\Timestamp
Output only. Time corresponding to the event of this item. |
getComment
Output only. A comment added to the case.
Returns | |
---|---|
Type | Description |
Comment|null |
hasComment
setComment
Output only. A comment added to the case.
Parameter | |
---|---|
Name | Description |
var |
Comment
|
Returns | |
---|---|
Type | Description |
$this |
getAttachment
Output only. An attachment attached to the case.
Returns | |
---|---|
Type | Description |
Attachment|null |
hasAttachment
setAttachment
Output only. An attachment attached to the case.
Parameter | |
---|---|
Name | Description |
var |
Attachment
|
Returns | |
---|---|
Type | Description |
$this |
getEmailMessage
Output only. An email message received in reply to the case.
Returns | |
---|---|
Type | Description |
EmailMessage|null |
hasEmailMessage
setEmailMessage
Output only. An email message received in reply to the case.
Parameter | |
---|---|
Name | Description |
var |
EmailMessage
|
Returns | |
---|---|
Type | Description |
$this |
getDeletedAttachment
Output only. A deleted attachment that used to be associated with the support case.
Returns | |
---|---|
Type | Description |
Attachment|null |
hasDeletedAttachment
setDeletedAttachment
Output only. A deleted attachment that used to be associated with the support case.
Parameter | |
---|---|
Name | Description |
var |
Attachment
|
Returns | |
---|---|
Type | Description |
$this |
getEventTime
Output only. Time corresponding to the event of this item.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEventTime
clearEventTime
setEventTime
Output only. Time corresponding to the event of this item.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEventObject
Returns | |
---|---|
Type | Description |
string |