Commit Graph

7 Commits

Author SHA1 Message Date
Paddy
490d86d291 Fix some style things, handle errors.
Fix a typo, follow our acceptance test naming guidelines, simplify some
logic, and handle an unhandled error.
2017-05-24 15:55:01 -07:00
Matt Morrison
00e5eb2aab Minor fixes:
- extension_headers validation - header prefix must be ‘x-goog-‘ (with a trailing hyphen)
- http_method validate, explicitly name the datasource attribute that is failing validation
- remove redundant http_method validation that is no longer needed
2016-09-16 12:44:28 +12:00
Matt Morrison
0f123f6d23 Incorporate @jen20 code comments (errors, errwrap, TODO’s)
Implement content_md5, content_type, extension_headers support.
2016-09-16 12:44:28 +12:00
Matt Morrison
b039b542f5 Add support for content_type, headers + md5_digest 2016-09-16 12:44:28 +12:00
Matt Morrison
070433d8b2 Tidy up;
- re-add ‘testAccPreCheck()’ to acceptance tests, to ensure necessary GOOGLE_* env vars are set for Acceptance tests.
- remove unused code from datasource
- use URL signature (base64 encoded) as data source ID instead of full URL
2016-09-16 12:44:28 +12:00
Matt Morrison
ca682dcc28 Add google_storage_object_signed_url documentation. 2016-09-16 12:44:28 +12:00
Matt Morrison
8f61bf27fd Add google_storage_signed_url data source. 2016-09-16 12:44:28 +12:00