MCPcopy Create free account
hub / github.com/apache/arrow / Anonymous

Method Anonymous

cpp/src/arrow/filesystem/gcsfs.cc:724–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722}
723
724GcsOptions GcsOptions::Anonymous() {
725 GcsOptions options{};
726 options.credentials.holder_ = std::make_shared<internal::GcsCredentialsHolder>(
727 google::cloud::MakeInsecureCredentials());
728 options.credentials.anonymous_ = true;
729 options.scheme = "http";
730 return options;
731}
732
733GcsOptions GcsOptions::FromAccessToken(const std::string& access_token,
734 TimePoint expiration) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected