Reference documentation and code samples for the Advisory Notifications V1 API class Google::Cloud::AdvisoryNotifications::V1::Message.
A message which contains notification details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#attachments
def attachments() -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Attachment>
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Attachment>) — The attachments to download.
#attachments=
def attachments=(value) -> ::Array<::Google::Cloud::AdvisoryNotifications::V1::Attachment>
Parameter
- value (::Array<::Google::Cloud::AdvisoryNotifications::V1::Attachment>) — The attachments to download.
Returns
- (::Array<::Google::Cloud::AdvisoryNotifications::V1::Attachment>) — The attachments to download.
#body
def body() -> ::Google::Cloud::AdvisoryNotifications::V1::Message::Body
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::Message::Body) — The message content.
#body=
def body=(value) -> ::Google::Cloud::AdvisoryNotifications::V1::Message::Body
Parameter
- value (::Google::Cloud::AdvisoryNotifications::V1::Message::Body) — The message content.
Returns
- (::Google::Cloud::AdvisoryNotifications::V1::Message::Body) — The message content.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The Message creation timestamp.
#create_time=
def create_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The Message creation timestamp.
Returns
- (::Google::Protobuf::Timestamp) — The Message creation timestamp.
#localization_time
def localization_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Time when Message was localized
#localization_time=
def localization_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Time when Message was localized
Returns
- (::Google::Protobuf::Timestamp) — Time when Message was localized