Class NotificationConfig
Specification to configure notifications published to Pub/Sub. Notifications are published to the
customer-provided topic using the following PubsubMessage.attributes: * "eventType": one of the EventType
values * "payloadFormat": one of the PayloadFormat values * "projectId": the project_id of the
TransferOperation * "transferJobName": the transfer_job_name of the TransferOperation *
"transferOperationName": the name of the TransferOperation The PubsubMessage.data contains a
TransferOperation resource formatted according to the specified PayloadFormat.
Implements
Inherited Members
Namespace: Google.Apis.Storagetransfer.v1.Data
Assembly: Google.Apis.Storagetransfer.v1.dll
Syntax
public class NotificationConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EventTypes
Event types for which a notification is desired. If empty, send notifications for all event types.
Declaration
[JsonProperty("eventTypes")]
public virtual IList<string> EventTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
PayloadFormat
Required. The desired format of the notification message payloads.
Declaration
[JsonProperty("payloadFormat")]
public virtual string PayloadFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PubsubTopic
Required. The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format:
projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
Declaration
[JsonProperty("pubsubTopic")]
public virtual string PubsubTopic { get; set; }
Property Value
| Type | Description |
|---|---|
| string |