Interface CreateDataPolicyRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateDataPolicyRequest, CreateDataPolicyRequest.Builder

@Generated public interface CreateDataPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Required. Resource name of the project that the data policy will belong to.
       The format is `projects/{project_number}/locations/{location_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. Resource name of the project that the data policy will belong to.
       The format is `projects/{project_number}/locations/{location_id}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getDataPolicyId

      String getDataPolicyId()
       Required. User-assigned (human readable) ID of the data policy that needs
       to be unique within a project. Used as {data_policy_id} in part of the
       resource name.
       
      string data_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The dataPolicyId.
    • getDataPolicyIdBytes

      com.google.protobuf.ByteString getDataPolicyIdBytes()
       Required. User-assigned (human readable) ID of the data policy that needs
       to be unique within a project. Used as {data_policy_id} in part of the
       resource name.
       
      string data_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for dataPolicyId.
    • hasDataPolicy

      boolean hasDataPolicy()
       Required. The data policy to create. The `name` field does not need to be
       provided for the data policy creation.
       
      .google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the dataPolicy field is set.
    • getDataPolicy

      DataPolicy getDataPolicy()
       Required. The data policy to create. The `name` field does not need to be
       provided for the data policy creation.
       
      .google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The dataPolicy.
    • getDataPolicyOrBuilder

      DataPolicyOrBuilder getDataPolicyOrBuilder()
       Required. The data policy to create. The `name` field does not need to be
       provided for the data policy creation.
       
      .google.cloud.bigquery.datapolicies.v2.DataPolicy data_policy = 3 [(.google.api.field_behavior) = REQUIRED];