Conversation
This adds partial support for customer-managed encryption keys.
Also adds - acceptence test for creating and modifying a table. - additional unit tests for EncryptionConfiguration methods.
Use block table updater to set encryption_configuration in create_table.
This adds a block to load_job so that new properties can be added to LoadJob without needing to add arguments to the load_job function.
This will allow additional properties to be added to LoadJob without needing to add additional arguments to the `dataset.load` and `table.load` methods. Also added a `ensure_job_succeeded! job` method to get the line counts down enough to make rubocop happy with the change.
Also move some shared conversion code to the Convert class.
* Add a helper to create an EncryptionConfiguration in project. * Rename encryption_configuration property to more concise encryption. * Add acceptance tests for encryption * Add imports to job files that depend on encryption.
|
@tswast @jeremywadsack There were a number of conflicts between #1973 and #2000 that I needed to manually resolve while rebasing this branch on master. All tests are passing (including acceptance tests), but PTAL just to be sure the Load Job code still looks good. |
tswast
left a comment
There was a problem hiding this comment.
Thanks! Load job changes look good to me.
| yield updater if block_given? | ||
|
|
||
| job_gapi = updater.to_gapi | ||
| if local_file? files |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Looks like this preserves the changes in 2000. |
Add both unit and acceptance tests to improve coverage. [refs googleapis#2022]
Add both unit and acceptance tests to improve coverage. [refs #2022]
This PR merges into master the
bigquerytopic branch that collected the changes from #1973, #2003, #2014, #2015 and #2016.