Google Cloud Ai Platform V1 Client - Class UpdateSessionRequest (1.52.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class UpdateSessionRequest.

Request message for SessionService.UpdateSession.

Generated from protobuf message google.cloud.aiplatform.v1.UpdateSessionRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ session Session

Required. The session to update. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

getSession

Required. The session to update.

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

Returns
Type Description
Session|null

hasSession

clearSession

setSession

Required. The session to update.

Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

Parameter
Name Description
var Session
Returns
Type Description
$this

getUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
session Session

Required. The session to update. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.

Returns
Type Description
UpdateSessionRequest