Skip to content

Commit

Permalink
feat: add EncryptionConfiguration to TransferConfig
Browse files Browse the repository at this point in the history
---
feat: Add List type to Data source parameter.
PiperOrigin-RevId: 552543247
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 31, 2023
1 parent 9ae0377 commit 95f0f2b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
14 changes: 11 additions & 3 deletions google/cloud/bigquery/datatransfer/v1/datatransfer.proto
Expand Up @@ -263,6 +263,9 @@ message DataSourceParameter {

// Page ID for a Google+ Page.
PLUS_PAGE = 6;

// List of strings parameter.
LIST = 7;
}

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

// Specific run_time for a transfer run to be started. The
// requested_run_time must not be in the future.
// A run_time timestamp for historical data files or reports
// that are scheduled to be transferred by the scheduled transfer run.
// requested_run_time must be a past time and cannot include future time
// values.
google.protobuf.Timestamp requested_run_time = 4;
}
}
Expand Down
14 changes: 14 additions & 0 deletions google/cloud/bigquery/datatransfer/v1/transfer.proto
Expand Up @@ -20,6 +20,7 @@ import "google/api/field_behavior.proto";
import "google/api/resource.proto";
import "google/protobuf/struct.proto";
import "google/protobuf/timestamp.proto";
import "google/protobuf/wrappers.proto";
import "google/rpc/status.proto";

option csharp_namespace = "Google.Cloud.BigQuery.DataTransfer.V1";
Expand Down Expand Up @@ -207,6 +208,19 @@ message TransferConfig {
// transfer data. Populated only for `transferConfigs.get` requests. In case
// the user information is not available, this field will not be populated.
optional UserInfo owner_info = 27 [(google.api.field_behavior) = OUTPUT_ONLY];

// The encryption configuration part. Currently, it is only used for the
// optional KMS key name. The BigQuery service account of your project must be
// granted permissions to use the key. Read methods will return the key name
// applied in effect. Write methods will apply the key if it is present, or
// otherwise try to apply project default keys if it is absent.
EncryptionConfiguration encryption_configuration = 28;
}

// Represents the encryption configuration for a transfer.
message EncryptionConfiguration {
// The name of the KMS key used for encrypting BigQuery data.
google.protobuf.StringValue kms_key_name = 1;
}

// Represents a data transfer run.
Expand Down

0 comments on commit 95f0f2b

Please sign in to comment.