Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/apihub:v1.ts";

§Classes

APIhub
GoogleAuth

§Variables

auth

§Interfaces

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

Empty

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

GoogleCloudApihubV1ActionExecutionDetail

The details for the action to execute.

GoogleCloudApihubV1AllowedValue

The value that can be assigned to the attribute when the data type is enum.

GoogleCloudApihubV1Api

An API resource in the API Hub.

GoogleCloudApihubV1ApiData

The API data to be collected.

GoogleCloudApihubV1ApiHubInstance

An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.

GoogleCloudApihubV1ApiHubResource

ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.

GoogleCloudApihubV1ApiKeyConfig

Config for authentication with API key.

GoogleCloudApihubV1APIMetadata

The API metadata.

GoogleCloudApihubV1ApiMetadataList

The message to hold repeated API metadata.

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.

GoogleCloudApihubV1ApplicationIntegrationEndpointDetails

The details of the Application Integration endpoint to be triggered for curation.

GoogleCloudApihubV1Attribute

An attribute in the API Hub. An attribute is a name value pair which can be attached to different resources in the API hub based on the scope of the attribute. Attributes can either be pre-defined by the API Hub or created by users.

GoogleCloudApihubV1AttributeValues

The attribute values associated with resource.

GoogleCloudApihubV1AuthConfig

AuthConfig represents the authentication information.

GoogleCloudApihubV1AuthConfigTemplate

AuthConfigTemplate represents the authentication template for a plugin.

GoogleCloudApihubV1CollectApiDataRequest

The CollectApiData method's request.

GoogleCloudApihubV1Config

Available configurations to provision an ApiHub Instance.

GoogleCloudApihubV1ConfigTemplate

ConfigTemplate represents the configuration template for a plugin.

GoogleCloudApihubV1ConfigValueOption

ConfigValueOption represents an option for a config variable of type enum or multi select.

GoogleCloudApihubV1ConfigVariable

ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.

GoogleCloudApihubV1ConfigVariableTemplate

ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.

GoogleCloudApihubV1Curation

A curation resource in the API Hub.

GoogleCloudApihubV1CurationConfig

The curation information for this plugin instance.

GoogleCloudApihubV1CustomCuration

Custom curation information for this plugin instance.

GoogleCloudApihubV1Definition

Represents a definition for example schema, request, response definitions contained in an API version. A definition 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, definition will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only schema object is supported.

GoogleCloudApihubV1Dependency

A dependency resource defined in the API hub describes a dependency directed from a consumer to a supplier entity. A dependency can be defined between two Operations or between an Operation and External API.

GoogleCloudApihubV1DependencyEntityReference

Reference to an entity participating in a dependency.

GoogleCloudApihubV1DependencyErrorDetail

Details describing error condition of a dependency.

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.

GoogleCloudApihubV1DeploymentMetadata

The metadata associated with a deployment.

GoogleCloudApihubV1DisablePluginInstanceActionRequest

The DisablePluginInstanceAction method's request.

GoogleCloudApihubV1DisablePluginRequest

The DisablePlugin method's request.

GoogleCloudApihubV1Documentation

Documentation details.

GoogleCloudApihubV1EnablePluginInstanceActionRequest

The EnablePluginInstanceAction method's request.

GoogleCloudApihubV1EnablePluginRequest

The EnablePlugin method's request.

GoogleCloudApihubV1Endpoint

The endpoint to be triggered for curation. The endpoint will be invoked with a request payload containing ApiMetadata. Response should contain curated data in the form of ApiMetadata.

GoogleCloudApihubV1EnumAttributeValues

The attribute values of data type enum.

GoogleCloudApihubV1ExecutePluginInstanceActionRequest

The ExecutePluginInstanceAction method's request.

GoogleCloudApihubV1ExecutionStatus

The execution status for the plugin instance.

GoogleCloudApihubV1ExternalApi

An external API represents an API being provided by external sources. This can be used to model third-party APIs and can be used to define dependencies.

GoogleCloudApihubV1GoogleServiceAccountConfig

Config for Google service account authentication.

GoogleCloudApihubV1HostingService

The information related to the service implemented by the plugin developer, used to invoke the plugin's functionality.

GoogleCloudApihubV1HostProjectRegistration

Host project registration refers to the registration of a Google cloud project with Api Hub as a host project. This is the project where Api Hub is provisioned. It acts as the consumer project for the Api Hub instance provisioned. Multiple runtime projects can be attached to the host project and these attachments define the scope of Api Hub.

GoogleCloudApihubV1HttpOperation

The HTTP Operation.

GoogleCloudApihubV1Issue

Issue contains the details of a single issue found by the linter.

GoogleCloudApihubV1LastExecution

The result of the last execution of the plugin instance.

GoogleCloudApihubV1LintResponse

LintResponse contains the response from the linter.

GoogleCloudApihubV1LintSpecRequest

The LintSpec method's request.

GoogleCloudApihubV1ListApiOperationsResponse

The ListApiOperations method's response.

GoogleCloudApihubV1ListApisResponse

The ListApis method's response.

GoogleCloudApihubV1ListAttributesResponse

The ListAttributes method's response.

