Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3PropertyMetadata

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

Metadata about a property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3PropertyMetadata

Returns a new instance of GoogleCloudDocumentaiV1beta3PropertyMetadata.



8141
8142
8143
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8141

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

Instance Attribute Details

#human_review_labeling_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewLabelingMetadata

Metadata for human review labeling config. Corresponds to the JSON property humanReviewLabelingMetadata



8128
8129
8130
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8128

def 
  @human_review_labeling_metadata
end

#human_review_metadataGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3HumanReviewValidationMetadata

Metadata for Human Review config. Corresponds to the JSON property humanReviewMetadata



8133
8134
8135
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8133

def 
  @human_review_metadata
end

#inactiveBoolean Also known as: inactive?

Whether the property should be considered as "inactive". Corresponds to the JSON property inactive

Returns:

  • (Boolean)


8138
8139
8140
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8138

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8146
8147
8148
8149
8150
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8146

def update!(**args)
  @human_review_labeling_metadata = args[:human_review_labeling_metadata] if args.key?(:human_review_labeling_metadata)
  @human_review_metadata = args[:human_review_metadata] if args.key?(:human_review_metadata)
  @inactive = args[:inactive] if args.key?(:inactive)
end