public sealed class TransferJob : IMessage<TransferJob>, IEquatable<TransferJob>, IDeepCloneable<TransferJob>, IBufferMessage, IMessage
This resource represents the configuration of a transfer job that runs periodically.
Implements
IMessage<TransferJob>, IEquatable<TransferJob>, IDeepCloneable<TransferJob>, IBufferMessage, IMessageNamespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
TransferJob()
public TransferJob()
TransferJob(TransferJob)
public TransferJob(TransferJob other)
Parameter | |
---|---|
Name | Description |
other | TransferJob |
Properties
CreationTime
public Timestamp CreationTime { get; set; }
Output only. The time that the transfer job was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DeletionTime
public Timestamp DeletionTime { get; set; }
Output only. The time that the transfer job was deleted.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
Property Value | |
---|---|
Type | Description |
String |
LastModificationTime
public Timestamp LastModificationTime { get; set; }
Output only. The time that the transfer job was last modified.
Property Value | |
---|---|
Type | Description |
Timestamp |
LatestOperationName
public string LatestOperationName { get; set; }
The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
A unique name (within the transfer project) assigned when the job is created. If this field is empty in a CreateTransferJobRequest, Storage Transfer Service will assign a unique name. Otherwise, the specified name is used as the unique name for this job.
If the specified name is in use by a job, the creation request fails with an [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS] error.
This name must start with "transferJobs/"
prefix and end with a letter or
a number, and should be no more than 128 characters. This name must not
start with 'transferJobs/OPI'. 'transferJobs/OPI' is a reserved prefix.
Example:
"transferJobs/^(?!OPI)[A-Za-z0-9-._~]*[A-Za-z0-9]$"
Invalid job names will fail with an [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error.
Property Value | |
---|---|
Type | Description |
String |
NotificationConfig
public NotificationConfig NotificationConfig { get; set; }
Notification configuration.
Property Value | |
---|---|
Type | Description |
NotificationConfig |
ProjectId
public string ProjectId { get; set; }
The ID of the Google Cloud Platform Project that owns the job.
Property Value | |
---|---|
Type | Description |
String |
Schedule
public Schedule Schedule { get; set; }
Specifies schedule for the transfer job. This is an optional field. When the field is not set, the job will never execute a transfer, unless you invoke RunTransferJob or update the job to have a non-empty schedule.
Property Value | |
---|---|
Type | Description |
Schedule |
Status
public TransferJob.Types.Status Status { get; set; }
Status of the job. This value MUST be specified for
CreateTransferJobRequests
.
Note: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from [ENABLED][google.storagetransfer.v1.TransferJob.Status.ENABLED] to [DISABLED][google.storagetransfer.v1.TransferJob.Status.DISABLED], and an operation spawned by the transfer is running, the status change would not affect the current operation.
Property Value | |
---|---|
Type | Description |
TransferJob.Types.Status |
TransferSpec
public TransferSpec TransferSpec { get; set; }
Transfer specification.
Property Value | |
---|---|
Type | Description |
TransferSpec |