Observability v1 API - Class TraceScope (1.0.0-beta01)

public sealed class TraceScope : IMessage<TraceScope>, IEquatable<TraceScope>, IDeepCloneable<TraceScope>, IBufferMessage, IMessage

Reference documentation and code samples for the Observability v1 API class TraceScope.

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

Inheritance

object > TraceScope

Namespace

Google.Cloud.Observability.V1

Assembly

Google.Cloud.Observability.V1.dll

Constructors

TraceScope()

public TraceScope()

TraceScope(TraceScope)

public TraceScope(TraceScope other)
Parameter
Name Description
other TraceScope

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation timestamp of the trace scope.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. Describes this trace scope.

The maximum length of the description is 8000 characters.

Property Value
Type Description
string

Name

public string Name { get; set; }

Identifier. The resource name of the trace scope.

For example:

projects/my-project/locations/global/traceScopes/my-trace-scope
Property Value
Type Description
string

ResourceNames

public RepeatedField<string> ResourceNames { get; }

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.

Property Value
Type Description
RepeatedFieldstring

ResourceNamesAsResourceNames

public ResourceNameList<IResourceName> ResourceNamesAsResourceNames { get; }

IResourceName-typed view over the ResourceNames resource name property.

Property Value
Type Description
ResourceNameListIResourceName

TraceScopeName

public TraceScopeName TraceScopeName { get; set; }

TraceScopeName-typed view over the Name resource name property.

Property Value
Type Description
TraceScopeName

UpdateTime

public Timestamp UpdateTime { get; set; }

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

Property Value
Type Description
Timestamp