API hub V1 API - Class Google::Cloud::ApiHub::V1::Addon (v1.3.0)

Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::Addon.

Addon resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#boost_spec_gemini_region_id

def boost_spec_gemini_region_id() -> ::String
Returns
  • (::String) — 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.

#config

def config() -> ::Google::Cloud::ApiHub::V1::AddonConfig
Returns

#config=

def config=(value) -> ::Google::Cloud::ApiHub::V1::AddonConfig
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#data_source

def data_source() -> ::Google::Cloud::ApiHub::V1::DataSource
Returns

#data_source=

def data_source=(value) -> ::Google::Cloud::ApiHub::V1::DataSource
Parameter
Returns

#description

def description() -> ::String
Returns
  • (::String) — Optional. The description of the addon.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. The description of the addon.
Returns
  • (::String) — Optional. The description of the addon.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The display name of the addon.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The display name of the addon.
Returns
  • (::String) — Required. The display name of the addon.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The name of the addon to enable. Format: projects/{project}/locations/{location}/addons/{addon}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The name of the addon to enable. Format: projects/{project}/locations/{location}/addons/{addon}.
Returns
  • (::String) — Identifier. The name of the addon to enable. Format: projects/{project}/locations/{location}/addons/{addon}.

#state

def state() -> ::Google::Cloud::ApiHub::V1::AddonState
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns