Observability API (observability:v1)

2025-08-26

5 new methods

Additions

    Methods
  • observability.projects.locations.traceScopes.get

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}

      HTTP Method : GET

      Parameters :

        name

          Description : Required. The resource name of the trace scope: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope

          Pattern : ^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Get TraceScope resource.

  • observability.projects.locations.traceScopes.list

      Path : v1/{+parent}/traceScopes

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/traceScopes

      HTTP Method : GET

      Parameters :

        parent

          Description : Required. The full resource name of the location to look for trace scopes: projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        pageSize

          Description : Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available.

          Location : query

          Type : integer

          Format : int32

        pageToken

          Description : Optional. If present, then retrieve the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : List TraceScopes of a project in a particular location.

  • observability.projects.locations.traceScopes.create

      Path : v1/{+parent}/traceScopes

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/traceScopes

      HTTP Method : POST

      Parameters :

        parent

          Description : Required. The full resource name of the location where the trace scope should be created projects/[PROJECT_ID]/locations/[LOCATION_ID] For example: projects/my-project/locations/global

          Pattern : ^projects/[^/]+/locations/[^/]+$

          Location : path

          Required : Yes

          Type : string

        traceScopeId

          Description : Required. A client-assigned identifier for the trace scope.

          Location : query

          Type : string

      Parameter Order : parent

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Create a new TraceScope.

  • observability.projects.locations.traceScopes.patch

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}

      HTTP Method : PATCH

      Parameters :

        name

          Description : Identifier. The resource name of the trace scope. For example: projects/my-project/locations/global/traceScopes/my-trace-scope

          Pattern : ^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$

          Location : path

          Required : Yes

          Type : string

        updateMask

          Description : Optional. The list of fields to update.

          Location : query

          Type : string

          Format : google-fieldmask

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Update a TraceScope.

  • observability.projects.locations.traceScopes.delete

      Path : v1/{+name}

      Flat Path : v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}

      HTTP Method : DELETE

      Parameters :

        name

          Description : Required. The full resource name of the trace scope to delete: projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID] For example: projects/my-project/locations/global/traceScopes/my-trace-scope

          Pattern : ^projects/[^/]+/locations/[^/]+/traceScopes/[^/]+$

          Location : path

          Required : Yes

          Type : string

      Parameter Order : name

      Scopes : https://www.googleapis.com/auth/cloud-platform

      Description : Delete a TraceScope.