Discovery Engine v1beta API - Class UpdateSampleQueryRequest (1.0.0-beta18)

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

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

UpdateSampleQueryRequest()

public UpdateSampleQueryRequest()

UpdateSampleQueryRequest(UpdateSampleQueryRequest)

public UpdateSampleQueryRequest(UpdateSampleQueryRequest other)
Parameter
Name Description
other 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
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
FieldMask