# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::AsyncAnnotateFileRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::AsyncAnnotateFileRequest.

An offline file annotation request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #features

    def features() -> ::Array<::Google::Cloud::Vision::V1::Feature>

**Returns**

- (::Array\<[::Google::Cloud::Vision::V1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-Feature)\>) --- Required. Requested features.

### #features=

    def features=(value) -> ::Array<::Google::Cloud::Vision::V1::Feature>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Vision::V1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-Feature)\>) --- Required. Requested features.
**Returns**

- (::Array\<[::Google::Cloud::Vision::V1::Feature](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-Feature)\>) --- Required. Requested features.

### #image_context

    def image_context() -> ::Google::Cloud::Vision::V1::ImageContext

**Returns**

- ([::Google::Cloud::Vision::V1::ImageContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-ImageContext)) --- Additional context that may accompany the image(s) in the file.

### #image_context=

    def image_context=(value) -> ::Google::Cloud::Vision::V1::ImageContext

**Parameter**

- **value** ([::Google::Cloud::Vision::V1::ImageContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-ImageContext)) --- Additional context that may accompany the image(s) in the file.
**Returns**

- ([::Google::Cloud::Vision::V1::ImageContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-ImageContext)) --- Additional context that may accompany the image(s) in the file.

### #input_config

    def input_config() -> ::Google::Cloud::Vision::V1::InputConfig

**Returns**

- ([::Google::Cloud::Vision::V1::InputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-InputConfig)) --- Required. Information about the input file.

### #input_config=

    def input_config=(value) -> ::Google::Cloud::Vision::V1::InputConfig

**Parameter**

- **value** ([::Google::Cloud::Vision::V1::InputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-InputConfig)) --- Required. Information about the input file.
**Returns**

- ([::Google::Cloud::Vision::V1::InputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-InputConfig)) --- Required. Information about the input file.

### #output_config

    def output_config() -> ::Google::Cloud::Vision::V1::OutputConfig

**Returns**

- ([::Google::Cloud::Vision::V1::OutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-OutputConfig)) --- Required. The desired output location and metadata (e.g. format).

### #output_config=

    def output_config=(value) -> ::Google::Cloud::Vision::V1::OutputConfig

**Parameter**

- **value** ([::Google::Cloud::Vision::V1::OutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-OutputConfig)) --- Required. The desired output location and metadata (e.g. format).
**Returns**

- ([::Google::Cloud::Vision::V1::OutputConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision-v1/latest/Google-Cloud-Vision-V1-OutputConfig)) --- Required. The desired output location and metadata (e.g. format).