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

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

Request message for SessionService.GetSession.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of the session. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}

getName

Required. The resource name of the session.

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

Returns
Type Description
string

setName

Required. The resource name of the session.

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The resource name of the session. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session} Please see SessionServiceClient::sessionName() for help formatting this field.

Returns
Type Description
GetSessionRequest