- Resource: ApiOperation
- HttpOperation
- PathParam
- DataType
- QueryParam
- HttpMethod
- HttpRequest
- Header
- HttpResponse
- Methods
Resource: ApiOperation
Message describing ApiOperation object
| JSON representation |
|---|
{ "name": string, "firstSeenTime": string, "lastSeenTime": string, "count": string, // Union field |
| Fields | |
|---|---|
name |
Identifier. Name of resource |
firstSeenTime |
First seen time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
lastSeenTime |
Last seen time stamp A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
count |
The number of occurrences of this API Operation. |
Union field operation. ApiOperation protocol style operation can be only one of the following: |
|
httpOperation |
An HTTP Operation. |
HttpOperation
An HTTP-based API Operation, sometimes called a "REST" Operation.
| JSON representation |
|---|
{ "path": string, "pathParams": [ { object ( |
| Fields | |
|---|---|
path |
Path of the HTTP request. |
pathParams[] |
Path params of HttpOperation |
queryParams |
Query params of HttpOperation An object containing a list of |
method |
HTTP Method. |
request |
Request metadata. |
response |
Response metadata. |
PathParam
HTTP Path parameter.
| JSON representation |
|---|
{
"position": integer,
"dataType": enum ( |
| Fields | |
|---|---|
position |
Segment location in the path, 1-indexed |
dataType |
Data type of path param |
DataType
Type of data
| Enums | |
|---|---|
DATA_TYPE_UNSPECIFIED |
Unspecified data type |
BOOL |
Boolean data type |
INTEGER |
Integer data type |
FLOAT |
Float data type |
STRING |
String data type |
UUID |
UUID data type |
QueryParam
An aggregation of HTTP query parameter occurrences.
| JSON representation |
|---|
{
"name": string,
"count": string,
"dataType": enum ( |
| Fields | |
|---|---|
name |
Name of query param |
count |
The number of occurrences of this query parameter across transactions. |
dataType |
Data type of path param |
HttpMethod
HTTP method
| Enums | |
|---|---|
HTTP_METHOD_UNSPECIFIED |
Unspecified HTTP method |
GET |
GET HTTP method |
HEAD |
HEAD HTTP method |
POST |
POST HTTP method |
PUT |
PUT HTTP method |
PATCH |
PATCH HTTP method |
DELETE |
DELETE HTTP method |
TRACE |
TRACE HTTP method |
OPTIONS |
OPTIONS HTTP method |
CONNECT |
CONNECT HTTP method |
HttpRequest
An aggregation of HTTP requests.
| JSON representation |
|---|
{
"headers": {
string: {
object ( |
| Fields | |
|---|---|
headers |
Unordered map from header name to header metadata An object containing a list of |
Header
An aggregation of HTTP header occurrences.
| JSON representation |
|---|
{
"name": string,
"count": string,
"dataType": enum ( |
| Fields | |
|---|---|
name |
Header name. |
count |
The number of occurrences of this Header across transactions. |
dataType |
Data type of header |
HttpResponse
An aggregation of HTTP responses.
| JSON representation |
|---|
{
"headers": {
string: {
object ( |
| Fields | |
|---|---|
headers |
Unordered map from header name to header metadata An object containing a list of |
responseCodes |
Map of status code to observed count An object containing a list of |
Methods |
|
|---|---|
|
GetApiOperation retrieves a single ApiOperation by name. |
|
ListApiOperations gets all ApiOperations for a given project and location and ObservationJob and ApiObservation. |