feat(clients): data: BigQuery, Storage media and signed URLs, Pub/Sub, Firestore, Spanner, Bigtable admin, Secret Manager, Dataplex, DLP, KMS, Datastore
Discovery generated call table (918 rows), typed services, /google/data demo. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
|
||||
// DataPlatform: one object holding every typed service of the data package
|
||||
// over a shared client and project context.
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "google/data/bigquery.h"
|
||||
#include "google/data/bigtable_admin.h"
|
||||
#include "google/data/dataplex.h"
|
||||
#include "google/data/datastore.h"
|
||||
#include "google/data/dlp.h"
|
||||
#include "google/data/firestore.h"
|
||||
#include "google/data/kms.h"
|
||||
#include "google/data/pubsub.h"
|
||||
#include "google/data/secret_manager.h"
|
||||
#include "google/data/signed_url.h"
|
||||
#include "google/data/spanner.h"
|
||||
#include "google/data/storage.h"
|
||||
#include "google/data/storage_media.h"
|
||||
|
||||
namespace molo::google::data {
|
||||
|
||||
class DataPlatform {
|
||||
public:
|
||||
DataPlatform(std::shared_ptr<GoogleClient> client, CloudContext context)
|
||||
: bigquery(client, context),
|
||||
storage(client, context),
|
||||
pubsub(client, context),
|
||||
firestore(client, context),
|
||||
spanner(client, context),
|
||||
bigtable(client, context),
|
||||
secrets(client, context),
|
||||
dataplex(client, context),
|
||||
dlp(client, context),
|
||||
kms(client, context),
|
||||
datastore(client, context) {}
|
||||
|
||||
BigQuery bigquery;
|
||||
Storage storage;
|
||||
PubSub pubsub;
|
||||
Firestore firestore;
|
||||
Spanner spanner;
|
||||
BigtableAdmin bigtable;
|
||||
SecretManager secrets;
|
||||
Dataplex dataplex;
|
||||
Dlp dlp;
|
||||
Kms kms;
|
||||
Datastore datastore;
|
||||
};
|
||||
|
||||
} // namespace molo::google::data
|
||||
Reference in New Issue
Block a user