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

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

Response for listing TraceScopes.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListTraceScopesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.ListTraceScopesResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListTraceScopesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.ListTraceScopesResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListTraceScopesResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.ListTraceScopesResponse), [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), [IPageResponse](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.IPageResponse-1.html)[TraceScope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScope), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[TraceScope](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScope), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.ienumerable)

## 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

### ListTraceScopesResponse()

    public ListTraceScopesResponse()

### ListTraceScopesResponse(ListTraceScopesResponse)

    public ListTraceScopesResponse(ListTraceScopesResponse other)

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

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

Optional. If there might be more results than appear in this response, then
`next_page_token` is included. To get the next set of results, call the
same method again using the value of `next_page_token` as `page_token`.

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

### TraceScopes

    public RepeatedField<TraceScope> TraceScopes { get; }

Optional. A list of trace scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScope` |   |

## Methods

### GetEnumerator()

    public IEnumerator<TraceScope> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerator-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.TraceScope` |   |