Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ExportDataOperationResponse

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

Response used for ExportDataset longrunning operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ExportDataOperationResponse

Returns a new instance of GoogleCloudDatalabelingV1beta1ExportDataOperationResponse.



2202
2203
2204
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2202

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

Instance Attribute Details

#annotated_datasetString

Output only. The name of annotated dataset in format "projects//datasets// annotatedDatasets/*". Corresponds to the JSON property annotatedDataset

Returns:

  • (String)


2175
2176
2177
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2175

def annotated_dataset
  @annotated_dataset
end

#datasetString

Ouptut only. The name of dataset. "projects//datasets/" Corresponds to the JSON property dataset

Returns:

  • (String)


2180
2181
2182
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2180

def dataset
  @dataset
end

#export_countFixnum

Output only. Number of examples exported successfully. Corresponds to the JSON property exportCount

Returns:

  • (Fixnum)


2185
2186
2187
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2185

def export_count
  @export_count
end

#label_statsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats

Statistics about annotation specs. Corresponds to the JSON property labelStats



2190
2191
2192
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2190

def label_stats
  @label_stats
end

#output_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OutputConfig

The configuration of output data. Corresponds to the JSON property outputConfig



2195
2196
2197
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2195

def output_config
  @output_config
end

#total_countFixnum

Output only. Total number of examples requested to export Corresponds to the JSON property totalCount

Returns:

  • (Fixnum)


2200
2201
2202
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2200

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2207
2208
2209
2210
2211
2212
2213
2214
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2207

def update!(**args)
  @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset)
  @dataset = args[:dataset] if args.key?(:dataset)
  @export_count = args[:export_count] if args.key?(:export_count)
  @label_stats = args[:label_stats] if args.key?(:label_stats)
  @output_config = args[:output_config] if args.key?(:output_config)
  @total_count = args[:total_count] if args.key?(:total_count)
end