REST Resource: projects.locations.traceScopes

Resource: TraceScope

A trace scope is a collection of resources whose traces are queried together.

JSON representation
{
  "name": string,
  "resourceNames": [
    string
  ],
  "description": string,
  "createTime": string,
  "updateTime": string
}
Fields
name

string

Identifier. The resource name of the trace scope.

For example:

projects/my-project/locations/global/traceScopes/my-trace-scope
resourceNames[]

string

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.

description

string

Optional. Describes this trace scope.

The maximum length of the description is 8000 characters.

createTime

string (Timestamp format)

Output only. The creation timestamp of the trace scope.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

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

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

create

Create a new TraceScope.

delete

Delete a TraceScope.

get

Get TraceScope resource.

list

List TraceScopes of a project in a particular location.

patch

Update a TraceScope.