Discovery Engine v1beta API - Class CreateSampleQueryRequest (1.0.0-beta15)

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

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

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

Inheritance

object > CreateSampleQueryRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CreateSampleQueryRequest()

public CreateSampleQueryRequest()

CreateSampleQueryRequest(CreateSampleQueryRequest)

public CreateSampleQueryRequest(CreateSampleQueryRequest other)
Parameter
Name Description
other CreateSampleQueryRequest

Properties

Parent

public string Parent { get; set; }

Required. The parent resource name, such as projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}.

Property Value
Type Description
string

ParentAsSampleQuerySetName

public SampleQuerySetName ParentAsSampleQuerySetName { get; set; }

SampleQuerySetName-typed view over the Parent resource name property.

Property Value
Type Description
SampleQuerySetName

SampleQuery

public SampleQuery SampleQuery { get; set; }

Required. The [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery] to create.

Property Value
Type Description
SampleQuery

SampleQueryId

public string SampleQueryId { get; set; }

Required. The ID to use for the [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery], which will become the final component of the [SampleQuery.name][google.cloud.discoveryengine.v1beta.SampleQuery.name].

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

This field must be unique among all [SampleQuery][google.cloud.discoveryengine.v1beta.SampleQuery]s with the same [parent][google.cloud.discoveryengine.v1beta.CreateSampleQueryRequest.parent]. Otherwise, an ALREADY_EXISTS error is returned.

This field must conform to RFC-1034 standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.

Property Value
Type Description
string