API documentation for apihub_v1.types
package.
Classes
APIMetadata
The API metadata.
ActionExecutionDetail
The details for the action to execute.
ActionType
Enum for the action type.
Api
An API resource in the API Hub.
ApiData
The API data to be collected.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ApiHubInstance
An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.
ApiHubResource
ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ApiMetadataList
The message to hold repeated API metadata.
ApiOperation
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.
ApplicationIntegrationEndpointDetails
The details of the Application Integration endpoint to be triggered for curation.
Attribute
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.
AttributeValues
The attribute values associated with resource.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
AuthConfig
AuthConfig represents the authentication information.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
AuthType
AuthType represents the authentication type.
CollectApiDataRequest
The CollectApiData method's request.
CollectApiDataResponse
The CollectApiData method's response.
CollectionType
The type of the collect request.
ConfigValueOption
ConfigValueOption represents an option for a config variable of type enum or multi select.
ConfigVariable
ConfigVariable represents a additional configuration variable present in a PluginInstance Config or AuthConfig, based on a ConfigVariableTemplate.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ConfigVariableTemplate
ConfigVariableTemplate represents a configuration variable template present in a Plugin Config.
CreateApiHubInstanceRequest
The CreateApiHubInstance method's request.
CreateApiOperationRequest
The CreateApiOperation method's request.
CreateApiRequest
The CreateApi method's request.
CreateAttributeRequest
The CreateAttribute method's request.
CreateCurationRequest
The CreateCuration][ApiHub.CreateCuration]
method's request.
CreateDependencyRequest
The CreateDependency method's request.
CreateDeploymentRequest
The CreateDeployment method's request.
CreateExternalApiRequest
The CreateExternalApi method's request.
CreateHostProjectRegistrationRequest
The CreateHostProjectRegistration method's request.
CreatePluginInstanceRequest
The CreatePluginInstance method's request.
CreatePluginRequest
The CreatePlugin method's request.
CreateRuntimeProjectAttachmentRequest
The CreateRuntimeProjectAttachment method's request.
CreateSpecRequest
The CreateSpec method's request.
CreateVersionRequest
The CreateVersion method's request.
Curation
A curation resource in the API Hub.
CurationConfig
The curation information for this plugin instance.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
CurationType
Enum for the curation type.
Definition
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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
DeleteApiHubInstanceRequest
The DeleteApiHubInstance method's request.
DeleteApiOperationRequest
The DeleteApiOperation method's request.
DeleteApiRequest
The DeleteApi method's request.
DeleteAttributeRequest
The DeleteAttribute method's request.
DeleteCurationRequest
The DeleteCuration][ApiHub.DeleteCuration]
method's request.
DeleteDependencyRequest
The DeleteDependency method's request.
DeleteDeploymentRequest
The DeleteDeployment method's request.
DeleteExternalApiRequest
The DeleteExternalApi method's request.
DeletePluginInstanceRequest
The DeletePluginInstance method's request.
DeletePluginRequest
The DeletePlugin][ApiHub.DeletePlugin]
method's request.
DeleteRuntimeProjectAttachmentRequest
The DeleteRuntimeProjectAttachment method's request.
DeleteSpecRequest
The DeleteSpec method's request.
DeleteVersionRequest
The DeleteVersion method's request.
Dependency
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][google.cloud.apihub.v1.ExternalApi].
DependencyEntityReference
Reference to an entity participating in a dependency.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
DependencyErrorDetail
Details describing error condition of a dependency.
Deployment
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.
DeploymentMetadata
The metadata associated with a deployment.
DisablePluginInstanceActionRequest
The DisablePluginInstanceAction method's request.
DisablePluginInstanceActionResponse
The DisablePluginInstanceAction method's response.
DisablePluginRequest
The DisablePlugin method's request.
DiscoveredApiObservation
Respresents an API Observation observed in one of the sources.
DiscoveredApiOperation
DiscoveredApiOperation represents an API Operation observed in one of the sources.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Documentation
Documentation details.
EnablePluginInstanceActionRequest
The EnablePluginInstanceAction method's request.
EnablePluginInstanceActionResponse
The EnablePluginInstanceAction method's response.
EnablePluginRequest
The EnablePlugin method's request.
Endpoint
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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
ExecutePluginInstanceActionRequest
The ExecutePluginInstanceAction method's request.
ExecutePluginInstanceActionResponse
The ExecutePluginInstanceAction method's response.
ExecutionStatus
The execution status for the plugin instance.
ExternalApi
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.
GatewayType
Enum for the gateway type.
GetApiHubInstanceRequest
The GetApiHubInstance method's request.
GetApiOperationRequest
The GetApiOperation method's request.
GetApiRequest
The GetApi method's request.
GetAttributeRequest
The GetAttribute method's request.
GetCurationRequest
The GetCuration][ApiHub.GetCuration]
method's request.
GetDefinitionRequest
The GetDefinition method's request.
GetDependencyRequest
The GetDependency][.ApiHubDependencies.GetDependency]
method's
request.
GetDeploymentRequest
The GetDeployment method's request.
GetDiscoveredApiObservationRequest
Message for requesting a DiscoveredApiObservation
GetDiscoveredApiOperationRequest
Message for requesting a DiscoveredApiOperation
GetExternalApiRequest
The GetExternalApi method's request.
GetHostProjectRegistrationRequest
The GetHostProjectRegistration method's request.
GetPluginInstanceRequest
The GetPluginInstance method's request.
GetPluginRequest
The GetPlugin method's request.
GetRuntimeProjectAttachmentRequest
The GetRuntimeProjectAttachment method's request.
GetSpecContentsRequest
The GetSpecContents method's request.
GetSpecRequest
The GetSpec method's request.
GetStyleGuideContentsRequest
The GetStyleGuideContents method's request.
GetStyleGuideRequest
The GetStyleGuide method's request.
GetVersionRequest
The GetVersion method's request.
GoogleServiceAccountConfig
Config for Google service account authentication.
HostProjectRegistration
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.
HttpOperation
The HTTP Operation.
HttpOperationDetails
An HTTP-based API Operation, sometimes called a "REST" Operation.
Issue
Issue contains the details of a single issue found by the linter.
LintResponse
LintResponse contains the response from the linter.
LintSpecRequest
The LintSpec method's request.
LintState
Lint state represents success or failure for linting.
Linter
Enumeration of linter types.
ListApiOperationsRequest
The ListApiOperations method's request.
ListApiOperationsResponse
The ListApiOperations method's response.
ListApisRequest
The ListApis method's request.
ListApisResponse
The ListApis method's response.
ListAttributesRequest
The ListAttributes method's request.
ListAttributesResponse
The ListAttributes method's response.
ListCurationsRequest
The ListCurations][ApiHub.ListCurations]
method's request.
ListCurationsResponse
The ListCurations][ApiHub.ListCurations]
method's response.
ListDependenciesRequest
The ListDependencies method's request.
ListDependenciesResponse
The ListDependencies method's response.
ListDeploymentsRequest
The ListDeployments method's request.
ListDeploymentsResponse
The ListDeployments method's response.
ListDiscoveredApiObservationsRequest
Message for requesting list of DiscoveredApiObservations
ListDiscoveredApiObservationsResponse
Message for response to listing DiscoveredApiObservations
ListDiscoveredApiOperationsRequest
Message for requesting list of DiscoveredApiOperations
ListDiscoveredApiOperationsResponse
Message for response to listing DiscoveredApiOperations
ListExternalApisRequest
The ListExternalApis method's request.
ListExternalApisResponse
The ListExternalApis method's response.
ListHostProjectRegistrationsRequest
The ListHostProjectRegistrations method's request.
ListHostProjectRegistrationsResponse
The ListHostProjectRegistrations method's response.
ListPluginInstancesRequest
The ListPluginInstances method's request.
ListPluginInstancesResponse
The ListPluginInstances method's response.
ListPluginsRequest
The ListPlugins method's request.
ListPluginsResponse
The ListPlugins method's response.
ListRuntimeProjectAttachmentsRequest
The ListRuntimeProjectAttachments method's request.
ListRuntimeProjectAttachmentsResponse
The ListRuntimeProjectAttachments method's response.
ListSpecsRequest
The ListSpecs][ListSpecs]
method's request.
ListSpecsResponse
The ListSpecs method's response.
ListVersionsRequest
The ListVersions method's request.
ListVersionsResponse
The ListVersions method's response.
LookupApiHubInstanceRequest
The LookupApiHubInstance method's request.
LookupApiHubInstanceResponse
The LookupApiHubInstance method's response.`
LookupRuntimeProjectAttachmentRequest
The LookupRuntimeProjectAttachment method's request.
LookupRuntimeProjectAttachmentResponse
The ListRuntimeProjectAttachments method's response.
OpenApiSpecDetails
OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in SpecDetails.
OperationDetails
The operation details parsed from the spec.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
OperationMetadata
Represents the metadata of the long-running operation.
Owner
Owner details.
Path
The path details derived from the spec.
Plugin
A plugin resource in the API Hub.
PluginActionConfig
PluginActionConfig represents the configuration of an action supported by a plugin.
PluginCategory
Enum for the plugin category.
PluginInstance
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.
PluginInstanceAction
PluginInstanceAction represents an action which can be executed in the plugin instance.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Point
Point within the file (line and character).
Range
Object describing where in the file the issue was found.
RuntimeProjectAttachment
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.
Schema
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.
SearchResourcesRequest
The SearchResources method's request.
SearchResourcesResponse
Response for the SearchResources method.
SearchResult
Represents the search results.
Secret
Secret provides a reference to entries in Secret Manager.
Severity
Severity of the issue.
SourceMetadata
SourceMetadata represents the metadata for a resource at the source.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Spec
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.
SpecContents
The spec contents.
SpecDetails
SpecDetails contains the details parsed from supported spec types.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
SpecMetadata
The metadata associated with a spec of the API version.
StyleGuide
Represents a singleton style guide resource to be used for linting Open API specs.
StyleGuideContents
The style guide contents.
UpdateApiOperationRequest
The UpdateApiOperation method's request.
UpdateApiRequest
The UpdateApi method's request.
UpdateAttributeRequest
The UpdateAttribute method's request.
UpdateCurationRequest
The UpdateCuration][ApiHub.UpdateCuration]
method's request.
UpdateDependencyRequest
The UpdateDependency method's request.
UpdateDeploymentRequest
The UpdateDeployment method's request.
UpdateExternalApiRequest
The UpdateExternalApi method's request.
UpdatePluginInstanceRequest
The UpdatePluginInstance method's request.
UpdateSpecRequest
The UpdateSpec method's request.
UpdateStyleGuideRequest
The UpdateStyleGuide method's request.
UpdateVersionRequest
The UpdateVersion method's request.
Version
Represents a version of the API resource in API hub. This is also referred to as the API version.
VersionMetadata
The metadata associated with a version of the API resource.