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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ entity |
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 | |
---|---|
Type | Description |
Entity|null |
hasEntity
clearEntity
setEntity
Required. Update description.
Parameter | |
---|---|
Name | Description |
var |
Entity
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |