Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse

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

Returns a new instance of GoogleCloudDatalabelingV1p2alpha1ExportDataOperationResponse.



5468
5469
5470
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5468

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)


5441
5442
5443
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5441

def annotated_dataset
  @annotated_dataset
end

#datasetString

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

Returns:

  • (String)


5446
5447
5448
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5446

def dataset
  @dataset
end

#export_countFixnum

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

Returns:

  • (Fixnum)


5451
5452
5453
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5451

def export_count
  @export_count
end

#label_statsGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1LabelStats

Statistics about annotation specs. Corresponds to the JSON property labelStats



5456
5457
5458
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5456

def label_stats
  @label_stats
end

#output_configGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1OutputConfig

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



5461
5462
5463
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5461

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)


5466
5467
5468
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5466

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5473
5474
5475
5476
5477
5478
5479
5480
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5473

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