ObjectStorageBucketInstanceComponent¶
- class oci.data_science.models.ObjectStorageBucketInstanceComponent(**kwargs)¶
Bases:
InstanceComponentReference to Object Storage Bucket
Attributes:
A constant which can be used with the type property of a InstanceComponent.
A constant which can be used with the type property of a InstanceComponent.
A constant which can be used with the type property of a InstanceComponent.
A constant which can be used with the type property of a InstanceComponent.
A constant which can be used with the type property of a InstanceComponent.
A constant which can be used with the type property of a InstanceComponent.
[Required] Gets the bucket_id of this ObjectStorageBucketInstanceComponent.
[Required] Gets the component_name of this InstanceComponent.
Gets the name of this InstanceComponent.
[Required] Gets the namespace of this ObjectStorageBucketInstanceComponent.
[Required] Gets the type of this InstanceComponent.
Methods:
__init__(**kwargs)Initializes a new ObjectStorageBucketInstanceComponent 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 ObjectStorageBucketInstanceComponent object with values from keyword arguments. The default value of the
typeattribute of this class isOBJECT_STORAGE_BUCKETand 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 ObjectStorageBucketInstanceComponent. 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 ObjectStorageBucketInstanceComponent.
component_name (str) – The value to assign to the component_name property of this ObjectStorageBucketInstanceComponent.
namespace (str) – The value to assign to the namespace property of this ObjectStorageBucketInstanceComponent.
bucket_id (str) – The value to assign to the bucket_id property of this ObjectStorageBucketInstanceComponent.
- property bucket_id¶
[Required] Gets the bucket_id of this ObjectStorageBucketInstanceComponent. OCID of Object Storage Bucket
- Returns
The bucket_id of this ObjectStorageBucketInstanceComponent.
- 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 ObjectStorageBucketInstanceComponent. Object Storage namespace
- Returns
The namespace of this ObjectStorageBucketInstanceComponent.
- 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