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

Reference documentation and code samples for the Design Center v1 API class ListSpacesRequest.

Message for requesting a list of spaces.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### ListSpacesRequest()

    public ListSpacesRequest()

### ListSpacesRequest(ListSpacesRequest)

    public ListSpacesRequest(ListSpacesRequest other)

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

## Properties

### Filter

    public string Filter { get; set; }

Optional. A filter that chooses which spaces to return.

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

### OrderBy

    public string OrderBy { get; set; }

Optional. How the results are sorted.

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

### PageSize

    public int PageSize { get; set; }

Optional. The maximum number of pages to return from this request.
If unspecified, the value automatically reflects the number of results
returned.

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

### PageToken

    public string PageToken { get; set; }

Optional. If present, retrieve the next batch of results from the preceding
call to this method. pageToken must be the value of nextPageToken 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 name of the parent resource, for which spaces are listed.

| **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.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ListSpacesRequest#Google_Cloud_DesignCenter_V1_ListSpacesRequest_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` |   |