ObjectStorageObjectInstanceComponent

class oci.data_science.models.ObjectStorageObjectInstanceComponent(**kwargs)

Bases: InstanceComponent

Reference to Object Storage Object

Attributes:

TYPE_DATA_SCIENCE_MODEL_DEPLOYMENT

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

TYPE_DATA_SCIENCE_SCHEDULE

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

TYPE_GENERIC_OCI_RESOURCE

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

TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER

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

TYPE_OBJECT_STORAGE_BUCKET

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

TYPE_OBJECT_STORAGE_OBJECT

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

bucket_name

[Required] Gets the bucket_name of this ObjectStorageObjectInstanceComponent.

component_name

[Required] Gets the component_name of this InstanceComponent.

name

Gets the name of this InstanceComponent.

namespace

[Required] Gets the namespace of this ObjectStorageObjectInstanceComponent.

object_id

[Required] Gets the object_id of this ObjectStorageObjectInstanceComponent.

type

[Required] Gets the type of this InstanceComponent.

Methods:

__init__(**kwargs)

Initializes a new ObjectStorageObjectInstanceComponent object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

TYPE_DATA_SCIENCE_MODEL_DEPLOYMENT = 'DATA_SCIENCE_MODEL_DEPLOYMENT'

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

TYPE_DATA_SCIENCE_SCHEDULE = 'DATA_SCIENCE_SCHEDULE'

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

TYPE_GENERIC_OCI_RESOURCE = 'GENERIC_OCI_RESOURCE'

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

TYPE_ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER = 'ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER'

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

TYPE_OBJECT_STORAGE_BUCKET = 'OBJECT_STORAGE_BUCKET'

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

TYPE_OBJECT_STORAGE_OBJECT = 'OBJECT_STORAGE_OBJECT'

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

__init__(**kwargs)

Initializes a new ObjectStorageObjectInstanceComponent object with values from keyword arguments. The default value of the type attribute of this class is OBJECT_STORAGE_OBJECT and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • type (str) – The value to assign to the type property of this ObjectStorageObjectInstanceComponent. Allowed values for this property are: “DATA_SCIENCE_MODEL_DEPLOYMENT”, “OBJECT_STORAGE_BUCKET”, “OBJECT_STORAGE_OBJECT”, “ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER”, “DATA_SCIENCE_SCHEDULE”, “GENERIC_OCI_RESOURCE”

  • name (str) – The value to assign to the name property of this ObjectStorageObjectInstanceComponent.

  • component_name (str) – The value to assign to the component_name property of this ObjectStorageObjectInstanceComponent.

  • object_id (str) – The value to assign to the object_id property of this ObjectStorageObjectInstanceComponent.

  • namespace (str) – The value to assign to the namespace property of this ObjectStorageObjectInstanceComponent.

  • bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageObjectInstanceComponent.

property bucket_name

[Required] Gets the bucket_name of this ObjectStorageObjectInstanceComponent. Name of object storage bucket

Returns

The bucket_name of this ObjectStorageObjectInstanceComponent.

Return type

str

property component_name

[Required] Gets the component_name of this InstanceComponent. Name of instance component

Returns

The component_name of this InstanceComponent.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property name

Gets the name of this InstanceComponent. Name of referenced resource (generally resources do not have to have any name but most resources have name exposed as ‘name’ or ‘displayName’ field).

Returns

The name of this InstanceComponent.

Return type

str

property namespace

[Required] Gets the namespace of this ObjectStorageObjectInstanceComponent. Object Storage namespace

Returns

The namespace of this ObjectStorageObjectInstanceComponent.

Return type

str

property object_id

[Required] Gets the object_id of this ObjectStorageObjectInstanceComponent. OCID of Object Storage Object

Returns

The object_id of this ObjectStorageObjectInstanceComponent.

Return type

str

property type

[Required] Gets the type of this InstanceComponent. Type of instance component

Allowed values for this property are: “DATA_SCIENCE_MODEL_DEPLOYMENT”, “OBJECT_STORAGE_BUCKET”, “OBJECT_STORAGE_OBJECT”, “ML_APPLICATION_INSTANCE_INTERNAL_TRIGGER”, “DATA_SCIENCE_SCHEDULE”, “GENERIC_OCI_RESOURCE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The type of this InstanceComponent.

Return type

str