SecurityQuestion

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

Bases: object

Security Question

Attributes:

IDCS_PREVENTED_OPERATIONS_DELETE

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion.

IDCS_PREVENTED_OPERATIONS_REPLACE

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion.

IDCS_PREVENTED_OPERATIONS_UPDATE

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion.

TYPE_CUSTOM

A constant which can be used with the type property of a SecurityQuestion.

TYPE_DEFAULT

A constant which can be used with the type property of a SecurityQuestion.

active

[Required] Gets the active of this SecurityQuestion.

compartment_ocid

Gets the compartment_ocid of this SecurityQuestion.

delete_in_progress

Gets the delete_in_progress of this SecurityQuestion.

domain_ocid

Gets the domain_ocid of this SecurityQuestion.

external_id

Gets the external_id of this SecurityQuestion.

id

Gets the id of this SecurityQuestion.

idcs_created_by

Gets the idcs_created_by of this SecurityQuestion.

idcs_last_modified_by

Gets the idcs_last_modified_by of this SecurityQuestion.

idcs_last_upgraded_in_release

Gets the idcs_last_upgraded_in_release of this SecurityQuestion.

idcs_prevented_operations

Gets the idcs_prevented_operations of this SecurityQuestion.

meta

Gets the meta of this SecurityQuestion.

ocid

Gets the ocid of this SecurityQuestion.

question_text

[Required] Gets the question_text of this SecurityQuestion.

schemas

[Required] Gets the schemas of this SecurityQuestion.

tags

Gets the tags of this SecurityQuestion.

tenancy_ocid

Gets the tenancy_ocid of this SecurityQuestion.

type

[Required] Gets the type of this SecurityQuestion.

Methods:

__init__(**kwargs)

Initializes a new SecurityQuestion object with values from keyword arguments.

IDCS_PREVENTED_OPERATIONS_DELETE = 'delete'

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion. This constant has a value of “delete”

IDCS_PREVENTED_OPERATIONS_REPLACE = 'replace'

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion. This constant has a value of “replace”

IDCS_PREVENTED_OPERATIONS_UPDATE = 'update'

A constant which can be used with the idcs_prevented_operations property of a SecurityQuestion. This constant has a value of “update”

TYPE_CUSTOM = 'custom'

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

TYPE_DEFAULT = 'default'

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

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this SecurityQuestion.

  • ocid (str) – The value to assign to the ocid property of this SecurityQuestion.

  • schemas (list[str]) – The value to assign to the schemas property of this SecurityQuestion.

  • meta (oci.identity_domains.models.Meta) – The value to assign to the meta property of this SecurityQuestion.

  • idcs_created_by (oci.identity_domains.models.IdcsCreatedBy) – The value to assign to the idcs_created_by property of this SecurityQuestion.

  • idcs_last_modified_by (oci.identity_domains.models.IdcsLastModifiedBy) – The value to assign to the idcs_last_modified_by property of this SecurityQuestion.

  • idcs_prevented_operations (list[str]) – The value to assign to the idcs_prevented_operations property of this SecurityQuestion. Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • tags (list[oci.identity_domains.models.Tags]) – The value to assign to the tags property of this SecurityQuestion.

  • delete_in_progress (bool) – The value to assign to the delete_in_progress property of this SecurityQuestion.

  • idcs_last_upgraded_in_release (str) – The value to assign to the idcs_last_upgraded_in_release property of this SecurityQuestion.

  • domain_ocid (str) – The value to assign to the domain_ocid property of this SecurityQuestion.

  • compartment_ocid (str) – The value to assign to the compartment_ocid property of this SecurityQuestion.

  • tenancy_ocid (str) – The value to assign to the tenancy_ocid property of this SecurityQuestion.

  • external_id (str) – The value to assign to the external_id property of this SecurityQuestion.

  • active (bool) – The value to assign to the active property of this SecurityQuestion.

  • type (str) – The value to assign to the type property of this SecurityQuestion. Allowed values for this property are: “default”, “custom”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • question_text (list[oci.identity_domains.models.SecurityQuestionQuestionText]) – The value to assign to the question_text property of this SecurityQuestion.

property active

[Required] Gets the active of this SecurityQuestion. This indicates if the question is selected by the Security Admin and is available for the end user.

SCIM++ Properties:
  • idcsSearchable: true

  • multiValued: false

  • mutability: readWrite

  • required: true

  • returned: always

  • type: boolean

  • uniqueness: none

Returns

The active of this SecurityQuestion.

Return type

bool

property compartment_ocid

