15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_RETRY_POLICY_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_RETRY_POLICY_H
18#include "google/cloud/storage/version.h"
19#include "google/cloud/internal/backoff_policy.h"
20#include "google/cloud/internal/retry_policy.h"
21#include "google/cloud/status.h"
26GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
30 static bool IsPermanentFailure(
Status const& status) {
41 ::
google::
cloud::internal::TraitBasedRetryPolicy<internal::StatusTraits>;
44using LimitedTimeRetryPolicy =
45 ::
google::
cloud::internal::LimitedTimeRetryPolicy<internal::StatusTraits>;
48using LimitedErrorCountRetryPolicy =
49 ::
google::
cloud::internal::LimitedErrorCountRetryPolicy<
50 internal::StatusTraits>;
53using BackoffPolicy = ::
google::
cloud::internal::BackoffPolicy;
56using ExponentialBackoffPolicy =
57 ::
google::
cloud::internal::ExponentialBackoffPolicy;
59GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Google Cloud Storage C++ client APIs.
Definition: auto_finalize.h:24