コード例 #1
0
        /// <summary>Snippet for InstallDeployment</summary>
        public void InstallDeployment()
        {
            // Snippet: InstallDeployment(string, CallSettings)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create();
            // Initialize request argument(s)
            string name = "projects/[PROJECT]/deployments/[DEPLOYMENT]";

            // Make the request
            gSuiteAddOnsClient.InstallDeployment(name);
            // End snippet
        }
コード例 #2
0
        /// <summary>Snippet for InstallDeployment</summary>
        public void InstallDeploymentResourceNames()
        {
            // Snippet: InstallDeployment(DeploymentName, CallSettings)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create();
            // Initialize request argument(s)
            DeploymentName name = DeploymentName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]");

            // Make the request
            gSuiteAddOnsClient.InstallDeployment(name);
            // End snippet
        }
コード例 #3
0
        /// <summary>Snippet for InstallDeployment</summary>
        public void InstallDeploymentRequestObject()
        {
            // Snippet: InstallDeployment(InstallDeploymentRequest, CallSettings)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = GSuiteAddOnsClient.Create();
            // Initialize request argument(s)
            InstallDeploymentRequest request = new InstallDeploymentRequest
            {
                DeploymentName = DeploymentName.FromProjectDeployment("[PROJECT]", "[DEPLOYMENT]"),
            };

            // Make the request
            gSuiteAddOnsClient.InstallDeployment(request);
            // End snippet
        }