Google Cloud Discovery Engine V1 Client - Class UpdateSessionRequest (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateSessionRequest.

Request for UpdateSession method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ session Google\Cloud\DiscoveryEngine\V1\Session

Required. The Session to update.

↳ update_mask Google\Protobuf\FieldMask

Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated.

getSession

Required. The Session to update.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Session|null

hasSession

clearSession

setSession

Required. The Session to update.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\Session
Returns
Type Description
$this

getUpdateMask

Indicates which fields in the provided Session to update. The following are NOT supported:

  • Session.name If not set or empty, all supported fields are updated.
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Indicates which fields in the provided Session to update. The following are NOT supported:

  • Session.name If not set or empty, all supported fields are updated.
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
session Google\Cloud\DiscoveryEngine\V1\Session

Required. The Session to update.

updateMask Google\Protobuf\FieldMask

Indicates which fields in the provided Session to update. The following are NOT supported:

If not set or empty, all supported fields are updated.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\UpdateSessionRequest