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

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

Defines an attribute of an operator.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#attribute

def attribute() -> ::String
Returns
  • (::String) — The name of the attribute.

    Tentatively a-z?, e.g., max_frames_per_video, resize_height.

#attribute=

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

    Tentatively a-z?, e.g., max_frames_per_video, resize_height.

Returns
  • (::String) — The name of the attribute.

    Tentatively a-z?, e.g., max_frames_per_video, resize_height.

#default_value

def default_value() -> ::Google::Cloud::VisionAI::V1::AttributeValue
Returns

#default_value=

def default_value=(value) -> ::Google::Cloud::VisionAI::V1::AttributeValue
Parameter
Returns

#type

def type() -> ::String
Returns
  • (::String) — The type of this attribute.

    See attribute_value.proto for possibilities.

#type=

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

    See attribute_value.proto for possibilities.

Returns
  • (::String) — The type of this attribute.

    See attribute_value.proto for possibilities.