package google.cloud.apihub.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ApiHub

apihub_service.proto:36

This service provides all methods related to the API hub.

service ApiHubDependencies

apihub_service.proto:488

This service provides methods for various operations related to a [Dependency][google.cloud.apihub.v1.Dependency] in the API hub.

service ApiHubPlugin

plugin_service.proto:34

This service is used for managing plugins inside the API Hub.

service HostProjectRegistrationService

host_project_registration_service.proto:34

This service is used for managing the host project registrations.

service LintingService

linting_service.proto:36

This service provides all methods related to the 1p Linter.

service Provisioning

provisioning_service.proto:35

This service is used for managing the data plane provisioning of the API hub.

service RuntimeProjectAttachmentService

runtime_project_attachment_service.proto:35

This service is used for managing the runtime project attachments.

message Api

common_fields.proto:78

An API resource in the API Hub.

Used as response type in: ApiHub.CreateApi, ApiHub.GetApi, ApiHub.UpdateApi

Used as field type in: ApiHubResource, CreateApiRequest, ListApisResponse, UpdateApiRequest

message ApiHubInstance

common_fields.proto:1180

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

Used as response type in: Provisioning.GetApiHubInstance

Used as field type in: CreateApiHubInstanceRequest, LookupApiHubInstanceResponse

message ApiHubInstance.Config

common_fields.proto:1189

Available configurations to provision an ApiHub Instance.

Used in: ApiHubInstance

enum ApiHubInstance.State

common_fields.proto:1198

State of the ApiHub Instance.

Used in: ApiHubInstance

message ApiHubResource

apihub_service.proto:1533

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

Used in: SearchResult

message ApiOperation

common_fields.proto:503

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.

Used as response type in: ApiHub.GetApiOperation

Used as field type in: ApiHubResource, ListApiOperationsResponse

message Attribute

common_fields.proto:610

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.

Used as response type in: ApiHub.CreateAttribute, ApiHub.GetAttribute, ApiHub.UpdateAttribute

Used as field type in: CreateAttributeRequest, ListAttributesResponse, UpdateAttributeRequest

message Attribute.AllowedValue

common_fields.proto:620

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

Used in: Attribute, AttributeValues.EnumAttributeValues

enum Attribute.DataType

common_fields.proto:692

Enumeration of attribute's data type.

Used in: Attribute

enum Attribute.DefinitionType

common_fields.proto:645

Enumeration of attribute definition types.

Used in: Attribute

enum Attribute.Scope

common_fields.proto:659

Enumeration for the scope of the attribute representing the resource in the API Hub to which the attribute can be linked.

Used in: Attribute

message AttributeValues

common_fields.proto:914

The attribute values associated with resource.

Used in: Api, ApiOperation, Definition, Dependency, Deployment, ExternalApi, Plugin, Spec, Version

message AttributeValues.EnumAttributeValues

common_fields.proto:916

The attribute values of data type enum.

Used in: AttributeValues

message AttributeValues.StringAttributeValues

common_fields.proto:923

The attribute values of data type string or JSON.

Used in: AttributeValues

message Definition

common_fields.proto:551

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.

Used as response type in: ApiHub.GetDefinition

Used as field type in: ApiHubResource

enum Definition.Type

common_fields.proto:560

Enumeration of definition types.

Used in: Definition

message Dependency

common_fields.proto:959

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][google.cloud.apihub.v1.Operation] or between an [Operation][google.cloud.apihub.v1.Operation] and [External API][google.cloud.apihub.v1.ExternalApi].

Used as response type in: ApiHubDependencies.CreateDependency, ApiHubDependencies.GetDependency, ApiHubDependencies.UpdateDependency

Used as field type in: CreateDependencyRequest, ListDependenciesResponse, UpdateDependencyRequest

enum Dependency.DiscoveryMode

common_fields.proto:982

Possible modes of discovering the dependency.

Used in: Dependency

enum Dependency.State

common_fields.proto:968

Possible states for a dependency.

Used in: Dependency

message DependencyEntityReference

common_fields.proto:1038

Reference to an entity participating in a dependency.

Used in: Dependency

message DependencyErrorDetail

common_fields.proto:1059

Details describing error condition of a dependency.

Used in: Dependency

enum DependencyErrorDetail.Error

common_fields.proto:1061

Possible values representing an error in the dependency.

Used in: DependencyErrorDetail

message Deployment

common_fields.proto:414

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.

Used as response type in: ApiHub.CreateDeployment, ApiHub.GetDeployment, ApiHub.UpdateDeployment

Used as field type in: ApiHubResource, CreateDeploymentRequest, ListDeploymentsResponse, UpdateDeploymentRequest

message Documentation

common_fields.proto:908

Documentation details.

Used in: Api, Deployment, ExternalApi, OperationDetails, Spec, Version

message ExternalApi

common_fields.proto:1254

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.

