blob: 5b414889e30d51c64a8b7177390d48fdc058fb41 [file] [edit]
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2 {
font-size: 24px;
margin-bottom: 1em;
}
h3 {
font-size: 20px;
margin-bottom: 1em;
margin-top: 1em;
}
pre, code {
line-height: 1.5;
font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}
pre {
margin-top: 0.5em;
}
h1, h2, h3, p {
font-family: Arial, sans serif;
}
h1, h2, h3 {
border-bottom: solid #CCC 1px;
}
.toc_element {
margin-top: 0.5em;
}
.firstline {
margin-left: 2 em;
}
.method {
margin-top: 1em;
border: solid 1px #CCC;
padding: 1em;
background: #EEE;
}
.details {
font-weight: bold;
font-size: 14px;
}
</style>
<h1><a href="oracledatabase_v1.html">Oracle Database@Google Cloud API</a> . <a href="oracledatabase_v1.projects.html">projects</a> . <a href="oracledatabase_v1.projects.locations.html">locations</a> . <a href="oracledatabase_v1.projects.locations.databases.html">databases</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
<p class="firstline">Gets details of a single Database.</p>
<p class="toc_element">
<code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists all the Databases for the given project, location and DbSystem.</p>
<p class="toc_element">
<code><a href="#list_next">list_next()</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
<pre>Close httplib2 connections.</pre>
</div>
<div class="method">
<code class="details" id="get">get(name, x__xgafv=None)</code>
<pre>Gets details of a single Database.
Args:
name: string, Required. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database} (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/
&quot;adminPassword&quot;: &quot;A String&quot;, # Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
&quot;adminPasswordSecretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of a secret version in Secret Manager which contains the database admin user&#x27;s password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
&quot;characterSet&quot;: &quot;A String&quot;, # Optional. The character set for the database. The default is AL32UTF8.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The date and time that the Database was created.
&quot;databaseId&quot;: &quot;A String&quot;, # Optional. The database ID of the Database.
&quot;dbHomeName&quot;: &quot;A String&quot;, # Optional. The name of the DbHome resource associated with the Database.
&quot;dbName&quot;: &quot;A String&quot;, # 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.
&quot;dbUniqueName&quot;: &quot;A String&quot;, # Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
&quot;gcpOracleZone&quot;: &quot;A String&quot;, # Output only. The GCP Oracle zone where the Database is created.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
&quot;ncharacterSet&quot;: &quot;A String&quot;, # Optional. The national character set for the database. The default is AL16UTF16.
&quot;ociUrl&quot;: &quot;A String&quot;, # Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
&quot;opsInsightsStatus&quot;: &quot;A String&quot;, # Output only. The Status of Operations Insights for this Database.
&quot;pluggableDatabaseId&quot;: &quot;A String&quot;, # Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.
&quot;pluggableDatabaseName&quot;: &quot;A String&quot;, # 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.
&quot;properties&quot;: { # The properties of a Database. # Optional. The properties of the Database.
&quot;databaseManagementConfig&quot;: { # The configuration of the Database Management service. # Output only. The Database Management config.
&quot;managementState&quot;: &quot;A String&quot;, # Output only. The status of the Database Management service.
&quot;managementType&quot;: &quot;A String&quot;, # Output only. The Database Management type.
},
&quot;dbBackupConfig&quot;: { # Backup Options for the Database. # Optional. Backup options for the Database.
&quot;autoBackupEnabled&quot;: True or False, # Optional. If set to true, enables automatic backups on the database.
&quot;autoFullBackupDay&quot;: &quot;A String&quot;, # 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.
&quot;autoFullBackupWindow&quot;: &quot;A String&quot;, # Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
&quot;autoIncrementalBackupWindow&quot;: &quot;A String&quot;, # 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.
&quot;backupDeletionPolicy&quot;: &quot;A String&quot;, # Optional. This defines when the backups will be deleted after Database termination.
&quot;backupDestinationDetails&quot;: [ # Optional. Details of the database backup destinations.
{ # The details of the database backup destination.
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the database backup destination.
},
],
&quot;retentionPeriodDays&quot;: 42, # 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.
},
&quot;dbVersion&quot;: &quot;A String&quot;, # Required. The Oracle Database version.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the Database.
},
&quot;tdeWalletPassword&quot;: &quot;A String&quot;, # Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
&quot;tdeWalletPasswordSecretVersion&quot;: &quot;A String&quot;, # Optional. 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.
}</pre>
</div>
<div class="method">
<code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
<pre>Lists all the Databases for the given project, location and DbSystem.
Args:
parent: string, Required. The parent resource name in the following format: projects/{project}/locations/{region} (required)
filter: 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=&quot;projects/{project}/locations/{location}/dbSystems/{dbSystemId}&quot;`
pageSize: integer, 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.
pageToken: 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.
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The response for `Database.List`.
&quot;databases&quot;: [ # The list of Databases.
{ # Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/
&quot;adminPassword&quot;: &quot;A String&quot;, # Optional. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
&quot;adminPasswordSecretVersion&quot;: &quot;A String&quot;, # Optional. The resource name of a secret version in Secret Manager which contains the database admin user&#x27;s password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
&quot;characterSet&quot;: &quot;A String&quot;, # Optional. The character set for the database. The default is AL32UTF8.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The date and time that the Database was created.
&quot;databaseId&quot;: &quot;A String&quot;, # Optional. The database ID of the Database.
&quot;dbHomeName&quot;: &quot;A String&quot;, # Optional. The name of the DbHome resource associated with the Database.
&quot;dbName&quot;: &quot;A String&quot;, # 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.
&quot;dbUniqueName&quot;: &quot;A String&quot;, # Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
&quot;gcpOracleZone&quot;: &quot;A String&quot;, # Output only. The GCP Oracle zone where the Database is created.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
&quot;ncharacterSet&quot;: &quot;A String&quot;, # Optional. The national character set for the database. The default is AL16UTF16.
&quot;ociUrl&quot;: &quot;A String&quot;, # Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
&quot;opsInsightsStatus&quot;: &quot;A String&quot;, # Output only. The Status of Operations Insights for this Database.
&quot;pluggableDatabaseId&quot;: &quot;A String&quot;, # Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.
&quot;pluggableDatabaseName&quot;: &quot;A String&quot;, # 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.
&quot;properties&quot;: { # The properties of a Database. # Optional. The properties of the Database.
&quot;databaseManagementConfig&quot;: { # The configuration of the Database Management service. # Output only. The Database Management config.
&quot;managementState&quot;: &quot;A String&quot;, # Output only. The status of the Database Management service.
&quot;managementType&quot;: &quot;A String&quot;, # Output only. The Database Management type.
},
&quot;dbBackupConfig&quot;: { # Backup Options for the Database. # Optional. Backup options for the Database.
&quot;autoBackupEnabled&quot;: True or False, # Optional. If set to true, enables automatic backups on the database.
&quot;autoFullBackupDay&quot;: &quot;A String&quot;, # 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.
&quot;autoFullBackupWindow&quot;: &quot;A String&quot;, # Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
&quot;autoIncrementalBackupWindow&quot;: &quot;A String&quot;, # 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.
&quot;backupDeletionPolicy&quot;: &quot;A String&quot;, # Optional. This defines when the backups will be deleted after Database termination.
&quot;backupDestinationDetails&quot;: [ # Optional. Details of the database backup destinations.
{ # The details of the database backup destination.
&quot;type&quot;: &quot;A String&quot;, # Optional. The type of the database backup destination.
},
],
&quot;retentionPeriodDays&quot;: 42, # 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.
},
&quot;dbVersion&quot;: &quot;A String&quot;, # Required. The Oracle Database version.
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the Database.
},
&quot;tdeWalletPassword&quot;: &quot;A String&quot;, # Optional. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
&quot;tdeWalletPasswordSecretVersion&quot;: &quot;A String&quot;, # Optional. 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.
},
],
&quot;nextPageToken&quot;: &quot;A String&quot;, # A token identifying a page of results the server should return.
}</pre>
</div>
<div class="method">
<code class="details" id="list_next">list_next()</code>
<pre>Retrieves the next page of results.
Args:
previous_request: The request for the previous page. (required)
previous_response: The response from the request for the previous page. (required)
Returns:
A request object that you can call &#x27;execute()&#x27; on to request the next
page. Returns None if there are no more items in the collection.
</pre>
</div>
</body></html>