/// <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 ReplaceDeployment</summary>
 public void ReplaceDeploymentRequestObject()
 {
     // Snippet: ReplaceDeployment(ReplaceDeploymentRequest, CallSettings)
     // Create client
     GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create();
     // Initialize request argument(s)
     ReplaceDeploymentRequest request = new ReplaceDeploymentRequest
     {
         Deployment = new Deployment(),
     };
     // Make the request
     Deployment response = gSuiteAddOnsClient.ReplaceDeployment(request);
     // End snippet
 }
        /// <summary>Snippet for GetAuthorizationAsync</summary>
        public async Task GetAuthorizationResourceNamesAsync()
        {
            // Snippet: GetAuthorizationAsync(AuthorizationName, CallSettings)
            // Additional: GetAuthorizationAsync(AuthorizationName, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            AuthorizationName name = AuthorizationName.FromProject("[PROJECT]");
            // Make the request
            Authorization response = await gSuiteAddOnsClient.GetAuthorizationAsync(name);

            // End snippet
        }
        /// <summary>Snippet for GetInstallStatusAsync</summary>
        public async Task GetInstallStatusResourceNamesAsync()
        {
            // Snippet: GetInstallStatusAsync(InstallStatusName, CallSettings)
            // Additional: GetInstallStatusAsync(InstallStatusName, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            InstallStatusName name = InstallStatusName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]");
            // Make the request
            InstallStatus response = await gSuiteAddOnsClient.GetInstallStatusAsync(name);

            // End snippet
        }
        /// <summary>Snippet for CreateDeploymentAsync</summary>
        public async Task CreateDeploymentResourceNamesAsync()
        {
            // Snippet: CreateDeploymentAsync(ProjectName, Deployment, string, CallSettings)
            // Additional: CreateDeploymentAsync(ProjectName, Deployment, string, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            ProjectName parent       = ProjectName.FromProject("[PROJECT]");
            Deployment  deployment   = new Deployment();
            string      deploymentId = "";
            // Make the request
            Deployment response = await gSuiteAddOnsClient.CreateDeploymentAsync(parent, deployment, deploymentId);

            // End snippet
        }
        /// <summary>Snippet for CreateDeploymentAsync</summary>
        public async Task CreateDeploymentAsync()
        {
            // Snippet: CreateDeploymentAsync(string, Deployment, string, CallSettings)
            // Additional: CreateDeploymentAsync(string, Deployment, string, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            string     parent       = "projects/[PROJECT]";
            Deployment deployment   = new Deployment();
            string     deploymentId = "";
            // Make the request
            Deployment response = await gSuiteAddOnsClient.CreateDeploymentAsync(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
 }
        /// <summary>Snippet for CreateDeploymentAsync</summary>
        public async Task CreateDeploymentRequestObjectAsync()
        {
            // Snippet: CreateDeploymentAsync(CreateDeploymentRequest, CallSettings)
            // Additional: CreateDeploymentAsync(CreateDeploymentRequest, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            CreateDeploymentRequest request = new CreateDeploymentRequest
            {
                ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
                DeploymentId        = "",
                Deployment          = new Deployment(),
            };
            // Make the request
            Deployment response = await gSuiteAddOnsClient.CreateDeploymentAsync(request);

            // End snippet
        }