Google Cloud Vision Ai V1 Client - Class ArgumentDefinition (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class ArgumentDefinition.

Defines an argument to an operator.

Used for both inputs and outputs.

Generated from protobuf message google.cloud.visionai.v1.OperatorDefinition.ArgumentDefinition

Namespace

Google \ Cloud \ VisionAI \ V1 \ OperatorDefinition

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ argument string

The name of the argument. Tentatively a-z?, e.g., video, audio, high_fps_frame.

↳ type string

The data type of the argument. This should match the textual representation of a stream/Packet type.

getArgument

The name of the argument.

Tentatively a-z?, e.g., video, audio, high_fps_frame.

Returns
Type Description
string

setArgument

The name of the argument.

Tentatively a-z?, e.g., video, audio, high_fps_frame.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The data type of the argument.

This should match the textual representation of a stream/Packet type.

Returns
Type Description
string

setType

The data type of the argument.

This should match the textual representation of a stream/Packet type.

Parameter
Name Description
var string
Returns
Type Description
$this