Class XPSColorMap
Map from color to display name. Will only be used by Image Segmentation for uCAIP.
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v2.Data
Assembly: Google.Apis.CloudNaturalLanguage.v2.dll
Syntax
public class XPSColorMap : IDirectResponseSchema
Properties
AnnotationSpecIdToken
Should be used during training.
Declaration
[JsonProperty("annotationSpecIdToken")]
public virtual string AnnotationSpecIdToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Color
This type is deprecated in favor of the IntColor below. This is because google.type.Color represent color has a float which semantically does not reflect discrete classes/categories concept. Moreover, to handle it well we need to have some tolerance when converting to a discretized color. As such, the recommendation is to have API surface still use google.type.Color while internally IntColor is used.
Declaration
[JsonProperty("color")]
public virtual Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
DisplayName
Should be used during preprocessing.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IntColor
Declaration
[JsonProperty("intColor")]
public virtual XPSColorMapIntColor IntColor { get; set; }
Property Value
Type | Description |
---|---|
XPSColorMapIntColor |