8000 feat: add EncryptionConfiguration to TransferConfig · googleapis/googleapis@95f0f2b · GitHub
[go: up one dir, main page]

Skip to content

Commit 95f0f2b

Browse files
Google APIscopybara-github
authored andcommitted
feat: add EncryptionConfiguration to TransferConfig
--- feat: Add List type to Data source parameter. PiperOrigin-RevId: 552543247
1 parent 9ae0377 commit 95f0f2b

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

google/cloud/bigquery/datatransfer/v1/datatransfer.proto

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ message DataSourceParameter {
263263

264264
// Page ID for a Google+ Page.
265265
PLUS_PAGE = 6;
266+
267+
// List of strings parameter.
268+
LIST = 7;
266269
}
267270

268271
// Parameter identifier.
@@ -861,11 +864,16 @@ message StartManualTransferRunsRequest {
861864
// The requested time specification - this can be a time range or a specific
862865
// run_time.
863866
oneof time {
864-
// Time range for the transfer runs that should be started.
867+
// A time_range start and end timestamp for historical data files or reports
868+
// that are scheduled to be transferred by the scheduled transfer run.
869+
// requested_time_range must be a past time and cannot include future time
870+
// values.
865871
TimeRange requested_time_range = 3;
866872

867-
// Specific run_time for a transfer run to be started. The
868-
// requested_run_time must not be in the future.
873+
// A run_time timestamp for historical data files or reports
874+
// that are scheduled to be transferred by the scheduled transfer run.
875+
// requested_run_time must be a past time and cannot include future time
876+
// values.
869877
google.protobuf.Timestamp requested_run_time = 4;
870878
}
871879
}

google/cloud/bigquery/datatransfer/v1/transfer.proto

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
2020
import "google/api/resource.proto";
2121
import "google/protobuf/struct.proto";
2222
import "google/protobuf/timestamp.proto";
23+
import "google/protobuf/wrappers.proto";
2324
import "google/rpc/status.proto";
2425

2526
option csharp_namespace = "Google.Cloud.BigQuery.DataTransfer.V1";
@@ -207,6 +208,19 @@ message TransferConfig {
207208
// transfer data. Populated only for `transferConfigs.get` requests. In case
208209
// the user information is not available, this field will not be populated.
209210
optional UserInfo owner_info = 27 [(google.api.field_behavior) = OUTPUT_ONLY];
211+
212+
// The encryption configuration part. Currently, it is only used for the
213+
// optional KMS key name. The BigQuery service account of your project must be
214+
// granted permissions to use the key. Read methods will return the key name
215+
// applied in effect. Write methods will apply the key if it is present, or
216+
// otherwise try to apply project default keys if it is absent.
217+
EncryptionConfiguration encryption_configuration = 28;
218+
}
219+
220+
// Represents the encryption configuration for a transfer.
221+
message EncryptionConfiguration {
222+
// The name of the KMS key used for encrypting BigQuery data.
223+
google.protobuf.StringValue kms_key_name = 1;
210224
}
211225

212226
// Represents a data transfer run.

0 commit comments

Comments
 (0)
0