Skip to content

Commit

Permalink
regenerate GAPIC v1p2beta1 code (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-fenster authored Mar 23, 2018
1 parent 0d879e6 commit ddccea6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,16 @@ message AnnotateImageResponse {
ImageAnnotationContext context = 21;
}

// Response to a single file annotation request. A file may contain one or more
// images, which individually have their own responses.
message AnnotateFileResponse {
// Information about the file for which this response is generated.
InputConfig input_config = 1;

// Individual responses to images found within the file.
repeated AnnotateImageResponse responses = 2;
}

// Multiple image annotation requests are batched into a single service call.
message BatchAnnotateImagesRequest {
// Individual image annotation requests for this batch.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -923,6 +923,28 @@ var AnnotateImageResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* Response to a single file annotation request. A file may contain one or more
* images, which individually have their own responses.
*
* @property {Object} inputConfig
* Information about the file for which this response is generated.
*
* This object should have the same structure as [InputConfig]{@link google.cloud.vision.v1p2beta1.InputConfig}
*
* @property {Object[]} responses
* Individual responses to images found within the file.
*
* This object should have the same structure as [AnnotateImageResponse]{@link google.cloud.vision.v1p2beta1.AnnotateImageResponse}
*
* @typedef AnnotateFileResponse
* @memberof google.cloud.vision.v1p2beta1
* @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}
*/
var AnnotateFileResponse = {
// This is for documentation. Actual contents will be loaded by gRPC.
};

/**
* Multiple image annotation requests are batched into a single service call.
*
Expand Down

0 comments on commit ddccea6

Please sign in to comment.