Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DatasetSchema

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

Dataset Schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DatasetSchema

Returns a new instance of GoogleCloudDocumentaiV1beta3DatasetSchema.



2611
2612
2613
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2611

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

Instance Attribute Details

#document_schemaGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema

The schema defines the output of the processed document by a processor. Corresponds to the JSON property documentSchema



2591
2592
2593
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2591

def document_schema
  @document_schema
end

#nameString

Dataset schema resource name. Format: projects/project/locations/location/ processors/processor/dataset/datasetSchema Corresponds to the JSON property name

Returns:

  • (String)


2597
2598
2599
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2597

def name
  @name
end

#satisfies_pziBoolean Also known as: satisfies_pzi?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzi

Returns:

  • (Boolean)


2602
2603
2604
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2602

def satisfies_pzi
  @satisfies_pzi
end

#satisfies_pzsBoolean Also known as: satisfies_pzs?

Output only. Reserved for future use. Corresponds to the JSON property satisfiesPzs

Returns:

  • (Boolean)


2608
2609
2610
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2608

def satisfies_pzs
  @satisfies_pzs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2616
2617
2618
2619
2620
2621
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 2616

def update!(**args)
  @document_schema = args[:document_schema] if args.key?(:document_schema)
  @name = args[:name] if args.key?(:name)
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
end