Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1CsvInstruction

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

Deprecated: this instruction format is not supported any more. Instruction from a CSV file.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1CsvInstruction

Returns a new instance of GoogleCloudDatalabelingV1beta1CsvInstruction.



1571
1572
1573
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1571

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

Instance Attribute Details

#gcs_file_uriString

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

Returns:

  • (String)


1569
1570
1571
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1569

def gcs_file_uri
  @gcs_file_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1576
1577
1578
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 1576

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