protected BaseSubscriber(IGCPConfiguration configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } ProjectId = configuration.ProjectId; Subscriber = SubscriberServiceApiClient.Create(); }
public StorageService(IGCPConfiguration gcpConfiguration) { GCPConfiguration = gcpConfiguration ?? throw new ArgumentNullException(nameof(gcpConfiguration)); StorageClient = StorageClient.Create(); }
public LogService(IGCPConfiguration gcpConfiguration) { GCPConfiguration = gcpConfiguration ?? throw new ArgumentNullException(nameof(gcpConfiguration)); LogClient = LoggingServiceV2Client.Create(); }