Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata

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

Metadata of an ImportData operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata

Returns a new instance of GoogleCloudDatalabelingV1alpha1ImportDataOperationMetadata.



291
292
293
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 291

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

Instance Attribute Details

#create_timeString

Output only. Timestamp when import dataset request was created. Corresponds to the JSON property createTime

Returns:

  • (String)


278
279
280
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 278

def create_time
  @create_time
end

#datasetString

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

Returns:

  • (String)


283
284
285
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 283

def dataset
  @dataset
end

#partial_failuresArray<Google::Apis::DatalabelingV1beta1::GoogleRpcStatus>

Output only. Partial failures encountered. E.g. single files that couldn't be read. Status details field will contain standard GCP error details. Corresponds to the JSON property partialFailures



289
290
291
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 289

def partial_failures
  @partial_failures
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



296
297
298
299
300
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 296

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