API hub API (apihub:v1)

2026-11-07

3 new methods

Additions

    Methods
  • ▼ ▲ apihub.projects.locations.generatedSpecApis.generateSpec

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/generatedSpecApis/{generatedSpecApisId}:generateSpec

      Description : Merges the per-day stored specs across the requested window and returns the merged OpenAPI document. Preview: this method is in Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches General Availability.

      Scopes :

    • https://www.googleapis.com/auth/apihub.readonly
    • https://www.googleapis.com/auth/apihub.readwrite
    • https://www.googleapis.com/auth/cloud-platform
    • HTTP Method : POST

      Path : v1/{+name}:generateSpec

      Parameter Order : name

      Parameters :

        name

          Pattern : ^projects/[^/]+/locations/[^/]+/generatedSpecApis/[^/]+$

          Required : Yes

          Type : string

          Location : path

          Description : Required. The resource name of the GeneratedSpecApi to generate from. Format: `projects/{project}/locations/{location}/generatedSpecApis/{generated_spec_api}`

  • ▼ ▲ apihub.projects.locations.generatedSpecApis.list

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/generatedSpecApis

      Parameters :

        pageSize

          Location : query

          Type : integer

          Format : int32

          Description : Optional. The maximum number of results to return. The service may return fewer. If unspecified, at most 50 will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

        pageToken

          Location : query

          Description : Optional. A page token, received from a previous `ListGeneratedSpecApis` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except `page_size`) provided to `ListGeneratedSpecApis` must match the call that provided the page token.

          Type : string

        parent

          Description : Required. The parent resource, which owns this collection of tracked APIs. Format: `projects/{project}/locations/{location}`

          Type : string

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Required : Yes

          Location : path

        filter

          Description : Optional. An AIP-160 filter. This release supports the fields `state` and `source.source_type`, the `=` comparison operator only, and `AND` conjunction only. Examples: - `state = "SPEC_GENERATED"` - `state = "SPEC_ASSOCIATED" AND source.source_type = APIGEE_X`

          Location : query

          Type : string

      Description : Lists the APIs the pipeline is tracking, ordered by `update_time desc`. Preview: this method is in Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches General Availability.

      Path : v1/{+parent}/generatedSpecApis

      Scopes :

    • https://www.googleapis.com/auth/apihub.readonly
    • https://www.googleapis.com/auth/apihub.readwrite
    • https://www.googleapis.com/auth/cloud-platform
    • HTTP Method : GET

      Parameter Order : parent

  • ▼ ▲ apihub.projects.locations.generatedSpecApis.get

      HTTP Method : GET

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/generatedSpecApis/{generatedSpecApisId}

      Path : v1/{+name}

      Parameters :

        name

          Required : Yes

          Location : path

          Pattern : ^projects/[^/]+/locations/[^/]+/generatedSpecApis/[^/]+$

          Description : Required. The resource name of the GeneratedSpecApi to retrieve. Format: `projects/{project}/locations/{location}/generatedSpecApis/{generated_spec_api}`

          Type : string

      Description : Gets a single GeneratedSpecApi by resource name. Preview: this method is in Public Preview. Behavior and the API surface may change until the Spec Generation feature reaches General Availability.

      Parameter Order : name

      Scopes :

    • https://www.googleapis.com/auth/apihub.readonly
    • https://www.googleapis.com/auth/apihub.readwrite
    • https://www.googleapis.com/auth/cloud-platform