Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
- 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
The external source processor version.
Instance Attribute Summary collapse
-
#processor_version ⇒ String
Required.
-
#service_endpoint ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
constructor
A new instance of GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource
Returns a new instance of GoogleCloudDocumentaiV1beta3ImportProcessorVersionRequestExternalProcessorVersionSource.
11292 11293 11294 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11292 def initialize(**args) update!(**args) end |
Instance Attribute Details
#processor_version ⇒ String
Required. The processor version name. Format: projects/
project/locations/
location/processors/
processor/processorVersions/
processorVersion`
Corresponds to the JSON property
processorVersion`
11284 11285 11286 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11284 def processor_version @processor_version end |
#service_endpoint ⇒ String
Optional. The Document AI service endpoint. For example, 'https://us-
documentai.googleapis.com'
Corresponds to the JSON property serviceEndpoint
11290 11291 11292 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11290 def service_endpoint @service_endpoint end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11297 11298 11299 11300 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 11297 def update!(**args) @processor_version = args[:processor_version] if args.key?(:processor_version) @service_endpoint = args[:service_endpoint] if args.key?(:service_endpoint) end |