Google Cloud Ai Platform V1 Client - Class UpdateSessionRequest (1.56.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
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

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
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: