forked from googleapis/google-cloud-python
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'Model.encryption_config' (via synth). (googleapis#9214)
* Add 'Model.encryption_config' (via synth).
- Loading branch information
Showing
12 changed files
with
450 additions
and
214 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
bigquery/google/cloud/bigquery_v2/proto/encryption_config.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// Copyright 2019 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 | ||
// | ||
// http://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. | ||
// | ||
|
||
syntax = "proto3"; | ||
|
||
package google.cloud.bigquery.v2; | ||
|
||
import "google/api/field_behavior.proto"; | ||
import "google/protobuf/wrappers.proto"; | ||
import "google/api/annotations.proto"; | ||
|
||
option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/v2;bigquery"; | ||
option java_outer_classname = "EncryptionConfigProto"; | ||
option java_package = "com.google.cloud.bigquery.v2"; | ||
|
||
message EncryptionConfiguration { | ||
// Optional. Describes the Cloud KMS encryption key that will be used to | ||
// protect destination BigQuery table. The BigQuery Service Account associated | ||
// with your project requires access to this encryption key. | ||
google.protobuf.StringValue kms_key_name = 1 [(google.api.field_behavior) = OPTIONAL]; | ||
} |
108 changes: 108 additions & 0 deletions
108
bigquery/google/cloud/bigquery_v2/proto/encryption_config_pb2.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
bigquery/google/cloud/bigquery_v2/proto/encryption_config_pb2_grpc.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! | ||
import grpc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.