Example #1
0
 /// <summary>Snippet for Delete</summary>
 public void DeleteRequestObject()
 {
     // Snippet: Delete(DeleteBackendBucketRequest, CallSettings)
     // Create client
     BackendBucketsClient backendBucketsClient = BackendBucketsClient.Create();
     // Initialize request argument(s)
     DeleteBackendBucketRequest request = new DeleteBackendBucketRequest
     {
         RequestId     = "",
         BackendBucket = "",
         Project       = "",
     };
     // Make the request
     Operation response = backendBucketsClient.Delete(request);
     // End snippet
 }
Example #2
0
        /// <summary>Snippet for DeleteAsync</summary>
        public async Task DeleteRequestObjectAsync()
        {
            // Snippet: DeleteAsync(DeleteBackendBucketRequest, CallSettings)
            // Additional: DeleteAsync(DeleteBackendBucketRequest, CancellationToken)
            // Create client
            BackendBucketsClient backendBucketsClient = await BackendBucketsClient.CreateAsync();

            // Initialize request argument(s)
            DeleteBackendBucketRequest request = new DeleteBackendBucketRequest
            {
                RequestId     = "",
                BackendBucket = "",
                Project       = "",
            };
            // Make the request
            Operation response = await backendBucketsClient.DeleteAsync(request);

            // End snippet
        }