Example #1
0
        /// <summary>Snippet for UpdatePolicyAsync</summary>
        public async Task UpdatePolicyAsync()
        {
            // Snippet: UpdatePolicyAsync(Policy, CallSettings)
            // Additional: UpdatePolicyAsync(Policy, CancellationToken)
            // Create client
            BinauthzManagementServiceV1Client binauthzManagementServiceV1Client = await BinauthzManagementServiceV1Client.CreateAsync();

            // Initialize request argument(s)
            Policy policy = new Policy();
            // Make the request
            Policy response = await binauthzManagementServiceV1Client.UpdatePolicyAsync(policy);

            // End snippet
        }