Skip to main content

api_operations

Creates, updates, deletes, gets or lists a api_operations resource.

Overview

Nameapi_operations
TypeResource
Idgoogle.apim.api_operations

Fields

NameDatatypeDescription
namestringIdentifier. Name of resource
countstringThe number of occurrences of this API Operation.
firstSeenTimestringFirst seen time stamp
httpOperationobjectAn HTTP-based API Operation, sometimes called a "REST" Operation.
lastSeenTimestringLast seen time stamp

Methods

NameAccessible byRequired ParamsDescription
getSELECTapiObservationsId, apiOperationsId, locationsId, observationJobsId, projectsIdGetApiOperation retrieves a single ApiOperation by name.
listSELECTapiObservationsId, locationsId, observationJobsId, projectsIdListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.

SELECT examples

ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation.

SELECT
name,
count,
firstSeenTime,
httpOperation,
lastSeenTime
FROM google.apim.api_operations
WHERE apiObservationsId = '{{ apiObservationsId }}'
AND locationsId = '{{ locationsId }}'
AND observationJobsId = '{{ observationJobsId }}'
AND projectsId = '{{ projectsId }}';