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.



1548
1549
1550
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1548

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



1541
1542
1543
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1541

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)


1546
1547
1548
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1546

def progress_unit
  @progress_unit
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1553
1554
1555
1556
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1553

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