Google Cloud Dataplex V1 Client - Class UpdateDataProductRequest (1.12.0)

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

Request message for updating a data product.

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

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_product DataProduct

Required. The data product to update. The data product's name field is used to identify the data product to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

↳ validate_only bool

Optional. Validates the request without actually updating the data product. Default: false.

getDataProduct

Required. The data product to update.

The data product's name field is used to identify the data product to update.

Returns
Type Description
DataProduct|null

hasDataProduct

clearDataProduct

setDataProduct

Required. The data product to update.

The data product's name field is used to identify the data product to update.

Parameter
Name Description
var DataProduct
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

If this is empty or not set, then all the fields will be updated.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

If this is empty or not set, then all the fields will be updated.

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

getValidateOnly

Optional. Validates the request without actually updating the data product.

Default: false.

Returns
Type Description
bool

setValidateOnly

Optional. Validates the request without actually updating the data product.

Default: false.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
dataProduct DataProduct

Required. The data product to update. The data product's name field is used to identify the data product to update.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.

Returns
Type Description
UpdateDataProductRequest