BigQuery Data Policy v1 API - Class UpdateDataPolicyRequest (1.1.0)

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.

Inheritance

object > UpdateDataPolicyRequest

Namespace

Google.Cloud.BigQuery.DataPolicies.V1

Assembly

Google.Cloud.BigQuery.DataPolicies.V1.dll

Constructors

UpdateDataPolicyRequest()

public UpdateDataPolicyRequest()

UpdateDataPolicyRequest(UpdateDataPolicyRequest)

public UpdateDataPolicyRequest(UpdateDataPolicyRequest other)
Parameter
NameDescription
otherUpdateDataPolicyRequest

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
TypeDescription
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
TypeDescription
FieldMask