/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, CallSettings) // Additional: GetAsync(string, string, CancellationToken) // Create client BackendBucketsClient backendBucketsClient = await BackendBucketsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string backendBucket = ""; // Make the request BackendBucket response = await backendBucketsClient.GetAsync(project, backendBucket); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetBackendBucketRequest, CallSettings) // Additional: GetAsync(GetBackendBucketRequest, CancellationToken) // Create client BackendBucketsClient backendBucketsClient = await BackendBucketsClient.CreateAsync(); // Initialize request argument(s) GetBackendBucketRequest request = new GetBackendBucketRequest { BackendBucket = "", Project = "", }; // Make the request BackendBucket response = await backendBucketsClient.GetAsync(request); // End snippet }