CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDefaultDetails

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

Bases: CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails

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

Attributes:

DATABASE_OBJECT_TYPE_DUALITYVIEW

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_FUNCTION

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_MVIEW

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_PACKAGE

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_PROCEDURE

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_TABLE

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

DATABASE_OBJECT_TYPE_VIEW

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

OPERATIONS_READ

A constant which can be used with the operations property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

OPERATIONS_WRITE

A constant which can be used with the operations property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

SECURITY_SCHEMES_BASIC

A constant which can be used with the security_schemes property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

SECURITY_SCHEMES_BEARER

A constant which can be used with the security_schemes property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

TYPE_DEFAULT

A constant which can be used with the type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

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'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “DUALITYVIEW”

DATABASE_OBJECT_TYPE_FUNCTION = 'FUNCTION'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “FUNCTION”

DATABASE_OBJECT_TYPE_MVIEW = 'MVIEW'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “MVIEW”

DATABASE_OBJECT_TYPE_PACKAGE = 'PACKAGE'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “PACKAGE”

DATABASE_OBJECT_TYPE_PROCEDURE = 'PROCEDURE'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “PROCEDURE”

DATABASE_OBJECT_TYPE_TABLE = 'TABLE'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “TABLE”

DATABASE_OBJECT_TYPE_VIEW = 'VIEW'

A constant which can be used with the database_object_type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “VIEW”

OPERATIONS_READ = 'READ'

A constant which can be used with the operations property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “READ”

OPERATIONS_WRITE = 'WRITE'

A constant which can be used with the operations property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “WRITE”

SECURITY_SCHEMES_BASIC = 'BASIC'

A constant which can be used with the security_schemes property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “BASIC”

SECURITY_SCHEMES_BEARER = 'BEARER'

A constant which can be used with the security_schemes property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “BEARER”

TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the type property of a CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “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.

property 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

property 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

property 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

property description

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

Returns

The description of this CreateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property 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.

property 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]

property 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]

property 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

property 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]

property 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