View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaCustomAttribute (google_api_discovery_engine v0.27.0)
A 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_ARGUMENT
error 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_ARGUMENT
error is returned. Exactly one of CustomAttribute.text or CustomAttribute.numbers should be set. Otherwise, anINVALID_ARGUMENT
error is returned.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.