ConnectionSummaryFromOAuth2¶
-
class
oci.data_integration.models.
ConnectionSummaryFromOAuth2
(**kwargs)¶ Bases:
oci.data_integration.models.connection_summary.ConnectionSummary
The connection summary for a OAuth connection.
Attributes
GRANT_TYPE_CLIENT_CREDENTIALS
A constant which can be used with the grant_type property of a ConnectionSummaryFromOAuth2. MODEL_TYPE_AMAZON_S3_CONNECTION
str(object=’’) -> str MODEL_TYPE_BICC_CONNECTION
str(object=’’) -> str MODEL_TYPE_BIP_CONNECTION
str(object=’’) -> str MODEL_TYPE_GENERIC_JDBC_CONNECTION
str(object=’’) -> str MODEL_TYPE_HDFS_CONNECTION
str(object=’’) -> str MODEL_TYPE_LAKE_CONNECTION
str(object=’’) -> str MODEL_TYPE_MYSQL_CONNECTION
str(object=’’) -> str MODEL_TYPE_MYSQL_HEATWAVE_CONNECTION
str(object=’’) -> str MODEL_TYPE_OAUTH2_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLEDB_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_ADWC_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_ATP_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_EBS_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_PEOPLESOFT_CONNECTION
str(object=’’) -> str MODEL_TYPE_ORACLE_SIEBEL_CONNECTION
str(object=’’) -> str MODEL_TYPE_REST_BASIC_AUTH_CONNECTION
str(object=’’) -> str MODEL_TYPE_REST_NO_AUTH_CONNECTION
str(object=’’) -> str access_token_url
[Required] Gets the access_token_url of this ConnectionSummaryFromOAuth2. client_id
Gets the client_id of this ConnectionSummaryFromOAuth2. client_secret
Gets the client_secret of this ConnectionSummaryFromOAuth2. connection_properties
Gets the connection_properties of this ConnectionSummary. description
Gets the description of this ConnectionSummary. grant_type
Gets the grant_type of this ConnectionSummaryFromOAuth2. identifier
Gets the identifier of this ConnectionSummary. is_default
Gets the is_default of this ConnectionSummary. key
Gets the key of this ConnectionSummary. key_map
Gets the key_map of this ConnectionSummary. metadata
Gets the metadata of this ConnectionSummary. model_type
[Required] Gets the model_type of this ConnectionSummary. model_version
Gets the model_version of this ConnectionSummary. name
Gets the name of this ConnectionSummary. object_status
Gets the object_status of this ConnectionSummary. object_version
Gets the object_version of this ConnectionSummary. parent_ref
Gets the parent_ref of this ConnectionSummary. primary_schema
Gets the primary_schema of this ConnectionSummary. scope
Gets the scope of this ConnectionSummaryFromOAuth2. Methods
__init__
(**kwargs)Initializes a new ConnectionSummaryFromOAuth2 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. -
GRANT_TYPE_CLIENT_CREDENTIALS
= 'CLIENT_CREDENTIALS'¶ A constant which can be used with the grant_type property of a ConnectionSummaryFromOAuth2. This constant has a value of “CLIENT_CREDENTIALS”
-
MODEL_TYPE_AMAZON_S3_CONNECTION
= 'AMAZON_S3_CONNECTION'¶
-
MODEL_TYPE_BICC_CONNECTION
= 'BICC_CONNECTION'¶
-
MODEL_TYPE_BIP_CONNECTION
= 'BIP_CONNECTION'¶
-
MODEL_TYPE_GENERIC_JDBC_CONNECTION
= 'GENERIC_JDBC_CONNECTION'¶
-
MODEL_TYPE_HDFS_CONNECTION
= 'HDFS_CONNECTION'¶
-
MODEL_TYPE_LAKE_CONNECTION
= 'LAKE_CONNECTION'¶
-
MODEL_TYPE_MYSQL_CONNECTION
= 'MYSQL_CONNECTION'¶
-
MODEL_TYPE_MYSQL_HEATWAVE_CONNECTION
= 'MYSQL_HEATWAVE_CONNECTION'¶
-
MODEL_TYPE_OAUTH2_CONNECTION
= 'OAUTH2_CONNECTION'¶
-
MODEL_TYPE_ORACLEDB_CONNECTION
= 'ORACLEDB_CONNECTION'¶
-
MODEL_TYPE_ORACLE_ADWC_CONNECTION
= 'ORACLE_ADWC_CONNECTION'¶
-
MODEL_TYPE_ORACLE_ATP_CONNECTION
= 'ORACLE_ATP_CONNECTION'¶
-
MODEL_TYPE_ORACLE_EBS_CONNECTION
= 'ORACLE_EBS_CONNECTION'¶
-
MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION
= 'ORACLE_OBJECT_STORAGE_CONNECTION'¶
-
MODEL_TYPE_ORACLE_PEOPLESOFT_CONNECTION
= 'ORACLE_PEOPLESOFT_CONNECTION'¶
-
MODEL_TYPE_ORACLE_SIEBEL_CONNECTION
= 'ORACLE_SIEBEL_CONNECTION'¶
-
MODEL_TYPE_REST_BASIC_AUTH_CONNECTION
= 'REST_BASIC_AUTH_CONNECTION'¶
-
MODEL_TYPE_REST_NO_AUTH_CONNECTION
= 'REST_NO_AUTH_CONNECTION'¶
-
__init__
(**kwargs)¶ Initializes a new ConnectionSummaryFromOAuth2 object with values from keyword arguments. The default value of the
model_type
attribute of this class isOAUTH2_CONNECTION
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - model_type (str) – The value to assign to the model_type property of this ConnectionSummaryFromOAuth2. Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”, “BICC_CONNECTION”, “AMAZON_S3_CONNECTION”, “BIP_CONNECTION”, “LAKE_CONNECTION”, “ORACLE_PEOPLESOFT_CONNECTION”, “ORACLE_EBS_CONNECTION”, “ORACLE_SIEBEL_CONNECTION”, “HDFS_CONNECTION”, “MYSQL_HEATWAVE_CONNECTION”, “REST_NO_AUTH_CONNECTION”, “REST_BASIC_AUTH_CONNECTION”, “OAUTH2_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- key (str) – The value to assign to the key property of this ConnectionSummaryFromOAuth2.
- model_version (str) – The value to assign to the model_version property of this ConnectionSummaryFromOAuth2.
- parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this ConnectionSummaryFromOAuth2.
- name (str) – The value to assign to the name property of this ConnectionSummaryFromOAuth2.
- description (str) – The value to assign to the description property of this ConnectionSummaryFromOAuth2.
- object_version (int) – The value to assign to the object_version property of this ConnectionSummaryFromOAuth2.
- object_status (int) – The value to assign to the object_status property of this ConnectionSummaryFromOAuth2.
- identifier (str) – The value to assign to the identifier property of this ConnectionSummaryFromOAuth2.
- primary_schema (oci.data_integration.models.Schema) – The value to assign to the primary_schema property of this ConnectionSummaryFromOAuth2.
- connection_properties (list[oci.data_integration.models.ConnectionProperty]) – The value to assign to the connection_properties property of this ConnectionSummaryFromOAuth2.
- is_default (bool) – The value to assign to the is_default property of this ConnectionSummaryFromOAuth2.
- metadata (oci.data_integration.models.ObjectMetadata) – The value to assign to the metadata property of this ConnectionSummaryFromOAuth2.
- key_map (dict(str, str)) – The value to assign to the key_map property of this ConnectionSummaryFromOAuth2.
- access_token_url (str) – The value to assign to the access_token_url property of this ConnectionSummaryFromOAuth2.
- client_id (str) – The value to assign to the client_id property of this ConnectionSummaryFromOAuth2.
- client_secret (oci.data_integration.models.SensitiveAttribute) – The value to assign to the client_secret property of this ConnectionSummaryFromOAuth2.
- scope (str) – The value to assign to the scope property of this ConnectionSummaryFromOAuth2.
- grant_type (str) – The value to assign to the grant_type property of this ConnectionSummaryFromOAuth2. Allowed values for this property are: “CLIENT_CREDENTIALS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
access_token_url
¶ [Required] Gets the access_token_url of this ConnectionSummaryFromOAuth2. Specifies the endpoint used to exchange authentication credentials for access tokens
Returns: The access_token_url of this ConnectionSummaryFromOAuth2. Return type: str
-
client_id
¶ Gets the client_id of this ConnectionSummaryFromOAuth2. Specifies the client ID key for specific application
Returns: The client_id of this ConnectionSummaryFromOAuth2. Return type: str
-
client_secret
¶ Gets the client_secret of this ConnectionSummaryFromOAuth2.
Returns: The client_secret of this ConnectionSummaryFromOAuth2. Return type: oci.data_integration.models.SensitiveAttribute
-
connection_properties
¶ Gets the connection_properties of this ConnectionSummary. The properties for the connection.
Returns: The connection_properties of this ConnectionSummary. Return type: list[oci.data_integration.models.ConnectionProperty]
-
description
¶ Gets the description of this ConnectionSummary. User-defined description for the connection.
Returns: The description of this ConnectionSummary. 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.
-
grant_type
¶ Gets the grant_type of this ConnectionSummaryFromOAuth2. Specifies the OAuth2 grant mechanism. Example CLIENT_CREDENTIALS, Implicit Flow etc.
Allowed values for this property are: “CLIENT_CREDENTIALS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The grant_type of this ConnectionSummaryFromOAuth2. Return type: str
-
identifier
¶ Gets the identifier of this ConnectionSummary. Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
Returns: The identifier of this ConnectionSummary. Return type: str
-
is_default
¶ Gets the is_default of this ConnectionSummary. The default property for the connection.
Returns: The is_default of this ConnectionSummary. Return type: bool
-
key
¶ Gets the key of this ConnectionSummary. Generated key that can be used in API calls to identify connection. On scenarios where reference to the connection is needed, a value can be passed in create.
Returns: The key of this ConnectionSummary. Return type: str
-
key_map
¶ Gets the key_map of this ConnectionSummary. A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
Returns: The key_map of this ConnectionSummary. Return type: dict(str, str)
-
metadata
¶ Gets the metadata of this ConnectionSummary.
Returns: The metadata of this ConnectionSummary. Return type: oci.data_integration.models.ObjectMetadata
-
model_type
¶ [Required] Gets the model_type of this ConnectionSummary. The type of the connection.
Allowed values for this property are: “ORACLE_ADWC_CONNECTION”, “ORACLE_ATP_CONNECTION”, “ORACLE_OBJECT_STORAGE_CONNECTION”, “ORACLEDB_CONNECTION”, “MYSQL_CONNECTION”, “GENERIC_JDBC_CONNECTION”, “BICC_CONNECTION”, “AMAZON_S3_CONNECTION”, “BIP_CONNECTION”, “LAKE_CONNECTION”, “ORACLE_PEOPLESOFT_CONNECTION”, “ORACLE_EBS_CONNECTION”, “ORACLE_SIEBEL_CONNECTION”, “HDFS_CONNECTION”, “MYSQL_HEATWAVE_CONNECTION”, “REST_NO_AUTH_CONNECTION”, “REST_BASIC_AUTH_CONNECTION”, “OAUTH2_CONNECTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The model_type of this ConnectionSummary. Return type: str
-
model_version
¶ Gets the model_version of this ConnectionSummary. The model version of an object.
Returns: The model_version of this ConnectionSummary. Return type: str
-
name
¶ Gets the name of this ConnectionSummary. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
Returns: The name of this ConnectionSummary. Return type: str
-
object_status
¶ Gets the object_status of this ConnectionSummary. The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
Returns: The object_status of this ConnectionSummary. Return type: int
-
object_version
¶ Gets the object_version of this ConnectionSummary. The version of the object that is used to track changes in the object instance.
Returns: The object_version of this ConnectionSummary. Return type: int
-
parent_ref
¶ Gets the parent_ref of this ConnectionSummary.
Returns: The parent_ref of this ConnectionSummary. Return type: oci.data_integration.models.ParentReference
-
primary_schema
¶ Gets the primary_schema of this ConnectionSummary.
Returns: The primary_schema of this ConnectionSummary. Return type: oci.data_integration.models.Schema
-
scope
¶ Gets the scope of this ConnectionSummaryFromOAuth2. Specifies the OAuth scopes that limit the permissions granted by an access token.
Returns: The scope of this ConnectionSummaryFromOAuth2. Return type: str
-