AuthConfig

class oci.data_integration.models.AuthConfig(**kwargs)

Bases: object

Authentication configuration for Generic REST invocation.

Attributes

MODEL_TYPE_OCI_RESOURCE_AUTH_CONFIG A constant which can be used with the model_type property of a AuthConfig.
key Gets the key of this AuthConfig.
model_type Gets the model_type of this AuthConfig.
model_version Gets the model_version of this AuthConfig.
parent_ref Gets the parent_ref of this AuthConfig.

Methods

__init__(**kwargs) Initializes a new AuthConfig 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.
MODEL_TYPE_OCI_RESOURCE_AUTH_CONFIG = 'OCI_RESOURCE_AUTH_CONFIG'

A constant which can be used with the model_type property of a AuthConfig. This constant has a value of “OCI_RESOURCE_AUTH_CONFIG”

__init__(**kwargs)

Initializes a new AuthConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this AuthConfig.
  • model_version (str) – The value to assign to the model_version property of this AuthConfig.
  • parent_ref (oci.data_integration.models.ParentReference) – The value to assign to the parent_ref property of this AuthConfig.
  • model_type (str) – The value to assign to the model_type property of this AuthConfig. Allowed values for this property are: “OCI_RESOURCE_AUTH_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
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.

key

Gets the key of this AuthConfig. Generated key that can be used in API calls to identify this object.

Returns:The key of this AuthConfig.
Return type:str
model_type

Gets the model_type of this AuthConfig. The specific authentication configuration to be used for Generic REST invocation.

Allowed values for this property are: “OCI_RESOURCE_AUTH_CONFIG”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The model_type of this AuthConfig.
Return type:str
model_version

Gets the model_version of this AuthConfig. The model version of an object.

Returns:The model_version of this AuthConfig.
Return type:str
parent_ref

Gets the parent_ref of this AuthConfig.

Returns:The parent_ref of this AuthConfig.
Return type:oci.data_integration.models.ParentReference