projects

PATCH /v1/projects/{projectsId}/locations/{locationsId}/traceScopes/{traceScopesId}

Update a TraceScope.

Request

  • Base URL
    https://observability.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required
traceScopesIdstring required

Query parameters

updateMaskstring google-fieldmask

Optional. The list of fields to update.

Request body

createTimestring google-datetime

Output only. The creation timestamp of the trace scope.

descriptionstring

Optional. Describes this trace scope. The maximum length of the description is 8000 characters.

namestring

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

resourceNamesstring[]

Required. Names of the projects that are included in this trace scope. * projects/[PROJECT_ID] A trace scope can include a maximum of 20 projects.

updateTimestring google-datetime

Output only. The last update timestamp of the trace scope.

Response

Successful response

createTimestring google-datetime

Output only. The creation timestamp of the trace scope.

descriptionstring

Optional. Describes this trace scope. The maximum length of the description is 8000 characters.

namestring

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

resourceNamesstring[]

Required. Names of the projects that are included in this trace scope. * projects/[PROJECT_ID] A trace scope can include a maximum of 20 projects.

updateTimestring google-datetime

Output only. The last update timestamp of the trace scope.

Changes

No recorded changes to this operation across all 6 revisions of this API.