1.0.0 (latest) 1.0.0-beta01

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

Reference documentation and code samples for the Vision AI v1 API class ViewCollectionItemsRequest.

Request message for ViewCollectionItems.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.VisionAI.V1.dll

## Constructors

### ViewCollectionItemsRequest()

    public ViewCollectionItemsRequest()

### ViewCollectionItemsRequest(ViewCollectionItemsRequest)

    public ViewCollectionItemsRequest(ViewCollectionItemsRequest other)

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

## Properties

### Collection

    public string Collection { get; set; }

Required. The collection to view. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}`

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

### CollectionAsCollectionName

    public CollectionName CollectionAsCollectionName { get; set; }

[CollectionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.CollectionName)-typed view over the [Collection](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.VisionAI.V1/latest/Google.Cloud.VisionAI.V1.ViewCollectionItemsRequest#Google_Cloud_VisionAI_V1_ViewCollectionItemsRequest_Collection) resource name property.

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

### PageSize

    public int PageSize { get; set; }

The maximum number of collections to return. The service may return fewer than this value. If unspecified, at most 50 collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

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

### PageToken

    public string PageToken { get; set; }

A page token, received from a previous `ViewCollectionItemsRequest` call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to `ViewCollectionItemsRequest` must match the call that provided the page token.

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