Discovery Engine v1beta API - Class DeleteSampleQueryRequest (1.0.0-beta16)

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

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

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

Inheritance

object > DeleteSampleQueryRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

DeleteSampleQueryRequest()

public DeleteSampleQueryRequest()

DeleteSampleQueryRequest(DeleteSampleQueryRequest)

public DeleteSampleQueryRequest(DeleteSampleQueryRequest other)
Parameter
Name Description
other DeleteSampleQueryRequest

Properties

Name

public string Name { get; set; }

Required. Full resource name of [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], such as projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.

If the caller does not have permission to delete 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 delete does not exist, a NOT_FOUND error is returned.

Property Value
Type Description
string

SampleQueryName

public SampleQueryName SampleQueryName { get; set; }

SampleQueryName-typed view over the Name resource name property.

Property Value
Type Description
SampleQueryName