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