CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails

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

Bases: oci.database_tools_runtime.models.create_database_tools_database_api_gateway_config_pool_auto_api_spec_details.CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails

The content of a Database Tools database API gateway config auto API spec sub resource to be created.

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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
database_object_name [Required] Gets the database_object_name of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
database_object_type [Required] Gets the database_object_type of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
description Gets the description of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
display_name [Required] Gets the display_name of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
operations Gets the operations of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
roles Gets the roles of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
scope Gets the scope of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
security_schemes Gets the security_schemes of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
type [Required] Gets the type of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Methods

__init__(**kwargs) Initializes a new CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails 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:
  • type (str) – The value to assign to the type property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails. Allowed values for this property are: “DEFAULT”
  • display_name (str) – The value to assign to the display_name property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
  • database_object_name (str) – The value to assign to the database_object_name property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
  • database_object_type (str) – The value to assign to the database_object_type property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails. 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
  • alias (str) – The value to assign to the alias property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
  • operations (list[str]) – The value to assign to the operations property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails. 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails. Allowed values for items in this list are: “BASIC”, “BEARER”
  • scope (str) – The value to assign to the scope property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
  • roles (list[str]) – The value to assign to the roles property of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails.
alias

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

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

[Required] Gets the database_object_name of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. The name of the database object.

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

[Required] Gets the database_object_type of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. The type of the database object.

Allowed values for this property are: “FUNCTION”, “MVIEW”, “PACKAGE”, “PROCEDURE”, “TABLE”, “VIEW”, “DUALITYVIEW”

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

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

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

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

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

operations

Gets the operations of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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”

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

Gets the roles of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
Return type:list[str]
scope

Gets the scope of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.
Return type:str
security_schemes

Gets the security_schemes of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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”

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

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

Allowed values for this property are: “DEFAULT”

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