GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CustomAttribute (google_api_discovery_engine v0.28.0)
View SourceA custom attribute that is not explicitly modeled in a resource, e.g. UserEvent.
Attributes
-
numbers(type:list(float()), default:nil) - 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, anINVALID_ARGUMENTerror is returned. -
text(type:list(String.t), default:nil) - The textual values of this custom attribute. For example,["yellow", "green"]when the key is "color". Empty string is not allowed. Otherwise, anINVALID_ARGUMENTerror is returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, anINVALID_ARGUMENTerror is returned.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.