Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse

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

Response used for ExportDataset longrunning operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse

Returns a new instance of GoogleCloudDatalabelingV1alpha1ExportDataOperationResponse.



132
133
134
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 132

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)


105
106
107
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 105

def annotated_dataset
  @annotated_dataset
end

#datasetString

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

Returns:

  • (String)


110
111
112
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 110

def dataset
  @dataset
end

#export_countFixnum

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

Returns:

  • (Fixnum)


115
116
117
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 115

def export_count
  @export_count
end

#label_statsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1LabelStats

Statistics about annotation specs. Corresponds to the JSON property labelStats



120
121
122
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 120

def label_stats
  @label_stats
end

#output_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1OutputConfig

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



125
126
127
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 125

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)


130
131
132
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 130

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



137
138
139
140
141
142
143
144
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 137

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