/// <summary>Snippet for SetIamPolicy</summary>
 public void SetIamPolicy()
 {
     // Snippet: SetIamPolicy(string, string, GlobalSetPolicyRequest, CallSettings)
     // Create client
     ImagesClient imagesClient = ImagesClient.Create();
     // Initialize request argument(s)
     string project  = "";
     string resource = "";
     GlobalSetPolicyRequest globalSetPolicyRequestResource = new GlobalSetPolicyRequest();
     // Make the request
     Policy response = imagesClient.SetIamPolicy(project, resource, globalSetPolicyRequestResource);
     // End snippet
 }
        /// <summary>Snippet for SetIamPolicyAsync</summary>
        public async Task SetIamPolicyAsync()
        {
            // Snippet: SetIamPolicyAsync(string, string, GlobalSetPolicyRequest, CallSettings)
            // Additional: SetIamPolicyAsync(string, string, GlobalSetPolicyRequest, CancellationToken)
            // Create client
            ImagesClient imagesClient = await ImagesClient.CreateAsync();

            // Initialize request argument(s)
            string project  = "";
            string resource = "";
            GlobalSetPolicyRequest globalSetPolicyRequestResource = new GlobalSetPolicyRequest();
            // Make the request
            Policy response = await imagesClient.SetIamPolicyAsync(project, resource, globalSetPolicyRequestResource);

            // End snippet
        }