Used as response type in: ApiHub.CreateExternalApi, ApiHub.GetExternalApi, ApiHub.UpdateExternalApi

Used as field type in: CreateExternalApiRequest, ListExternalApisResponse, UpdateExternalApiRequest

message HostProjectRegistration

host_project_registration_service.proto:179

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.

Used as response type in: HostProjectRegistrationService.CreateHostProjectRegistration, HostProjectRegistrationService.GetHostProjectRegistration

Used as field type in: CreateHostProjectRegistrationRequest, ListHostProjectRegistrationsResponse

message HttpOperation

common_fields.proto:836

The HTTP Operation.

Used in: OperationDetails

enum HttpOperation.Method

common_fields.proto:838

Enumeration of Method types.

Used in: HttpOperation

message Issue

common_fields.proto:1112

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

Used in: LintResponse

message LintResponse

common_fields.proto:1081

LintResponse contains the response from the linter.

Used in: Spec

message LintResponse.SummaryEntry

common_fields.proto:1083

Count of issues with a given severity.

Used in: LintResponse

enum LintState

common_fields.proto:36

Lint state represents success or failure for linting.

Used in: LintResponse

enum Linter

common_fields.proto:48

Enumeration of linter types.

Used in: LintResponse, StyleGuide

message OpenApiSpecDetails

common_fields.proto:786

OpenApiSpecDetails contains the details parsed from an OpenAPI spec in addition to the fields mentioned in [SpecDetails][google.cloud.apihub.v1.SpecDetails].

Used in: SpecDetails

enum OpenApiSpecDetails.Format

common_fields.proto:788

Enumeration of spec formats.

Used in: OpenApiSpecDetails

message OperationDetails

common_fields.proto:815

The operation details parsed from the spec.

Used in: ApiOperation

message OperationMetadata

common_fields.proto:1149

Represents the metadata of the long-running operation.

message Owner

common_fields.proto:899

Owner details.

Used in: Api, OpenApiSpecDetails

message Path

common_fields.proto:875

The path details derived from the spec.

Used in: HttpOperation

message Plugin

plugin_service.proto:69

A plugin resource in the API Hub.

Used as response type in: ApiHubPlugin.DisablePlugin, ApiHubPlugin.EnablePlugin, ApiHubPlugin.GetPlugin

enum Plugin.State

plugin_service.proto:80

Possible states a plugin can have. Note that this enum may receive new values in the future. Consumers are advised to always code against the enum values expecting new states can be added later on.

Used in: Plugin

message Point

common_fields.proto:1140

Point within the file (line and character).

Used in: Range

message Range

common_fields.proto:1131

Object describing where in the file the issue was found.

Used in: Issue

message RuntimeProjectAttachment

runtime_project_attachment_service.proto:234

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.

Used as response type in: RuntimeProjectAttachmentService.CreateRuntimeProjectAttachment, RuntimeProjectAttachmentService.GetRuntimeProjectAttachment

Used as field type in: CreateRuntimeProjectAttachmentRequest, ListRuntimeProjectAttachmentsResponse, LookupRuntimeProjectAttachmentResponse

message Schema

common_fields.proto:888

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.

Used in: Definition

message SearchResult

apihub_service.proto:1562

Represents the search results.

Used in: SearchResourcesResponse

enum Severity

common_fields.proto:60

Severity of the issue.

Used in: Issue, LintResponse.SummaryEntry

message Spec

common_fields.proto:317

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.

Used as response type in: ApiHub.CreateSpec, ApiHub.GetSpec, ApiHub.UpdateSpec

Used as field type in: ApiHubResource, CreateSpecRequest, ListSpecsResponse, UpdateSpecRequest

enum Spec.ParsingMode

common_fields.proto:332

Specifies the parsing mode for API specifications during creation and update. - `RELAXED`: Parsing errors in the specification content do not fail the API call. - `STRICT`: Parsing errors in the specification content result in failure of the API call. If not specified, defaults to `RELAXED`.

Used in: Spec

message SpecContents

common_fields.proto:757

The spec contents.

Used as response type in: ApiHub.GetSpecContents

Used as field type in: Spec

message SpecDetails

common_fields.proto:768

SpecDetails contains the details parsed from supported spec types.

Used in: Spec

message StyleGuide

linting_service.proto:137

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

Used as response type in: LintingService.GetStyleGuide, LintingService.UpdateStyleGuide

Used as field type in: UpdateStyleGuideRequest

message StyleGuideContents

linting_service.proto:127

The style guide contents.

Used as response type in: LintingService.GetStyleGuideContents

Used as field type in: StyleGuide

message Version

common_fields.proto:190

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

Used as response type in: ApiHub.CreateVersion, ApiHub.GetVersion, ApiHub.UpdateVersion

Used as field type in: ApiHubResource, CreateVersionRequest, ListVersionsResponse, UpdateVersionRequest