Class Product.Types.KeyValue (2.5.0)

public sealed class KeyValue : IMessage<Product.Types.KeyValue>, IEquatable<Product.Types.KeyValue>, IDeepCloneable<Product.Types.KeyValue>, IBufferMessage, IMessage

A product label represented as a key-value pair.

Inheritance

Object > Product.Types.KeyValue

Namespace

Google.Cloud.Vision.V1

Assembly

Google.Cloud.Vision.V1.dll

Constructors

KeyValue()

public KeyValue()

KeyValue(Product.Types.KeyValue)

public KeyValue(Product.Types.KeyValue other)
Parameter
NameDescription
otherProduct.Types.KeyValue

Properties

Key

public string Key { get; set; }

The key of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

Property Value
TypeDescription
String

Value

public string Value { get; set; }

The value of the label attached to the product. Cannot be empty and cannot exceed 128 bytes.

Property Value
TypeDescription
String