Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse
- 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
-
#dataset ⇒ String
Ouptut only.
-
#import_count ⇒ Fixnum
Output only.
-
#total_count ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse
constructor
A new instance of GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse
Returns a new instance of GoogleCloudDatalabelingV1p2alpha1ImportDataOperationResponse.
5658 5659 5660 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset ⇒ String
Ouptut only. The name of imported dataset.
Corresponds to the JSON property dataset
5646 5647 5648 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5646 def dataset @dataset end |
#import_count ⇒ Fixnum
Output only. Number of examples imported successfully.
Corresponds to the JSON property importCount
5651 5652 5653 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5651 def import_count @import_count end |
#total_count ⇒ Fixnum
Output only. Total number of examples requested to import
Corresponds to the JSON property totalCount
5656 5657 5658 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5656 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5663 5664 5665 5666 5667 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 5663 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 |