/// <summary>Snippet for UninstallDeployment</summary> public void UninstallDeployment() { // Snippet: UninstallDeployment(string, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) string name = "projects/[PROJECT]/deployments/[DEPLOYMENT]"; // Make the request gSuiteAddOnsClient.UninstallDeployment(name); // End snippet }
/// <summary>Snippet for UninstallDeployment</summary> public void UninstallDeploymentResourceNames() { // Snippet: UninstallDeployment(DeploymentName, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) DeploymentName name = DeploymentName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]"); // Make the request gSuiteAddOnsClient.UninstallDeployment(name); // End snippet }
/// <summary>Snippet for UninstallDeployment</summary> public void UninstallDeploymentRequestObject() { // Snippet: UninstallDeployment(UninstallDeploymentRequest, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) UninstallDeploymentRequest request = new UninstallDeploymentRequest { DeploymentName = DeploymentName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]"), }; // Make the request gSuiteAddOnsClient.UninstallDeployment(request); // End snippet }