# REST Resource: projects.locations.sampleQuerySets

- [Resource: SampleQuerySet](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#METHODS_SUMMARY)

## Resource: SampleQuerySet

A SampleQuerySet is the parent resource of SampleQuery, and contains the configurations shared by all SampleQuery under it.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "createTime": string, "description": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The full resource name of the `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
| `displayName` | `string` Required. The sample query set display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Timestamp the `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet` was created at. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `description` | `string` The description of the `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets/create` | Creates a `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet` |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets/delete` | Deletes a `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets/get` | Gets a `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets/list` | Gets a list of `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`s. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets/patch` | Updates a `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.sampleQuerySets#SampleQuerySet`. |