Class: Google::Cloud::DiscoveryEngine::V1::DeleteDocumentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/document_service.rb

Overview

Request message for DocumentService.DeleteDocument method.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. Full resource name of Document, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}.

If the caller does not have permission to delete the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the Document to delete does not exist, a NOT_FOUND error is returned.

Returns:

  • (::String)

    Required. Full resource name of Document, such as projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}.

    If the caller does not have permission to delete the Document, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

    If the Document to delete does not exist, a NOT_FOUND error is returned.



178
179
180
181
# File 'proto_docs/google/cloud/discoveryengine/v1/document_service.rb', line 178

class DeleteDocumentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end