Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1GenerateSchemaVersionResponse

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

Response message for GenerateSchemaVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1GenerateSchemaVersionResponse

Returns a new instance of GoogleCloudDocumentaiV1GenerateSchemaVersionResponse.



6526
6527
6528
# File 'lib/google/apis/documentai_v1/classes.rb', line 6526

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

Instance Attribute Details

#schema_versionGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1SchemaVersion

SchemaVersion is a version of the Schema which is created in SchemaGroup. Corresponds to the JSON property schemaVersion



6524
6525
6526
# File 'lib/google/apis/documentai_v1/classes.rb', line 6524

def schema_version
  @schema_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6531
6532
6533
# File 'lib/google/apis/documentai_v1/classes.rb', line 6531

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