Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class UpdateSessionRequest.
Request for UpdateSession method.
Generated from protobuf message google.cloud.discoveryengine.v1beta.UpdateSessionRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1betaMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session |
Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\Session|null |
hasSession
clearSession
setSession
Required. The Session to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\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\V1beta\UpdateSessionRequest |