Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1OutputConfig

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) ⇒ GoogleCloudDatalabelingV1p2alpha1OutputConfig

Returns a new instance of GoogleCloudDatalabelingV1p2alpha1OutputConfig.



6052
6053
6054
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 6052

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

Instance Attribute Details

#gcs_destinationGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsDestination

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



6045
6046
6047
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 6045

def gcs_destination
  @gcs_destination
end

#gcs_folder_destinationGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1GcsFolderDestination

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



6050
6051
6052
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 6050

def gcs_folder_destination
  @gcs_folder_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6057
6058
6059
6060
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 6057

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