public sealed class UpdateDataPolicyRequest : IMessage<UpdateDataPolicyRequest>, IEquatable<UpdateDataPolicyRequest>, IDeepCloneable<UpdateDataPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the BigQuery Data Policy v1 API class UpdateDataPolicyRequest.
Response message for the UpdateDataPolicy method.
Implements
IMessageUpdateDataPolicyRequest, IEquatableUpdateDataPolicyRequest, IDeepCloneableUpdateDataPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.BigQuery.DataPolicies.V1Assembly
Google.Cloud.BigQuery.DataPolicies.V1.dll
Constructors
UpdateDataPolicyRequest()
public UpdateDataPolicyRequest()
UpdateDataPolicyRequest(UpdateDataPolicyRequest)
public UpdateDataPolicyRequest(UpdateDataPolicyRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateDataPolicyRequest |
Properties
DataPolicy
public DataPolicy DataPolicy { get; set; }
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.
Property Value | |
---|---|
Type | Description |
DataPolicy |
UpdateMask
public FieldMask UpdateMask { get; set; }
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.
Property Value | |
---|---|
Type | Description |
FieldMask |