google_api_storage_transfer v0.1.0 GoogleApi.StorageTransfer.V1.Model.TransferJob View Source

This resource represents the configuration of a transfer job that runs periodically.

Attributes

  • creationTime (DateTime.t): This field cannot be changed by user requests. Defaults to: null.
  • deletionTime (DateTime.t): This field cannot be changed by user requests. Defaults to: null.
  • description (String.t): A description provided by the user for the job. Its max length is 1024 bytes when Unicode-encoded. Defaults to: null.
  • lastModificationTime (DateTime.t): This field cannot be changed by user requests. Defaults to: null.
  • name (String.t): A globally unique name assigned by Storage Transfer Service when the job is created. This field should be left empty in requests to create a new transfer job; otherwise, the requests result in an `INVALID_ARGUMENT` error. Defaults to: null.
  • projectId (String.t): The ID of the Google Cloud Platform Console project that owns the job. Defaults to: null.
  • schedule (Schedule): Schedule specification. Defaults to: null.
  • status (String.t): 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. Defaults to: null.

    • Enum - one of [STATUS_UNSPECIFIED, ENABLED, DISABLED, DELETED]
  • transferSpec (TransferSpec): Transfer specification. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.StorageTransfer.V1.Model.TransferJob{
  creationTime: DateTime.t(),
  deletionTime: DateTime.t(),
  description: any(),
  lastModificationTime: DateTime.t(),
  name: any(),
  projectId: any(),
  schedule: GoogleApi.StorageTransfer.V1.Model.Schedule.t(),
  status: any(),
  transferSpec: GoogleApi.StorageTransfer.V1.Model.TransferSpec.t()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.