Class GoogleCloudDiscoveryengineV1CustomAttribute
A custom attribute that is not explicitly modeled in a resource, e.g. UserEvent.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1CustomAttribute : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Numbers
The numerical values of this custom attribute. For example, [2.3, 15.4]
when the key is "lengths_cm".
Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an
INVALID_ARGUMENT
error is returned.
Declaration
[JsonProperty("numbers")]
public virtual IList<double?> Numbers { get; set; }
Property Value
Type | Description |
---|---|
IList<double?> |
Text
The textual values of this custom attribute. For example, ["yellow", "green"]
when the key is "color".
Empty string is not allowed. Otherwise, an INVALID_ARGUMENT
error is returned. Exactly one of
CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, an INVALID_ARGUMENT
error is
returned.
Declaration
[JsonProperty("text")]
public virtual IList<string> Text { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |