Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse

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 ImportData longrunning operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse

Returns a new instance of GoogleCloudDatalabelingV1p1alpha1ImportDataOperationResponse.



4956
4957
4958
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4956

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

Instance Attribute Details

#datasetString

Ouptut only. The name of imported dataset. Corresponds to the JSON property dataset

Returns:

  • (String)


4944
4945
4946
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4944

def dataset
  @dataset
end

#import_countFixnum

Output only. Number of examples imported successfully. Corresponds to the JSON property importCount

Returns:

  • (Fixnum)


4949
4950
4951
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4949

def import_count
  @import_count
end

#total_countFixnum

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

Returns:

  • (Fixnum)


4954
4955
4956
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4954

def total_count
  @total_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4961
4962
4963
4964
4965
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 4961

def update!(**args)
  @dataset = args[:dataset] if args.key?(:dataset)
  @import_count = args[:import_count] if args.key?(:import_count)
  @total_count = args[:total_count] if args.key?(:total_count)
end