    public sealed class ListTraceScopesRequest : IMessage<ListTraceScopesRequest>, IEquatable<ListTraceScopesRequest>, IDeepCloneable<ListTraceScopesRequest>, IBufferMessage, IMessage, IPageRequest

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

Request for listing TraceScopes.

## Inheritance

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

## Implements

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

### ListTraceScopesRequest()

    public ListTraceScopesRequest()

### ListTraceScopesRequest(ListTraceScopesRequest)

    public ListTraceScopesRequest(ListTraceScopesRequest other)

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

## Properties

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of results to return from this request.

Non-positive values are ignored. The presence of `next_page_token` in the
response indicates that more results might be available.

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

### PageToken

    public string PageToken { get; set; }

Optional. If present, then retrieve the next batch of results from the
preceding call to this method. `page_token` must be the value of
`next_page_token` from the previous response. The values of other method
parameters should be identical to those in the previous call.

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

### Parent

    public string Parent { get; set; }

Required. The full resource name of the location to look for trace scopes:

    projects/[PROJECT_ID]/locations/[LOCATION_ID]

For example:

    projects/my-project/locations/global

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

### ParentAsLocationName

    public LocationName ParentAsLocationName { get; set; }

[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.ListTraceScopesRequest#Google_Cloud_Observability_V1_ListTraceScopesRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html` |   |