UpdateConnectionFromOAuth2¶
- class oci.data_integration.models.UpdateConnectionFromOAuth2(**kwargs)¶
Bases:
UpdateConnectionDetailsThe details to update a OAuth connection.
Attributes:
A constant which can be used with the grant_type property of a UpdateConnectionFromOAuth2.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
A constant which can be used with the model_type property of a UpdateConnectionDetails.
[Required] Gets the access_token_url of this UpdateConnectionFromOAuth2.
Gets the client_id of this UpdateConnectionFromOAuth2.
Gets the client_secret of this UpdateConnectionFromOAuth2.
Gets the connection_properties of this UpdateConnectionDetails.
Gets the description of this UpdateConnectionDetails.
Gets the grant_type of this UpdateConnectionFromOAuth2.
Gets the identifier of this UpdateConnectionDetails.
[Required] Gets the key of this UpdateConnectionDetails.
[Required] Gets the model_type of this UpdateConnectionDetails.
Gets the model_version of this UpdateConnectionDetails.
Gets the name of this UpdateConnectionDetails.
Gets the object_status of this UpdateConnectionDetails.
[Required] Gets the object_version of this UpdateConnectionDetails.
Gets the parent_ref of this UpdateConnectionDetails.
Gets the registry_metadata of this UpdateConnectionDetails.
Gets the scope of this UpdateConnectionFromOAuth2.
Methods:
__init__(**kwargs)Initializes a new UpdateConnectionFromOAuth2 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 UpdateConnectionFromOAuth2. This constant has a value of “CLIENT_CREDENTIALS”
- MODEL_TYPE_AMAZON_S3_CONNECTION = 'AMAZON_S3_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “AMAZON_S3_CONNECTION”
- MODEL_TYPE_BICC_CONNECTION = 'BICC_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “BICC_CONNECTION”
- MODEL_TYPE_BIP_CONNECTION = 'BIP_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “BIP_CONNECTION”
- MODEL_TYPE_GENERIC_JDBC_CONNECTION = 'GENERIC_JDBC_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “GENERIC_JDBC_CONNECTION”
- MODEL_TYPE_HDFS_CONNECTION = 'HDFS_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “HDFS_CONNECTION”
- MODEL_TYPE_LAKE_CONNECTION = 'LAKE_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “LAKE_CONNECTION”
- MODEL_TYPE_MYSQL_CONNECTION = 'MYSQL_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “MYSQL_CONNECTION”
- MODEL_TYPE_MYSQL_HEATWAVE_CONNECTION = 'MYSQL_HEATWAVE_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “MYSQL_HEATWAVE_CONNECTION”
- MODEL_TYPE_OAUTH2_CONNECTION = 'OAUTH2_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “OAUTH2_CONNECTION”
- MODEL_TYPE_ORACLEDB_CONNECTION = 'ORACLEDB_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLEDB_CONNECTION”
- MODEL_TYPE_ORACLE_ADWC_CONNECTION = 'ORACLE_ADWC_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_ADWC_CONNECTION”
- MODEL_TYPE_ORACLE_ATP_CONNECTION = 'ORACLE_ATP_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_ATP_CONNECTION”
- MODEL_TYPE_ORACLE_EBS_CONNECTION = 'ORACLE_EBS_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_EBS_CONNECTION”
- MODEL_TYPE_ORACLE_OBJECT_STORAGE_CONNECTION = 'ORACLE_OBJECT_STORAGE_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_OBJECT_STORAGE_CONNECTION”
- MODEL_TYPE_ORACLE_PEOPLESOFT_CONNECTION = 'ORACLE_PEOPLESOFT_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_PEOPLESOFT_CONNECTION”
- MODEL_TYPE_ORACLE_SIEBEL_CONNECTION = 'ORACLE_SIEBEL_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “ORACLE_SIEBEL_CONNECTION”
- MODEL_TYPE_REST_BASIC_AUTH_CONNECTION = 'REST_BASIC_AUTH_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “REST_BASIC_AUTH_CONNECTION”
- MODEL_TYPE_REST_NO_AUTH_CONNECTION = 'REST_NO_AUTH_CONNECTION'¶
A constant which can be used with the model_type property of a UpdateConnectionDetails. This constant has a value of “REST_NO_AUTH_CONNECTION”
- __init__(**kwargs)¶
Initializes a new UpdateConnectionFromOAuth2 object with values from keyword arguments. The default value of the
model_typeattribute of this class isOAUTH2_CONNECTIONand 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 UpdateConnectionFromOAuth2. 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”
key (str) – The value to assign to the key property of this UpdateConnectionFromOAuth2.
model_version (str) – The value to assign to the model_version property of this UpdateConnectionFromOAuth2.
parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this UpdateConnectionFromOAuth2.
name (str) – The value to assign to the name property of this UpdateConnectionFromOAuth2.
description (str) – The value to assign to the description property of this UpdateConnectionFromOAuth2.
object_status (int) – The value to assign to the object_status property of this UpdateConnectionFromOAuth2.
object_version (int) – The value to assign to the object_version property of this UpdateConnectionFromOAuth2.
identifier (str) – The value to assign to the identifier property of this UpdateConnectionFromOAuth2.
connection_properties (list[oci.data_integration.models.ConnectionProperty]) – The value to assign to the connection_properties property of this UpdateConnectionFromOAuth2.
registry_metadata (oci.data_integration.models.RegistryMetadata) – The value to assign to the registry_metadata property of this UpdateConnectionFromOAuth2.
access_token_url (str) – The value to assign to the access_token_url property of this UpdateConnectionFromOAuth2.
client_id (str) – The value to assign to the client_id property of this UpdateConnectionFromOAuth2.
client_secret (oci.data_integration.models.SensitiveAttribute) – The value to assign to the client_secret property of this UpdateConnectionFromOAuth2.
scope (str) – The value to assign to the scope property of this UpdateConnectionFromOAuth2.
grant_type (str) – The value to assign to the grant_type property of this UpdateConnectionFromOAuth2. Allowed values for this property are: “CLIENT_CREDENTIALS”
- property access_token_url¶
[Required] Gets the access_token_url of this UpdateConnectionFromOAuth2. Specifies the endpoint used to exchange authentication credentials for access tokens
- Returns
The access_token_url of this UpdateConnectionFromOAuth2.
- Return type
str
- property client_id¶
Gets the client_id of this UpdateConnectionFromOAuth2. Specifies the client ID key for specific application
- Returns
The client_id of this UpdateConnectionFromOAuth2.
- Return type
str
- property client_secret¶
Gets the client_secret of this UpdateConnectionFromOAuth2.
- Returns
The client_secret of this UpdateConnectionFromOAuth2.
- Return type
- property connection_properties¶
Gets the connection_properties of this UpdateConnectionDetails. The properties for the connection.
- Returns
The connection_properties of this UpdateConnectionDetails.
- Return type
- property description¶
Gets the description of this UpdateConnectionDetails. User-defined description for the connection.
- Returns
The description of this UpdateConnectionDetails.
- 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 grant_type¶
Gets the grant_type of this UpdateConnectionFromOAuth2. Specifies the OAuth2 grant mechanism. Example CLIENT_CREDENTIALS, Implicit Flow etc.
Allowed values for this property are: “CLIENT_CREDENTIALS”
- Returns
The grant_type of this UpdateConnectionFromOAuth2.
- Return type
str
- property identifier¶
Gets the identifier of this UpdateConnectionDetails. 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 UpdateConnectionDetails.
- Return type
str
- property key¶
[Required] Gets the key of this UpdateConnectionDetails. 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 UpdateConnectionDetails.
- Return type
str
- property model_type¶
[Required] Gets the model_type of this UpdateConnectionDetails. 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”
- Returns
The model_type of this UpdateConnectionDetails.
- Return type
str
- property model_version¶
Gets the model_version of this UpdateConnectionDetails. The model version of an object.
- Returns
The model_version of this UpdateConnectionDetails.
- Return type
str
- property name¶
Gets the name of this UpdateConnectionDetails. 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 UpdateConnectionDetails.
- Return type
str
- property object_status¶
Gets the object_status of this UpdateConnectionDetails. 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 UpdateConnectionDetails.
- Return type
int
- property object_version¶
[Required] Gets the object_version of this UpdateConnectionDetails. The version of the object that is used to track changes in the object instance.
- Returns
The object_version of this UpdateConnectionDetails.
- Return type
int
- property parent_ref¶
Gets the parent_ref of this UpdateConnectionDetails.
- Returns
The parent_ref of this UpdateConnectionDetails.
- Return type
- property registry_metadata¶
Gets the registry_metadata of this UpdateConnectionDetails.
- Returns
The registry_metadata of this UpdateConnectionDetails.
- Return type
- property scope¶
Gets the scope of this UpdateConnectionFromOAuth2. Specifies the OAuth scopes that limit the permissions granted by an access token.
- Returns
The scope of this UpdateConnectionFromOAuth2.
- Return type
str