AppGrantedAppRoles

class oci.identity_domains.models.AppGrantedAppRoles(**kwargs)

Bases: object

A list of AppRoles that are granted to this App (and that are defined by other Apps). Within the Oracle Public Cloud infrastructure, this allows AppID-based association. Such an association allows this App to act as a consumer and thus to access resources of another App that acts as a producer.

Attributes

TYPE_DIRECT A constant which can be used with the type property of a AppGrantedAppRoles.
TYPE_INDIRECT A constant which can be used with the type property of a AppGrantedAppRoles.
admin_role Gets the admin_role of this AppGrantedAppRoles.
app_id Gets the app_id of this AppGrantedAppRoles.
app_name Gets the app_name of this AppGrantedAppRoles.
display Gets the display of this AppGrantedAppRoles.
legacy_group_name Gets the legacy_group_name of this AppGrantedAppRoles.
read_only Gets the read_only of this AppGrantedAppRoles.
ref Gets the ref of this AppGrantedAppRoles.
type Gets the type of this AppGrantedAppRoles.
value [Required] Gets the value of this AppGrantedAppRoles.

Methods

__init__(**kwargs) Initializes a new AppGrantedAppRoles object with values from keyword arguments.
TYPE_DIRECT = 'direct'

A constant which can be used with the type property of a AppGrantedAppRoles. This constant has a value of “direct”

TYPE_INDIRECT = 'indirect'

A constant which can be used with the type property of a AppGrantedAppRoles. This constant has a value of “indirect”

__init__(**kwargs)

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

Parameters:
  • value (str) – The value to assign to the value property of this AppGrantedAppRoles.
  • ref (str) – The value to assign to the ref property of this AppGrantedAppRoles.
  • type (str) – The value to assign to the type property of this AppGrantedAppRoles. Allowed values for this property are: “direct”, “indirect”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • display (str) – The value to assign to the display property of this AppGrantedAppRoles.
  • app_id (str) – The value to assign to the app_id property of this AppGrantedAppRoles.
  • app_name (str) – The value to assign to the app_name property of this AppGrantedAppRoles.
  • admin_role (bool) – The value to assign to the admin_role property of this AppGrantedAppRoles.
  • legacy_group_name (str) – The value to assign to the legacy_group_name property of this AppGrantedAppRoles.
  • read_only (bool) – The value to assign to the read_only property of this AppGrantedAppRoles.
admin_role

Gets the admin_role of this AppGrantedAppRoles. If true, then this granted AppRole confers administrative privileges within the App that defines it. Otherwise, the granted AppRole confers only functional privileges.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: boolean
  • uniqueness: none
Returns:The admin_role of this AppGrantedAppRoles.
Return type:bool
app_id

Gets the app_id of this AppGrantedAppRoles. The id of the App that defines this AppRole, which is granted to this App. The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The app_id of this AppGrantedAppRoles.
Return type:str
app_name

Gets the app_name of this AppGrantedAppRoles. The name of the App that defines this AppRole, which is granted to this App. The App that defines the AppRole acts as the producer; the App to which the AppRole is granted acts as a consumer.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The app_name of this AppGrantedAppRoles.
Return type:str
display

Gets the display of this AppGrantedAppRoles. The display-name of an AppRole that is granted to this App.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The display of this AppGrantedAppRoles.
Return type:str
legacy_group_name

Gets the legacy_group_name of this AppGrantedAppRoles. The name of the legacy group associated with this AppRole.

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none
Returns:The legacy_group_name of this AppGrantedAppRoles.
Return type:str
read_only

Gets the read_only of this AppGrantedAppRoles. If true, indicates that this value must be protected.

Added In: 18.2.2

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: request
  • type: boolean
  • uniqueness: none
Returns:The read_only of this AppGrantedAppRoles.
Return type:bool
ref

Gets the ref of this AppGrantedAppRoles. The URI of an AppRole that is granted to this App.

SCIM++ Properties:
  • caseExact: false
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: reference
  • uniqueness: none
Returns:The ref of this AppGrantedAppRoles.
Return type:str
type

Gets the type of this AppGrantedAppRoles. A label that indicates whether this AppRole was granted directly to the App (or indirectly through a Group). For an App, the value of this attribute will always be ‘direct’ (because an App cannot be a member of a Group).

SCIM++ Properties:
  • idcsSearchable: false
  • multiValued: false
  • mutability: readOnly
  • required: false
  • returned: default
  • type: string
  • uniqueness: none

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

Returns:The type of this AppGrantedAppRoles.
Return type:str
value

[Required] Gets the value of this AppGrantedAppRoles. The id of an AppRole that is granted to this App.

SCIM++ Properties:
  • caseExact: true
  • idcsSearchable: true
  • multiValued: false
  • mutability: readOnly
  • required: true
  • returned: default
  • type: string
  • uniqueness: none
Returns:The value of this AppGrantedAppRoles.
Return type:str