blob: 1d438ab6b19c04962b47004d3616bec419c5112d [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<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
75<h1><a href="sqladmin_v1beta4.html">Cloud SQL Admin API</a> . <a href="sqladmin_v1beta4.projects.html">projects</a> . <a href="sqladmin_v1beta4.projects.instances.html">instances</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#rescheduleMaintenance">rescheduleMaintenance(project, instance, body=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Reschedules the maintenance on the given instance.</p>
80<p class="toc_element">
81 <code><a href="#startExternalSync">startExternalSync(project, instance, syncMode=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Start External master migration.</p>
83<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070084 <code><a href="#verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, verifyConnectionOnly=None, syncMode=None, x__xgafv=None)</a></code></p>
Bu Sun Kim65020912020-05-20 12:08:20 -070085<p class="firstline">Verify External master external sync settings.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="rescheduleMaintenance">rescheduleMaintenance(project, instance, body=None, x__xgafv=None)</code>
89 <pre>Reschedules the maintenance on the given instance.
90
91Args:
92 project: string, ID of the project that contains the instance. (required)
93 instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
94 body: object, The request body.
95 The object takes the form of:
96
97{ # Reschedule options for maintenance windows.
98 &quot;reschedule&quot;: { # Required. The type of the reschedule the user wants.
Bu Sun Kim65020912020-05-20 12:08:20 -070099 &quot;scheduleTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the maintenance shall be rescheduled to if
100 # reschedule_type=SPECIFIC_TIME, in &lt;a
101 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for
102 # example &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700103 &quot;rescheduleType&quot;: &quot;A String&quot;, # Required. The type of the reschedule.
Bu Sun Kim65020912020-05-20 12:08:20 -0700104 },
105 }
106
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112Returns:
113 An object of the form:
114
115 { # An Operation resource.&amp;nbsp;For successful operations that return an
116 # Operation resource, only the fields relevant to the operation are populated
117 # in the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;targetLink&quot;: &quot;A String&quot;,
119 &quot;operationType&quot;: &quot;A String&quot;, # The type of the operation. Valid values are &lt;code&gt;CREATE&lt;/code&gt;,
120 # &lt;code&gt;DELETE&lt;/code&gt;, &lt;code&gt;UPDATE&lt;/code&gt;, &lt;code&gt;RESTART&lt;/code&gt;,
121 # &lt;code&gt;IMPORT&lt;/code&gt;, &lt;code&gt;EXPORT&lt;/code&gt;, &lt;code&gt;BACKUP_VOLUME&lt;/code&gt;,
122 # &lt;code&gt;RESTORE_VOLUME&lt;/code&gt;, &lt;code&gt;CREATE_USER&lt;/code&gt;,
123 # &lt;code&gt;DELETE_USER&lt;/code&gt;, &lt;code&gt;CREATE_DATABASE&lt;/code&gt;,
124 # &lt;code&gt;DELETE_DATABASE&lt;/code&gt; .
125 &quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be
126 # populated.
127 &quot;errors&quot;: [ # The list of errors encountered while processing this operation.
128 { # Database instance operation error.
129 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationError&lt;/code&gt;.
130 &quot;code&quot;: &quot;A String&quot;, # Identifies the specific error that occurred.
131 &quot;message&quot;: &quot;A String&quot;, # Additional information about the error encountered.
132 },
133 ],
134 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationErrors&lt;/code&gt;.
135 },
136 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operation&lt;/code&gt;.
137 &quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
Bu Sun Kim65020912020-05-20 12:08:20 -0700138 &quot;database&quot;: &quot;A String&quot;, # The target database for the import. If &lt;code&gt;fileType&lt;/code&gt; is
139 # &lt;code&gt;SQL&lt;/code&gt;, this field is required only if the import file does not
140 # specify a database, and is overridden by any database specification in the
141 # import file. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, one database
142 # must be specified.
143 &quot;importUser&quot;: &quot;A String&quot;, # The PostgreSQL user for this import operation. PostgreSQL instances only.
144 &quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
145 &quot;encryptionOptions&quot;: {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700146 &quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
Bu Sun Kim65020912020-05-20 12:08:20 -0700147 &quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form
148 # &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
149 # write permissions to the bucket and read access to the file.
150 &quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
151 # form &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
152 # write permissions to the bucket and read access to the file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700153 },
154 },
155 &quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form
156 # &lt;code&gt;gs:
157 # //bucketName/fileName&lt;/code&gt;. Compressed gzip files (.gz) are supported
158 # // when &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt;. The instance must have
159 # // write permissions to the bucket and read access to the file.
160 &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
161 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700162 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#importContext&lt;/code&gt;.
163 &quot;csvImportOptions&quot;: { # Options for importing data as CSV.
164 &quot;table&quot;: &quot;A String&quot;, # The table to which CSV data is imported.
165 &quot;columns&quot;: [ # The columns to which CSV data is imported. If not specified, all columns
166 # of the database table are loaded with CSV data.
167 &quot;A String&quot;,
168 ],
169 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700170 },
171 &quot;status&quot;: &quot;A String&quot;, # The status of an operation. Valid values are &lt;code&gt;PENDING&lt;/code&gt;,
172 # &lt;code&gt;RUNNING&lt;/code&gt;, &lt;code&gt;DONE&lt;/code&gt;,
173 # &lt;code&gt;SQL_OPERATION_STATUS_UNSPECIFIED&lt;/code&gt;.
174 &quot;name&quot;: &quot;A String&quot;, # An identifier that uniquely identifies the operation. You can use this
175 # identifier to retrieve the Operations resource that has information about
176 # the operation.
177 &quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700178 &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
179 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
180 &quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be
181 # stored. The URI is in the form &lt;code&gt;gs:
182 # //bucketName/fileName&lt;/code&gt;. If the file already exists, the requests
183 # // succeeds, but the operation fails. If &lt;code&gt;fileType&lt;/code&gt; is
184 # // &lt;code&gt;SQL&lt;/code&gt; and the filename ends with .gz, the contents are
185 # // compressed.
186 &quot;csvExportOptions&quot;: { # Options for exporting data as CSV.
187 &quot;selectQuery&quot;: &quot;A String&quot;, # The select query used to extract the data.
188 },
189 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#exportContext&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;databases&quot;: [ # Databases to be exported. &lt;br /&gt; &lt;b&gt;MySQL instances:&lt;/b&gt; If
191 # &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt; and no database is specified, all
192 # databases are exported, except for the &lt;code&gt;mysql&lt;/code&gt; system database.
193 # If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, you can specify one database,
194 # either by using this property or by using the
195 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property, which takes precedence
196 # over this property. &lt;br /&gt; &lt;b&gt;PostgreSQL instances:&lt;/b&gt; You must specify
197 # one database to be exported. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;,
198 # this database must match the one specified in the
199 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property.
200 &quot;A String&quot;,
201 ],
202 &quot;sqlExportOptions&quot;: { # Options for exporting data as SQL statements.
203 &quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If
204 # you specify tables, specify one and only one database. For PostgreSQL
205 # instances, you can specify only one table.
206 &quot;A String&quot;,
207 ],
208 &quot;schemaOnly&quot;: True or False, # Export only schemas.
209 &quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
210 &quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication.
211 # If set to &lt;code&gt;1&lt;/code&gt;, the dump file includes
212 # a CHANGE MASTER TO statement with the binary log coordinates.
213 # If set to &lt;code&gt;2&lt;/code&gt;, the CHANGE MASTER TO statement is written as
214 # a SQL comment, and has no effect.
215 # All other values are ignored.
216 },
217 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 },
219 &quot;targetId&quot;: &quot;A String&quot;, # Name of the database instance related to this operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700220 &quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in &lt;a
221 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
222 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
223 &quot;startTime&quot;: &quot;A String&quot;, # The time this operation actually started in UTC timezone in &lt;a
224 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
225 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
226 &quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in &lt;a
227 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
228 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
229 &quot;user&quot;: &quot;A String&quot;, # The email address of the user who initiated this operation.
230 &quot;targetProject&quot;: &quot;A String&quot;, # The project ID of the target instance related to this operation.
231 &quot;selfLink&quot;: &quot;A String&quot;, # The URI of this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700232 }</pre>
233</div>
234
235<div class="method">
236 <code class="details" id="startExternalSync">startExternalSync(project, instance, syncMode=None, x__xgafv=None)</code>
237 <pre>Start External master migration.
238
239Args:
240 project: string, ID of the project that contains the first generation instance. (required)
241 instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
242 syncMode: string, External sync mode
243 x__xgafv: string, V1 error format.
244 Allowed values
245 1 - v1 error format
246 2 - v2 error format
247
248Returns:
249 An object of the form:
250
251 { # An Operation resource.&amp;nbsp;For successful operations that return an
252 # Operation resource, only the fields relevant to the operation are populated
253 # in the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;targetLink&quot;: &quot;A String&quot;,
255 &quot;operationType&quot;: &quot;A String&quot;, # The type of the operation. Valid values are &lt;code&gt;CREATE&lt;/code&gt;,
256 # &lt;code&gt;DELETE&lt;/code&gt;, &lt;code&gt;UPDATE&lt;/code&gt;, &lt;code&gt;RESTART&lt;/code&gt;,
257 # &lt;code&gt;IMPORT&lt;/code&gt;, &lt;code&gt;EXPORT&lt;/code&gt;, &lt;code&gt;BACKUP_VOLUME&lt;/code&gt;,
258 # &lt;code&gt;RESTORE_VOLUME&lt;/code&gt;, &lt;code&gt;CREATE_USER&lt;/code&gt;,
259 # &lt;code&gt;DELETE_USER&lt;/code&gt;, &lt;code&gt;CREATE_DATABASE&lt;/code&gt;,
260 # &lt;code&gt;DELETE_DATABASE&lt;/code&gt; .
261 &quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be
262 # populated.
263 &quot;errors&quot;: [ # The list of errors encountered while processing this operation.
264 { # Database instance operation error.
265 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationError&lt;/code&gt;.
266 &quot;code&quot;: &quot;A String&quot;, # Identifies the specific error that occurred.
267 &quot;message&quot;: &quot;A String&quot;, # Additional information about the error encountered.
268 },
269 ],
270 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operationErrors&lt;/code&gt;.
271 },
272 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#operation&lt;/code&gt;.
273 &quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
Bu Sun Kim65020912020-05-20 12:08:20 -0700274 &quot;database&quot;: &quot;A String&quot;, # The target database for the import. If &lt;code&gt;fileType&lt;/code&gt; is
275 # &lt;code&gt;SQL&lt;/code&gt;, this field is required only if the import file does not
276 # specify a database, and is overridden by any database specification in the
277 # import file. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, one database
278 # must be specified.
279 &quot;importUser&quot;: &quot;A String&quot;, # The PostgreSQL user for this import operation. PostgreSQL instances only.
280 &quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
281 &quot;encryptionOptions&quot;: {
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700282 &quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
Bu Sun Kim65020912020-05-20 12:08:20 -0700283 &quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form
284 # &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
285 # write permissions to the bucket and read access to the file.
286 &quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the
287 # form &lt;code&gt;gs://bucketName/fileName&lt;/code&gt;. The instance must have
288 # write permissions to the bucket and read access to the file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 },
290 },
291 &quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form
292 # &lt;code&gt;gs:
293 # //bucketName/fileName&lt;/code&gt;. Compressed gzip files (.gz) are supported
294 # // when &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt;. The instance must have
295 # // write permissions to the bucket and read access to the file.
296 &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
297 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700298 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#importContext&lt;/code&gt;.
299 &quot;csvImportOptions&quot;: { # Options for importing data as CSV.
300 &quot;table&quot;: &quot;A String&quot;, # The table to which CSV data is imported.
301 &quot;columns&quot;: [ # The columns to which CSV data is imported. If not specified, all columns
302 # of the database table are loaded with CSV data.
303 &quot;A String&quot;,
304 ],
305 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700306 },
307 &quot;status&quot;: &quot;A String&quot;, # The status of an operation. Valid values are &lt;code&gt;PENDING&lt;/code&gt;,
308 # &lt;code&gt;RUNNING&lt;/code&gt;, &lt;code&gt;DONE&lt;/code&gt;,
309 # &lt;code&gt;SQL_OPERATION_STATUS_UNSPECIFIED&lt;/code&gt;.
310 &quot;name&quot;: &quot;A String&quot;, # An identifier that uniquely identifies the operation. You can use this
311 # identifier to retrieve the Operations resource that has information about
312 # the operation.
313 &quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700314 &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
315 # contains SQL statements. &lt;br&gt;&lt;code&gt;CSV&lt;/code&gt;: The file contains CSV data.
316 &quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be
317 # stored. The URI is in the form &lt;code&gt;gs:
318 # //bucketName/fileName&lt;/code&gt;. If the file already exists, the requests
319 # // succeeds, but the operation fails. If &lt;code&gt;fileType&lt;/code&gt; is
320 # // &lt;code&gt;SQL&lt;/code&gt; and the filename ends with .gz, the contents are
321 # // compressed.
322 &quot;csvExportOptions&quot;: { # Options for exporting data as CSV.
323 &quot;selectQuery&quot;: &quot;A String&quot;, # The select query used to extract the data.
324 },
325 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#exportContext&lt;/code&gt;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700326 &quot;databases&quot;: [ # Databases to be exported. &lt;br /&gt; &lt;b&gt;MySQL instances:&lt;/b&gt; If
327 # &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;SQL&lt;/code&gt; and no database is specified, all
328 # databases are exported, except for the &lt;code&gt;mysql&lt;/code&gt; system database.
329 # If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;, you can specify one database,
330 # either by using this property or by using the
331 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property, which takes precedence
332 # over this property. &lt;br /&gt; &lt;b&gt;PostgreSQL instances:&lt;/b&gt; You must specify
333 # one database to be exported. If &lt;code&gt;fileType&lt;/code&gt; is &lt;code&gt;CSV&lt;/code&gt;,
334 # this database must match the one specified in the
335 # &lt;code&gt;csvExportOptions.selectQuery&lt;/code&gt; property.
336 &quot;A String&quot;,
337 ],
338 &quot;sqlExportOptions&quot;: { # Options for exporting data as SQL statements.
339 &quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If
340 # you specify tables, specify one and only one database. For PostgreSQL
341 # instances, you can specify only one table.
342 &quot;A String&quot;,
343 ],
344 &quot;schemaOnly&quot;: True or False, # Export only schemas.
345 &quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
346 &quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication.
347 # If set to &lt;code&gt;1&lt;/code&gt;, the dump file includes
348 # a CHANGE MASTER TO statement with the binary log coordinates.
349 # If set to &lt;code&gt;2&lt;/code&gt;, the CHANGE MASTER TO statement is written as
350 # a SQL comment, and has no effect.
351 # All other values are ignored.
352 },
353 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 },
355 &quot;targetId&quot;: &quot;A String&quot;, # Name of the database instance related to this operation.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700356 &quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in &lt;a
357 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
358 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
359 &quot;startTime&quot;: &quot;A String&quot;, # The time this operation actually started in UTC timezone in &lt;a
360 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
361 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
362 &quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in &lt;a
363 # href=&quot;https://tools.ietf.org/html/rfc3339&quot;&gt;RFC 3339&lt;/a&gt; format, for example
364 # &lt;code&gt;2012-11-15T16:19:00.094Z&lt;/code&gt;.
365 &quot;user&quot;: &quot;A String&quot;, # The email address of the user who initiated this operation.
366 &quot;targetProject&quot;: &quot;A String&quot;, # The project ID of the target instance related to this operation.
367 &quot;selfLink&quot;: &quot;A String&quot;, # The URI of this resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700368 }</pre>
369</div>
370
371<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700372 <code class="details" id="verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, verifyConnectionOnly=None, syncMode=None, x__xgafv=None)</code>
Bu Sun Kim65020912020-05-20 12:08:20 -0700373 <pre>Verify External master external sync settings.
374
375Args:
376 project: string, Project ID of the project that contains the instance. (required)
377 instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700378 verifyConnectionOnly: boolean, Flag to enable verifying connection only
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700379 syncMode: string, External sync mode
Bu Sun Kim65020912020-05-20 12:08:20 -0700380 x__xgafv: string, V1 error format.
381 Allowed values
382 1 - v1 error format
383 2 - v2 error format
384
385Returns:
386 An object of the form:
387
388 { # Instance verify external sync settings response.
389 &quot;errors&quot;: [ # List of migration violations.
390 { # External master migration setting error.
391 &quot;detail&quot;: &quot;A String&quot;, # Additional information about the error encountered.
392 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#migrationSettingError&lt;/code&gt;.
393 &quot;type&quot;: &quot;A String&quot;, # Identifies the specific error that occurred.
394 },
395 ],
396 &quot;kind&quot;: &quot;A String&quot;, # This is always &lt;code&gt;sql#migrationSettingErrorList&lt;/code&gt;.
397 }</pre>
398</div>
399
400</body></html>