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
-
(::String) — The name of the attribute.
Tentatively a-z?, e.g., max_frames_per_video, resize_height.
#attribute=
def attribute=(value) -> ::String
-
value (::String) — The name of the attribute.
Tentatively a-z?, e.g., max_frames_per_video, resize_height.
-
(::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
- (::Google::Cloud::VisionAI::V1::AttributeValue) — The default value for the attribute.
#default_value=
def default_value=(value) -> ::Google::Cloud::VisionAI::V1::AttributeValue
- value (::Google::Cloud::VisionAI::V1::AttributeValue) — The default value for the attribute.
- (::Google::Cloud::VisionAI::V1::AttributeValue) — The default value for the attribute.
#type
def type() -> ::String
-
(::String) — The type of this attribute.
See attribute_value.proto for possibilities.
#type=
def type=(value) -> ::String
-
value (::String) — The type of this attribute.
See attribute_value.proto for possibilities.
-
(::String) — The type of this attribute.
See attribute_value.proto for possibilities.