We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea81d87 commit bd06b12Copy full SHA for bd06b12
google/cloud/datamigration/quickstart/quickstart.cc
@@ -59,6 +59,16 @@ int main(int argc, char* argv[]) try {
59
if (!gl_res) throw std::move(gl_res).status();
60
std::cout << gl_res->DebugString() << "\n";
61
62
+ std::cout
63
+ << "------------------------TEST ListOperations------------------------"
64
+ << std::endl;
65
+
66
+ for (auto l :
67
+ client.ListOperations("projects/" + std::string(argv[1]) + "/locations/" + argv[2] + "/operations", "")) {
68
+ if (!l) throw std::move(l).status();
69
+ std::cout << l->DebugString() << "\n";
70
+ }
71
72
return 0;
73
} catch (google::cloud::Status const& status) {
74
std::cerr << "google::cloud::Status thrown: " << status << "\n";
0 commit comments