Jobs

Rules for AIP-152, covering jobs.

Rule name Description
http-body Run methods should use `*` as the HTTP body.
http-method Run methods must use the POST HTTP verb.
http-uri-suffix Run methods must have the correct URI suffix
request-message-name Run methods must have standardized request message names.
request-name-behavior Run requests should annotate the `name` field with `google.api.field_behavior`.
request-name-field Run RPCs must have a `name` field in the request.
request-name-reference Run requests should annotate the `name` field with `google.api.resource_reference`.
request-resource-suffix Run requests should identify a resource type which ends in "Job".
response-message-name Run methods must return a long-running operation.

Note: Because AIPs sometimes cover topics that have some overlap, some rules related to jobs may be included in the rules for other AIPs.