Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse

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

Response message for GenerateSchemaVersion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse

Returns a new instance of GoogleCloudDocumentaiV1beta3GenerateSchemaVersionResponse.



7934
7935
7936
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7934

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

Instance Attribute Details

#schema_versionGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3SchemaVersion

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



7932
7933
7934
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7932

def schema_version
  @schema_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7939
7940
7941
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7939

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