Skip to content

Commit

Permalink
feat: Added option for user to set labels
Browse files Browse the repository at this point in the history
docs: Updated various comments
chore: configure longrunning operations

PiperOrigin-RevId: 604671304

Source-Link: googleapis/googleapis@f4c047f

Source-Link: googleapis/googleapis-gen@939ab9e
Copy-Tag: eyJwIjoiYXBpcy9Hb29nbGUuQ2xvdWQuVmlzaW9uLlYxLy5Pd2xCb3QueWFtbCIsImgiOiI5MzlhYjllYTZlZmUzNjgxMjY0NDBiNDJlNmJlYWM3ODk3ZDNhMWMyIn0=
  • Loading branch information
gcf-owl-bot[bot] authored and amanda-tarafa committed Feb 6, 2024
1 parent 76e136c commit 75fe94f
Show file tree
Hide file tree
Showing 18 changed files with 470 additions and 269 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public async Task AsyncBatchAnnotateFilesRequestObjectAsync()
new AsyncAnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateFilesResponse, OperationMetadata> response = await imageAnnotatorClient.AsyncBatchAnnotateFilesAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public void AsyncBatchAnnotateFilesRequestObject()
new AsyncAnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateFilesResponse, OperationMetadata> response = imageAnnotatorClient.AsyncBatchAnnotateFiles(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public async Task AsyncBatchAnnotateImagesRequestObjectAsync()
},
OutputConfig = new OutputConfig(),
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateImagesResponse, OperationMetadata> response = await imageAnnotatorClient.AsyncBatchAnnotateImagesAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public void AsyncBatchAnnotateImagesRequestObject()
},
OutputConfig = new OutputConfig(),
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateImagesResponse, OperationMetadata> response = imageAnnotatorClient.AsyncBatchAnnotateImages(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public async Task BatchAnnotateFilesRequestObjectAsync()
new AnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateFilesResponse response = await imageAnnotatorClient.BatchAnnotateFilesAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public void BatchAnnotateFilesRequestObject()
new AnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateFilesResponse response = imageAnnotatorClient.BatchAnnotateFiles(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public async Task BatchAnnotateImagesRequestObjectAsync()
new AnnotateImageRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateImagesResponse response = await imageAnnotatorClient.BatchAnnotateImagesAsync(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public void BatchAnnotateImagesRequestObject()
new AnnotateImageRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateImagesResponse response = imageAnnotatorClient.BatchAnnotateImages(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"segments": [
{
"start": 20,
"end": 48,
"end": 49,
"type": "FULL"
},
{
"start": 34,
"end": 46,
"end": 47,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -97,12 +97,12 @@
"segments": [
{
"start": 20,
"end": 49,
"end": 50,
"type": "FULL"
},
{
"start": 35,
"end": 47,
"end": 48,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -240,12 +240,12 @@
"segments": [
{
"start": 20,
"end": 48,
"end": 49,
"type": "FULL"
},
{
"start": 34,
"end": 46,
"end": 47,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -289,12 +289,12 @@
"segments": [
{
"start": 20,
"end": 49,
"end": 50,
"type": "FULL"
},
{
"start": 35,
"end": 47,
"end": 48,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -432,12 +432,12 @@
"segments": [
{
"start": 20,
"end": 66,
"end": 67,
"type": "FULL"
},
{
"start": 35,
"end": 64,
"end": 65,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -481,12 +481,12 @@
"segments": [
{
"start": 20,
"end": 67,
"end": 68,
"type": "FULL"
},
{
"start": 36,
"end": 65,
"end": 66,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -632,12 +632,12 @@
"segments": [
{
"start": 20,
"end": 65,
"end": 66,
"type": "FULL"
},
{
"start": 35,
"end": 63,
"end": 64,
"type": "SHORT"
}
]
Expand Down Expand Up @@ -681,12 +681,12 @@
"segments": [
{
"start": 20,
"end": 66,
"end": 67,
"type": "FULL"
},
{
"start": 36,
"end": 64,
"end": 65,
"type": "SHORT"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void BatchAnnotateImagesRequestObject()
new AnnotateImageRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateImagesResponse response = imageAnnotatorClient.BatchAnnotateImages(request);
Expand All @@ -59,6 +60,7 @@ public async Task BatchAnnotateImagesRequestObjectAsync()
new AnnotateImageRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateImagesResponse response = await imageAnnotatorClient.BatchAnnotateImagesAsync(request);
Expand Down Expand Up @@ -112,6 +114,7 @@ public void BatchAnnotateFilesRequestObject()
new AnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateFilesResponse response = imageAnnotatorClient.BatchAnnotateFiles(request);
Expand All @@ -133,6 +136,7 @@ public async Task BatchAnnotateFilesRequestObjectAsync()
new AnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
BatchAnnotateFilesResponse response = await imageAnnotatorClient.BatchAnnotateFilesAsync(request);
Expand Down Expand Up @@ -187,6 +191,7 @@ public void AsyncBatchAnnotateImagesRequestObject()
},
OutputConfig = new OutputConfig(),
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateImagesResponse, OperationMetadata> response = imageAnnotatorClient.AsyncBatchAnnotateImages(request);
Expand Down Expand Up @@ -225,6 +230,7 @@ public async Task AsyncBatchAnnotateImagesRequestObjectAsync()
},
OutputConfig = new OutputConfig(),
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateImagesResponse, OperationMetadata> response = await imageAnnotatorClient.AsyncBatchAnnotateImagesAsync(request);
Expand Down Expand Up @@ -328,6 +334,7 @@ public void AsyncBatchAnnotateFilesRequestObject()
new AsyncAnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateFilesResponse, OperationMetadata> response = imageAnnotatorClient.AsyncBatchAnnotateFiles(request);
Expand Down Expand Up @@ -365,6 +372,7 @@ public async Task AsyncBatchAnnotateFilesRequestObjectAsync()
new AsyncAnnotateFileRequest(),
},
Parent = "",
Labels = { { "", "" }, },
};
// Make the request
Operation<AsyncBatchAnnotateFilesResponse, OperationMetadata> response = await imageAnnotatorClient.AsyncBatchAnnotateFilesAsync(request);
Expand Down
Loading

0 comments on commit 75fe94f

Please sign in to comment.