Skip to content

Commit c964276

Browse files
feat(alloydb): update the api
#### alloydb:v1 The following keys were added: - schemas.CsvExportOptions.properties.escapeCharacter.type (Total Keys: 1) - schemas.CsvExportOptions.properties.fieldDelimiter.type (Total Keys: 1) - schemas.CsvExportOptions.properties.quoteCharacter.type (Total Keys: 1) - schemas.ExportClusterRequest.properties.sqlExportOptions.$ref (Total Keys: 1) - schemas.SqlExportOptions (Total Keys: 7) - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount (Total Keys: 2) #### alloydb:v1alpha The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL (Total Keys: 12) - schemas.RestoreFromCloudSQLRequest (Total Keys: 5) - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount (Total Keys: 2) #### alloydb:v1beta The following keys were added: - resources.projects.resources.locations.resources.clusters.methods.restoreFromCloudSQL (Total Keys: 12) - schemas.RestoreFromCloudSQLRequest (Total Keys: 5) - schemas.StorageDatabasecenterPartnerapiV1mainMachineConfiguration.properties.vcpuCount (Total Keys: 2)
1 parent 0fbab09 commit c964276

9 files changed

+595
-39
lines changed

docs/dyn/alloydb_v1.projects.locations.clusters.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,12 +538,23 @@ <h3>Method Details</h3>
538538
The object takes the form of:
539539

540540
{ # Export cluster request.
541-
&quot;csvExportOptions&quot;: { # Options for exporting data in CSV format. For now, we only support a query to get the data that needs to be exported. # Options for exporting data in CSV format. Required field to be set for CSV file type.
542-
&quot;selectQuery&quot;: &quot;A String&quot;, # Required. The select_query used to extract the data.
541+
&quot;csvExportOptions&quot;: { # Options for exporting data in CSV format. # Options for exporting data in CSV format. Required field to be set for CSV file type.
542+
&quot;escapeCharacter&quot;: &quot;A String&quot;, # Optional. Specifies the character that should appear before a data character that needs to be escaped. The default is the same as quote character. The value of this argument has to be a character in Hex ASCII Code.
543+
&quot;fieldDelimiter&quot;: &quot;A String&quot;, # Optional. Specifies the character that separates columns within each row (line) of the file. The default is comma. The value of this argument has to be a character in Hex ASCII Code.
544+
&quot;quoteCharacter&quot;: &quot;A String&quot;, # Optional. Specifies the quoting character to be used when a data value is quoted. The default is double-quote. The value of this argument has to be a character in Hex ASCII Code.
545+
&quot;selectQuery&quot;: &quot;A String&quot;, # Required. The SELECT query used to extract the data.
543546
},
544-
&quot;database&quot;: &quot;A String&quot;, # Required. Name of the database where the query will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
547+
&quot;database&quot;: &quot;A String&quot;, # Required. Name of the database where the export command will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.
545548
&quot;gcsDestination&quot;: { # Destination for Export. Export will be done to cloud storage. # Required. Option to export data to cloud storage.
546-
&quot;uri&quot;: &quot;A String&quot;, # Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails.
549+
&quot;uri&quot;: &quot;A String&quot;, # Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`.
550+
},
551+
&quot;sqlExportOptions&quot;: { # Options for exporting data in SQL format. # Options for exporting data in SQL format. Required field to be set for SQL file type.
552+
&quot;cleanTargetObjects&quot;: True or False, # Optional. If true, output commands to DROP all the dumped database objects prior to outputting the commands for creating them.
553+
&quot;ifExistTargetObjects&quot;: True or False, # Optional. If true, use DROP ... IF EXISTS commands to check for the object&#x27;s existence before dropping it in clean_target_objects mode.
554+
&quot;schemaOnly&quot;: True or False, # Optional. If true, only export the schema.
555+
&quot;tables&quot;: [ # Optional. Tables to export from.
556+
&quot;A String&quot;,
557+
],
547558
},
548559
}
549560

docs/dyn/alloydb_v1.projects.locations.operations.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="alloydb_v1.html">AlloyDB API</a> . <a href="alloydb_v1.projects.htm
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#cancel">cancel(name, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.</p>
79+
<p class="firstline">Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -95,7 +95,7 @@ <h2>Instance Methods</h2>
9595
<h3>Method Details</h3>
9696
<div class="method">
9797
<code class="details" id="cancel">cancel(name, body=None, x__xgafv=None)</code>
98-
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
98+
<pre>Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn&#x27;t support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
9999

100100
Args:
101101
name: string, The name of the operation resource to be cancelled. (required)

0 commit comments

Comments
 (0)