blob: 5c20eb7a2c6141e3ad1c69dca84c75edc4b8ee5f [file] [log] [blame]
Craig Citroe633be12015-03-02 13:40:36 -08001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070075<h1><a href="sqladmin_v1beta4.html">Cloud SQL Admin API</a> . <a href="sqladmin_v1beta4.operations.html">operations</a></h1>
Craig Citroe633be12015-03-02 13:40:36 -080076<h2>Instance Methods</h2>
77<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070078 <code><a href="#get">get(project, operation, x__xgafv=None)</a></code></p>
Craig Citroe633be12015-03-02 13:40:36 -080079<p class="firstline">Retrieves an instance operation that has been performed on an instance.</p>
80<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070081 <code><a href="#list">list(project, instance=None, pageToken=None, maxResults=None, x__xgafv=None)</a></code></p>
Dan O'Mearadd494642020-05-01 07:42:23 -070082<p class="firstline">Lists all instance operations that have been performed on the given Cloud</p>
Craig Citroe633be12015-03-02 13:40:36 -080083<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070088 <code class="details" id="get">get(project, operation, x__xgafv=None)</code>
Craig Citroe633be12015-03-02 13:40:36 -080089 <pre>Retrieves an instance operation that has been performed on an instance.
90
91Args:
92 project: string, Project ID of the project that contains the instance. (required)
93 operation: string, Instance operation ID. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -070094 x__xgafv: string, V1 error format.
95 Allowed values
96 1 - v1 error format
97 2 - v2 error format
Craig Citroe633be12015-03-02 13:40:36 -080098
99Returns:
100 An object of the form:
101
Dan O'Mearadd494642020-05-01 07:42:23 -0700102 { # An Operation resource.&amp;nbsp;For successful operations that return an
103 # Operation resource, only the fields relevant to the operation are populated
104 # in the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700105 &quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in &lt;a
106 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
107 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
108 &quot;startTime&quot;: &quot;A String&quot;, # The time this operation actually started in UTC timezone in &lt;a
109 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
110 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
111 &quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in &lt;a
112 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
113 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
114 &quot;user&quot;: &quot;A String&quot;, # The email address of the user who initiated this operation.
115 &quot;targetProject&quot;: &quot;A String&quot;, # The project ID of the target instance related to this operation.
116 &quot;selfLink&quot;: &quot;A String&quot;, # The URI of this resource.
117 &quot;targetLink&quot;: &quot;A String&quot;,
118 &quot;operationType&quot;: &quot;A String&quot;, # The type of the operation. Valid values are &lt;code&gt;CREATE&lt;/code&gt;,
119 # &lt;code&gt;DELETE&lt;/code&gt;, &lt;code&gt;UPDATE&lt;/code&gt;, &lt;code&gt;RESTART&lt;/code&gt;,
120 # &lt;code&gt;IMPORT&lt;/code&gt;, &lt;code&gt;EXPORT&lt;/code&gt;, &lt;code&gt;BACKUP_VOLUME&lt;/code&gt;,
121 # &lt;code&gt;RESTORE_VOLUME&lt;/code&gt;, &lt;code&gt;CREATE_USER&lt;/code&gt;,
122 # &lt;code&gt;DELETE_USER&lt;/code&gt;, &lt;code&gt;CREATE_DATABASE&lt;/code&gt;,
123 # &lt;code&gt;DELETE_DATABASE&lt;/code&gt; .
124 &quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be
125 # populated.
126 &quot;errors&quot;: [ # The list of errors encountered while processing this operation.
127 { # Database instance operation error.
128 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationError&lt;/code&gt;.
129 &quot;code&quot;: &quot;A String&quot;, # Identifies the specific error that occurred.
130 &quot;message&quot;: &quot;A String&quot;, # Additional information about the error encountered.
Dan O'Mearadd494642020-05-01 07:42:23 -0700131 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700132 ],
133 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationErrors&lt;/code&gt;.
134 },
135 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operation&lt;/code&gt;.
136 &quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
137 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#importContext&lt;/code&gt;.
138 &quot;csvImportOptions&quot;: { # Options for importing data as CSV.
139 &quot;table&quot;: &quot;A String&quot;, # The table to which CSV data is imported.
140 &quot;columns&quot;: [ # The columns to which CSV data is imported. If not specified, all columns
141 # of the database table are loaded with CSV data.
142 &quot;A String&quot;,
143 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700144 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700145 &quot;database&quot;: &quot;A String&quot;, # The target database for the import. If &lt;code&gt;fileType&lt;/code&gt; is
Dan O'Mearadd494642020-05-01 07:42:23 -0700146 # &lt;code&gt;SQL&lt;/code&gt;, this field is required only if the import file does not
147 # specify a database, and is overridden by any database specification in the
148 # import file. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, one database
149 # must be specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700150 &quot;importUser&quot;: &quot;A String&quot;, # The PostgreSQL user for this import operation. PostgreSQL instances only.
151 &quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
152 &quot;encryptionOptions&quot;: {
153 &quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form
154 # &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
155 # write permissions to the bucket and read access to the file.
156 &quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
157 # form &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
158 # write permissions to the bucket and read access to the file.
159 &quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
160 },
161 },
162 &quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700163 # &lt;code&gt;gs:
164 # //bucketName/fileName&lt;/code&gt;. Compressed gzip files (.gz) are supported
165 # // when &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt;. The instance must have
166 # // write permissions to the bucket and read access to the file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700167 &quot;fileType&quot;: &quot;A String&quot;, # The file type for the specified uri. &lt;br&gt;&lt;code&gt;SQL&lt;/code&gt;: The file
168 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
Craig Citroe633be12015-03-02 13:40:36 -0800169 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 &quot;status&quot;: &quot;A String&quot;, # The status of an operation. Valid values are &lt;code&gt;PENDING&lt;/code&gt;,
171 # &lt;code&gt;RUNNING&lt;/code&gt;, &lt;code&gt;DONE&lt;/code&gt;,
172 # &lt;code&gt;SQL_OPERATION_STATUS_UNSPECIFIED&lt;/code&gt;.
173 &quot;name&quot;: &quot;A String&quot;, # An identifier that uniquely identifies the operation. You can use this
Dan O'Mearadd494642020-05-01 07:42:23 -0700174 # identifier to retrieve the Operations resource that has information about
175 # the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700176 &quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
177 &quot;databases&quot;: [ # Databases to be exported. &lt;br /&gt; &lt;b&gt;MySQL instances:&lt;/b&gt; If
Dan O'Mearadd494642020-05-01 07:42:23 -0700178 # &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt; and no database is specified, all
179 # databases are exported, except for the &lt;code&gt;mysql&lt;/code&gt; system database.
180 # If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, you can specify one database,
181 # either by using this property or by using the
182 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property, which takes precedence
183 # over this property. &lt;br /&gt; &lt;b&gt;PostgreSQL instances:&lt;/b&gt; You must specify
184 # one database to be exported. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;,
185 # this database must match the one specified in the
186 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700187 &quot;A String&quot;,
Craig Citroe633be12015-03-02 13:40:36 -0800188 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700189 &quot;sqlExportOptions&quot;: { # Options for exporting data as SQL statements.
190 &quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If
Dan O'Mearadd494642020-05-01 07:42:23 -0700191 # you specify tables, specify one and only one database. For PostgreSQL
192 # instances, you can specify only one table.
Bu Sun Kim65020912020-05-20 12:08:20 -0700193 &quot;A String&quot;,
Craig Citroe633be12015-03-02 13:40:36 -0800194 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700195 &quot;schemaOnly&quot;: True or False, # Export only schemas.
196 &quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
197 &quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication.
Dan O'Mearadd494642020-05-01 07:42:23 -0700198 # If set to &lt;code&gt;1&lt;/code&gt;, the dump file includes
199 # a CHANGE MASTER TO statement with the binary log coordinates.
200 # If set to &lt;code&gt;2&lt;/code&gt;, the CHANGE MASTER TO statement is written as
201 # a SQL comment, and has no effect.
202 # All other values are ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700203 },
Craig Citroe633be12015-03-02 13:40:36 -0800204 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700205 &quot;fileType&quot;: &quot;A String&quot;, # The file type for the specified uri. &lt;br&gt;&lt;code&gt;SQL&lt;/code&gt;: The file
206 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
207 &quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be
208 # stored. The URI is in the form &lt;code&gt;gs:
209 # //bucketName/fileName&lt;/code&gt;. If the file already exists, the requests
210 # // succeeds, but the operation fails. If &lt;code&gt;fileType&lt;/code&gt; is
211 # // &lt;code&gt;SQL&lt;/code&gt; and the filename ends with .gz, the contents are
212 # // compressed.
213 &quot;csvExportOptions&quot;: { # Options for exporting data as CSV.
214 &quot;selectQuery&quot;: &quot;A String&quot;, # The select query used to extract the data.
215 },
216 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#exportContext&lt;/code&gt;.
Craig Citroe633be12015-03-02 13:40:36 -0800217 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 &quot;targetId&quot;: &quot;A String&quot;, # Name of the database instance related to this operation.
Craig Citroe633be12015-03-02 13:40:36 -0800219 }</pre>
220</div>
221
222<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700223 <code class="details" id="list">list(project, instance=None, pageToken=None, maxResults=None, x__xgafv=None)</code>
Dan O'Mearadd494642020-05-01 07:42:23 -0700224 <pre>Lists all instance operations that have been performed on the given Cloud
225SQL instance in the reverse chronological order of the start time.
Craig Citroe633be12015-03-02 13:40:36 -0800226
227Args:
228 project: string, Project ID of the project that contains the instance. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700229 instance: string, Cloud SQL instance ID. This does not include the project ID.
Dan O'Mearadd494642020-05-01 07:42:23 -0700230 pageToken: string, A previously-returned page token representing part of the larger set of
231results to view.
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 maxResults: integer, Maximum number of operations per response.
Dan O'Mearadd494642020-05-01 07:42:23 -0700233 x__xgafv: string, V1 error format.
234 Allowed values
235 1 - v1 error format
236 2 - v2 error format
Craig Citroe633be12015-03-02 13:40:36 -0800237
238Returns:
239 An object of the form:
240
241 { # Database instance list operations response.
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 &quot;items&quot;: [ # List of operation resources.
Dan O'Mearadd494642020-05-01 07:42:23 -0700243 { # An Operation resource.&amp;nbsp;For successful operations that return an
244 # Operation resource, only the fields relevant to the operation are populated
245 # in the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700246 &quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in &lt;a
247 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
248 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
249 &quot;startTime&quot;: &quot;A String&quot;, # The time this operation actually started in UTC timezone in &lt;a
250 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
251 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
252 &quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in &lt;a
253 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
254 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
255 &quot;user&quot;: &quot;A String&quot;, # The email address of the user who initiated this operation.
256 &quot;targetProject&quot;: &quot;A String&quot;, # The project ID of the target instance related to this operation.
257 &quot;selfLink&quot;: &quot;A String&quot;, # The URI of this resource.
258 &quot;targetLink&quot;: &quot;A String&quot;,
259 &quot;operationType&quot;: &quot;A String&quot;, # The type of the operation. Valid values are &lt;code&gt;CREATE&lt;/code&gt;,
260 # &lt;code&gt;DELETE&lt;/code&gt;, &lt;code&gt;UPDATE&lt;/code&gt;, &lt;code&gt;RESTART&lt;/code&gt;,
261 # &lt;code&gt;IMPORT&lt;/code&gt;, &lt;code&gt;EXPORT&lt;/code&gt;, &lt;code&gt;BACKUP_VOLUME&lt;/code&gt;,
262 # &lt;code&gt;RESTORE_VOLUME&lt;/code&gt;, &lt;code&gt;CREATE_USER&lt;/code&gt;,
263 # &lt;code&gt;DELETE_USER&lt;/code&gt;, &lt;code&gt;CREATE_DATABASE&lt;/code&gt;,
264 # &lt;code&gt;DELETE_DATABASE&lt;/code&gt; .
265 &quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be
266 # populated.
267 &quot;errors&quot;: [ # The list of errors encountered while processing this operation.
268 { # Database instance operation error.
269 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationError&lt;/code&gt;.
270 &quot;code&quot;: &quot;A String&quot;, # Identifies the specific error that occurred.
271 &quot;message&quot;: &quot;A String&quot;, # Additional information about the error encountered.
Dan O'Mearadd494642020-05-01 07:42:23 -0700272 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700273 ],
274 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationErrors&lt;/code&gt;.
275 },
276 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operation&lt;/code&gt;.
277 &quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
278 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#importContext&lt;/code&gt;.
279 &quot;csvImportOptions&quot;: { # Options for importing data as CSV.
280 &quot;table&quot;: &quot;A String&quot;, # The table to which CSV data is imported.
281 &quot;columns&quot;: [ # The columns to which CSV data is imported. If not specified, all columns
282 # of the database table are loaded with CSV data.
283 &quot;A String&quot;,
284 ],
Dan O'Mearadd494642020-05-01 07:42:23 -0700285 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700286 &quot;database&quot;: &quot;A String&quot;, # The target database for the import. If &lt;code&gt;fileType&lt;/code&gt; is
Dan O'Mearadd494642020-05-01 07:42:23 -0700287 # &lt;code&gt;SQL&lt;/code&gt;, this field is required only if the import file does not
288 # specify a database, and is overridden by any database specification in the
289 # import file. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, one database
290 # must be specified.
Bu Sun Kim65020912020-05-20 12:08:20 -0700291 &quot;importUser&quot;: &quot;A String&quot;, # The PostgreSQL user for this import operation. PostgreSQL instances only.
292 &quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
293 &quot;encryptionOptions&quot;: {
294 &quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form
295 # &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
296 # write permissions to the bucket and read access to the file.
297 &quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
298 # form &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
299 # write permissions to the bucket and read access to the file.
300 &quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
301 },
302 },
303 &quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form
Dan O'Mearadd494642020-05-01 07:42:23 -0700304 # &lt;code&gt;gs:
305 # //bucketName/fileName&lt;/code&gt;. Compressed gzip files (.gz) are supported
306 # // when &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt;. The instance must have
307 # // write permissions to the bucket and read access to the file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 &quot;fileType&quot;: &quot;A String&quot;, # The file type for the specified uri. &lt;br&gt;&lt;code&gt;SQL&lt;/code&gt;: The file
309 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
Craig Citroe633be12015-03-02 13:40:36 -0800310 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 &quot;status&quot;: &quot;A String&quot;, # The status of an operation. Valid values are &lt;code&gt;PENDING&lt;/code&gt;,
312 # &lt;code&gt;RUNNING&lt;/code&gt;, &lt;code&gt;DONE&lt;/code&gt;,
313 # &lt;code&gt;SQL_OPERATION_STATUS_UNSPECIFIED&lt;/code&gt;.
314 &quot;name&quot;: &quot;A String&quot;, # An identifier that uniquely identifies the operation. You can use this
Dan O'Mearadd494642020-05-01 07:42:23 -0700315 # identifier to retrieve the Operations resource that has information about
316 # the operation.
Bu Sun Kim65020912020-05-20 12:08:20 -0700317 &quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
318 &quot;databases&quot;: [ # Databases to be exported. &lt;br /&gt; &lt;b&gt;MySQL instances:&lt;/b&gt; If
Dan O'Mearadd494642020-05-01 07:42:23 -0700319 # &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt; and no database is specified, all
320 # databases are exported, except for the &lt;code&gt;mysql&lt;/code&gt; system database.
321 # If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, you can specify one database,
322 # either by using this property or by using the
323 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property, which takes precedence
324 # over this property. &lt;br /&gt; &lt;b&gt;PostgreSQL instances:&lt;/b&gt; You must specify
325 # one database to be exported. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;,
326 # this database must match the one specified in the
327 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property.
Bu Sun Kim65020912020-05-20 12:08:20 -0700328 &quot;A String&quot;,
Craig Citroe633be12015-03-02 13:40:36 -0800329 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700330 &quot;sqlExportOptions&quot;: { # Options for exporting data as SQL statements.
331 &quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If
Dan O'Mearadd494642020-05-01 07:42:23 -0700332 # you specify tables, specify one and only one database. For PostgreSQL
333 # instances, you can specify only one table.
Bu Sun Kim65020912020-05-20 12:08:20 -0700334 &quot;A String&quot;,
Craig Citroe633be12015-03-02 13:40:36 -0800335 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700336 &quot;schemaOnly&quot;: True or False, # Export only schemas.
337 &quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
338 &quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication.
Dan O'Mearadd494642020-05-01 07:42:23 -0700339 # If set to &lt;code&gt;1&lt;/code&gt;, the dump file includes
340 # a CHANGE MASTER TO statement with the binary log coordinates.
341 # If set to &lt;code&gt;2&lt;/code&gt;, the CHANGE MASTER TO statement is written as
342 # a SQL comment, and has no effect.
343 # All other values are ignored.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700344 },
Craig Citroe633be12015-03-02 13:40:36 -0800345 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700346 &quot;fileType&quot;: &quot;A String&quot;, # The file type for the specified uri. &lt;br&gt;&lt;code&gt;SQL&lt;/code&gt;: The file
347 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
348 &quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be
349 # stored. The URI is in the form &lt;code&gt;gs:
350 # //bucketName/fileName&lt;/code&gt;. If the file already exists, the requests
351 # // succeeds, but the operation fails. If &lt;code&gt;fileType&lt;/code&gt; is
352 # // &lt;code&gt;SQL&lt;/code&gt; and the filename ends with .gz, the contents are
353 # // compressed.
354 &quot;csvExportOptions&quot;: { # Options for exporting data as CSV.
355 &quot;selectQuery&quot;: &quot;A String&quot;, # The select query used to extract the data.
356 },
357 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#exportContext&lt;/code&gt;.
Craig Citroe633be12015-03-02 13:40:36 -0800358 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700359 &quot;targetId&quot;: &quot;A String&quot;, # Name of the database instance related to this operation.
Craig Citroe633be12015-03-02 13:40:36 -0800360 },
361 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;nextPageToken&quot;: &quot;A String&quot;, # The continuation token, used to page through large result sets. Provide
363 # this value in a subsequent request to return the next page of results.
364 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationsList&lt;/code&gt;.
Craig Citroe633be12015-03-02 13:40:36 -0800365 }</pre>
366</div>
367
368<div class="method">
369 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
370 <pre>Retrieves the next page of results.
371
372Args:
373 previous_request: The request for the previous page. (required)
374 previous_response: The response from the request for the previous page. (required)
375
376Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700377 A request object that you can call &#x27;execute()&#x27; on to request the next
Craig Citroe633be12015-03-02 13:40:36 -0800378 page. Returns None if there are no more items in the collection.
379 </pre>
380</div>
381
382</body></html>