Google Cloud Vision Ai V1 Client - Class AnalyzerDefinition (0.3.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class 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.

Generated from protobuf message google.cloud.visionai.v1.AnalyzerDefinition

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ analyzer
string

The name of this analyzer. Tentatively [a-z][a-z0-9] (_[a-z0-9]+) .

↳ operator
string

The name of the operator that this analyzer runs. Must match the name of a supported operator.

↳ inputs
array< AnalyzerDefinition\StreamInput >

Input streams.

↳ attrs
array| Google\Protobuf\Internal\MapField

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
↳ operator_option

getAnalyzer

The name of this analyzer.

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

Returns
Type
Description
string

setAnalyzer

The name of this analyzer.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getOperator

The name of the operator that this analyzer runs.

Must match the name of a supported operator.

Returns
Type
Description
string

setOperator

The name of the operator that this analyzer runs.

Must match the name of a supported operator.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getInputs

Input streams.

setInputs

Input streams.

Parameter
Name
Description
Returns
Type
Description
$this

getAttrs

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
Type
Description

setAttrs

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.

Parameter
Name
Description
Returns
Type
Description
$this

getDebugOptions

Debug options.

Returns
Type
Description

hasDebugOptions

clearDebugOptions

setDebugOptions

Debug options.

Parameter
Name
Description
Returns
Type
Description
$this

getOperatorOption

Operator option.

Returns
Type
Description

hasOperatorOption

clearOperatorOption

setOperatorOption

Operator option.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: