openstack.object_store.v1.account

The Account Class

The Account class inherits from Resource.

class openstack.object_store.v1.account.Account(metadata=None, **attrs)

Process and save metadata known at creation stage

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)