Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb

Overview

Metadata of an ExportData operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata

Returns a new instance of GoogleCloudDatalabelingV1p2alpha1ExportDataOperationMetadata.



5420
5421
5422
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5420

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)


5402
5403
5404
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5402

def annotated_dataset
  @annotated_dataset
end

#create_timeString

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

Returns:

  • (String)


5407
5408
5409
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5407

def create_time
  @create_time
end

#datasetString

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

Returns:

  • (String)


5412
5413
5414
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5412

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



5418
5419
5420
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5418

def partial_failures
  @partial_failures
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5425
5426
5427
5428
5429
5430
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 5425

def update!(**args)
  @annotated_dataset = args[:annotated_dataset] if args.key?(:annotated_dataset)
  @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