ConsumerGroupPrivilegeSummary¶
-
class
oci.database_management.models.ConsumerGroupPrivilegeSummary(**kwargs)¶ Bases:
objectA summary of consumer group privileges.
Attributes
GRANT_OPTION_NOA constant which can be used with the grant_option property of a ConsumerGroupPrivilegeSummary. GRANT_OPTION_YESA constant which can be used with the grant_option property of a ConsumerGroupPrivilegeSummary. INITIAL_GROUP_NOA constant which can be used with the initial_group property of a ConsumerGroupPrivilegeSummary. INITIAL_GROUP_YESA constant which can be used with the initial_group property of a ConsumerGroupPrivilegeSummary. grant_optionGets the grant_option of this ConsumerGroupPrivilegeSummary. initial_groupGets the initial_group of this ConsumerGroupPrivilegeSummary. nameGets 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’.
-
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
-
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
-
name¶ Gets the name of this ConsumerGroupPrivilegeSummary. The name of the granted consumer group privilege.
Returns: The name of this ConsumerGroupPrivilegeSummary. Return type: str
-