Method: projects.locations.traceScopes.patch

Update a TraceScope.

HTTP request

PATCH https://observability.googleapis.com/v1/{traceScope.name=projects/*/locations/*/traceScopes/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
traceScope.name

string

Identifier. The resource name of the trace scope.

For example:

projects/my-project/locations/global/traceScopes/my-trace-scope

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of TraceScope.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • observability.traceScopes.update

For more information, see the IAM documentation.