Discovery Engine v1beta API - Class CreateSampleQuerySetRequest (1.0.0-beta17)

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

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

Request message for [SampleQuerySetService.CreateSampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySetService.CreateSampleQuerySet] method.

Inheritance

object > CreateSampleQuerySetRequest

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

CreateSampleQuerySetRequest()

public CreateSampleQuerySetRequest()

CreateSampleQuerySetRequest(CreateSampleQuerySetRequest)

public CreateSampleQuerySetRequest(CreateSampleQuerySetRequest other)
Parameter
Name Description
other CreateSampleQuerySetRequest

Properties

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
Type Description
LocationName

SampleQuerySet

public SampleQuerySet SampleQuerySet { get; set; }

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

Property Value
Type Description
SampleQuerySet

SampleQuerySetId

public string SampleQuerySetId { get; set; }

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

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

This field must be unique among all [SampleQuerySet][google.cloud.discoveryengine.v1beta.SampleQuerySet]s with the same [parent][google.cloud.discoveryengine.v1beta.CreateSampleQuerySetRequest.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