Skip to content

Commit ac85eab

Browse files
feat(storage): Support for idempotency_token_header
1 parent 1fe7714 commit ac85eab

File tree

1 file changed

+1
-0
lines changed
  • google-cloud-storage/lib/google/cloud/storage

1 file changed

+1
-0
lines changed

google-cloud-storage/lib/google/cloud/storage/service.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def initialize project, credentials, retries: nil,
7272
@service.request_options.multiplier = multiplier if multiplier
7373
@service.request_options.add_invocation_id_header = true
7474
@service.request_options.upload_chunk_size = upload_chunk_size if upload_chunk_size
75+
@service.request_options.add_idempotency_token_header = true
7576
@service.authorization = @credentials.client if @credentials
7677
@service.root_url = host if host
7778
@service.universe_domain = universe_domain || Google::Cloud::Storage.configure.universe_domain

0 commit comments

Comments
 (0)