Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1PdfInstruction

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

Overview

Instruction from a PDF file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1PdfInstruction

Returns a new instance of GoogleCloudDatalabelingV1beta1PdfInstruction.



3942
3943
3944
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3942

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

Instance Attribute Details

#gcs_file_uriString

PDF file for the instruction. Only gcs path is allowed. Corresponds to the JSON property gcsFileUri

Returns:

  • (String)


3940
3941
3942
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3940

def gcs_file_uri
  @gcs_file_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3947
3948
3949
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 3947

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