GenericOciResourceApplicationComponent¶
- class oci.data_science.models.GenericOciResourceApplicationComponent(**kwargs)¶
Bases:
ApplicationComponentGeneric OCI resource application component
Attributes:
A constant which can be used with the type property of a ApplicationComponent.
A constant which can be used with the type property of a ApplicationComponent.
A constant which can be used with the type property of a ApplicationComponent.
A constant which can be used with the type property of a ApplicationComponent.
A constant which can be used with the type property of a ApplicationComponent.
[Required] Gets the component_name of this ApplicationComponent.
[Required] Gets the id of this GenericOciResourceApplicationComponent.
Gets the name of this ApplicationComponent.
[Required] Gets the resource_type of this GenericOciResourceApplicationComponent.
[Required] Gets the type of this ApplicationComponent.
Methods:
__init__(**kwargs)Initializes a new GenericOciResourceApplicationComponent 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_FLOW_APPLICATION = 'DATA_FLOW_APPLICATION'¶
A constant which can be used with the type property of a ApplicationComponent. This constant has a value of “DATA_FLOW_APPLICATION”
- TYPE_DATA_SCIENCE_JOB = 'DATA_SCIENCE_JOB'¶
A constant which can be used with the type property of a ApplicationComponent. This constant has a value of “DATA_SCIENCE_JOB”
- TYPE_DATA_SCIENCE_MODEL = 'DATA_SCIENCE_MODEL'¶
A constant which can be used with the type property of a ApplicationComponent. This constant has a value of “DATA_SCIENCE_MODEL”
- TYPE_DATA_SCIENCE_PIPELINE = 'DATA_SCIENCE_PIPELINE'¶
A constant which can be used with the type property of a ApplicationComponent. This constant has a value of “DATA_SCIENCE_PIPELINE”
- TYPE_GENERIC_OCI_RESOURCE = 'GENERIC_OCI_RESOURCE'¶
A constant which can be used with the type property of a ApplicationComponent. This constant has a value of “GENERIC_OCI_RESOURCE”
- __init__(**kwargs)¶
Initializes a new GenericOciResourceApplicationComponent object with values from keyword arguments. The default value of the
typeattribute of this class isGENERIC_OCI_RESOURCEand 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 GenericOciResourceApplicationComponent. Allowed values for this property are: “DATA_SCIENCE_PIPELINE”, “DATA_SCIENCE_JOB”, “DATA_SCIENCE_MODEL”, “DATA_FLOW_APPLICATION”, “GENERIC_OCI_RESOURCE”
name (str) – The value to assign to the name property of this GenericOciResourceApplicationComponent.
component_name (str) – The value to assign to the component_name property of this GenericOciResourceApplicationComponent.
id (str) – The value to assign to the id property of this GenericOciResourceApplicationComponent.
resource_type (str) – The value to assign to the resource_type property of this GenericOciResourceApplicationComponent.
- property component_name¶
[Required] Gets the component_name of this ApplicationComponent. Name of application component
- Returns
The component_name of this ApplicationComponent.
- 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 id¶
[Required] Gets the id of this GenericOciResourceApplicationComponent. OCID of the resource
- Returns
The id of this GenericOciResourceApplicationComponent.
- Return type
str
- property name¶
Gets the name of this ApplicationComponent. 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 ApplicationComponent.
- Return type
str
- property resource_type¶
[Required] Gets the resource_type of this GenericOciResourceApplicationComponent. Type of the resource
- Returns
The resource_type of this GenericOciResourceApplicationComponent.
- Return type
str
- property type¶
[Required] Gets the type of this ApplicationComponent. Type of application component
Allowed values for this property are: “DATA_SCIENCE_PIPELINE”, “DATA_SCIENCE_JOB”, “DATA_SCIENCE_MODEL”, “DATA_FLOW_APPLICATION”, “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 ApplicationComponent.
- Return type
str