Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AnalyzerDefinition.
Defines an Analyzer.
An analyzer processes data from its input streams using the logic defined in the Operator that it represents. Of course, it produces data for the output streams declared in the Operator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#analyzer
def analyzer() -> ::String
-
(::String) — The name of this analyzer.
Tentatively [a-z][a-z0-9](_[a-z0-9]+).
#analyzer=
def analyzer=(value) -> ::String
-
value (::String) — The name of this analyzer.
Tentatively [a-z][a-z0-9](_[a-z0-9]+).
-
(::String) — The name of this analyzer.
Tentatively [a-z][a-z0-9](_[a-z0-9]+).
#attrs
def attrs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VisionAI::V1::AttributeValue}
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::VisionAI::V1::AttributeValue}) — The attribute values that this analyzer applies to the operator.
Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
#attrs=
def attrs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VisionAI::V1::AttributeValue}
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::VisionAI::V1::AttributeValue}) — The attribute values that this analyzer applies to the operator.
Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::VisionAI::V1::AttributeValue}) — The attribute values that this analyzer applies to the operator.
Supply a mapping between the attribute names and the actual value you wish to apply. If an attribute name is omitted, then it will take a preconfigured default value.
#debug_options
def debug_options() -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions
- (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions) — Debug options.
#debug_options=
def debug_options=(value) -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions
- value (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions) — Debug options.
- (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions) — Debug options.
#inputs
def inputs() -> ::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>
- (::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>) — Input streams.
#inputs=
def inputs=(value) -> ::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>
- value (::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>) — Input streams.
- (::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>) — Input streams.
#operator
def operator() -> ::String
-
(::String) — The name of the operator that this analyzer runs.
Must match the name of a supported operator.
#operator=
def operator=(value) -> ::String
-
value (::String) — The name of the operator that this analyzer runs.
Must match the name of a supported operator.
-
(::String) — The name of the operator that this analyzer runs.
Must match the name of a supported operator.
#operator_option
def operator_option() -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption
- (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption) — Operator option.
#operator_option=
def operator_option=(value) -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption
- value (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption) — Operator option.
- (::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption) — Operator option.