Class CreateSampleQueryRequest (0.12.3)

CreateSampleQueryRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for SampleQueryService.CreateSampleQuery method.

Attributes

Name Description
parent str
Required. The parent resource name, such as projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}.
sample_query google.cloud.discoveryengine_v1beta.types.SampleQuery
Required. The SampleQuery to create.
sample_query_id str
Required. The ID to use for the SampleQuery, which will become the final component of the SampleQuery.name. If the caller does not have permission to create the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. This field must be unique among all SampleQuerys with the same 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.