Google Cloud Discovery Engine V1 Client - Class UpdateDataStoreRequest (1.1.0)

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

Request message for DataStoreService.UpdateDataStore method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_store Google\Cloud\DiscoveryEngine\V1\DataStore

Required. The DataStore to update. If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to update does not exist, a NOT_FOUND error is returned.

↳ update_mask Google\Protobuf\FieldMask

Indicates which fields in the provided DataStore to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

getDataStore

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to update does not exist, a NOT_FOUND error is returned.

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

hasDataStore

clearDataStore

setDataStore

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the DataStore to update does not exist, a NOT_FOUND error is returned.

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

getUpdateMask

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
dataStore Google\Cloud\DiscoveryEngine\V1\DataStore

Required. The DataStore to update.

If the caller does not have permission to update the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the DataStore to update does not exist, a NOT_FOUND error is returned.

updateMask Google\Protobuf\FieldMask

Indicates which fields in the provided DataStore to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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