Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsDestination
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1GcsDestination
- 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
-
#mime_type ⇒ String
Required.
-
#output_uri ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1GcsDestination
constructor
A new instance of GoogleCloudDatalabelingV1p1alpha1GcsDestination.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1GcsDestination
Returns a new instance of GoogleCloudDatalabelingV1p1alpha1GcsDestination.
4770 4771 4772 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4770 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mime_type ⇒ String
Required. The format of the gcs destination. Only "text/csv" and "application/
json" are supported.
Corresponds to the JSON property mimeType
4763 4764 4765 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4763 def mime_type @mime_type end |
#output_uri ⇒ String
Required. The output uri of destination file.
Corresponds to the JSON property outputUri
4768 4769 4770 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4768 def output_uri @output_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4775 4776 4777 4778 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4775 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @output_uri = args[:output_uri] if args.key?(:output_uri) end |