UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails

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

Bases: object

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

Attributes:

DATABASE_OBJECT_TYPE_DUALITYVIEW

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

DATABASE_OBJECT_TYPE_FUNCTION

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

DATABASE_OBJECT_TYPE_MVIEW

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

DATABASE_OBJECT_TYPE_PACKAGE

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

DATABASE_OBJECT_TYPE_PROCEDURE

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

DATABASE_OBJECT_TYPE_TABLE

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

DATABASE_OBJECT_TYPE_VIEW

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

OPERATIONS_READ

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

OPERATIONS_WRITE

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

SECURITY_SCHEMES_BASIC

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

SECURITY_SCHEMES_BEARER

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

TYPE_DEFAULT

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

alias

Gets the alias of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

database_object_name

Gets the database_object_name of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

database_object_type

Gets the database_object_type of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

description

Gets the description of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

display_name

Gets the display_name of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

operations

Gets the operations of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

roles

Gets the roles of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

scope

Gets the scope of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

security_schemes

Gets the security_schemes of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

type

[Required] Gets the type of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Methods:

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “VIEW”

OPERATIONS_READ = 'READ'

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

OPERATIONS_WRITE = 'WRITE'

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

SECURITY_SCHEMES_BASIC = 'BASIC'

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

SECURITY_SCHEMES_BEARER = 'BEARER'

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

TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the type property of a UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. This constant has a value of “DEFAULT”

__init__(**kwargs)

Initializes a new UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails 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
  • type (str) – The value to assign to the type property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. Allowed values for this property are: “DEFAULT”

  • display_name (str) – The value to assign to the display_name property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

  • database_object_name (str) – The value to assign to the database_object_name property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

  • database_object_type (str) – The value to assign to the database_object_type property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

  • alias (str) – The value to assign to the alias property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

  • operations (list[str]) – The value to assign to the operations property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. Allowed values for items in this list are: “BASIC”, “BEARER”

  • scope (str) – The value to assign to the scope property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

  • roles (list[str]) – The value to assign to the roles property of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

property alias

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

Returns

The alias of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property database_object_name

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

Returns

The database_object_name of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property database_object_type

Gets the database_object_type of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property description

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

Returns

The description of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property display_name

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

Returns

The display_name of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

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

Return type

list[str]

property roles

Gets the roles of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

list[str]

property scope

Gets the scope of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str

property security_schemes

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

Return type

list[str]

property type

[Required] Gets the type of this UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails. 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 UpdateDatabaseToolsDatabaseApiGatewayConfigPoolAutoApiSpecDetails.

Return type

str