/// <summary>Snippet for CreateDeployment</summary> public void CreateDeployment() { // Snippet: CreateDeployment(string, Deployment, string, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) string parent = "projects/[PROJECT]"; Deployment deployment = new Deployment(); string deploymentId = ""; // Make the request Deployment response = gSuiteAddOnsClient.CreateDeployment(parent, deployment, deploymentId); // End snippet }
/// <summary>Snippet for CreateDeployment</summary> public void CreateDeploymentResourceNames() { // Snippet: CreateDeployment(ProjectName, Deployment, string, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) ProjectName parent = ProjectName.FromProject("[PROJECT]"); Deployment deployment = new Deployment(); string deploymentId = ""; // Make the request Deployment response = gSuiteAddOnsClient.CreateDeployment(parent, deployment, deploymentId); // End snippet }
/// <summary>Snippet for CreateDeployment</summary> public void CreateDeploymentRequestObject() { // Snippet: CreateDeployment(CreateDeploymentRequest, CallSettings) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create(); // Initialize request argument(s) CreateDeploymentRequest request = new CreateDeploymentRequest { ParentAsProjectName = ProjectName.FromProject("[PROJECT]"), DeploymentId = "", Deployment = new Deployment(), }; // Make the request Deployment response = gSuiteAddOnsClient.CreateDeployment(request); // End snippet }