View Source GoogleApi.StorageTransfer.V1.Model.EventStream (google_api_storage_transfer v0.36.0)

Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files.

Attributes

  • eventStreamExpirationTime (type: DateTime.t, default: nil) - Specifies the data and time at which Storage Transfer Service stops listening for events from this stream. After this time, any transfers in progress will complete, but no new transfers are initiated.
  • eventStreamStartTime (type: DateTime.t, default: nil) - Specifies the date and time that Storage Transfer Service starts listening for events from this stream. If no start time is specified or start time is in the past, Storage Transfer Service starts listening immediately.
  • name (type: String.t, default: nil) - Required. Specifies a unique name of the resource such as AWS SQS ARN in the form 'arn:aws:sqs:region:account_id:queue_name', or Pub/Sub subscription resource name in the form 'projects/{project}/subscriptions/{sub}'.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.StorageTransfer.V1.Model.EventStream{
  eventStreamExpirationTime: DateTime.t() | nil,
  eventStreamStartTime: DateTime.t() | nil,
  name: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.