Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::UpdateSampleQueryRequest.
Request message for SampleQueryService.UpdateSampleQuery method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#sample_query
def sample_query() -> ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
-
(::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery) — Required. The simple query to update.
If the caller does not have permission to update the SampleQuery, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the SampleQuery to update does not exist a
NOT_FOUND
error is returned.
#sample_query=
def sample_query=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery
-
value (::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery) — Required. The simple query to update.
If the caller does not have permission to update the SampleQuery, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the SampleQuery to update does not exist a
NOT_FOUND
error is returned.
-
(::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery) — Required. The simple query to update.
If the caller does not have permission to update the SampleQuery, regardless of whether or not it exists, a
PERMISSION_DENIED
error is returned.If the SampleQuery to update does not exist a
NOT_FOUND
error is returned.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
- (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
- value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.
- (::Google::Protobuf::FieldMask) — Indicates which fields in the provided imported 'simple query' to update. If not set, will by default update all fields.