Class ExternalApi (0.2.0)

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

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.

Attributes

Name Description
name str
Identifier. Format: projects/{project}/locations/{location}/externalApi/{externalApi}.
display_name str
Required. Display name of the external API. Max length is 63 characters (Unicode Code Points).
description str
Optional. Description of the external API. Max length is 2000 characters (Unicode Code Points).
endpoints MutableSequence[str]
Optional. List of endpoints on which this API is accessible.
paths MutableSequence[str]
Optional. List of paths served by this API.
documentation google.cloud.apihub_v1.types.Documentation
Optional. Documentation of the external API.
attributes MutableMapping[str, google.cloud.apihub_v1.types.AttributeValues]
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.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation timestamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Last update timestamp.

Classes

AttributesEntry

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

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.