projects

GET /v1/projects/{projectsId}/locations/{locationsId}/addons/{addonsId}

Changed on

Get an addon.

Request

  • Base URL
    https://apihub.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/apihub.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/apihub.readonly
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/apihub.readwrite
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/apihub.readwrite
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
  • TypeScript

Path parameters

projectsIdstring required
locationsIdstring required
addonsIdstring required

Response

Successful response

boostSpecGeminiRegionIdstring

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.

createTimestring google-datetime

Output only. The time at which the addon was created.

dataSource'DATA_SOURCE_UNSPECIFIED' | 'PLUGIN_INSTANCE' | 'ALL_DATA'

Required. The data source on which the addon operates. This determines which field in the config oneof is used.

descriptionstring

Optional. The description of the addon.

displayNamestring

Required. The display name of the addon.

namestring

Identifier. The name of the addon to enable. Format: projects/{project}/locations/{location}/addons/{addon}.

state'ADDON_STATE_UNSPECIFIED' | 'ACTIVE' | 'UPDATING' | 'ERROR' | 'INACTIVE'

Output only. The state of the addon.

updateTimestring google-datetime

Output only. The time at which the addon was last updated.

Changes

    • info

      the security scope https://www.googleapis.com/auth/apihub.readonly was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/apihub.readonly was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2c