GoogleCloudApihubV1Attribute
import type { GoogleCloudApihubV1Attribute } from "https://googleapis.deno.dev/v1/apihub:v1.ts";An attribute in the API Hub. An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users.
§Properties
Optional. The list of allowed values when the attribute value is of type enum. This is required when the data_type of the attribute is ENUM. The maximum number of allowed values of an attribute will be 1000.
Optional. The maximum number of values that the attribute can have when associated with an API Hub resource. Cardinality 1 would represent a single-valued attribute. It must not be less than 1 or greater than 20. If not specified, the cardinality would be set to 1 by default and represent a single-valued attribute.
Required. The type of the data of the attribute.
Output only. The definition type of the attribute.
Output only. When mandatory is true, the attribute is mandatory for the resource specified in the scope. Only System defined attributes can be mandatory.
Identifier. The name of the attribute in the API Hub. Format:
projects/{project}/locations/{location}/attributes/{attribute}