BigQuery Data Policy v1 API - Class CreateDataPolicyRequest (1.5.0)

public sealed class CreateDataPolicyRequest : IMessage<CreateDataPolicyRequest>, IEquatable<CreateDataPolicyRequest>, IDeepCloneable<CreateDataPolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the BigQuery Data Policy v1 API class CreateDataPolicyRequest.

Request message for the CreateDataPolicy method.

Inheritance

object > CreateDataPolicyRequest

Namespace

Google.Cloud.BigQuery.DataPolicies.V1

Assembly

Google.Cloud.BigQuery.DataPolicies.V1.dll

Constructors

CreateDataPolicyRequest()

public CreateDataPolicyRequest()

CreateDataPolicyRequest(CreateDataPolicyRequest)

public CreateDataPolicyRequest(CreateDataPolicyRequest other)
Parameter
Name Description
other CreateDataPolicyRequest

Properties

DataPolicy

public DataPolicy DataPolicy { get; set; }

Required. The data policy to create. The name field does not need to be provided for the data policy creation.

Property Value
Type Description
DataPolicy

Parent

public string Parent { get; set; }

Required. Resource name of the project that the data policy will belong to. The format is projects/{project_number}/locations/{location_id}.

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName