DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault

class oci.database_tools_runtime.models.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault(**kwargs)

Bases: oci.database_tools_runtime.models.database_tools_database_api_gateway_config_pool_auto_api_spec.DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec

The content of a Database Tools database API gateway config auto API spec sub resource defined within a pool.

Attributes

DATABASE_OBJECT_TYPE_DUALITYVIEW str(object=’’) -> str
DATABASE_OBJECT_TYPE_FUNCTION str(object=’’) -> str
DATABASE_OBJECT_TYPE_MVIEW str(object=’’) -> str
DATABASE_OBJECT_TYPE_PACKAGE str(object=’’) -> str
DATABASE_OBJECT_TYPE_PROCEDURE str(object=’’) -> str
DATABASE_OBJECT_TYPE_TABLE str(object=’’) -> str
DATABASE_OBJECT_TYPE_VIEW str(object=’’) -> str
OPERATIONS_READ str(object=’’) -> str
OPERATIONS_WRITE str(object=’’) -> str
SECURITY_SCHEMES_BASIC str(object=’’) -> str
SECURITY_SCHEMES_BEARER str(object=’’) -> str
TYPE_DEFAULT str(object=’’) -> str
alias Gets the alias of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
database_object_name Gets the database_object_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
database_object_type Gets the database_object_type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
description Gets the description of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
display_name [Required] Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
key [Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
operations Gets the operations of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
roles Gets the roles of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
scope Gets the scope of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
security_schemes Gets the security_schemes of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
time_created [Required] Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
time_updated [Required] Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
type [Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.

Methods

__init__(**kwargs) Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault 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.
DATABASE_OBJECT_TYPE_DUALITYVIEW = 'DUALITYVIEW'
DATABASE_OBJECT_TYPE_FUNCTION = 'FUNCTION'
DATABASE_OBJECT_TYPE_MVIEW = 'MVIEW'
DATABASE_OBJECT_TYPE_PACKAGE = 'PACKAGE'
DATABASE_OBJECT_TYPE_PROCEDURE = 'PROCEDURE'
DATABASE_OBJECT_TYPE_TABLE = 'TABLE'
DATABASE_OBJECT_TYPE_VIEW = 'VIEW'
OPERATIONS_READ = 'READ'
OPERATIONS_WRITE = 'WRITE'
SECURITY_SCHEMES_BASIC = 'BASIC'
SECURITY_SCHEMES_BEARER = 'BEARER'
TYPE_DEFAULT = 'DEFAULT'
__init__(**kwargs)

Initializes a new DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault object with values from keyword arguments. The default value of the type attribute of this class is DEFAULT and it should not be changed. 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 DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • type (str) – The value to assign to the type property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault. Allowed values for this property are: “DEFAULT”
  • display_name (str) – The value to assign to the display_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • database_object_name (str) – The value to assign to the database_object_name property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • database_object_type (str) – The value to assign to the database_object_type property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault. Allowed values for this property are: “FUNCTION”, “MVIEW”, “PACKAGE”, “PROCEDURE”, “TABLE”, “VIEW”, “DUALITYVIEW”
  • description (str) – The value to assign to the description property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • alias (str) – The value to assign to the alias property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • operations (list[str]) – The value to assign to the operations property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault. Allowed values for items in this list are: “READ”, “WRITE”
  • security_schemes (list[str]) – The value to assign to the security_schemes property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault. Allowed values for items in this list are: “BASIC”, “BEARER”
  • scope (str) – The value to assign to the scope property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • roles (list[str]) – The value to assign to the roles property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • time_created (datetime) – The value to assign to the time_created property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
  • time_updated (datetime) – The value to assign to the time_updated property of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefault.
alias

Gets the alias of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. Used as the URI path element for this object. When not specified the objectName lowercase is the default value.

Returns:The alias of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
database_object_name

Gets the database_object_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The name of the database object.

Returns:The database_object_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
database_object_type

Gets the database_object_type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The type of the database object.

Allowed values for this property are: “FUNCTION”, “MVIEW”, “PACKAGE”, “PROCEDURE”, “TABLE”, “VIEW”, “DUALITYVIEW”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The database_object_type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
description

Gets the description of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. Description of the autoApiSpec.

Returns:The description of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
display_name

[Required] Gets the display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.

Returns:The display_name of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
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.

key

[Required] Gets the key of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. A system generated string that uniquely identifies an auto API spec sub resource within a given pool.

Returns:The key of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
operations

Gets the operations of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The operations to limit access to this resource. If not specified then the default is [“READ”,”WRITE”].

Allowed values for items in this list are: “READ”, “WRITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The operations of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:list[str]
roles

Gets the roles of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The name of the database API gateway config roles protecting the resource. Only valid for RBAC JWT Profile pools and BEARER securitySchemes.

Returns:The roles of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:list[str]
scope

Gets the scope of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The name of the database API gateway config privilege protecting the resource. Only valid for SCOPE JWT Profile pools and BEARER securitySchemes.

Returns:The scope of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str
security_schemes

Gets the security_schemes of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The security schemes that can access this resource. If not specified then the resource is public.

Allowed values for items in this list are: “BASIC”, “BEARER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The security_schemes of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:list[str]
time_created

[Required] Gets the time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The time the resource was created. An RFC3339 formatted datetime string.

Returns:The time_created of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:datetime
time_updated

[Required] Gets the time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The time the resource was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:datetime
type

[Required] Gets the type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec. The type of the Database Tools database API gateway config auto API spec sub resource.

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

Returns:The type of this DatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpec.
Return type:str