Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsDestination

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

Export destination of the data.Only gcs path is allowed in output_uri.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1p2alpha1GcsDestination

Returns a new instance of GoogleCloudDatalabelingV1p2alpha1GcsDestination.



5498
5499
5500
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5498

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

Instance Attribute Details

#mime_typeString

Required. The format of the gcs destination. Only "text/csv" and "application/ json" are supported. Corresponds to the JSON property mimeType

Returns:

  • (String)


5491
5492
5493
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5491

def mime_type
  @mime_type
end

#output_uriString

Required. The output uri of destination file. Corresponds to the JSON property outputUri

Returns:

  • (String)


5496
5497
5498
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5496

def output_uri
  @output_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5503
5504
5505
5506
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5503

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