NAME

Google::Cloud::Oracledatabase::V1::Database - Compiled Protocol Buffers messages for google/cloud/oracledatabase/v1/database.proto

SYNOPSIS

use Google::Cloud::Oracledatabase::V1::Database;

my $msg = Google::Cloud::Oracledatabase::V1::Database::Database->new({
    name => $name,
    db_name => $db_name,
    db_unique_name => $db_unique_name,
    admin_password => $admin_password,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Oracledatabase::V1::Database::Database->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/oracledatabase/v1/database.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Oracledatabase::V1::Database::Database

Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

  • $msg->db_name() / $msg->db_name($value)

    Type: String

    Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

  • $msg->db_unique_name() / $msg->db_unique_name($value)

    Type: String

    Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

  • $msg->admin_password() / $msg->admin_password($value)

    Type: String

    Optional. Input only. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

  • $msg->admin_password_secret_version() / $msg->admin_password_secret_version($value)

    Type: String

    Optional. Input only. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.

  • $msg->tde_wallet_password() / $msg->tde_wallet_password($value)

    Type: String

    Optional. Input only. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.

  • $msg->tde_wallet_password_secret_version() / $msg->tde_wallet_password_secret_version($value)

    Type: String

    Optional. Input only. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.

  • $msg->character_set() / $msg->character_set($value)

    Type: String

    Optional. The character set for the database. The default is AL32UTF8.

  • $msg->ncharacter_set() / $msg->ncharacter_set($value)

    Type: String

    Optional. The national character set for the database. The default is AL16UTF16.

  • $msg->oci_url() / $msg->oci_url($value)

    Type: String

    Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. The date and time that the Database was created.

  • $msg->properties() / $msg->properties($value)

    Type: Message (Google::Cloud::Oracledatabase::V1::Database::DatabaseProperties)

    Optional. The properties of the Database.

  • $msg->database_id() / $msg->database_id($value)

    Type: String

    Optional. The database ID of the Database.

  • $msg->db_home_name() / $msg->db_home_name($value)

    Type: String

    Optional. The name of the DbHome resource associated with the Database.

  • $msg->gcp_oracle_zone() / $msg->gcp_oracle_zone($value)

    Type: String

    Output only. The GCP Oracle zone where the Database is created.

  • $msg->ops_insights_status() / $msg->ops_insights_status($value)

    Type: Enum (Google::Cloud::Oracledatabase::V1::Database::OperationsInsightsStatus)

    Output only. The Status of Operations Insights for this Database.

  • $msg->pluggable_database_id() / $msg->pluggable_database_id($value)

    Type: String

    Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.

  • $msg->pluggable_database_name() / $msg->pluggable_database_name($value)

    Type: String

    Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.

Enum: Database::OperationsInsightsStatus

  • OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED => 0

  • ENABLING => 1

  • ENABLED => 2

  • DISABLING => 3

  • NOT_ENABLED => 4

  • FAILED_ENABLING => 5

  • FAILED_DISABLING => 6

Google::Cloud::Oracledatabase::V1::Database::DatabaseProperties

The properties of a Database.

Inherits from Protobuf::Message.

Accessors

Enum: DatabaseProperties::DatabaseLifecycleState

  • DATABASE_LIFECYCLE_STATE_UNSPECIFIED => 0

  • PROVISIONING => 1

  • AVAILABLE => 2

  • UPDATING => 3

  • BACKUP_IN_PROGRESS => 4

  • UPGRADING => 5

  • CONVERTING => 6

  • TERMINATING => 7

  • TERMINATED => 8

  • RESTORE_FAILED => 9

  • FAILED => 10

Google::Cloud::Oracledatabase::V1::Database::DbBackupConfig

Backup Options for the Database.

Inherits from Protobuf::Message.

Accessors

  • $msg->auto_backup_enabled() / $msg->auto_backup_enabled($value)

    Type: Bool

    Optional. If set to true, enables automatic backups on the database.

  • $msg->backup_destination_details() / $msg->backup_destination_details($value)

    Type: Message (Google::Cloud::Oracledatabase::V1::Database::DbBackupConfig::BackupDestinationDetails)

    Optional. Details of the database backup destinations.

  • $msg->retention_period_days() / $msg->retention_period_days($value)

    Type: Int32

    Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.

  • $msg->backup_deletion_policy() / $msg->backup_deletion_policy($value)

    Type: Enum (Google::Cloud::Oracledatabase::V1::DbBackupConfig::BackupDeletionPolicy)

    Optional. This defines when the backups will be deleted after Database termination.

  • $msg->auto_full_backup_day() / $msg->auto_full_backup_day($value)

    Type: Enum (Google::Type::DayOfWeek)

    Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.

  • $msg->auto_full_backup_window() / $msg->auto_full_backup_window($value)

    Type: Enum (Google::Cloud::Oracledatabase::V1::DbBackupConfig::BackupWindow)

    Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.

  • $msg->auto_incremental_backup_window() / $msg->auto_incremental_backup_window($value)

    Type: Enum (Google::Cloud::Oracledatabase::V1::DbBackupConfig::BackupWindow)

    Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.

Enum: DbBackupConfig::BackupDestinationType

  • BACKUP_DESTINATION_TYPE_UNSPECIFIED => 0

  • NFS => 1

  • RECOVERY_APPLIANCE => 2

  • OBJECT_STORE => 3

  • LOCAL => 4

  • DBRS => 5

Enum: DbBackupConfig::BackupWindow

  • BACKUP_WINDOW_UNSPECIFIED => 0

  • SLOT_ONE => 1

  • SLOT_TWO => 2

  • SLOT_THREE => 3

  • SLOT_FOUR => 4

  • SLOT_FIVE => 5

  • SLOT_SIX => 6

  • SLOT_SEVEN => 7

  • SLOT_EIGHT => 8

  • SLOT_NINE => 9

  • SLOT_TEN => 10

  • SLOT_ELEVEN => 11

  • SLOT_TWELVE => 12

Enum: DbBackupConfig::BackupDeletionPolicy

  • BACKUP_DELETION_POLICY_UNSPECIFIED => 0

  • DELETE_IMMEDIATELY => 1

  • DELETE_AFTER_RETENTION_PERIOD => 2

Google::Cloud::Oracledatabase::V1::Database::GetDatabaseRequest

The request for `Database.Get`.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

Google::Cloud::Oracledatabase::V1::Database::ListDatabasesRequest

The request for `Database.List`.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name in the following format: projects/{project}/locations/{region}

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. The maximum number of items to return. If unspecified, a maximum of 50 Databases will be returned. The maximum value is 1000; values above 1000 will be reset to 1000.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: `dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"`

Google::Cloud::Oracledatabase::V1::Database::ListDatabasesResponse

The response for `Database.List`.

Inherits from Protobuf::Message.

Accessors

  • $msg->databases() / $msg->databases($value)

    Type: Message (Google::Cloud::Oracledatabase::V1::Database::Database)

    The list of Databases.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Oracledatabase::V1::Database::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.