GoogleCloudApihubV1ListCurationsResponse

The ListCurations method's response.

GoogleCloudApihubV1ListDependenciesResponse

The ListDependencies method's response.

GoogleCloudApihubV1ListDeploymentsResponse

The ListDeployments method's response.

GoogleCloudApihubV1ListExternalApisResponse

The ListExternalApis method's response.

GoogleCloudApihubV1ListHostProjectRegistrationsResponse

The ListHostProjectRegistrations method's response.

GoogleCloudApihubV1ListPluginInstancesResponse

The ListPluginInstances method's response.

GoogleCloudApihubV1ListPluginsResponse

The ListPlugins method's response.

GoogleCloudApihubV1ListRuntimeProjectAttachmentsResponse

The ListRuntimeProjectAttachments method's response.

GoogleCloudApihubV1ListSpecsResponse

The ListSpecs method's response.

GoogleCloudApihubV1ListVersionsResponse

The ListVersions method's response.

GoogleCloudApihubV1LookupApiHubInstanceResponse

The LookupApiHubInstance method's response.`

GoogleCloudApihubV1LookupRuntimeProjectAttachmentResponse

The ListRuntimeProjectAttachments method's response.

GoogleCloudApihubV1MultiIntValues

The config variable value of data type multi int.

GoogleCloudApihubV1MultiSelectValues

The config variable value of data type multi select.

GoogleCloudApihubV1MultiStringValues

The config variable value of data type multi string.

GoogleCloudApihubV1Oauth2ClientCredentialsConfig

Parameters to support Oauth 2.0 client credentials grant authentication. See https://tools.ietf.org/html/rfc6749#section-1.3.4 for more details.

GoogleCloudApihubV1OpenApiSpecDetails

OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.

GoogleCloudApihubV1OperationDetails

The operation details parsed from the spec.

GoogleCloudApihubV1OperationMetadata

Represents the metadata of the long-running operation.

GoogleCloudApihubV1Owner

Owner details.

GoogleCloudApihubV1Path

The path details derived from the spec.

GoogleCloudApihubV1Plugin

A plugin resource in the API Hub.

GoogleCloudApihubV1PluginActionConfig

PluginActionConfig represents the configuration of an action supported by a plugin.

GoogleCloudApihubV1PluginInstance

Represents a plugin instance resource in the API Hub. A PluginInstance is a specific instance of a hub plugin with its own configuration, state, and execution details.

GoogleCloudApihubV1PluginInstanceAction

PluginInstanceAction represents an action which can be executed in the plugin instance.

GoogleCloudApihubV1PluginInstanceActionID

The plugin instance and associated action that is using the curation.

GoogleCloudApihubV1PluginInstanceActionSource

PluginInstanceActionSource represents the plugin instance action source.

GoogleCloudApihubV1Point

Point within the file (line and character).

GoogleCloudApihubV1Range

Object describing where in the file the issue was found.

GoogleCloudApihubV1RuntimeProjectAttachment

Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.

GoogleCloudApihubV1Schema

The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the definitions section for OpenAPI 2.0 version and in components.schemas section for OpenAPI 3.0 and 3.1 version.

GoogleCloudApihubV1SearchResourcesRequest

The SearchResources method's request.

GoogleCloudApihubV1SearchResourcesResponse

Response for the SearchResources method.

GoogleCloudApihubV1SearchResult

Represents the search results.

GoogleCloudApihubV1Secret

Secret provides a reference to entries in Secret Manager.

GoogleCloudApihubV1SourceMetadata

SourceMetadata represents the metadata for a resource at the source.

GoogleCloudApihubV1Spec

Represents a spec associated with an API version in the API Hub. Note that specs of various types can be uploaded, however parsing of details is supported for OpenAPI spec currently.

GoogleCloudApihubV1SpecContents

The spec contents.

GoogleCloudApihubV1SpecDetails

SpecDetails contains the details parsed from supported spec types.

GoogleCloudApihubV1SpecMetadata

The metadata associated with a spec of the API version.

GoogleCloudApihubV1StringAttributeValues

The attribute values of data type string or JSON.

GoogleCloudApihubV1StyleGuide

Represents a singleton style guide resource to be used for linting Open API specs.

GoogleCloudApihubV1StyleGuideContents

The style guide contents.

GoogleCloudApihubV1SummaryEntry

Count of issues with a given severity.

GoogleCloudApihubV1UserPasswordConfig

Parameters to support Username and Password Authentication.

GoogleCloudApihubV1Version

Represents a version of the API resource in API hub. This is also referred to as the API version.

GoogleCloudApihubV1VersionMetadata

The metadata associated with a version of the API resource.

GoogleCloudCommonOperationMetadata

Represents the metadata of the long-running operation.

GoogleCloudLocationListLocationsResponse

The response message for Locations.ListLocations.

GoogleCloudLocationLocation

A resource that represents a Google Cloud location.

GoogleLongrunningCancelOperationRequest

The request message for Operations.CancelOperation.

GoogleLongrunningListOperationsResponse

The response message for Operations.ListOperations.

GoogleLongrunningOperation

This resource represents a long-running operation that is the result of a network API call.

