示例#1
0
 public GoogleCloudPubSubService()
 {
     m_projectId = GoogleComputeEngineHelper.GetCurrentProjectId();
     m_logger    = LogManager.GetCurrentClassLogger();
 }
示例#2
0
 public GoogleSecretManagerService()
 {
     m_logger    = LogManager.GetCurrentClassLogger();
     m_client    = SecretManagerServiceClient.Create();
     m_projectId = GoogleComputeEngineHelper.GetCurrentProjectId();
 }
示例#3
0
 public GoogleCloudFirestoreService()
 {
     m_db = FirestoreDb.Create(GoogleComputeEngineHelper.GetCurrentProjectId());
 }
示例#4
0
 public GoogleCloudFirestoreService()
 {
     m_db     = FirestoreDb.Create(GoogleComputeEngineHelper.GetCurrentProjectId());
     m_logger = LogManager.GetCurrentClassLogger();
 }