class Google::Apis::StoragetransferV1::TransferOperation

A description of the execution of a transfer.

Attributes

counters[RW]

A collection of counters that report the progress of a transfer operation. Corresponds to the JSON property `counters` @return [Google::Apis::StoragetransferV1::TransferCounters]

end_time[RW]

End time of this transfer execution. Corresponds to the JSON property `endTime` @return [String]

error_breakdowns[RW]

Summarizes errors encountered with sample error log entries. Corresponds to the JSON property `errorBreakdowns` @return [Array<Google::Apis::StoragetransferV1::ErrorSummary>]

name[RW]

A globally unique ID assigned by the system. Corresponds to the JSON property `name` @return [String]

notification_config[RW]

Specification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following ` PubsubMessage.attributes`: * `“eventType”`: one of the EventType values * `“ payloadFormat”`: one of the PayloadFormat values * `“projectId”`: the project_id of the `TransferOperation` * `“transferJobName”`: the transfer_job_name of the `TransferOperation` * `“transferOperationName”`: the name of the `TransferOperation` The `PubsubMessage.data` contains a TransferOperation resource formatted according to the specified `PayloadFormat` . Corresponds to the JSON property `notificationConfig` @return [Google::Apis::StoragetransferV1::NotificationConfig]

project_id[RW]

The ID of the Google Cloud Platform Project that owns the operation. Corresponds to the JSON property `projectId` @return [String]

start_time[RW]

Start time of this transfer execution. Corresponds to the JSON property `startTime` @return [String]

status[RW]

Status of the transfer operation. Corresponds to the JSON property `status` @return [String]

transfer_job_name[RW]

The name of the transfer job that triggers this transfer operation. Corresponds to the JSON property `transferJobName` @return [String]

transfer_spec[RW]

Configuration for running a transfer. Corresponds to the JSON property `transferSpec` @return [Google::Apis::StoragetransferV1::TransferSpec]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/storagetransfer_v1/classes.rb, line 1198
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/storagetransfer_v1/classes.rb, line 1203
def update!(**args)
  @counters = args[:counters] if args.key?(:counters)
  @end_time = args[:end_time] if args.key?(:end_time)
  @error_breakdowns = args[:error_breakdowns] if args.key?(:error_breakdowns)
  @name = args[:name] if args.key?(:name)
  @notification_config = args[:notification_config] if args.key?(:notification_config)
  @project_id = args[:project_id] if args.key?(:project_id)
  @start_time = args[:start_time] if args.key?(:start_time)
  @status = args[:status] if args.key?(:status)
  @transfer_job_name = args[:transfer_job_name] if args.key?(:transfer_job_name)
  @transfer_spec = args[:transfer_spec] if args.key?(:transfer_spec)
end