Google Cloud Discovery Engine V1 Client - Class UpdateDataStoreRequest (1.0.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ data_storeGoogle\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_maskGoogle\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
TypeDescription
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
NameDescription
varGoogle\Cloud\DiscoveryEngine\V1\DataStore
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
varGoogle\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
dataStoreGoogle\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.

updateMaskGoogle\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
TypeDescription
Google\Cloud\DiscoveryEngine\V1\UpdateDataStoreRequest