The Project
class inherits from Resource
.
The base resource
_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.
The description of the project. Type: string
References the domain ID which owns the project; if a domain ID is not specified by the client, the Identity service implementation will default it to the domain ID to which the client’s token is scoped. Type: string
Indicates whether the project also acts as a domain. If set to True, the project acts as both a project and a domain. Default is False. New in version 3.6
Setting this attribute to False
prevents users from authorizing
against this project. Additionally, all pre-existing tokens authorized
for the project are immediately invalidated. Re-enabling a project
does not re-enable pre-existing tokens. Type: bool
The resource options for the project. Available resource options are immutable.
The ID of the parent of the project. New in version 3.4
Assign role to user on project
Validates that a user has a role on a project
Unassigns a role from a user on a project
Assign role to group on project
Validates that a group has a role on a project
Unassigns a role from a group on a project
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.