Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartDocumentMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Metadata describes the original input document content.
Instance Attribute Summary collapse
-
#original_document_blob ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
-
#page_number ⇒ Fixnum
The (1-indexed) page number of the image in the original document.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartDocumentMetadata
constructor
A new instance of CloudAiNlLlmProtoServicePartDocumentMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiNlLlmProtoServicePartDocumentMetadata
Returns a new instance of CloudAiNlLlmProtoServicePartDocumentMetadata.
878 879 880 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 878 def initialize(**args) update!(**args) end |
Instance Attribute Details
#original_document_blob ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePartBlob
Represents arbitrary blob data input.
Corresponds to the JSON property originalDocumentBlob
870 871 872 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 870 def original_document_blob @original_document_blob end |
#page_number ⇒ Fixnum
The (1-indexed) page number of the image in the original document. The first
page carries the original document content and mime type.
Corresponds to the JSON property pageNumber
876 877 878 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 876 def page_number @page_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
883 884 885 886 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 883 def update!(**args) @original_document_blob = args[:original_document_blob] if args.key?(:original_document_blob) @page_number = args[:page_number] if args.key?(:page_number) end |