/// <summary>Snippet for GetDeploymentAsync</summary> public async Task GetDeploymentResourceNamesAsync() { // Snippet: GetDeploymentAsync(DeploymentName, CallSettings) // Additional: GetDeploymentAsync(DeploymentName, CancellationToken) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync(); // Initialize request argument(s) DeploymentName name = DeploymentName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]"); // Make the request Deployment response = await gSuiteAddOnsClient.GetDeploymentAsync(name); // End snippet }
/// <summary>Snippet for GetDeploymentAsync</summary> public async Task GetDeploymentAsync() { // Snippet: GetDeploymentAsync(string, CallSettings) // Additional: GetDeploymentAsync(string, CancellationToken) // Create client GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync(); // Initialize request argument(s) string name = "projects/[PROJECT]/deployments/[DEPLOYMENT]"; // Make the request Deployment response = await gSuiteAddOnsClient.GetDeploymentAsync(name); // End snippet }