class Google::Apis::AdminDatatransferV1::DataTransfer
The JSON template for a DataTransfer resource.
Attributes
List of per application data transfer resources. It contains data transfer details of the applications associated with this transfer resource. Note that this list is also used to specify the applications for which data transfer has to be done at the time of the transfer resource creation. Corresponds to the JSON property `applicationDataTransfers` @return [Array<Google::Apis::AdminDatatransferV1::ApplicationDataTransfer>]
ETag of the resource. Corresponds to the JSON property `etag` @return [String]
The transfer's ID (Read-only). Corresponds to the JSON property `id` @return [String]
Identifies the resource as a DataTransfer request. Corresponds to the JSON property `kind` @return [String]
ID of the user to whom the data is being transfered. Corresponds to the JSON property `newOwnerUserId` @return [String]
ID of the user whose data is being transfered. Corresponds to the JSON property `oldOwnerUserId` @return [String]
Overall transfer status (Read-only). Corresponds to the JSON property `overallTransferStatusCode` @return [String]
The time at which the data transfer was requested (Read-only). Corresponds to the JSON property `requestTime` @return [DateTime]
Public Class Methods
# File generated/google/apis/admin_datatransfer_v1/classes.rb, line 212 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/admin_datatransfer_v1/classes.rb, line 217 def update!(**args) @application_data_transfers = args[:application_data_transfers] if args.key?(:application_data_transfers) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @new_owner_user_id = args[:new_owner_user_id] if args.key?(:new_owner_user_id) @old_owner_user_id = args[:old_owner_user_id] if args.key?(:old_owner_user_id) @overall_transfer_status_code = args[:overall_transfer_status_code] if args.key?(:overall_transfer_status_code) @request_time = args[:request_time] if args.key?(:request_time) end