Method: services.serviceLevelObjectives.get

Get a ServiceLevelObjective by name.

HTTP request

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

Path parameters

Parameters
name

string

Required. Resource name of the ServiceLevelObjective to get. The format is:

projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/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.