Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb

Overview

Identifies a document uniquely within the scope of a dataset in the user- managed Cloud Storage option.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentIdGcsManagedDocumentId.



8619
8620
8621
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8619

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cw_doc_idString

Id of the document (indexed) managed by Content Warehouse. Corresponds to the JSON property cwDocId

Returns:

  • (String)


8612
8613
8614
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8612

def cw_doc_id
  @cw_doc_id
end

#gcs_uriString

Required. The Cloud Storage URI where the actual document is stored. Corresponds to the JSON property gcsUri

Returns:

  • (String)


8617
8618
8619
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8617

def gcs_uri
  @gcs_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8624
8625
8626
8627
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8624

def update!(**args)
  @cw_doc_id = args[:cw_doc_id] if args.key?(:cw_doc_id)
  @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
end