public GCloudCmdlet() { if (CloudSdkSettings.GetOptIntoUsageReporting()) { string clientID = CloudSdkSettings.GetAnoymousClientID(); _telemetryReporter = new GoogleAnalyticsCmdletReporter(clientID, AnalyticsEventCategory.CmdletInvocation); } else { _telemetryReporter = new InMemoryCmdletResultReporter(); } // Only set upon successful completion of EndProcessing. _cmdletInvocationSuccessful = false; }