Reference documentation and code samples for the Google Cloud Dataplex V1 Client class UpdateAssetRequest.
Update asset request.
Generated from protobuf message google.cloud.dataplex.v1.UpdateAssetRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ update_mask |
Google\Protobuf\FieldMask
Required. Mask of fields to update. |
↳ asset |
Google\Cloud\Dataplex\V1\Asset
Required. Update description. Only fields specified in |
↳ validate_only |
bool
Optional. Only validate the request, but do not perform mutations. The default is false. |
getUpdateMask
Required. Mask of fields to update.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
Required. Mask of fields to update.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getAsset
Required. Update description.
Only fields specified in update_mask
are updated.
Generated from protobuf field .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataplex\V1\Asset|null |
hasAsset
clearAsset
setAsset
Required. Update description.
Only fields specified in update_mask
are updated.
Generated from protobuf field .google.cloud.dataplex.v1.Asset asset = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataplex\V1\Asset
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. Only validate the request, but do not perform mutations.
The default is false.
Generated from protobuf field bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |