Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues

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

Defines the a list of enum values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentSchemaEntityTypeEnumValues.



10066
10067
10068
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10066

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

Instance Attribute Details

#valuesArray<String>

The individual values that this enum values type can include. Corresponds to the JSON property values

Returns:

  • (Array<String>)


10064
10065
10066
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10064

def values
  @values
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10071
10072
10073
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10071

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