Method: services.serviceLevelObjectives.get

Get a ServiceLevelObjective by name.

HTTP request

GET https://monitoring.googleapis.com/v3/{name}

Path parameters

Parameters
name

string

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

Query parameters

Parameters
view

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:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/monitoring
  • https://www.googleapis.com/auth/monitoring.read

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.