All Downloads are FREE. Search and download functionalities are using the official Maven repository.

flyteidl.admin.notification.proto Maven / Gradle / Ivy

syntax = "proto3";

package flyteidl.admin;

option go_package = "github.com/lyft/flyteidl/gen/pb-go/flyteidl/admin";

// import "validate/validate.proto";

// Represents the Email object that is sent to a publisher/subscriber
// to forward the notification.
// Note: This is internal to Admin and doesn't need to be exposed to other components.
message EmailMessage {
    // The list of email addresses to receive an email with the content populated in the other fields.
    // Currently, each email recipient will receive its own email.
    // This populates the TO field.
    repeated string recipients_email = 1;  // [(validate.rules).repeated = {min_items: 1, unique: true, items: {string: {email: true}}}];

    // The email of the sender.
    // This populates the FROM field.
    string sender_email = 2;  // [(validate.rules).string.email = true];

    // The content of the subject line.
    // This populates the SUBJECT field.
    string subject_line = 3;  // [(validate.rules).string.min_len = 1];

    // The content of the email body.
    // This populates the BODY field.
    string body = 4;  // [(validate.rules).string.min_len = 1];
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy