This resource represents the configuration of a transfer job that runs periodically.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#creation_time
def creation_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time that the transfer job was created.
#deletion_time
def deletion_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time that the transfer job was deleted.
#description
def description() -> ::String
- (::String) — A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
#description=
def description=(value) -> ::String
- value (::String) — A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
- (::String) — A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded.
#last_modification_time
def last_modification_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time that the transfer job was last modified.
#latest_operation_name
def latest_operation_name() -> ::String
- (::String) — The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
#latest_operation_name=
def latest_operation_name=(value) -> ::String
- value (::String) — The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
- (::String) — The name of the most recently started TransferOperation of this JobConfig. Present if a TransferOperation has been created for this JobConfig.
#name
def name() -> ::String
-
(::String) — 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 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 error.
#name=
def name=(value) -> ::String
-
value (::String) — 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 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 error.
-
(::String) — 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 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 error.
#notification_config
def notification_config() -> ::Google::Cloud::StorageTransfer::V1::NotificationConfig
- (::Google::Cloud::StorageTransfer::V1::NotificationConfig) — Notification configuration.
#notification_config=
def notification_config=(value) -> ::Google::Cloud::StorageTransfer::V1::NotificationConfig
- value (::Google::Cloud::StorageTransfer::V1::NotificationConfig) — Notification configuration.
- (::Google::Cloud::StorageTransfer::V1::NotificationConfig) — Notification configuration.
#project_id
def project_id() -> ::String
- (::String) — The ID of the Google Cloud Platform Project that owns the job.
#project_id=
def project_id=(value) -> ::String
- value (::String) — The ID of the Google Cloud Platform Project that owns the job.
- (::String) — The ID of the Google Cloud Platform Project that owns the job.
#schedule
def schedule() -> ::Google::Cloud::StorageTransfer::V1::Schedule
- (::Google::Cloud::StorageTransfer::V1::Schedule) — 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.
#schedule=
def schedule=(value) -> ::Google::Cloud::StorageTransfer::V1::Schedule
- value (::Google::Cloud::StorageTransfer::V1::Schedule) — 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.
- (::Google::Cloud::StorageTransfer::V1::Schedule) — 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.
#status
def status() -> ::Google::Cloud::StorageTransfer::V1::TransferJob::Status
-
(::Google::Cloud::StorageTransfer::V1::TransferJob::Status) — 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 to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
#status=
def status=(value) -> ::Google::Cloud::StorageTransfer::V1::TransferJob::Status
-
value (::Google::Cloud::StorageTransfer::V1::TransferJob::Status) — 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 to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
-
(::Google::Cloud::StorageTransfer::V1::TransferJob::Status) — 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 to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation.
#transfer_spec
def transfer_spec() -> ::Google::Cloud::StorageTransfer::V1::TransferSpec
- (::Google::Cloud::StorageTransfer::V1::TransferSpec) — Transfer specification.
#transfer_spec=
def transfer_spec=(value) -> ::Google::Cloud::StorageTransfer::V1::TransferSpec
- value (::Google::Cloud::StorageTransfer::V1::TransferSpec) — Transfer specification.
- (::Google::Cloud::StorageTransfer::V1::TransferSpec) — Transfer specification.