Class: Google::Apis::BigquerydatatransferV1::TransferStatusSummary
- Inherits:
-
Object
- Object
- Google::Apis::BigquerydatatransferV1::TransferStatusSummary
- 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
-
#metrics ⇒ Array<Google::Apis::BigquerydatatransferV1::TransferStatusMetric>
Optional.
-
#progress_unit ⇒ String
Input only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferStatusSummary
constructor
A new instance of TransferStatusSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TransferStatusSummary
Returns a new instance of TransferStatusSummary.
1542 1543 1544 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1542 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metrics ⇒ Array<Google::Apis::BigquerydatatransferV1::TransferStatusMetric>
Optional. List of transfer status metrics.
Corresponds to the JSON property metrics
1535 1536 1537 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1535 def metrics @metrics end |
#progress_unit ⇒ String
Input only. Unit based on which transfer status progress should be calculated.
Corresponds to the JSON property progressUnit
1540 1541 1542 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1540 def progress_unit @progress_unit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1547 1548 1549 1550 |
# File 'lib/google/apis/bigquerydatatransfer_v1/classes.rb', line 1547 def update!(**args) @metrics = args[:metrics] if args.key?(:metrics) @progress_unit = args[:progress_unit] if args.key?(:progress_unit) end |