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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ session |
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 |
Session|null |
hasSession
clearSession
setSession
Required. The Session to update.
Parameter | |
---|---|
Name | Description |
var |
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 |
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 |
UpdateSessionRequest |