api_operations
Creates, updates, deletes, gets or lists an api_operations
resource.
Overview
Name | api_operations |
Type | Resource |
Id | google.apim.api_operations |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of resource |
count | string (int64) | The number of occurrences of this API Operation. |
firstSeenTime | string (google-datetime) | First seen time stamp |
httpOperation | object | An HTTP Operation. (id: HttpOperation) |
lastSeenTime | string (google-datetime) | Last seen time stamp |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Name of resource |
count | string (int64) | The number of occurrences of this API Operation. |
firstSeenTime | string (google-datetime) | First seen time stamp |
httpOperation | object | An HTTP Operation. (id: HttpOperation) |
lastSeenTime | string (google-datetime) | Last seen time stamp |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , observationJobsId , apiObservationsId , apiOperationsId | GetApiOperation retrieves a single ApiOperation by name. | |
list | select | projectsId , locationsId , observationJobsId , apiObservationsId | pageSize , pageToken | ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
apiObservationsId | string | |
apiOperationsId | string | |
locationsId | string | |
observationJobsId | string | |
projectsId | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- get
- list
GetApiOperation retrieves a single ApiOperation by name.
SELECT
name,
count,
firstSeenTime,
httpOperation,
lastSeenTime
FROM google.apim.api_operations
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND observationJobsId = '{{ observationJobsId }}' -- required
AND apiObservationsId = '{{ apiObservationsId }}' -- required
AND apiOperationsId = '{{ apiOperationsId }}' -- required;
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 projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND observationJobsId = '{{ observationJobsId }}' -- required
AND apiObservationsId = '{{ apiObservationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';