Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::Notification.
A notification object for notifying customers about security and privacy issues.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Time the notification was created.
#messages
def messages() -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Message>
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Message>) — A list of messages in the notification.
#messages=
def messages=(value) -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Message>
Parameter
- value (::Array<::Google::Cloud::AdvisoryNotifications::V1::Message>) — A list of messages in the notification.
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Message>) — A list of messages in the notification.
#name
def name() -> ::String
Returns
- (::String) — The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
Returns
- (::String) — The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.
#notification_type
def notification_type() -> ::Google::Cloud::AdvisoryNotifications::V1::NotificationType
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::NotificationType) — Type of notification
#notification_type=
def notification_type=(value) -> ::Google::Cloud::AdvisoryNotifications::V1::NotificationType
Parameter
- value (::Google::Cloud::AdvisoryNotifications::V1::NotificationType) — Type of notification
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::NotificationType) — Type of notification
#subject
def subject() -> ::Google::Cloud::AdvisoryNotifications::V1::Subject
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::Subject) — The subject line of the notification.
#subject=
def subject=(value) -> ::Google::Cloud::AdvisoryNotifications::V1::Subject
Parameter
- value (::Google::Cloud::AdvisoryNotifications::V1::Subject) — The subject line of the notification.
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::Subject) — The subject line of the notification.