Class DiscoveredApiOperation (0.2.7)

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

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

Attributes

Name Description
http_operation google.cloud.apihub_v1.types.HttpOperationDetails
Optional. An HTTP Operation. This field is a member of oneof_ operation.
name str
Identifier. The name of the discovered API Operation. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}/discoveredApiOperations/{discovered_api_operation}
first_seen_time google.protobuf.timestamp_pb2.Timestamp
Optional. First seen time stamp
last_seen_time google.protobuf.timestamp_pb2.Timestamp
Optional. Last seen time stamp
count int
Optional. The number of occurrences of this API Operation.
classification google.cloud.apihub_v1.types.DiscoveredApiOperation.Classification
Output only. The classification of the discovered API operation.
match_results MutableSequence[google.cloud.apihub_v1.types.DiscoveredApiOperation.MatchResult]
Output only. The list of matched results for the discovered API operation. This will be populated only if the classification is known. The current usecase is for a single match. Keeping it repeated to support multiple matches in future.
source_metadata google.cloud.apihub_v1.types.SourceMetadata
Output only. The metadata of the source from which the api operation was collected.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create time stamp of the discovered API operation in API Hub.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update time stamp of the discovered API operation in API Hub.

Classes

Classification

Classification(value)

The classification of the discovered API operation.

MatchResult

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

MatchResult represents the result of matching a discovered API operation with a catalog API operation.