Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AnalyzerDefinition (v0.2.0)

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
Returns
  • (::String) — The name of this analyzer.

    Tentatively [a-z][a-z0-9](_[a-z0-9]+).

#analyzer=

def analyzer=(value) -> ::String
Parameter
  • value (::String) — The name of this analyzer.

    Tentatively [a-z][a-z0-9](_[a-z0-9]+).

Returns
  • (::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}
Returns
  • (::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}
Parameter
  • 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.

Returns
  • (::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

#debug_options=

def debug_options=(value) -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::DebugOptions

#inputs

def inputs() -> ::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>

#inputs=

def inputs=(value) -> ::Array<::Google::Cloud::VisionAI::V1::AnalyzerDefinition::StreamInput>
Parameter

#operator

def operator() -> ::String
Returns
  • (::String) — The name of the operator that this analyzer runs.

    Must match the name of a supported operator.

#operator=

def operator=(value) -> ::String
Parameter
  • value (::String) — The name of the operator that this analyzer runs.

    Must match the name of a supported operator.

Returns
  • (::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

#operator_option=

def operator_option=(value) -> ::Google::Cloud::VisionAI::V1::AnalyzerDefinition::OperatorOption