com.google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bigquerydatapolicy-v1 Show documentation
Show all versions of proto-google-cloud-bigquerydatapolicy-v1 Show documentation
Proto library for google-cloud-bigquerydatapolicy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/bigquery/datapolicies/v1/datapolicy.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.bigquery.datapolicies.v1;
public interface UpdateDataPolicyRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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.
*
*
*
* .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the dataPolicy field is set.
*/
boolean hasDataPolicy();
/**
*
*
*
* 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.
*
*
*
* .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The dataPolicy.
*/
com.google.cloud.bigquery.datapolicies.v1.DataPolicy getDataPolicy();
/**
*
*
*
* 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.
*
*
*
* .google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.bigquery.datapolicies.v1.DataPolicyOrBuilder getDataPolicyOrBuilder();
/**
*
*
*
* 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.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*
* @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
*
*
*
* 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.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*
* @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
*
*
*
* 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.
*
*
* .google.protobuf.FieldMask update_mask = 2;
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
}