GoogleRpcStatus

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

ProjectsLocationsApiHubInstancesCreateOptions

Additional options for APIhub#projectsLocationsApiHubInstancesCreate.

ProjectsLocationsApisCreateOptions

Additional options for APIhub#projectsLocationsApisCreate.

ProjectsLocationsApisDeleteOptions

Additional options for APIhub#projectsLocationsApisDelete.

ProjectsLocationsApisListOptions

Additional options for APIhub#projectsLocationsApisList.

ProjectsLocationsApisPatchOptions

Additional options for APIhub#projectsLocationsApisPatch.

ProjectsLocationsApisVersionsCreateOptions

Additional options for APIhub#projectsLocationsApisVersionsCreate.

ProjectsLocationsApisVersionsDeleteOptions

Additional options for APIhub#projectsLocationsApisVersionsDelete.

ProjectsLocationsApisVersionsListOptions

Additional options for APIhub#projectsLocationsApisVersionsList.

ProjectsLocationsApisVersionsOperationsCreateOptions

Additional options for APIhub#projectsLocationsApisVersionsOperationsCreate.

ProjectsLocationsApisVersionsOperationsListOptions

Additional options for APIhub#projectsLocationsApisVersionsOperationsList.

ProjectsLocationsApisVersionsOperationsPatchOptions

Additional options for APIhub#projectsLocationsApisVersionsOperationsPatch.

ProjectsLocationsApisVersionsPatchOptions

Additional options for APIhub#projectsLocationsApisVersionsPatch.

ProjectsLocationsApisVersionsSpecsCreateOptions

Additional options for APIhub#projectsLocationsApisVersionsSpecsCreate.

ProjectsLocationsApisVersionsSpecsListOptions

Additional options for APIhub#projectsLocationsApisVersionsSpecsList.

ProjectsLocationsApisVersionsSpecsPatchOptions

Additional options for APIhub#projectsLocationsApisVersionsSpecsPatch.

ProjectsLocationsAttributesCreateOptions

Additional options for APIhub#projectsLocationsAttributesCreate.

ProjectsLocationsAttributesListOptions

Additional options for APIhub#projectsLocationsAttributesList.

ProjectsLocationsAttributesPatchOptions

Additional options for APIhub#projectsLocationsAttributesPatch.

ProjectsLocationsCurationsCreateOptions

Additional options for APIhub#projectsLocationsCurationsCreate.

ProjectsLocationsCurationsListOptions

Additional options for APIhub#projectsLocationsCurationsList.

ProjectsLocationsCurationsPatchOptions

Additional options for APIhub#projectsLocationsCurationsPatch.

ProjectsLocationsDependenciesCreateOptions

Additional options for APIhub#projectsLocationsDependenciesCreate.

ProjectsLocationsDependenciesListOptions

Additional options for APIhub#projectsLocationsDependenciesList.

ProjectsLocationsDependenciesPatchOptions

Additional options for APIhub#projectsLocationsDependenciesPatch.

ProjectsLocationsDeploymentsCreateOptions

Additional options for APIhub#projectsLocationsDeploymentsCreate.

ProjectsLocationsDeploymentsListOptions

Additional options for APIhub#projectsLocationsDeploymentsList.

ProjectsLocationsDeploymentsPatchOptions

Additional options for APIhub#projectsLocationsDeploymentsPatch.

ProjectsLocationsExternalApisCreateOptions

Additional options for APIhub#projectsLocationsExternalApisCreate.

ProjectsLocationsExternalApisListOptions

Additional options for APIhub#projectsLocationsExternalApisList.

ProjectsLocationsExternalApisPatchOptions

Additional options for APIhub#projectsLocationsExternalApisPatch.

ProjectsLocationsHostProjectRegistrationsCreateOptions

Additional options for APIhub#projectsLocationsHostProjectRegistrationsCreate.

ProjectsLocationsHostProjectRegistrationsListOptions

Additional options for APIhub#projectsLocationsHostProjectRegistrationsList.

ProjectsLocationsListOptions

Additional options for APIhub#projectsLocationsList.

ProjectsLocationsOperationsListOptions

Additional options for APIhub#projectsLocationsOperationsList.

ProjectsLocationsPluginsCreateOptions

Additional options for APIhub#projectsLocationsPluginsCreate.

ProjectsLocationsPluginsInstancesCreateOptions

Additional options for APIhub#projectsLocationsPluginsInstancesCreate.

ProjectsLocationsPluginsInstancesListOptions

Additional options for APIhub#projectsLocationsPluginsInstancesList.

ProjectsLocationsPluginsListOptions

Additional options for APIhub#projectsLocationsPluginsList.

ProjectsLocationsPluginsUpdateStyleGuideOptions

Additional options for APIhub#projectsLocationsPluginsUpdateStyleGuide.

ProjectsLocationsRuntimeProjectAttachmentsCreateOptions

Additional options for APIhub#projectsLocationsRuntimeProjectAttachmentsCreate.

ProjectsLocationsRuntimeProjectAttachmentsListOptions

Additional options for APIhub#projectsLocationsRuntimeProjectAttachmentsList.