public sealed class EventStream : IMessage<EventStream>, IEquatable<EventStream>, IDeepCloneable<EventStream>, IBufferMessage, IMessage
Reference documentation and code samples for the Storage Transfer v1 API class EventStream.
Specifies the Event-driven transfer options. Event-driven transfers listen to an event stream to transfer updated files.
Implements
IMessageEventStream, IEquatableEventStream, IDeepCloneableEventStream, IBufferMessage, IMessageNamespace
Google.Cloud.StorageTransfer.V1Assembly
Google.Cloud.StorageTransfer.V1.dll
Constructors
EventStream()
public EventStream()
EventStream(EventStream)
public EventStream(EventStream other)
Parameter | |
---|---|
Name | Description |
other | EventStream |
Properties
EventStreamExpirationTime
public Timestamp EventStreamExpirationTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
EventStreamStartTime
public Timestamp EventStreamStartTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
Name
public string Name { get; set; }
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}'.
Property Value | |
---|---|
Type | Description |
string |