Class: Google::Cloud::VisionAI::V1::OperatorDefinition::AttributeDefinition

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/lva.rb

Overview

Defines an attribute of an operator.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute::String

Returns 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.



90
91
92
93
# File 'proto_docs/google/cloud/visionai/v1/lva.rb', line 90

class AttributeDefinition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#default_value::Google::Cloud::VisionAI::V1::AttributeValue

Returns The default value for the attribute.

Returns:



90
91
92
93
# File 'proto_docs/google/cloud/visionai/v1/lva.rb', line 90

class AttributeDefinition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#type::String

Returns The type of this attribute.

See attribute_value.proto for possibilities.

Returns:

  • (::String)

    The type of this attribute.

    See attribute_value.proto for possibilities.



90
91
92
93
# File 'proto_docs/google/cloud/visionai/v1/lva.rb', line 90

class AttributeDefinition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end