public sealed class CreateTraceScopeRequest : IMessage<CreateTraceScopeRequest>, IEquatable<CreateTraceScopeRequest>, IDeepCloneable<CreateTraceScopeRequest>, IBufferMessage, IMessageReference documentation and code samples for the Observability v1 API class CreateTraceScopeRequest.
Request for creating a TraceScope.
Implements
IMessageCreateTraceScopeRequest, IEquatableCreateTraceScopeRequest, IDeepCloneableCreateTraceScopeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Observability.V1Assembly
Google.Cloud.Observability.V1.dll
Constructors
CreateTraceScopeRequest()
public CreateTraceScopeRequest()CreateTraceScopeRequest(CreateTraceScopeRequest)
public CreateTraceScopeRequest(CreateTraceScopeRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateTraceScopeRequest |
Properties
Parent
public string Parent { get; set; }Required. The full resource name of the location where the trace scope should be created
projects/[PROJECT_ID]/locations/[LOCATION_ID]
For example:
projects/my-project/locations/global
| Property Value | |
|---|---|
| Type | Description |
string |
|
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }LocationName-typed view over the Parent resource name property.
| Property Value | |
|---|---|
| Type | Description |
LocationName |
|
TraceScope
public TraceScope TraceScope { get; set; }Required. The new trace scope.
| Property Value | |
|---|---|
| Type | Description |
TraceScope |
|
TraceScopeId
public string TraceScopeId { get; set; }Required. A client-assigned identifier for the trace scope.
| Property Value | |
|---|---|
| Type | Description |
string |
|