15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OAUTH2_GOOGLE_CREDENTIALS_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OAUTH2_GOOGLE_CREDENTIALS_H
18 #include "google/cloud/storage/client_options.h"
19 #include "google/cloud/storage/oauth2/credentials.h"
20 #include "google/cloud/storage/version.h"
21 #include "google/cloud/optional.h"
22 #include "absl/types/optional.h"
117 std::string
const& path, absl::optional<std::set<std::string>> scopes,
118 absl::optional<std::string> subject);
151 std::string
const& path, absl::optional<std::set<std::string>> scopes,
152 absl::optional<std::string> subject,
ChannelOptions const& options = {});
185 std::string
const& path, absl::optional<std::set<std::string>> scopes,
186 absl::optional<std::string> subject,
ChannelOptions const& options = {});
234 absl::optional<std::set<std::string>> scopes,
235 absl::optional<std::string> subject,
ChannelOptions const& options = {});
270 std::string
const& contents, absl::optional<std::set<std::string>> scopes,
271 absl::optional<std::string> subject,
ChannelOptions const& options = {});
278 std::string
const& service_account_email);