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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/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 'generated/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 'generated/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 'generated/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