Class: Google::Apis::BigquerydatatransferV1::TransferStatusSummary

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

Overview

Status summary of the resource being transferred.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransferStatusSummary

Returns a new instance of TransferStatusSummary.



1496
1497
1498
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1496

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

Instance Attribute Details

#metricsArray<Google::Apis::BigquerydatatransferV1::TransferStatusMetric>

Optional. List of transfer status metrics. Corresponds to the JSON property metrics



1489
1490
1491
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1489

def metrics
  @metrics
end

#progress_unitString

Input only. Unit based on which transfer status progress should be calculated. Corresponds to the JSON property progressUnit

Returns:

  • (String)


1494
1495
1496
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1494

def progress_unit
  @progress_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1501
1502
1503
1504
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1501

def update!(**args)
  @metrics = args[:metrics] if args.key?(:metrics)
  @progress_unit = args[:progress_unit] if args.key?(:progress_unit)
end