/// <summary>Snippet for GetAsync</summary> public async Task GetAsync() { // Snippet: GetAsync(string, string, string, CallSettings) // Additional: GetAsync(string, string, string, CancellationToken) // Create client ImageFamilyViewsClient imageFamilyViewsClient = await ImageFamilyViewsClient.CreateAsync(); // Initialize request argument(s) string project = ""; string zone = ""; string family = ""; // Make the request ImageFamilyView response = await imageFamilyViewsClient.GetAsync(project, zone, family); // End snippet }
/// <summary>Snippet for GetAsync</summary> public async Task GetRequestObjectAsync() { // Snippet: GetAsync(GetImageFamilyViewRequest, CallSettings) // Additional: GetAsync(GetImageFamilyViewRequest, CancellationToken) // Create client ImageFamilyViewsClient imageFamilyViewsClient = await ImageFamilyViewsClient.CreateAsync(); // Initialize request argument(s) GetImageFamilyViewRequest request = new GetImageFamilyViewRequest { Zone = "", Project = "", Family = "", }; // Make the request ImageFamilyView response = await imageFamilyViewsClient.GetAsync(request); // End snippet }