openstack.block_storage.v3.message

The Message Class

The Message class inherits from Resource.

class openstack.block_storage.v3.message.Message(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'messages'

Singular form of key for resource.

resources_key = 'messages'

Plural form of key for resource.

base_path = '/messages'

The base part of the URI for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

created_at

Properties The date and time when the resource was created. Format is ISO 8601: CCYY-MM-DDThh:mm:ss±hh:mm Example: 2015-08-27T09:49:58-05:00

event_id

The id of the event to this message.

guaranteed_until

The expire time of message, message could be deleted after this time.

message_level

The level of the message, possible value is only ‘ERROR’ now.

request_id

The id of the request during which the message was created.

resource_type

The resource type corresponding to resource_uuid.

resource_uuid

The UUID of the resource during whose operation the message was created.

user_message

The translated readable message corresponding to event_id.