Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1PropertyMetadata

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

Overview

Metadata about a property.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1PropertyMetadata

Returns a new instance of GoogleCloudDocumentaiV1PropertyMetadata.



3969
3970
3971
# File 'lib/google/apis/documentai_v1/classes.rb', line 3969

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

Instance Attribute Details

#human_review_labeling_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewLabelingMetadata

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



3956
3957
3958
# File 'lib/google/apis/documentai_v1/classes.rb', line 3956

def 
  @human_review_labeling_metadata
end

#human_review_metadataGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1HumanReviewValidationMetadata

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



3961
3962
3963
# File 'lib/google/apis/documentai_v1/classes.rb', line 3961

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)


3966
3967
3968
# File 'lib/google/apis/documentai_v1/classes.rb', line 3966

def inactive
  @inactive
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3974
3975
3976
3977
3978
# File 'lib/google/apis/documentai_v1/classes.rb', line 3974

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