# Class DiscoveredApiObservation (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.7

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

Respresents an API Observation observed in one of the
sources.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The name of the discovered API Observation. Format: `projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}` |
| `style` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.DiscoveredApiObservation.Style` Optional. Style of ApiObservation |
| `server_ips` | `MutableSequence[str]` Optional. The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: `"192.168.1.1"`, `"10.0.0.1:80"`, `"FE80::0202:B3FF:FE1E:8329"`. |
| `hostname` | `str` Optional. The hostname of requests processed for this Observation. |
| `last_event_detected_time` | `google.protobuf.timestamp_pb2.Timestamp` Optional. Last event detected time stamp |
| `source_locations` | `MutableSequence[str]` Optional. The location of the observation source. |
| `api_operation_count` | `int` Optional. The number of observed API Operations. |
| `origin` | `str` Optional. For an observation pushed from a gcp resource, this would be the gcp project id. |
| `source_types` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.DiscoveredApiObservation.SourceType]` Optional. The type of the source from which the observation was collected. |
| `known_operations_count` | `int` Output only. The number of known API Operations. |
| `unknown_operations_count` | `int` Output only. The number of unknown API Operations. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Create time stamp of the observation in API Hub. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. Update time stamp of the observation in API Hub. |
| `source_metadata` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.SourceMetadata` Output only. The metadata of the source from which the observation was collected. |

## Classes

### SourceType

    SourceType(value)

The possible types of the source from which the observation
was collected.

### Style

    Style(value)

DiscoveredApiObservation protocol style