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:
StringIdentifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
$msg->db_name()/$msg->db_name($value)Type:
StringOptional. 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:
StringOptional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
$msg->admin_password()/$msg->admin_password($value)Type:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. 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:
StringOptional. The character set for the database. The default is AL32UTF8.
$msg->ncharacter_set()/$msg->ncharacter_set($value)Type:
StringOptional. The national character set for the database. The default is AL16UTF16.
$msg->oci_url()/$msg->oci_url($value)Type:
StringOutput 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:
StringOptional. The database ID of the Database.
$msg->db_home_name()/$msg->db_home_name($value)Type:
StringOptional. The name of the DbHome resource associated with the Database.
$msg->gcp_oracle_zone()/$msg->gcp_oracle_zone($value)Type:
StringOutput 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:
StringOptional. 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:
StringOptional. 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=>0ENABLING=>1ENABLED=>2DISABLING=>3NOT_ENABLED=>4FAILED_ENABLING=>5FAILED_DISABLING=>6
Google::Cloud::Oracledatabase::V1::Database::DatabaseProperties
The properties of a Database.
Inherits from Protobuf::Message.
Accessors
$msg->state()/$msg->state($value)Type:
Enum(Google::Cloud::Oracledatabase::V1::DatabaseProperties::DatabaseLifecycleState)Output only. State of the Database.
$msg->db_version()/$msg->db_version($value)Type:
StringRequired. The Oracle Database version.
$msg->db_backup_config()/$msg->db_backup_config($value)Type:
Message(Google::Cloud::Oracledatabase::V1::Database::DbBackupConfig)Optional. Backup options for the Database.
$msg->database_management_config()/$msg->database_management_config($value)Type:
Message(Google::Cloud::Oracledatabase::V1::PluggableDatabase::DatabaseManagementConfig)Output only. The Database Management config.
Enum: DatabaseProperties::DatabaseLifecycleState
DATABASE_LIFECYCLE_STATE_UNSPECIFIED=>0PROVISIONING=>1AVAILABLE=>2UPDATING=>3BACKUP_IN_PROGRESS=>4UPGRADING=>5CONVERTING=>6TERMINATING=>7TERMINATED=>8RESTORE_FAILED=>9FAILED=>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:
BoolOptional. 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:
Int32Optional. 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=>0NFS=>1RECOVERY_APPLIANCE=>2OBJECT_STORE=>3LOCAL=>4DBRS=>5
Enum: DbBackupConfig::BackupWindow
BACKUP_WINDOW_UNSPECIFIED=>0SLOT_ONE=>1SLOT_TWO=>2SLOT_THREE=>3SLOT_FOUR=>4SLOT_FIVE=>5SLOT_SIX=>6SLOT_SEVEN=>7SLOT_EIGHT=>8SLOT_NINE=>9SLOT_TEN=>10SLOT_ELEVEN=>11SLOT_TWELVE=>12
Enum: DbBackupConfig::BackupDeletionPolicy
BACKUP_DELETION_POLICY_UNSPECIFIED=>0DELETE_IMMEDIATELY=>1DELETE_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:
StringRequired. 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:
StringRequired. The parent resource name in the following format: projects/{project}/locations/{region}
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. 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:
StringOptional. 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:
StringA 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.