SDK reference / Models / Transfer

TransferJob

Kind: class

Namespace: Egulu.Sdk.Models.Transfer

A transfer job: one source, one destination, a mode, optional filters and schedule.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Transfer.TransferJob_annotations?annotationsAt most 256 KiB in all; never policy input.
BandwidthMibPerSecondint?bandwidthMibPerSecondCap on the transfer speed in MiB per second, 1 to 1000; 0 or absent means none.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DestinationModels.Transfer.TransferEndpoint?destinationOne side of a transfer. The prefix is relative to the bucket; nothing outside it is read or written.
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
ExcludeList<string>?excludeExclude patterns; an excluded object is neither copied nor deleted.
IncludeList<string>?includeInclude patterns ("*", "**", "?"; at most 16); empty means every object.
LabelsModels.Transfer.TransferJob_labels?labelsAt most 64.
LastRunstring?lastRunThe newest run's ID, if any.
LastRunStateModels.Transfer.TransferJob_lastRunState?lastRunStateThe lastRunState property
LastRunTimeDateTimeOffset?lastRunTimeThe lastRunTime property
Locationstring?locationThe location property
ModeModels.Transfer.TransferJob_mode?modeCOPY (default) or SYNC.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PlanModels.Transfer.TransferPlan?planThe newest plan (dry run) of this job; :apply needs its digest and a plan younger than 24 hours.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Schedulestring?scheduleA five-field cron expression in UTC with a gap of at least 15 minutes; absent means manual runs only.
Simulatedbool?simulatedTrue when the lab's in-memory object store, not a real one, ran the job.
SourceModels.Transfer.TransferEndpoint?sourceOne side of a transfer. The prefix is relative to the bucket; nothing outside it is read or written.
StateModels.Transfer.TransferJob_state?stateThe state property
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
Verifybool?verifyAfter the copy, compare sizes and ETags of the copied objects; a mismatch fails the object.