# Discovery Engine v1beta API - Class ListSampleQuerySetsResponse (1.0.0-beta23)

1.0.0-beta23 (latest) 1.0.0-beta22

    public sealed class ListSampleQuerySetsResponse : IMessage<ListSampleQuerySetsResponse>, IEquatable<ListSampleQuerySetsResponse>, IDeepCloneable<ListSampleQuerySetsResponse>, IBufferMessage, IMessage, IPageResponse<SampleQuerySet>, IEnumerable<SampleQuerySet>, IEnumerable

Reference documentation and code samples for the Discovery Engine v1beta API class ListSampleQuerySetsResponse.

Response message for
\[SampleQuerySetService.ListSampleQuerySets\]\[google.cloud.discoveryengine.v1beta.SampleQuerySetService.ListSampleQuerySets\]
method.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ListSampleQuerySetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsResponse), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ListSampleQuerySetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsResponse), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ListSampleQuerySetsResponse](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsResponse), [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)[SampleQuerySet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet), [IEnumerable](https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1)[SampleQuerySet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet), [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.DiscoveryEngine.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

## Constructors

### ListSampleQuerySetsResponse()

    public ListSampleQuerySetsResponse()

### ListSampleQuerySetsResponse(ListSampleQuerySetsResponse)

    public ListSampleQuerySetsResponse(ListSampleQuerySetsResponse other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.ListSampleQuerySetsResponse` |

## Properties

### NextPageToken

    public string NextPageToken { get; set; }

A token that can be sent as
\[ListSampleQuerySetsRequest.page_token\]\[google.cloud.discoveryengine.v1beta.ListSampleQuerySetsRequest.page_token\]
to retrieve the next page. If this field is omitted, there are no
subsequent pages.

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

### SampleQuerySets

    public RepeatedField<SampleQuerySet> SampleQuerySets { get; }

The \[SampleQuerySet\]\[google.cloud.discoveryengine.v1beta.SampleQuerySet\]s.

| **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.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet` |   |

## Methods

### GetEnumerator()

    public IEnumerator<SampleQuerySet> 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.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuerySet` |   |