public sealed class Addon : IMessage<Addon>, IEquatable<Addon>, IDeepCloneable<Addon>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class Addon.
Addon resource.
Namespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
Addon()
public Addon()Addon(Addon)
public Addon(Addon other)| Parameter | |
|---|---|
| Name | Description |
other |
Addon |
Properties
AddonName
public AddonName AddonName { get; set; }| Property Value | |
|---|---|
| Type | Description |
AddonName |
|
BoostSpecGeminiRegionId
public string BoostSpecGeminiRegionId { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Config
public AddonConfig Config { get; set; }Required. The configuration of the addon.
| Property Value | |
|---|---|
| Type | Description |
AddonConfig |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The time at which the addon was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
DataSource
public DataSource DataSource { get; set; }Required. The data source on which the addon operates. This determines
which field in the config oneof is used.
| Property Value | |
|---|---|
| Type | Description |
DataSource |
|
Description
public string Description { get; set; }Optional. The description of the addon.
| Property Value | |
|---|---|
| Type | Description |
string |
|
DisplayName
public string DisplayName { get; set; }Required. The display name of the addon.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. The name of the addon to enable.
Format: projects/{project}/locations/{location}/addons/{addon}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
State
public AddonState State { get; set; }Output only. The state of the addon.
| Property Value | |
|---|---|
| Type | Description |
AddonState |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The time at which the addon was last updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|