/// <summary>Snippet for BatchAnnotateFiles</summary> public void BatchAnnotateFiles() { // Snippet: BatchAnnotateFiles(IEnumerable<AnnotateFileRequest>, CallSettings) // Create client ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.Create(); // Initialize request argument(s) IEnumerable <AnnotateFileRequest> requests = new AnnotateFileRequest[] { new AnnotateFileRequest(), }; // Make the request BatchAnnotateFilesResponse response = imageAnnotatorClient.BatchAnnotateFiles(requests); // End snippet }
/// <summary>Snippet for BatchAnnotateFiles</summary> public void BatchAnnotateFilesRequestObject() { // Snippet: BatchAnnotateFiles(BatchAnnotateFilesRequest, CallSettings) // Create client ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.Create(); // Initialize request argument(s) BatchAnnotateFilesRequest request = new BatchAnnotateFilesRequest { Requests = { new AnnotateFileRequest(), }, Parent = "", }; // Make the request BatchAnnotateFilesResponse response = imageAnnotatorClient.BatchAnnotateFiles(request); // End snippet }