Method: services.serviceLevelObjectives.get

Get a ServiceLevelObjective by name.

HTTP request


Path parameters



Resource name of the ServiceLevelObjective to get. Of the form projects/{project_id}/services/{serviceId}/serviceLevelObjectives/{slo_name}.

Query parameters


enum (View)

View of the ServiceLevelObjective to return. If DEFAULT, return the ServiceLevelObjective as originally defined. If EXPLICIT and the ServiceLevelObjective is defined in terms of a BasicSli, replace the BasicSli with a RequestBasedSli spelling out how the SLI is computed.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ServiceLevelObjective.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Stackdriver Monitoring
Need help? Visit our support page.