---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews

`GET /v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews`

## Request

- Base URL: `https://apihub.googleapis.com`
- URL: `https://apihub.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}:retrieveApiViews`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/apihub.readonly`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/apihub.readonly`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/apihub.readwrite`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/apihub.readwrite`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
- TypeScript: <https://skmtc.dev/google/apis/apihub/docs/v1/projects/:projectsId/locations/:locationsId:retrieveApiViews/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve API views.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `filter` string
- `pageSize` integer
- `pageToken` string
- `view` 'API_VIEW_TYPE_UNSPECIFIED' | 'MCP_SERVER' | 'MCP_TOOL'

## Response `200`

Successful response

- GoogleCloudApihubV1RetrieveApiViewsResponse: The RetrieveApiViews method's response.
  - `apiViews` GoogleCloudApihubV1ApiView[]: Output only. The list of API views.
    - `mcpServerView` GoogleCloudApihubV1FlattenedApiVersionDeploymentView: A flattened view of an API, its version and one of the linked deployments.
      - `api` GoogleCloudApihubV1Api: An API resource in the API Hub.
        - `apiFunctionalRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiStyle` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiTechnicalRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `attributes` object: Optional. The list of user defined attributes associated with the API resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `businessUnit` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `createTime` string, google-datetime: Output only. The time at which the API resource was created.
        - `description` string: Optional. The description of the API resource.
        - `displayName` string: Required. The display name of the API resource.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `fingerprint` string: Optional. Fingerprint of the API resource. This must be unique for each API resource. It can neither be unset nor be updated to an existing fingerprint of another API resource.
        - `maturityLevel` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the API resource in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}`
        - `owner` GoogleCloudApihubV1Owner: Owner details.
          - `displayName` string: Optional. The name of the owner.
          - `email` string: Required. The email of the owner.
        - `selectedVersion` string: Optional. The selected version for an API resource. This can be used when special handling is needed on client side for particular version of the API. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
        - `serviceType` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the API resource.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `targetUser` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `team` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `updateTime` string, google-datetime: Output only. The time at which the API resource was last updated.
        - `versions` string[]: Output only. The list of versions present in an API resource. Note: An API resource can be associated with more than 1 version. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
      - `deployment` GoogleCloudApihubV1Deployment: Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
        - `apiOperations` string[]: Output only. The API operations linked directly to this deployment.
        - `apiVersions` string[]: Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
        - `attributes` object: Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `createTime` string, google-datetime: Output only. The time at which the deployment was created.
        - `deploymentType` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `description` string: Optional. The description of the deployment.
        - `displayName` string: Required. The display name of the deployment.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `endpoints` string[]: Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
        - `environment` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `managementUrl` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
        - `resourceUri` string: Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
        - `slo` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `sourceEnvironment` string: Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the deployment.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `sourceProject` string: Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
        - `sourceRevision` string: Optional. A revision identifier for the underlying gateway configuration that this deployment serves. For Apigee gateway variants, this is typically the proxy revision number populated automatically when the deployment is discovered.
        - `sourceUri` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `specs` string[]: Output only. The specs linked directly to this deployment. Note: a deployment could serve multiple specs (e.g., across different revisions of the same underlying gateway configuration).
        - `updateTime` string, google-datetime: Output only. The time at which the deployment was last updated.
      - `version` GoogleCloudApihubV1Version: Represents a version of the API resource in API hub. This is also referred to as the API version.
        - `accreditation` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiOperations` string[]: Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
        - `attributes` object: Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `compliance` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `createTime` string, google-datetime: Output only. The time at which the version was created.
        - `definitions` string[]: Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
        - `deployments` string[]: Optional. The deployments linked directly to this API version. Only directly-linked deployments are returned; deployments linked to this version's specs or operations are not included. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is `projects/{project}/locations/{location}/deployments/{deployment}`
        - `description` string: Optional. The description of the version.
        - `displayName` string: Required. The display name of the version.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `lifecycle` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the version. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
        - `selectedDeployment` string: Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is `projects/{project}/locations/{location}/deployments/{deployment}`
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the version.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `specs` string[]: Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
        - `updateTime` string, google-datetime: Output only. The time at which the version was last updated.
    - `mcpToolView` GoogleCloudApihubV1FlattenedApiVersionOperationDeploymentView: A flattened view of an API, its version, one of its operations and one of the linked deployments. If there are no deployments linked to the operation then the result will be empty.
      - `api` GoogleCloudApihubV1Api: An API resource in the API Hub.
        - `apiFunctionalRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiStyle` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiTechnicalRequirements` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `attributes` object: Optional. The list of user defined attributes associated with the API resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `businessUnit` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `createTime` string, google-datetime: Output only. The time at which the API resource was created.
        - `description` string: Optional. The description of the API resource.
        - `displayName` string: Required. The display name of the API resource.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `fingerprint` string: Optional. Fingerprint of the API resource. This must be unique for each API resource. It can neither be unset nor be updated to an existing fingerprint of another API resource.
        - `maturityLevel` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the API resource in the API Hub. Format: `projects/{project}/locations/{location}/apis/{api}`
        - `owner` GoogleCloudApihubV1Owner: Owner details.
          - `displayName` string: Optional. The name of the owner.
          - `email` string: Required. The email of the owner.
        - `selectedVersion` string: Optional. The selected version for an API resource. This can be used when special handling is needed on client side for particular version of the API. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
        - `serviceType` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the API resource.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `targetUser` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `team` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `updateTime` string, google-datetime: Output only. The time at which the API resource was last updated.
        - `versions` string[]: Output only. The list of versions present in an API resource. Note: An API resource can be associated with more than 1 version. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
      - `apiOperation` GoogleCloudApihubV1ApiOperation: Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Alternatively operations can be managed via create,update and delete APIs, creation of apiOperation can be possible only for version with no parsed operations and update/delete can be possible only for operations created via create API.
        - `attributes` object: Optional. The list of user defined attributes associated with the API operation resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `createTime` string, google-datetime: Output only. The time at which the operation was created.
        - `deployments` string[]: Optional. The deployments linked directly to this API operation. For operations parsed from a spec, `UpdateApiOperation` returns `FAILED_PRECONDITION`; link the parent spec to the deployment via `Spec.deployments` instead. Format is `projects/{project}/locations/{location}/deployments/{deployment}`
        - `details` GoogleCloudApihubV1OperationDetails: The operation details parsed from the spec.
          - `deprecated` boolean: Optional. For OpenAPI spec, this will be set if `operation.deprecated`is marked as `true` in the spec.
          - `description` string: Optional. Description of the operation behavior. For OpenAPI spec, this will map to `operation.description` in the spec, in case description is empty, `operation.summary` will be used.
          - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
            - `externalUri` string: Optional. The uri of the externally hosted documentation.
          - `httpOperation` GoogleCloudApihubV1HttpOperation: The HTTP Operation.
            - `method` 'METHOD_UNSPECIFIED' | 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH' | 'TRACE': Optional. Operation method Note: Even though this field is optional, it is required for CreateApiOperation API and we will fail the request if not provided.
            - `path` GoogleCloudApihubV1Path: The path details derived from the spec.
              - …
          - `mcpTool` GoogleCloudApihubV1McpTool: Details describing an MCP Tool.
            - `annotations` GoogleCloudApihubV1ToolAnnotations: Annotations for a Tool.
              - …
            - `description` string: Optional. Description of what the tool does.
            - `inputSchema` GoogleCloudApihubV1OperationSchema: The operation schema needed for an operation.
              - …
            - `name` string: Required. The name of the tool, unique within its parent scope (version).
            - `outputSchema` GoogleCloudApihubV1OperationSchema: The operation schema needed for an operation.
              - …
            - `title` string: Optional. Optional title for the tool.
        - `name` string: Identifier. The name of the operation. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the API operation.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `spec` string: Output only. The name of the spec will be of the format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}` Note:The name of the spec will be empty if the operation is created via CreateApiOperation API.
        - `updateTime` string, google-datetime: Output only. The time at which the operation was last updated.
      - `deployment` GoogleCloudApihubV1Deployment: Details of the deployment where APIs are hosted. A deployment could represent an Apigee proxy, API gateway, other Google Cloud services or non-Google Cloud services as well. A deployment entity is a root level entity in the API hub and exists independent of any API.
        - `apiOperations` string[]: Output only. The API operations linked directly to this deployment.
        - `apiVersions` string[]: Output only. The API versions linked to this deployment. Note: A particular deployment could be linked to multiple different API versions (of same or different APIs).
        - `attributes` object: Optional. The list of user defined attributes associated with the deployment resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `createTime` string, google-datetime: Output only. The time at which the deployment was created.
        - `deploymentType` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `description` string: Optional. The description of the deployment.
        - `displayName` string: Required. The display name of the deployment.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `endpoints` string[]: Required. The endpoints at which this deployment resource is listening for API requests. This could be a list of complete URIs, hostnames or an IP addresses.
        - `environment` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `managementUrl` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the deployment. Format: `projects/{project}/locations/{location}/deployments/{deployment}`
        - `resourceUri` string: Required. The resource URI identifies the deployment within its gateway. For Apigee gateways, its recommended to use the format: organizations/{org}/environments/{env}/apis/{api}. For ex: if a proxy with name `orders` is deployed in `staging` environment of `cymbal` organization, the resource URI would be: `organizations/cymbal/environments/staging/apis/orders`.
        - `slo` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `sourceEnvironment` string: Optional. The environment at source for the deployment. For example: prod, dev, staging, etc.
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the deployment.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `sourceProject` string: Optional. The project to which the deployment belongs. For Google Cloud gateways, this will refer to the project identifier. For others like Edge/OPDK, this will refer to the org identifier.
        - `sourceRevision` string: Optional. A revision identifier for the underlying gateway configuration that this deployment serves. For Apigee gateway variants, this is typically the proxy revision number populated automatically when the deployment is discovered.
        - `sourceUri` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `specs` string[]: Output only. The specs linked directly to this deployment. Note: a deployment could serve multiple specs (e.g., across different revisions of the same underlying gateway configuration).
        - `updateTime` string, google-datetime: Output only. The time at which the deployment was last updated.
      - `version` GoogleCloudApihubV1Version: Represents a version of the API resource in API hub. This is also referred to as the API version.
        - `accreditation` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `apiOperations` string[]: Output only. The operations contained in the API version. These operations will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}`
        - `attributes` object: Optional. The list of user defined attributes associated with the Version resource. The key is the attribute name. It will be of the format: `projects/{project}/locations/{location}/attributes/{attribute}`. The value is the attribute values associated with the resource.
        - `compliance` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `createTime` string, google-datetime: Output only. The time at which the version was created.
        - `definitions` string[]: Output only. The definitions contained in the API version. These definitions will be added to the version when a new spec is added or when an existing spec is updated. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
        - `deployments` string[]: Optional. The deployments linked directly to this API version. Only directly-linked deployments are returned; deployments linked to this version's specs or operations are not included. Note: A particular API version could be deployed to multiple deployments (for dev deployment, UAT deployment, etc) Format is `projects/{project}/locations/{location}/deployments/{deployment}`
        - `description` string: Optional. The description of the version.
        - `displayName` string: Required. The display name of the version.
        - `documentation` GoogleCloudApihubV1Documentation: Documentation details.
          - `externalUri` string: Optional. The uri of the externally hosted documentation.
        - `lifecycle` GoogleCloudApihubV1AttributeValues: The attribute values associated with resource.
          - `attribute` string: Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
          - `enumValues` GoogleCloudApihubV1EnumAttributeValues: The attribute values of data type enum.
            - `values` GoogleCloudApihubV1AllowedValue[]: Required. The attribute values in case attribute data type is enum.
              - …
          - `jsonValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `stringValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
          - `uriValues` GoogleCloudApihubV1StringAttributeValues: The attribute values of data type string or JSON.
            - `values` string[]: Required. The attribute values in case attribute data type is string or JSON.
        - `name` string: Identifier. The name of the version. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}`
        - `selectedDeployment` string: Optional. The selected deployment for a Version resource. This can be used when special handling is needed on client side for a particular deployment linked to the version. Format is `projects/{project}/locations/{location}/deployments/{deployment}`
        - `sourceMetadata` GoogleCloudApihubV1SourceMetadata[]: Output only. The list of sources and metadata from the sources of the version.
          - `originalResourceCreateTime` string, google-datetime: Output only. The time at which the resource was created at the source.
          - `originalResourceId` string: Output only. The unique identifier of the resource at the source.
          - `originalResourceUpdateTime` string, google-datetime: Output only. The time at which the resource was last updated at the source.
          - `pluginInstanceActionSource` GoogleCloudApihubV1PluginInstanceActionSource: PluginInstanceActionSource represents the plugin instance action source.
            - `actionId` string: Output only. The id of the plugin instance action.
            - `pluginInstance` string: Output only. The resource name of the source plugin instance. Format is `projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}`
          - `sourceType` 'SOURCE_TYPE_UNSPECIFIED' | 'PLUGIN': Output only. The type of the source.
        - `specs` string[]: Output only. The specs associated with this version. Note that an API version can be associated with multiple specs. Format is `projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}`
        - `updateTime` string, google-datetime: Output only. The time at which the version was last updated.
  - `nextPageToken` string: Next page token.

## Changes

- **2026-11-08** `09b6c7d2247b`: 4 info
  - the security scope `https://www.googleapis.com/auth/apihub.readonly` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/apihub.readonly` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/apihub/changes/v1/projects/:projectsId/locations/:locationsId:retrieveApiViews/get.md)

---

[API](https://skmtc.dev/google/apis/apihub.md) - [All operations](https://skmtc.dev/google/apis/apihub/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/apihub/revisions/09b6c7d2247b?raw)
