Namespace

class oci.data_catalog.models.Namespace(**kwargs)

Bases: object

Namespace Definition

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_MOVING A constant which can be used with the lifecycle_state property of a Namespace.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a Namespace.
created_by_id Gets the created_by_id of this Namespace.
description Gets the description of this Namespace.
display_name Gets the display_name of this Namespace.
is_service_defined Gets the is_service_defined of this Namespace.
key [Required] Gets the key of this Namespace.
lifecycle_state Gets the lifecycle_state of this Namespace.
time_created Gets the time_created of this Namespace.
time_updated Gets the time_updated of this Namespace.
updated_by_id Gets the updated_by_id of this Namespace.

Methods

__init__(**kwargs) Initializes a new Namespace object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_MOVING = 'MOVING'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “MOVING”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a Namespace. This constant has a value of “UPDATING”

__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this Namespace.
  • display_name (str) – The value to assign to the display_name property of this Namespace.
  • description (str) – The value to assign to the description property of this Namespace.
  • is_service_defined (bool) – The value to assign to the is_service_defined property of this Namespace.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this Namespace. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this Namespace.
  • time_updated (datetime) – The value to assign to the time_updated property of this Namespace.
  • created_by_id (str) – The value to assign to the created_by_id property of this Namespace.
  • updated_by_id (str) – The value to assign to the updated_by_id property of this Namespace.
created_by_id

Gets the created_by_id of this Namespace. OCID of the user who created the namespace.

Returns:The created_by_id of this Namespace.
Return type:str
description

Gets the description of this Namespace. Description for the namespace

Returns:The description of this Namespace.
Return type:str
display_name

Gets the display_name of this Namespace. Name of the Namespace

Returns:The display_name of this Namespace.
Return type:str
is_service_defined

Gets the is_service_defined of this Namespace. If this field is defined by service or by a user

Returns:The is_service_defined of this Namespace.
Return type:bool
key

[Required] Gets the key of this Namespace. Unique namespace key that is immutable.

Returns:The key of this Namespace.
Return type:str
lifecycle_state

Gets the lifecycle_state of this Namespace. The current state of the namespace.

Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, “MOVING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this Namespace.
Return type:str
time_created

Gets the time_created of this Namespace. The date and time the namespace was created, in the format defined by RFC3339. Example: 2019-03-25T21:10:29.600Z

Returns:The time_created of this Namespace.
Return type:datetime
time_updated

Gets the time_updated of this Namespace. The last time that any change was made to the namespace. An RFC3339 formatted datetime string.

Returns:The time_updated of this Namespace.
Return type:datetime
updated_by_id

Gets the updated_by_id of this Namespace. OCID of the user who last modified the namespace.

Returns:The updated_by_id of this Namespace.
Return type:str