Skip to content

Commit

Permalink
feat(google-cloud-bigquery-data_transfer-v1): Support Encryption conf…
Browse files Browse the repository at this point in the history
…iguration in Transfer Config (#22670)

feat(google-cloud-bigquery-data_transfer-v1): Provide more enum options for Parameter type (#22670)
  • Loading branch information
gcf-owl-bot[bot] authored Aug 3, 2023
1 parent 77b21f7 commit a0c8cc7
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1064,10 +1064,15 @@ def schedule_transfer_runs request, options = nil
# `projects/{project_id}/transferConfigs/{config_id}` or
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
# @param requested_time_range [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange, ::Hash]
# 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.
# @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
# 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.
#
# @yield [response, operation] Access the result along with the RPC operation
# @yieldparam response [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -862,10 +862,15 @@ def schedule_transfer_runs request, options = nil
# `projects/{project_id}/transferConfigs/{config_id}` or
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
# @param requested_time_range [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange, ::Hash]
# 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.
# @param requested_run_time [::Google::Protobuf::Timestamp, ::Hash]
# 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.
# @yield [result, operation] Access the result along with the TransportOperation object
# @yieldparam result [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsResponse]
# @yieldparam operation [::Gapic::Rest::TransportOperation]
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ module Type

# Page ID for a Google+ Page.
PLUS_PAGE = 6

# List of strings parameter.
LIST = 7
end
end

Expand Down Expand Up @@ -616,11 +619,16 @@ class ScheduleTransferRunsResponse
# `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`.
# @!attribute [rw] requested_time_range
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::StartManualTransferRunsRequest::TimeRange]
# 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.
# @!attribute [rw] requested_run_time
# @return [::Google::Protobuf::Timestamp]
# 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.
class StartManualTransferRunsRequest
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,27 @@ class UserInfo
# Output only. Information about the user whose credentials are used to
# transfer data. Populated only for `transferConfigs.get` requests. In case
# the user information is not available, this field will not be populated.
# @!attribute [rw] encryption_configuration
# @return [::Google::Cloud::Bigquery::DataTransfer::V1::EncryptionConfiguration]
# 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.
class TransferConfig
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Represents the encryption configuration for a transfer.
# @!attribute [rw] kms_key_name
# @return [::Google::Protobuf::StringValue]
# The name of the KMS key used for encrypting BigQuery data.
class EncryptionConfiguration
include ::Google::Protobuf::MessageExts
extend ::Google::Protobuf::MessageExts::ClassMethods
end

# Represents a data transfer run.
# @!attribute [rw] name
# @return [::String]
Expand Down

0 comments on commit a0c8cc7

Please sign in to comment.