1.0.0-beta25 (latest) 1.0.0-beta24

    public sealed class UpdateSampleQueryRequest : IMessage<UpdateSampleQueryRequest>, IEquatable<UpdateSampleQueryRequest>, IDeepCloneable<UpdateSampleQueryRequest>, IBufferMessage, IMessage

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

Request message for
\[SampleQueryService.UpdateSampleQuery\]\[google.cloud.discoveryengine.v1beta.SampleQueryService.UpdateSampleQuery\]
method.

## Inheritance

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

## Implements

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

## 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

### UpdateSampleQueryRequest()

    public UpdateSampleQueryRequest()

### UpdateSampleQueryRequest(UpdateSampleQueryRequest)

    public UpdateSampleQueryRequest(UpdateSampleQueryRequest other)

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

## Properties

### SampleQuery

    public SampleQuery SampleQuery { get; set; }

Required. The simple query to update.

If the caller does not have permission to update the
\[SampleQuery\]\[google.cloud.discoveryengine.v1beta.SampleQuery\], regardless
of whether or not it exists, a `PERMISSION_DENIED` error is returned.

If the \[SampleQuery\]\[google.cloud.discoveryengine.v1beta.SampleQuery\] to
update does not exist a `NOT_FOUND` error is returned.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.SampleQuery` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Indicates which fields in the provided imported 'simple query' to update.
If not set, will by default update all fields.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |