Class: Google::Cloud::DiscoveryEngine::V1beta::CreateDocumentRequest
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::CreateDocumentRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb
Overview
Request message for DocumentService.CreateDocument method.
Instance Attribute Summary collapse
-
#document ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Document
Required.
-
#document_id ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#document ⇒ ::Google::Cloud::DiscoveryEngine::V1beta::Document
Returns Required. The Document to create.
129 130 131 132 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb', line 129 class CreateDocumentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#document_id ⇒ ::String
Returns Required. The ID to use for the Document, which will become the final component of the Document.name.
If the caller does not have permission to create the
Document, regardless of
whether or not it exists, a PERMISSION_DENIED
error is returned.
This field must be unique among all
Documents 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.
129 130 131 132 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb', line 129 class CreateDocumentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. The parent resource name, such as
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}
.
129 130 131 132 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb', line 129 class CreateDocumentRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |