Class ApiHubResource (0.2.1)

ApiHubResource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
api google.cloud.apihub_v1.types.Api
This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results. This field is a member of oneof_ resource.
operation google.cloud.apihub_v1.types.ApiOperation
This represents ApiOperation resource in search results. Only name, and description fields are populated in search results. This field is a member of oneof_ resource.
deployment google.cloud.apihub_v1.types.Deployment
This represents Deployment resource in search results. Only name, display_name and description fields are populated in search results. This field is a member of oneof_ resource.
spec google.cloud.apihub_v1.types.Spec
This represents Spec resource in search results. Only name, display_name and description fields are populated in search results. This field is a member of oneof_ resource.
definition google.cloud.apihub_v1.types.Definition
This represents Definition resource in search results. Only name field is populated in search results. This field is a member of oneof_ resource.
version google.cloud.apihub_v1.types.Version
This represents Version resource in search results. Only name, display_name and description fields are populated in search results. This field is a member of oneof_ resource.