Google Cloud Dataplex V1 Client - Class UpdateEntityRequest (0.12.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class UpdateEntityRequest.

Update a metadata entity request.

The exiting entity will be fully replaced by the entity in the request. The entity ID is mutable. To modify the ID, use the current entity ID in the request URL and specify the new ID in the request body.

Generated from protobuf message google.cloud.dataplex.v1.UpdateEntityRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ entity Google\Cloud\Dataplex\V1\Entity

Required. Update description.

↳ validate_only bool

Optional. Only validate the request, but do not perform mutations. The default is false.

getEntity

Required. Update description.

Returns
TypeDescription
Google\Cloud\Dataplex\V1\Entity|null

hasEntity

clearEntity

setEntity

Required. Update description.

Parameter
NameDescription
var Google\Cloud\Dataplex\V1\Entity
Returns
TypeDescription
$this

getValidateOnly

Optional. Only validate the request, but do not perform mutations.

The default is false.

Returns
TypeDescription
bool

setValidateOnly

Optional. Only validate the request, but do not perform mutations.

The default is false.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this