Reference documentation and code samples for the Google Cloud BigQuery Data Policies V1beta1 Client class UpdateDataPolicyRequest.
Response message for the UpdateDataPolicy method.
Generated from protobuf message google.cloud.bigquery.datapolicies.v1beta1.UpdateDataPolicyRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_policy |
Google\Cloud\BigQuery\DataPolicies\V1beta1\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.
Generated from protobuf field .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\BigQuery\DataPolicies\V1beta1\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.
Generated from protobuf field .google.cloud.bigquery.datapolicies.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\BigQuery\DataPolicies\V1beta1\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.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;
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.
Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |