Class: Google::Apis::StoragetransferV1::TransferOperation
- Inherits:
-
Object
- Object
- Google::Apis::StoragetransferV1::TransferOperation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/storagetransfer_v1/classes.rb,
generated/google/apis/storagetransfer_v1/representations.rb,
generated/google/apis/storagetransfer_v1/representations.rb
Overview
A description of the execution of a transfer.
Instance Attribute Summary collapse
-
#counters ⇒ Google::Apis::StoragetransferV1::TransferCounters
A collection of counters that report the progress of a transfer operation.
-
#end_time ⇒ String
End time of this transfer execution.
-
#error_breakdowns ⇒ Array<Google::Apis::StoragetransferV1::ErrorSummary>
Summarizes errors encountered with sample error log entries.
-
#name ⇒ String
A globally unique ID assigned by the system.
-
#project_id ⇒ String
The ID of the Google Cloud Platform Console project that owns the operation.
-
#start_time ⇒ String
Start time of this transfer execution.
-
#status ⇒ String
Status of the transfer operation.
-
#transfer_job_name ⇒ String
The name of the transfer job that triggers this transfer operation.
-
#transfer_spec ⇒ Google::Apis::StoragetransferV1::TransferSpec
Configuration for running a transfer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TransferOperation
constructor
A new instance of TransferOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TransferOperation
Returns a new instance of TransferOperation
1009 1010 1011 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#counters ⇒ Google::Apis::StoragetransferV1::TransferCounters
A collection of counters that report the progress of a transfer operation.
Corresponds to the JSON property counters
986 987 988 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 986 def counters @counters end |
#end_time ⇒ String
End time of this transfer execution.
Corresponds to the JSON property endTime
966 967 968 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 966 def end_time @end_time end |
#error_breakdowns ⇒ Array<Google::Apis::StoragetransferV1::ErrorSummary>
Summarizes errors encountered with sample error log entries.
Corresponds to the JSON property errorBreakdowns
996 997 998 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 996 def error_breakdowns @error_breakdowns end |
#name ⇒ String
A globally unique ID assigned by the system.
Corresponds to the JSON property name
1001 1002 1003 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1001 def name @name end |
#project_id ⇒ String
The ID of the Google Cloud Platform Console project that owns the operation.
Required.
Corresponds to the JSON property projectId
1007 1008 1009 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1007 def project_id @project_id end |
#start_time ⇒ String
Start time of this transfer execution.
Corresponds to the JSON property startTime
971 972 973 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 971 def start_time @start_time end |
#status ⇒ String
Status of the transfer operation.
Corresponds to the JSON property status
991 992 993 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 991 def status @status end |
#transfer_job_name ⇒ String
The name of the transfer job that triggers this transfer operation.
Corresponds to the JSON property transferJobName
976 977 978 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 976 def transfer_job_name @transfer_job_name end |
#transfer_spec ⇒ Google::Apis::StoragetransferV1::TransferSpec
Configuration for running a transfer.
Corresponds to the JSON property transferSpec
981 982 983 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 981 def transfer_spec @transfer_spec end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'generated/google/apis/storagetransfer_v1/classes.rb', line 1014 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @start_time = args[:start_time] if args.key?(:start_time) @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name) @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec) @counters = args[:counters] if args.key?(:counters) @status = args[:status] if args.key?(:status) @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) end |