openstack.object_store.v1.account

The Account Class

The Account class inherits from Resource.

class openstack.object_store.v1.account.Account(_synchronized=False, connection=None, **attrs)

The base resource

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

  • connection (openstack.connection.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.

account_bytes_used

The total number of bytes that are stored in Object Storage for the account.

account_container_count

The number of containers.

account_object_count

The number of objects in the account.

meta_temp_url_key

The secret key value for temporary URLs. If not set, this header is not returned by this operation.

meta_temp_url_key_2

A second secret key value for temporary URLs. If not set, this header is not returned by this operation.

timestamp

The timestamp of the transaction.

set_temp_url_key(proxy, key, secondary=False)

Set the temporary url key for the account.

Parameters
  • proxy (Proxy) – The proxy to use for making this request.

  • key – Text of the key to use.

  • secondary (bool) – Whether this should set the secondary key. (defaults to False)