Method: Google::Cloud::Storage::HmacKey#reload!

Defined in:
lib/google/cloud/storage/hmac_key.rb

#reload!Object Also known as: refresh!

Reloads the HMAC key with current data from the Storage service.



258
259
260
261
262
263
# File 'lib/google/cloud/storage/hmac_key.rb', line 258

def reload!
  ensure_service!
  @gapi = service.get_hmac_key access_id, project_id: project_id,
                                          user_project: user_project
  self
end