Resource: DiscoveredApiObservation
Respresents an API Observation observed in one of the sources.
| JSON representation |
|---|
{ "name": string, "style": enum ( |
| Fields | |
|---|---|
name |
Identifier. The name of the discovered API Observation. Format: |
style |
Optional. Style of ApiObservation |
serverIps[] |
Optional. The IP address (IPv4 or IPv6) of the origin server that the request was sent to. This field can include port information. Examples: |
hostname |
Optional. The hostname of requests processed for this Observation. |
lastEventDetectedTime |
Optional. Last event detected time stamp Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
sourceLocations[] |
Optional. The location of the observation source. |
apiOperationCount |
Optional. The number of observed API Operations. |
origin |
Optional. For an observation pushed from a gcp resource, this would be the gcp project id. |
sourceTypes[] |
Optional. The type of the source from which the observation was collected. |
knownOperationsCount |
Output only. The number of known API Operations. |
unknownOperationsCount |
Output only. The number of unknown API Operations. |
createTime |
Output only. Create time stamp of the observation in API Hub. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time stamp of the observation in API Hub. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
sourceMetadata |
Output only. The metadata of the source from which the observation was collected. |
Style
DiscoveredApiObservation protocol style
| Enums | |
|---|---|
STYLE_UNSPECIFIED |
Unknown style |
REST |
Style is Rest API |
GRPC |
Style is Grpc API |
GRAPHQL |
Style is GraphQL API |
SourceType
The possible types of the source from which the observation was collected.
| Enums | |
|---|---|
SOURCE_TYPE_UNSPECIFIED |
Source type not specified. |
GCP_XLB |
GCP external load balancer. |
GCP_ILB |
GCP internal load balancer. |
Methods |
|
|---|---|
|
Gets a DiscoveredAPIObservation in a given project, location and ApiObservation. |
|
Lists all the DiscoveredAPIObservations in a given project and location. |