Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse

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

Returns a new instance of GoogleCloudDatalabelingV1p1alpha1ExportDataOperationResponse.



4740
4741
4742
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4740

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)


4713
4714
4715
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4713

def annotated_dataset
  @annotated_dataset
end

#datasetString

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

Returns:

  • (String)


4718
4719
4720
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4718

def dataset
  @dataset
end

#export_countFixnum

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

Returns:

  • (Fixnum)


4723
4724
4725
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4723

def export_count
  @export_count
end

#label_statsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1LabelStats

Statistics about annotation specs. Corresponds to the JSON property labelStats



4728
4729
4730
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4728

def label_stats
  @label_stats
end

#output_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1OutputConfig

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



4733
4734
4735
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4733

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)


4738
4739
4740
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4738

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4745
4746
4747
4748
4749
4750
4751
4752
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4745

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