Gets the compartment_ocid of this SecurityQuestion. OCI Compartment Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: default

  • type: string

  • uniqueness: none

Returns

The compartment_ocid of this SecurityQuestion.

Return type

str

property delete_in_progress

Gets the delete_in_progress of this SecurityQuestion. A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: default

  • type: boolean

  • uniqueness: none

Returns

The delete_in_progress of this SecurityQuestion.

Return type

bool

property domain_ocid

Gets the domain_ocid of this SecurityQuestion. OCI Domain Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: default

  • type: string

  • uniqueness: none

Returns

The domain_ocid of this SecurityQuestion.

Return type

str

property external_id

Gets the external_id of this SecurityQuestion. An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer’s tenant.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: false

  • mutability: readWrite

  • required: false

  • returned: default

  • type: string

  • uniqueness: none

Returns

The external_id of this SecurityQuestion.

Return type

str

property id

Gets the id of this SecurityQuestion. Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider’s entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: always

  • type: string

  • uniqueness: global

Returns

The id of this SecurityQuestion.

Return type

str

property idcs_created_by

Gets the idcs_created_by of this SecurityQuestion.

Returns

The idcs_created_by of this SecurityQuestion.

Return type

oci.identity_domains.models.IdcsCreatedBy

property idcs_last_modified_by

Gets the idcs_last_modified_by of this SecurityQuestion.

Returns

The idcs_last_modified_by of this SecurityQuestion.

Return type

oci.identity_domains.models.IdcsLastModifiedBy

property idcs_last_upgraded_in_release

Gets the idcs_last_upgraded_in_release of this SecurityQuestion. The release number when the resource was upgraded.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: request

  • type: string

  • uniqueness: none

Returns

The idcs_last_upgraded_in_release of this SecurityQuestion.

Return type

str

property idcs_prevented_operations

Gets the idcs_prevented_operations of this SecurityQuestion. Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.

SCIM++ Properties:
  • idcsSearchable: false

  • multiValued: true

  • mutability: readOnly

  • required: false

  • returned: request

  • type: string

  • uniqueness: none

Allowed values for items in this list are: “replace”, “update”, “delete”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The idcs_prevented_operations of this SecurityQuestion.

Return type

list[str]

property meta

Gets the meta of this SecurityQuestion.

Returns

The meta of this SecurityQuestion.

Return type

oci.identity_domains.models.Meta

property ocid

Gets the ocid of this SecurityQuestion. Unique OCI identifier for the SCIM Resource.

SCIM++ Properties:
  • caseExact: true

  • idcsSearchable: true

  • multiValued: false

  • mutability: immutable

  • required: false

  • returned: default

  • type: string

  • uniqueness: global

Returns

The ocid of this SecurityQuestion.

Return type

str

property question_text

[Required] Gets the question_text of this SecurityQuestion. Locale values for the Question

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: true

  • mutability: readWrite

  • required: true

  • returned: always

  • idcsCompositeKey: [locale]

  • type: complex

  • uniqueness: none

Returns

The question_text of this SecurityQuestion.

Return type

list[oci.identity_domains.models.SecurityQuestionQuestionText]

property schemas

[Required] Gets the schemas of this SecurityQuestion. REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard “enterprise” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: true

  • mutability: readWrite

  • required: true

  • returned: default

  • type: string

  • uniqueness: none

Returns

The schemas of this SecurityQuestion.

Return type

list[str]

property tags

Gets the tags of this SecurityQuestion. A list of tags on this resource.

SCIM++ Properties:
  • idcsCompositeKey: [key, value]

  • idcsSearchable: true

  • multiValued: true

  • mutability: readWrite

  • required: false

  • returned: request

  • type: complex

  • uniqueness: none

Returns

The tags of this SecurityQuestion.

Return type

list[oci.identity_domains.models.Tags]

property tenancy_ocid

Gets the tenancy_ocid of this SecurityQuestion. OCI Tenant Id (ocid) in which the resource lives.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: false

  • multiValued: false

  • mutability: readOnly

  • required: false

  • returned: default

  • type: string

  • uniqueness: none

Returns

The tenancy_ocid of this SecurityQuestion.

Return type

str

property type

[Required] Gets the type of this SecurityQuestion. This indicates if the question is a Custom Question added by the Security Admin.

SCIM++ Properties:
  • caseExact: false

  • idcsSearchable: true

  • multiValued: false

  • mutability: readWrite

  • required: true

  • returned: always

  • type: string

  • uniqueness: none

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

Returns

The type of this SecurityQuestion.

Return type

str