/// <summary>Snippet for AuthorizeEnvironment</summary>
        public void AuthorizeEnvironmentRequestObject()
        {
            // Snippet: AuthorizeEnvironment(AuthorizeEnvironmentRequest, CallSettings)
            // Create client
            CloudShellServiceClient cloudShellServiceClient = CloudShellServiceClient.Create();
            // Initialize request argument(s)
            AuthorizeEnvironmentRequest request = new AuthorizeEnvironmentRequest
            {
                Name        = "",
                AccessToken = "",
                ExpireTime  = new Timestamp(),
                IdToken     = "",
            };
            // Make the request
            Operation <AuthorizeEnvironmentResponse, AuthorizeEnvironmentMetadata> response = cloudShellServiceClient.AuthorizeEnvironment(request);

            // Poll until the returned long-running operation is complete
            Operation <AuthorizeEnvironmentResponse, AuthorizeEnvironmentMetadata> completedResponse = response.PollUntilCompleted();
            // Retrieve the operation result
            AuthorizeEnvironmentResponse result = completedResponse.Result;

            // Or get the name of the operation
            string operationName = response.Name;
            // This name can be stored, then the long-running operation retrieved later by name
            Operation <AuthorizeEnvironmentResponse, AuthorizeEnvironmentMetadata> retrievedResponse = cloudShellServiceClient.PollOnceAuthorizeEnvironment(operationName);

            // Check if the retrieved long-running operation has completed
            if (retrievedResponse.IsCompleted)
            {
                // If it has completed, then access the result
                AuthorizeEnvironmentResponse retrievedResult = retrievedResponse.Result;
            }
            // End snippet
        }