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