Skip to content

Commit ddccea6

Browse files
regenerate GAPIC v1p2beta1 code (#43)
1 parent 0d879e6 commit ddccea6

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

packages/google-cloud-vision/protos/google/cloud/vision/v1p2beta1/image_annotator.proto

+10
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,16 @@ message AnnotateImageResponse {
599599
ImageAnnotationContext context = 21;
600600
}
601601

602+
// Response to a single file annotation request. A file may contain one or more
603+
// images, which individually have their own responses.
604+
message AnnotateFileResponse {
605+
// Information about the file for which this response is generated.
606+
InputConfig input_config = 1;
607+
608+
// Individual responses to images found within the file.
609+
repeated AnnotateImageResponse responses = 2;
610+
}
611+
602612
// Multiple image annotation requests are batched into a single service call.
603613
message BatchAnnotateImagesRequest {
604614
// Individual image annotation requests for this batch.

packages/google-cloud-vision/src/v1p2beta1/doc/google/cloud/vision/v1p2beta1/doc_image_annotator.js

+22
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,28 @@ var AnnotateImageResponse = {
923923
// This is for documentation. Actual contents will be loaded by gRPC.
924924
};
925925

926+
/**
927+
* Response to a single file annotation request. A file may contain one or more
928+
* images, which individually have their own responses.
929+
*
930+
* @property {Object} inputConfig
931+
* Information about the file for which this response is generated.
932+
*
933+
* This object should have the same structure as [InputConfig]{@link google.cloud.vision.v1p2beta1.InputConfig}
934+
*
935+
* @property {Object[]} responses
936+
* Individual responses to images found within the file.
937+
*
938+
* This object should have the same structure as [AnnotateImageResponse]{@link google.cloud.vision.v1p2beta1.AnnotateImageResponse}
939+
*
940+
* @typedef AnnotateFileResponse
941+
* @memberof google.cloud.vision.v1p2beta1
942+
* @see [google.cloud.vision.v1p2beta1.AnnotateFileResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/cloud/vision/v1p2beta1/image_annotator.proto}
943+
*/
944+
var AnnotateFileResponse = {
945+
// This is for documentation. Actual contents will be loaded by gRPC.
946+
};
947+
926948
/**
927949
* Multiple image annotation requests are batched into a single service call.
928950
*

0 commit comments

Comments
 (0)