Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1OutputConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb

Overview

The configuration of output data.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1alpha1OutputConfig

Returns a new instance of GoogleCloudDatalabelingV1alpha1OutputConfig.



716
717
718
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 716

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

Instance Attribute Details

#gcs_destinationGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsDestination

Export destination of the data.Only gcs path is allowed in output_uri. Corresponds to the JSON property gcsDestination



709
710
711
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 709

def gcs_destination
  @gcs_destination
end

#gcs_folder_destinationGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1GcsFolderDestination

Export folder destination of the data. Corresponds to the JSON property gcsFolderDestination



714
715
716
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 714

def gcs_folder_destination
  @gcs_folder_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



721
722
723
724
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 721

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