public sealed class TraceScope : IMessage<TraceScope>, IEquatable<TraceScope>, IDeepCloneable<TraceScope>, IBufferMessage, IMessageReference documentation and code samples for the Observability v1 API class TraceScope.
A trace scope is a collection of resources whose traces are queried together.
Implements
IMessageTraceScope, IEquatableTraceScope, IDeepCloneableTraceScope, IBufferMessage, IMessageNamespace
Google.Cloud.Observability.V1Assembly
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 |
|