ObjectPrivilegeSummary

class oci.database_management.models.ObjectPrivilegeSummary(**kwargs)

Bases: object

A summary of object privileges.

Attributes

COMMON_NO A constant which can be used with the common property of a ObjectPrivilegeSummary.
COMMON_YES A constant which can be used with the common property of a ObjectPrivilegeSummary.
GRANT_OPTION_NO A constant which can be used with the grant_option property of a ObjectPrivilegeSummary.
GRANT_OPTION_YES A constant which can be used with the grant_option property of a ObjectPrivilegeSummary.
HIERARCHY_NO A constant which can be used with the hierarchy property of a ObjectPrivilegeSummary.
HIERARCHY_YES A constant which can be used with the hierarchy property of a ObjectPrivilegeSummary.
INHERITED_NO A constant which can be used with the inherited property of a ObjectPrivilegeSummary.
INHERITED_YES A constant which can be used with the inherited property of a ObjectPrivilegeSummary.
common Gets the common of this ObjectPrivilegeSummary.
grant_option Gets the grant_option of this ObjectPrivilegeSummary.
grantor Gets the grantor of this ObjectPrivilegeSummary.
hierarchy Gets the hierarchy of this ObjectPrivilegeSummary.
inherited Gets the inherited of this ObjectPrivilegeSummary.
name Gets the name of this ObjectPrivilegeSummary.
object Gets the object of this ObjectPrivilegeSummary.
owner Gets the owner of this ObjectPrivilegeSummary.
schema_type Gets the schema_type of this ObjectPrivilegeSummary.

Methods

__init__(**kwargs) Initializes a new ObjectPrivilegeSummary object with values from keyword arguments.
COMMON_NO = 'NO'

A constant which can be used with the common property of a ObjectPrivilegeSummary. This constant has a value of “NO”

COMMON_YES = 'YES'

A constant which can be used with the common property of a ObjectPrivilegeSummary. This constant has a value of “YES”

GRANT_OPTION_NO = 'NO'

A constant which can be used with the grant_option property of a ObjectPrivilegeSummary. This constant has a value of “NO”

GRANT_OPTION_YES = 'YES'

A constant which can be used with the grant_option property of a ObjectPrivilegeSummary. This constant has a value of “YES”

HIERARCHY_NO = 'NO'

A constant which can be used with the hierarchy property of a ObjectPrivilegeSummary. This constant has a value of “NO”

HIERARCHY_YES = 'YES'

A constant which can be used with the hierarchy property of a ObjectPrivilegeSummary. This constant has a value of “YES”

INHERITED_NO = 'NO'

A constant which can be used with the inherited property of a ObjectPrivilegeSummary. This constant has a value of “NO”

INHERITED_YES = 'YES'

A constant which can be used with the inherited property of a ObjectPrivilegeSummary. This constant has a value of “YES”

__init__(**kwargs)

Initializes a new ObjectPrivilegeSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ObjectPrivilegeSummary.
  • schema_type (str) – The value to assign to the schema_type property of this ObjectPrivilegeSummary.
  • owner (str) – The value to assign to the owner property of this ObjectPrivilegeSummary.
  • grantor (str) – The value to assign to the grantor property of this ObjectPrivilegeSummary.
  • hierarchy (str) – The value to assign to the hierarchy property of this ObjectPrivilegeSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • object (str) – The value to assign to the object property of this ObjectPrivilegeSummary.
  • grant_option (str) – The value to assign to the grant_option property of this ObjectPrivilegeSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • common (str) – The value to assign to the common property of this ObjectPrivilegeSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • inherited (str) – The value to assign to the inherited property of this ObjectPrivilegeSummary. Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
common

Gets the common of this ObjectPrivilegeSummary. Indicates how the object privilege was granted. Possible values: YES if the role is granted commonly (CONTAINER=ALL is used) NO if the role is granted locally (CONTAINER=ALL is not used)

Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The common of this ObjectPrivilegeSummary.
Return type:str
grant_option

Gets the grant_option of this ObjectPrivilegeSummary. Indicates whether the privilege is granted with the GRANT OPTION (YES) or not (NO).

Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The grant_option of this ObjectPrivilegeSummary.
Return type:str
grantor

Gets the grantor of this ObjectPrivilegeSummary. The name of the user who granted the object privilege.

Returns:The grantor of this ObjectPrivilegeSummary.
Return type:str
hierarchy

Gets the hierarchy of this ObjectPrivilegeSummary. Indicates whether the privilege is granted with the HIERARCHY OPTION (YES) or not (NO).

Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The hierarchy of this ObjectPrivilegeSummary.
Return type:str
inherited

Gets the inherited of this ObjectPrivilegeSummary. Indicates whether the granted privilege is inherited from another container (YES) or not (NO).

Allowed values for this property are: “YES”, “NO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The inherited of this ObjectPrivilegeSummary.
Return type:str
name

Gets the name of this ObjectPrivilegeSummary. The name of the privilege on the object.

Returns:The name of this ObjectPrivilegeSummary.
Return type:str
object

Gets the object of this ObjectPrivilegeSummary. The name of the object. The object can be any object, including tables, packages, indexes, sequences, and so on.

Returns:The object of this ObjectPrivilegeSummary.
Return type:str
owner

Gets the owner of this ObjectPrivilegeSummary. The owner of the object.

Returns:The owner of this ObjectPrivilegeSummary.
Return type:str
schema_type

Gets the schema_type of this ObjectPrivilegeSummary. The type of object.

Returns:The schema_type of this ObjectPrivilegeSummary.
Return type:str