Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class AppendEventRequest.
Request message for SessionService.AppendEvent.
Generated from protobuf message google.cloud.aiplatform.v1.AppendEventRequest
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of the session to append event to. Format: |
↳ event |
SessionEvent
Required. The event to append to the session. |
getName
Required. The resource name of the session to append event to.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The resource name of the session to append event to.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEvent
Required. The event to append to the session.
| Returns | |
|---|---|
| Type | Description |
SessionEvent|null |
|
hasEvent
clearEvent
setEvent
Required. The event to append to the session.
| Parameter | |
|---|---|
| Name | Description |
var |
SessionEvent
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
name |
string
Required. The resource name of the session to append event to.
Format:
|
event |
SessionEvent
Required. The event to append to the session. |
| Returns | |
|---|---|
| Type | Description |
AppendEventRequest |
|