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

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::OperatorDefinition.

Defines the interface of an Operator.

Arguments to an operator are input/output streams that are getting processesed/returned while attributes are fixed configuration parameters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attributes

def attributes() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>
Returns

#attributes=

def attributes=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition>
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Full description of the operator.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Full description of the operator.
Returns
  • (::String) — Full description of the operator.

#input_args

def input_args() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
Returns

#input_args=

def input_args=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
Parameter
Returns

#operator

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

    Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

#operator=

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

    Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

Returns
  • (::String) — The name of this operator.

    Tentatively [A-Z][a-zA-Z0-9]*, e.g., BboxCounter, PetDetector, PetDetector1.

#output_args

def output_args() -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
Returns

#output_args=

def output_args=(value) -> ::Array<::Google::Cloud::VisionAI::V1::OperatorDefinition::ArgumentDefinition>
Parameter
Returns

#resources

def resources() -> ::Google::Cloud::VisionAI::V1::ResourceSpecification
Returns

#resources=

def resources=(value) -> ::Google::Cloud::VisionAI::V1::ResourceSpecification
Parameter
Returns

#short_description

def short_description() -> ::String
Returns
  • (::String) — Short description of the operator.

#short_description=

def short_description=(value) -> ::String
Parameter
  • value (::String) — Short description of the operator.
Returns
  • (::String) — Short description of the operator.