models.keystone_acl_proto module¶
-
class
models.keystone_acl_proto.
KeystoneACLProto
(read_grantees=None, write_grantees=None)[source]¶ Bases:
object
Implementation of the ‘KeystoneACLProto’ model.
Protobuf that describes the Keystone access control list (ACL) permissions for a swift container. Note: Keystone ACL is applicable for only keystone authenticated users.
- Attributes:
read_grantees (KeystoneACLProto_Grantees): Grantees with read permission. write_grantees (KeystoneACLProto_Grantees): Grantees with write permission.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.