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.
    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.
    • 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.v1.DataPolicy data_policy = 2 [(.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.v1.DataPolicy data_policy = 2 [(.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.v1.DataPolicy data_policy = 2 [(.google.api.field_behavior) = REQUIRED];