/// <summary>Snippet for SetLabels</summary> public void SetLabels() { // Snippet: SetLabels(string, string, GlobalSetLabelsRequest, CallSettings) // Create client ImagesClient imagesClient = ImagesClient.Create(); // Initialize request argument(s) string project = ""; string resource = ""; GlobalSetLabelsRequest globalSetLabelsRequestResource = new GlobalSetLabelsRequest(); // Make the request Operation response = imagesClient.SetLabels(project, resource, globalSetLabelsRequestResource); // End snippet }
/// <summary>Snippet for SetLabels</summary> public void SetLabelsRequestObject() { // Snippet: SetLabels(SetLabelsImageRequest, CallSettings) // Create client ImagesClient imagesClient = ImagesClient.Create(); // Initialize request argument(s) SetLabelsImageRequest request = new SetLabelsImageRequest { Resource = "", Project = "", GlobalSetLabelsRequestResource = new GlobalSetLabelsRequest(), }; // Make the request Operation response = imagesClient.SetLabels(request); // End snippet }