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

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

Request for deleting a TraceScope.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DeleteTraceScopeRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteTraceScopeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DeleteTraceScopeRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteTraceScopeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DeleteTraceScopeRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteTraceScopeRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DeleteTraceScopeRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Observability.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1)

## Assembly

Google.Cloud.Observability.V1.dll

## Constructors

### DeleteTraceScopeRequest()

    public DeleteTraceScopeRequest()

### DeleteTraceScopeRequest(DeleteTraceScopeRequest)

    public DeleteTraceScopeRequest(DeleteTraceScopeRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DeleteTraceScopeRequest` |

## Properties

### Name

    public string Name { get; set; }

Required. The full resource name of the trace scope to delete:

    projects/[PROJECT_ID]/locations/[LOCATION_ID]/traceScopes/[TRACE_SCOPE_ID]

For example:

    projects/my-project/locations/global/traceScopes/my-trace-scope

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### TraceScopeName

    public TraceScopeName TraceScopeName { get; set; }

[TraceScopeName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScopeName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DeleteTraceScopeRequest#Google_Cloud_Observability_V1_DeleteTraceScopeRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScopeName` |   |