/// <summary>Snippet for GetDeployment</summary>
 public void GetDeploymentResourceNames()
 {
     // Snippet: GetDeployment(DeploymentName, CallSettings)
     // Create client
     DeploymentsClient deploymentsClient = DeploymentsClient.Create();
     // Initialize request argument(s)
     DeploymentName name = DeploymentName.FromProjectLocationAgentEnvironmentDeployment("[PROJECT]", "[LOCATION]", "[AGENT]", "[ENVIRONMENT]", "[DEPLOYMENT]");
     // Make the request
     Deployment response = deploymentsClient.GetDeployment(name);
     // End snippet
 }
 /// <summary>Snippet for GetDeployment</summary>
 public void GetDeployment()
 {
     // Snippet: GetDeployment(string, CallSettings)
     // Create client
     DeploymentsClient deploymentsClient = DeploymentsClient.Create();
     // Initialize request argument(s)
     string name = "projects/[PROJECT]/locations/[LOCATION]/agents/[AGENT]/environments/[ENVIRONMENT]/deployments/[DEPLOYMENT]";
     // Make the request
     Deployment response = deploymentsClient.GetDeployment(name);
     // End snippet
 }