Class: Google::Cloud::DiscoveryEngine::V1beta::CreateSampleQueryRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::CreateSampleQueryRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/sample_query_service.rb
Overview
Request message for SampleQueryService.CreateSampleQuery method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#sample_query ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
Required.
-
#sample_query_id ⇒ ::String
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent resource name, such as
projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}
.
130 131 132 133 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query_service.rb', line 130 class CreateSampleQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sample_query ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
Returns Required. The SampleQuery to create.
130 131 132 133 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query_service.rb', line 130 class CreateSampleQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sample_query_id ⇒ ::String
Returns 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.
130 131 132 133 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/sample_query_service.rb', line 130 class CreateSampleQueryRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |