コード例 #1
0
        /// <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
        }
コード例 #2
0
        /// <summary>Snippet for GetInstallStatusAsync</summary>
        public async Task GetInstallStatusAsync()
        {
            // Snippet: GetInstallStatusAsync(string, CallSettings)
            // Additional: GetInstallStatusAsync(string, CancellationToken)
            // Create client
            GSuiteAddOnsClient gSuiteAddOnsClient = await GSuiteAddOnsClient.CreateAsync();

            // Initialize request argument(s)
            string name = "projects/[PROJECT]/deployments/[DEPLOYMENT]/installStatus";
            // Make the request
            InstallStatus response = await gSuiteAddOnsClient.GetInstallStatusAsync(name);

            // End snippet
        }