Class Addon (0.7.2)

Addon(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Addon resource.

Attributes

Name Description
name str
Identifier. The name of the addon to enable. Format: projects/{project}/locations/{location}/addons/{addon}.
display_name str
Required. The display name of the addon.
description str
Optional. The description of the addon.
data_source google.cloud.apihub_v1.types.DataSource
Required. The data source on which the addon operates. This determines which field in the config oneof is used.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the addon was created.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the addon was last updated.
config google.cloud.apihub_v1.types.AddonConfig
Required. The configuration of the addon.
state google.cloud.apihub_v1.types.AddonState
Output only. The state of the addon.
boost_spec_gemini_region_id str
Output only. The Vertex AI region where the BoostSpec Gemini model calls run for this API Hub instance. Populated only for the SpecGen addon (system-spec-generation); other addons leave this field empty. gemini-2.5-flash is not available in every API Hub region, so the effective region may differ from the API Hub instance's own region. The value follows these semantics: - "": BoostSpec is disabled in this region (the addon is not SpecGen, or the API Hub instance region has no configured Gemini endpoint or fallback). - Equal to the API Hub instance region: BoostSpec calls run in-region. - Differs from the API Hub instance region: BoostSpec calls run in the specified fallback region. Callers rendering this field can derive the three display states from this single field combined with the API Hub instance region.