models.swift_container_tagging_proto module¶
-
class
models.swift_container_tagging_proto.
SwiftContainerTaggingProto
(acl_root_user=None, project_tag=None)[source]¶ Bases:
object
Implementation of the ‘SwiftContainerTaggingProto’ model.
Proto to define the tagging info associated with a Swift container.
- Attributes:
- acl_root_user (User): [optional] The Keystone user who could get grant of
access to this container after creation by ACL. It is used to let this user get access to this container if noboby has any Swift roles from Keystone. If this user has a Swift role, other Keystone users could get grant by this ‘root’ user through ACL. If ‘acl_root_user’ is set, below fields are mandatory. [mandatory] acl_root_user.name [mandatory] acl_root_user.domain.name
project_tag (Project): Start IP of the range
-
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.