| 1 |
// Copyright 2022 Google LLC |
| 2 |
// |
| 3 |
// Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
// you may not use this file except in compliance with the License. |
| 5 |
// You may obtain a copy of the License at |
| 6 |
// |
| 7 |
// http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
// |
| 9 |
// Unless required by applicable law or agreed to in writing, software |
| 10 |
// distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
// See the License for the specific language governing permissions and |
| 13 |
// limitations under the License. |
| 14 |
|
| 15 |
// Code generated by aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package datapolicies aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package datapolicies |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 31 |
const ( |
| 32 |
DataMaskingPolicy_ALWAYS_NULL = src.DataMaskingPolicy_ALWAYS_NULL |
| 33 |
DataMaskingPolicy_DEFAULT_MASKING_VALUE = src.DataMaskingPolicy_DEFAULT_MASKING_VALUE |
| 34 |
DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED = src.DataMaskingPolicy_PREDEFINED_EXPRESSION_UNSPECIFIED |
| 35 |
DataMaskingPolicy_SHA256 = src.DataMaskingPolicy_SHA256 |
| 36 |
DataPolicy_COLUMN_LEVEL_SECURITY_POLICY = src.DataPolicy_COLUMN_LEVEL_SECURITY_POLICY |
| 37 |
DataPolicy_DATA_MASKING_POLICY = src.DataPolicy_DATA_MASKING_POLICY |
| 38 |
DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED = src.DataPolicy_DATA_POLICY_TYPE_UNSPECIFIED |
| 39 |
) |
| 40 |
|
| 41 |
// Deprecated: Please use vars in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 42 |
var ( |
| 43 |
DataMaskingPolicy_PredefinedExpression_name = src.DataMaskingPolicy_PredefinedExpression_name |
| 44 |
DataMaskingPolicy_PredefinedExpression_value = src.DataMaskingPolicy_PredefinedExpression_value |
| 45 |
DataPolicy_DataPolicyType_name = src.DataPolicy_DataPolicyType_name |
| 46 |
DataPolicy_DataPolicyType_value = src.DataPolicy_DataPolicyType_value |
| 47 |
File_google_cloud_bigquery_datapolicies_v1beta1_datapolicy_proto = src.File_google_cloud_bigquery_datapolicies_v1beta1_datapolicy_proto |
| 48 |
) |
| 49 |
|
| 50 |
// Request message for the CreateDataPolicy method. |
| 51 |
// |
| 52 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 53 |
type CreateDataPolicyRequest = src.CreateDataPolicyRequest |
| 54 |
|
| 55 |
// The data masking policy that is used to specify data masking rule. |
| 56 |
// |
| 57 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 58 |
type DataMaskingPolicy = src.DataMaskingPolicy |
| 59 |
|
| 60 |
// The available masking rules. Learn more here: |
| 61 |
// https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options. |
| 62 |
// |
| 63 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 64 |
type DataMaskingPolicy_PredefinedExpression = src.DataMaskingPolicy_PredefinedExpression |
| 65 |
type DataMaskingPolicy_PredefinedExpression_ = src.DataMaskingPolicy_PredefinedExpression_ |
| 66 |
|
| 67 |
// Represents the label-policy binding. |
| 68 |
// |
| 69 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 70 |
type DataPolicy = src.DataPolicy |
| 71 |
|
| 72 |
// DataPolicyServiceClient is the client API for DataPolicyService service. |
| 73 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer |
| 74 |
// to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 75 |
// |
| 76 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 77 |
type DataPolicyServiceClient = src.DataPolicyServiceClient |
| 78 |
|
| 79 |
// DataPolicyServiceServer is the server API for DataPolicyService service. |
| 80 |
// |
| 81 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 82 |
type DataPolicyServiceServer = src.DataPolicyServiceServer |
| 83 |
type DataPolicy_DataMaskingPolicy = src.DataPolicy_DataMaskingPolicy |
| 84 |
|
| 85 |
// A list of supported data policy types. |
| 86 |
// |
| 87 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 88 |
type DataPolicy_DataPolicyType = src.DataPolicy_DataPolicyType |
| 89 |
type DataPolicy_PolicyTag = src.DataPolicy_PolicyTag |
| 90 |
|
| 91 |
// Request message for the DeleteDataPolicy method. |
| 92 |
// |
| 93 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 94 |
type DeleteDataPolicyRequest = src.DeleteDataPolicyRequest |
| 95 |
|
| 96 |
// Request message for the GetDataPolicy method. |
| 97 |
// |
| 98 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 99 |
type GetDataPolicyRequest = src.GetDataPolicyRequest |
| 100 |
|
| 101 |
// Request message for the ListDataPolicies method. |
| 102 |
// |
| 103 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 104 |
type ListDataPoliciesRequest = src.ListDataPoliciesRequest |
| 105 |
|
| 106 |
// Response message for the ListDataPolicies method. |
| 107 |
// |
| 108 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 109 |
type ListDataPoliciesResponse = src.ListDataPoliciesResponse |
| 110 |
|
| 111 |
// UnimplementedDataPolicyServiceServer can be embedded to have forward |
| 112 |
// compatible implementations. |
| 113 |
// |
| 114 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 115 |
type UnimplementedDataPolicyServiceServer = src.UnimplementedDataPolicyServiceServer |
| 116 |
|
| 117 |
// Response message for the UpdateDataPolicy method. |
| 118 |
// |
| 119 |
// Deprecated: Please use types in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 120 |
type UpdateDataPolicyRequest = src.UpdateDataPolicyRequest |
| 121 |
|
| 122 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 123 |
func NewDataPolicyServiceClient(cc grpc.ClientConnInterface) DataPolicyServiceClient { |
| 124 |
return src.NewDataPolicyServiceClient(cc) |
| 125 |
} |
| 126 |
|
| 127 |
// Deprecated: Please use funcs in: cloud.google.com/go/bigquery/datapolicies/apiv1beta1/datapoliciespb |
| 128 |
func RegisterDataPolicyServiceServer(s *grpc.Server, srv DataPolicyServiceServer) { |
| 129 |
src.RegisterDataPolicyServiceServer(s, srv) |
| 130 |
} |