Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::BatchAnnotateFilesRequest.
A list of requests to annotate files using the BatchAnnotateFiles API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
#parent
def parent() -> ::String
-
(::String) — Optional. Target project and location to make a call.
Format:
projects/{project-id}/locations/{location-id}
.If no parent is specified, a region will be chosen automatically.
Supported location-ids:
us
: USA country only,asia
: East asia areas, like Japan, Taiwan,eu
: The European Union.Example:
projects/project-A/locations/eu
.
#parent=
def parent=(value) -> ::String
-
value (::String) — Optional. Target project and location to make a call.
Format:
projects/{project-id}/locations/{location-id}
.If no parent is specified, a region will be chosen automatically.
Supported location-ids:
us
: USA country only,asia
: East asia areas, like Japan, Taiwan,eu
: The European Union.Example:
projects/project-A/locations/eu
.
-
(::String) — Optional. Target project and location to make a call.
Format:
projects/{project-id}/locations/{location-id}
.If no parent is specified, a region will be chosen automatically.
Supported location-ids:
us
: USA country only,asia
: East asia areas, like Japan, Taiwan,eu
: The European Union.Example:
projects/project-A/locations/eu
.
#requests
def requests() -> ::Array<::Google::Cloud::Vision::V1::AnnotateFileRequest>
- (::Array<::Google::Cloud::Vision::V1::AnnotateFileRequest>) — Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
#requests=
def requests=(value) -> ::Array<::Google::Cloud::Vision::V1::AnnotateFileRequest>
- value (::Array<::Google::Cloud::Vision::V1::AnnotateFileRequest>) — Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.
- (::Array<::Google::Cloud::Vision::V1::AnnotateFileRequest>) — Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.