ConsumerGroupPrivilegeSummary

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

Bases: object

A summary of consumer group privileges.

Attributes:

GRANT_OPTION_NO

A constant which can be used with the grant_option property of a ConsumerGroupPrivilegeSummary.

GRANT_OPTION_YES

A constant which can be used with the grant_option property of a ConsumerGroupPrivilegeSummary.

INITIAL_GROUP_NO

A constant which can be used with the initial_group property of a ConsumerGroupPrivilegeSummary.

INITIAL_GROUP_YES

A constant which can be used with the initial_group property of a ConsumerGroupPrivilegeSummary.

grant_option

Gets the grant_option of this ConsumerGroupPrivilegeSummary.

initial_group

Gets the initial_group of this ConsumerGroupPrivilegeSummary.

name

Gets the name of this ConsumerGroupPrivilegeSummary.

Methods:

__init__(**kwargs)

Initializes a new ConsumerGroupPrivilegeSummary object with values from keyword arguments.

GRANT_OPTION_NO = 'NO'

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

GRANT_OPTION_YES = 'YES'

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

INITIAL_GROUP_NO = 'NO'

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

INITIAL_GROUP_YES = 'YES'

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

__init__(**kwargs)

Initializes a new ConsumerGroupPrivilegeSummary 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 ConsumerGroupPrivilegeSummary.

  • grant_option (str) – The value to assign to the grant_option property of this ConsumerGroupPrivilegeSummary. 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’.

  • initial_group (str) – The value to assign to the initial_group property of this ConsumerGroupPrivilegeSummary. 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’.

property grant_option

Gets the grant_option of this ConsumerGroupPrivilegeSummary. 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 ConsumerGroupPrivilegeSummary.

Return type

str

property initial_group

Gets the initial_group of this ConsumerGroupPrivilegeSummary. Indicates whether the consumer group is designated as the default for this user or role (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 initial_group of this ConsumerGroupPrivilegeSummary.

Return type

str

property name

Gets the name of this ConsumerGroupPrivilegeSummary. The name of the granted consumer group privilege.

Returns

The name of this ConsumerGroupPrivilegeSummary.

Return type

str