class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1GcsSource

Source of the Cloud Storage file to be imported.

Attributes

input_uri[RW]

Required. The input URI of source file. This must be a Cloud Storage path (`gs: //…`). Corresponds to the JSON property `inputUri` @return [String]

mime_type[RW]

Required. The format of the source file. Only “text/csv” is supported. Corresponds to the JSON property `mimeType` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2436
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2441
def update!(**args)
  @input_uri = args[:input_uri] if args.key?(:input_uri)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end