/// <summary>Snippet for Get</summary> public void Get() { // Snippet: Get(string, string, string, CallSettings) // Create client ImageFamilyViewsClient imageFamilyViewsClient = ImageFamilyViewsClient.Create(); // Initialize request argument(s) string project = ""; string zone = ""; string family = ""; // Make the request ImageFamilyView response = imageFamilyViewsClient.Get(project, zone, family); // End snippet }
/// <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 Get</summary> public void GetRequestObject() { // Snippet: Get(GetImageFamilyViewRequest, CallSettings) // Create client ImageFamilyViewsClient imageFamilyViewsClient = ImageFamilyViewsClient.Create(); // Initialize request argument(s) GetImageFamilyViewRequest request = new GetImageFamilyViewRequest { Zone = "", Project = "", Family = "", }; // Make the request ImageFamilyView response = imageFamilyViewsClient.Get(request); // 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 }