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.



174
175
176
177
# File 'proto_docs/google/cloud/discoveryengine/v1/document_service.rb', line 174

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