Namespaces | Defines | Functions
defaults.cc File Reference
#include "cogrob/cloud/basic/defaults.h"
#include <stdlib.h>
#include <unistd.h>
#include <string>
#include "third_party/gflags.h"
Include dependency graph for defaults.cc:

Go to the source code of this file.

Namespaces

namespace  cogrob
namespace  cogrob::cloud

Defines

#define AUTO_PLACEHOLDER   "__auto__"

Functions

 DEFINE_string (grpc_roots,"/opt/cogrob/credentials/grpc_roots.pem","gRPC trusted root certificate store path.")
 DEFINE_string (gcloud_cred,"/opt/cogrob/credentials/gcloud_credentials.json","Google Cloud APIs credentials json path.")
 DEFINE_string (gcloud_project, AUTO_PLACEHOLDER,"Google Cloud Platform project name.")
 DEFINE_string (agent, AUTO_PLACEHOLDER,"The name of the robot.")
std::string cogrob::cloud::GetAgentName ()
std::string cogrob::cloud::GetGcloudProjectName ()
void cogrob::cloud::PrepareGoogleCloudCredentials ()

Define Documentation

#define AUTO_PLACEHOLDER   "__auto__"

Definition at line 35 of file defaults.cc.


Function Documentation

DEFINE_string ( grpc_roots  ,
"/opt/cogrob/credentials/grpc_roots.pem"  ,
"gRPC trusted root certificate store path."   
)
DEFINE_string ( gcloud_cred  ,
"/opt/cogrob/credentials/gcloud_credentials.json"  ,
"Google Cloud APIs credentials json path."   
)
DEFINE_string ( gcloud_project  ,
AUTO_PLACEHOLDER  ,
"Google Cloud Platform project name."   
)
DEFINE_string ( agent  ,
AUTO_PLACEHOLDER  ,
"The name of the robot."   
)


gcloud_speech
Author(s):
autogenerated on Thu Jun 6 2019 17:58:03