Reference documentation and code samples for the Google Cloud BigQuery Data Policies V1 Client class UpdateDataPolicyRequest.
Response message for the UpdateDataPolicy method.
Generated from protobuf message google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_policy |
Google\Cloud\BigQuery\DataPolicies\V1\DataPolicy
Required. Update the data policy's metadata. The target data policy is determined by the |
↳ update_mask |
Google\Protobuf\FieldMask
The update mask applies to the resource. For the |
getDataPolicy
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\DataPolicies\V1\DataPolicy|null |
hasDataPolicy
clearDataPolicy
setDataPolicy
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\DataPolicies\V1\DataPolicy
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateMask
The update mask applies to the resource. For the FieldMask
definition,
see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
Updates to the name
and dataPolicyId
fields are not allowed.
Returns | |
---|---|
Type | Description |
Google\Protobuf\FieldMask|null |
hasUpdateMask
clearUpdateMask
setUpdateMask
The update mask applies to the resource. For the FieldMask
definition,
see
https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
If not set, defaults to all of the fields that are allowed to update.
Updates to the name
and dataPolicyId
fields are not allowed.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |