Observability v1 API - Class CreateTraceScopeRequest (1.0.0-beta01)

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

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

Request for creating a TraceScope.

Inheritance

object > CreateTraceScopeRequest

Namespace

Google.Cloud.Observability.V1

Assembly

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