observationJobs.delete deletes an ObservationJob. This method will fail if the observation job is currently being used by any ObservationSource, even if not enabled.
HTTP request
DELETE https://apim.googleapis.com/v1alpha/{name=projects/*/locations/*/observationJobs/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the resource Format: projects/{project}/locations/{location}/observationJobs/{observationJob} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
IAM Permissions
Requires the following IAM permission on the name
resource:
apim.observationJobs.delete
For more information, see the IAM documentation.