projects

GET /v1/projects/{projectsId}/locations/{locationsId}/discoveredApiObservations/{discoveredApiObservationsId}

Changed on

Gets a DiscoveredAPIObservation in a given project, location and ApiObservation.

Request

  • Base URL
    https://apihub.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/apihub.readonly
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/apihub.readonly
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/apihub.readwrite
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/apihub.readwrite
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
  • TypeScript

Path parameters

projectsIdstring required
locationsIdstring required
discoveredApiObservationsIdstring required

Response

Successful response

apiOperationCountstring int64

Optional. The number of observed API Operations.

createTimestring google-datetime

Output only. Create time stamp of the observation in API Hub.

hostnamestring

Optional. The hostname of requests processed for this Observation.

knownOperationsCountstring int64

Output only. The number of known API Operations.

lastEventDetectedTimestring google-datetime

Optional. Last event detected time stamp

namestring

Identifier. The name of the discovered API Observation. Format: projects/{project}/locations/{location}/discoveredApiObservations/{discovered_api_observation}

originstring

Optional. For an observation pushed from a Google Cloud resource, this would be the Google Cloud project id.

serverIpsstring[]

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".

sourceLocationsstring[]

Optional. The location of the observation source.

sourceTypesstring[]

Optional. The type of the source from which the observation was collected.

style'STYLE_UNSPECIFIED' | 'REST' | 'GRPC' | 'GRAPHQL'

Optional. Style of ApiObservation

unknownOperationsCountstring int64

Output only. The number of unknown API Operations.

updateTimestring google-datetime

Output only. Update time stamp of the observation in API Hub.

Changes

    • info

      the security scope https://www.googleapis.com/auth/apihub.readonly was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/apihub.readonly was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was removed from the endpoint's security scheme Oauth2c